iconv: Suppress array out of bounds warning.
[glibc.git] / ChangeLog
blobc6227b73c6c0a592b0ee77cc96e613d203e1fa1d
1 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4         bug (GCC BZ #64739).
6 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9         Mark _retval as used.
10         (lll_futex_wake_unlock): Likewise.
11         (lll_futex_timed_wait_requeue_pi): Likewise.
13         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15         register variables.
17         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18         libm_hidden_def.
20         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21         (__bswap_64): Mark as __always_inline.
23 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25         [BZ #15378]
26         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27         when none of the search directories exist.
29 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31         [BZ #17869]
32         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33         power8 in .machine directive.
35         [BZ #17868]
36         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37         set dependency from opd value.
39 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
41         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
43         architecture.
45 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
47         [BZ #17870]
48         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
49         with uint64_t.
50         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
51         (uint64_t) 1.
52         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
53         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
54         Replace 1UL with (uint64_t) 1.
55         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
56         int with uint64_t.
58 2015-01-23  Roland McGrath  <roland@hack.frob.com>
60         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
61         (if_freenameindex): Likewise.
63         * resource/getrlimit64.c: Add missing libc_hidden_def.
65 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
67         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
68         __label__.
69         (_FP_FMA): Likewise.
70         (_FP_TO_INT_ROUND): Likewise.
71         (_FP_FROM_INT): Likewise.
73 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75         [BZ #16418]
76         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
77         Make code racy and cancel safe.
79 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
81         * sysdeps/arm/unwind-resume.h: Fix copyright year.
82         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
83         attribution.
85         * pwd/tst-getpw.c: Rewrite.
87         [BZ #17702]
88         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
89         (modules-names): Add moddummy1 and moddummy2.
90         ($(objpfx)tst-rec-dlopen): Define.
91         * dlfcn/moddummy1.c: New file.
92         * dlfcn/moddummy2.c: New file.
93         * dlfcn/tst-rec-dlopen.c: New file.
94         * elf/dl-cache.c (_dl_load_cache_lookup):
95         Return char*. Copy result with alloca/strcpy/strdup.
96         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
97         returns char*. Free cached. If not saving realname
98         free cached.
99         * elf/dl-open.c (dl_open_worker): Do not assert that
100         _r_debug->r_state is RT_CONSISTENT.
101         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
102         returns char*.
104 2015-01-21  Torvald Riegel  <triegel@redhat.com>
105             Carlos O'Donell  <carlos@redhat.com>
107         [BZ #12674]
108         * nptl/sem_waitcommon.c: New file.
109         * nptl/sem_wait.c: Include sem_waitcommon.c.
110         (__sem_wait_cleanup, do_futex_wait): Remove.
111         (__new_sem_wait): Adapt.
112         (__new_sem_trywait): New function.
113         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
114         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
115         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
116         (sem_timedwait): Adapt.
117         * nptl/sem_post.c (__new_sem_post): Adapt.
118         (futex_wake): New function.
119         (__old_sem_post): Add release MO fence.
120         * nptl/sem_open.c (sem_open): Adapt.
121         * nptl/sem_init.c (__new_sem_init): Adapt.
122         (futex_private_if_supported): New function.
123         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
124         (__old_sem_getvalue): Add using previous code.
125         * sysdeps/nptl/internaltypes.h: Adapt.
126         * nptl/tst-sem13.c (do_test): Adapt.
127         * nptl/tst-sem11.c (main): Adapt.
128         * nptl/sem_trywait.c: Remove.
129         * nptl/DESIGN-sem.txt: Remove.
130         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
131         (gen-as-const-headers): Remove structsem.sym.
132         * nptl/structsem.sym: Remove.
133         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
134         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
135         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
136         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
137         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
138         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
139         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
140         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
141         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
142         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
143         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
144         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
145         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
146         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
147         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
148         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
149         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
150         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
151         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
152         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
153         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
154         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
156 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
158         * INSTALL: Regenerated.
160         * po/libc.pot: Regenerated.
162 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
163             Sandra Loosemore  <sandra@codesourcery.com>
164             Andrew Jenner  <andrew@codesourcery.com>
165             Joseph Myers  <joseph@codesourcery.com>
166             Nathan Sidwell  <nathan@codesourcery.com>
168         * NEWS: Mention new Nios II port.
169         * sysdeps/nios2/Implies: New file.
170         * sysdeps/nios2/Makefile: New file.
171         * sysdeps/nios2/Subdirs: New file.
172         * sysdeps/nios2/Versions: New file.
173         * sysdeps/nios2/__longjmp.S: New file.
174         * sysdeps/nios2/abort-instr.h: New file.
175         * sysdeps/nios2/backtrace.c: New file.
176         * sysdeps/nios2/bits/endian.h: New file.
177         * sysdeps/nios2/bits/fenv.h: New file.
178         * sysdeps/nios2/bits/link.h: New file.
179         * sysdeps/nios2/bits/setjmp.h: New file.
180         * sysdeps/nios2/bsd-_setjmp.S: New file.
181         * sysdeps/nios2/bsd-setjmp.S: New file.
182         * sysdeps/nios2/configure: New generated file.
183         * sysdeps/nios2/configure.ac: New file.
184         * sysdeps/nios2/crti.S: New file.
185         * sysdeps/nios2/crtn.S: New file.
186         * sysdeps/nios2/dl-init.c: New file.
187         * sysdeps/nios2/dl-machine.h: New file.
188         * sysdeps/nios2/dl-sysdep.h: New file.
189         * sysdeps/nios2/dl-tls.h: New file.
190         * sysdeps/nios2/dl-trampoline.S: New file.
191         * sysdeps/nios2/gccframe.h: New file.
192         * sysdeps/nios2/gmp-mparam.h: New file.
193         * sysdeps/nios2/jmpbuf-offsets.h: New file.
194         * sysdeps/nios2/jmpbuf-unwind.h: New file.
195         * sysdeps/nios2/ldsodefs.h: New file.
196         * sysdeps/nios2/libc-tls.c: New file.
197         * sysdeps/nios2/libm-test-ulps: New file.
198         * sysdeps/nios2/machine-gmon.h: New file.
199         * sysdeps/nios2/math-tests.h: New file.
200         * sysdeps/nios2/math_private.h: New file.
201         * sysdeps/nios2/memusage.h: New file.
202         * sysdeps/nios2/nptl/Makefile: New file.
203         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
204         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
205         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
206         * sysdeps/nios2/nptl/pthreaddef.h: New file.
207         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
208         * sysdeps/nios2/nptl/tls.h: New file.
209         * sysdeps/nios2/preconfigure: New file.
210         * sysdeps/nios2/s_fma.c: New file.
211         * sysdeps/nios2/s_fmaf.c: New file.
212         * sysdeps/nios2/setjmp.S: New file.
213         * sysdeps/nios2/sfp-machine.h: New file.
214         * sysdeps/nios2/sotruss-lib.c: New file.
215         * sysdeps/nios2/stackguard-macros.h: New file.
216         * sysdeps/nios2/stackinfo.h: New file.
217         * sysdeps/nios2/start.S: New file.
218         * sysdeps/nios2/sysdep.h: New file.
219         * sysdeps/nios2/tls-macros.h: New file.
220         * sysdeps/nios2/tst-audit.h: New file.
221         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
222         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
223         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
224         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
225         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
226         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
227         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
228         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
229         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
230         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
231         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
232         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
233         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
234         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
235         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
236         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
237         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
238         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
239         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
240         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
241         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
242         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
243         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
244         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
245         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
246         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
247         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
248         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
249         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
250         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
251         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
252         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
253         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
254         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
255         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
256         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
257         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
258         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
259         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
260         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
261         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
262         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
263         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
264         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
266 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
268         [BZ #17844]
269         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
270         (getutent): Use weak_alias in non SHARED case
271         and default_symbol_version in SHARED case.
272         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
273         (getutent_r, pututline): Likewise.
274         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
275         (getutid): Likewise.
276         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
277         (getutid_r): Likewise.
278         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
279         (getutline): Likewise.
280         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
281         (getutline_r): Likewise.
282         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
283         (updwtmp): Likewise.
285 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
287         [BZ #17848]
288         * sysdeps/s390/s390-32/memcmp.S
289         (memcmp_g5): Rename to __memcmp_g5.
290         * sysdeps/s390/s390-32/memcpy.S
291         (memcpy_g5): Rename to __memcpy_g5.
292         Jump to __memcpy_mvcle instead of memcpy_mvcle.
293         (memcpy_mvcle) Rename to __memcpy_mvcle.
294         * sysdeps/s390/s390-32/memset.S
295         (memset_g5): Rename to __memset_g5.
296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
297         (IFUNC_RESOLVE): Prefix ifunc-resolve function
298         and use prefixed functions.
299         * sysdeps/s390/s390-32/multiarch/memcmp.S
300         (memcmp_z196): Rename to __memcmp_z196.
301         (memcmp_z10): Rename to __memcmp_z10.
302         (memcmp): Set alias to __memcmp_g5.
303         (bcmp): Set alias to __memcmp_g5.
304         * sysdeps/s390/s390-32/multiarch/memcpy.S
305         (memcpy_z196): Rename to __memcpy_z196.
306         Jump to __memcpy_mvcle instead of memcpy_mvcle.
307         (memcpy_z10): Rename to __memcpy_z10.
308         Jump to __memcpy_mvcle instead of memcpy_mvcle.
309         (memcpy): Set alias to __memcpy_g5.
310         * sysdeps/s390/s390-32/multiarch/memset.S
311         (memset_z196): Rename to __memset_z196.
312         Jump to __memset_mvcle instead of memset_mvcle.
313         (memset_z10): Rename to __memset_z10.
314         Jump to __memset_mvcle instead of memset_mvcle.
315         (memset_mvcle) Rename to __memset_mvcle.
316         (memset): Set alias to __memset_g5.
317         * sysdeps/s390/s390-64/memcmp.S
318         (memcmp_z900): Rename to __memcmp_z900.
319         * sysdeps/s390/s390-64/memcpy.S
320         (memcpy_z900): Rename to __memcpy_z900.
321         Jump to __memcpy_mvcle instead of memcpy_mvcle.
322         (memcpy_mvcle) Rename to __memcpy_mvcle.
323         * sysdeps/s390/s390-64/memset.S
324         (memset_z900): Rename to __memset_z900.
325         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
326         (IFUNC_RESOLVE): Prefix ifunc-resolve function
327         and use prefixed functions.
328         * sysdeps/s390/s390-64/multiarch/memcmp.S
329         (memcmp_z196): Rename to __memcmp_z196.
330         (memcmp_z10): Rename to __memcmp_z10.
331         (memcmp): Set alias to __memcmp_z900.
332         (bcmp): Set alias to __memcmp_z900.
333         * sysdeps/s390/s390-64/multiarch/memcpy.S
334         (memcpy_z196): Rename to __memcpy_z196.
335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
336         (memcpy_z10): Rename to __memcpy_z10.
337         Jump to __memcpy_mvcle instead of memcpy_mvcle.
338         (memcpy): Set alias to __memcpy_z900.
339         * sysdeps/s390/s390-64/multiarch/memset.S
340         (memset_z196): Rename to __memset_z196.
341         Jump to __memset_mvcle instead of memset_mvcle.
342         (memset_z10): Rename to __memset_z10.
343         Jump to __memset_mvcle instead of memset_mvcle.
344         (memset_mvcle) Rename to __memset_mvcle.
345         (memset): Set alias to __memset_z900.
347 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
349         [BZ #17748]
350         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
351         __fesetenv instead of fesetenv.
353 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
355         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
356         macro.
358 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
360         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
361         regression on LE.
363         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
364         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
366         strncmp-power8 object.
367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
368         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
369         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
370         * NEWS: Update.
372 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
375         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
376         trailing byte check.
378 2015-01-13  David S. Miller  <davem@davemloft.net>
380         * include/signal.h (__sigreturn): Guard with __USE_MISC.
382 2015-01-13  Roland McGrath  <roland@hack.frob.com>
384         * login/logout.c (logout): Use memset rather than bzero.
385         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
386         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
387         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
388         (_gethtbyaddr): Likewise.
389         * locale/programs/simple-hash.c (bcopy): Macro removed.
391 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
393         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
394         Add strcmp-power8 object.
395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
396         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
397         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
398         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
399         __strcmp_power8 implementation.
400         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
401         * NEWS: Update.
403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
404         Add strncpy-power8 and stpncpy-power8 objects.
405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
406         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
407         implementations.
408         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
409         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
410         __stpncpy_power8 implementation.
411         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
412         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
413         __strncpy_power8 implementation.
414         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
415         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
416         * NEWS: Update.
418         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
419         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
420         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
423         strncat-power8 object.
424         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
425         __strcat_power8 implementation.
426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
427         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
428         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
429         optimized strcat for power8.
431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
432         strcpy-power8 and stpcpy-power8 objects.
433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
434         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
435         implementations.
436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
437         multiarch stpcpy implementation for POWER8.
438         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
439         multiarch strcpy implementation for POWER8.
440         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
441         __strcpy_power8 function.
442         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
443         stpcpy for POWER8.
444         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
445         strcpy for POWER8.
446         * NEWS: Update.
448 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
450         [BZ #16009]
451         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
452         weights and rules. Use do_xfrm_cached if data fits in cache,
453         do_xfrm otherwise.  Moved former main loop to...
454         * (do_xfrm_cached): New function.
455         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
456         find_idx, find_position and stack_push.
457         * (find_idx): New function.
458         * (find_position): Likewise.
459         * localedata/sort-test.sh: Added test run for do_xfrm.
460         * localedata/xfrm-test.c (main): Added command line option
461         -nocache to run the test with strings that are too large for
462         the STRXFRM cache.
464 2015-01-13  Torvald Riegel  <triegel@redhat.com>
466         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
467         variable to lll_futex_wake call, not the value itself.
469 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
471         [BZ #17803]
472         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
473         twom64.  Adjust value to 0x1p-64L.
474         (__scalblnl): Only return standard underflowing result for K <=
475         -64 not K <= -63; adjust exponent for underflowing result by 64
476         not 63.
477         * math/libm-test.inc (scalbn_test_data): Add more tests.
478         (scalbln_test_data): Likewise.
480         [BZ #17834]
481         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
482         0x1p63L.
483         (__scalblnl): Get new exponent of adjusted subnormal value from ES
484         not HX.
485         * math/libm-test.inc (scalbn_test_data): Add more tests.
486         (scalbln_test_data): Likewise.
488 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
489             Stefani Seibold  <stefani@seibold.net>
491         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
492         (sysdep_routines): Add dl-vdso here, ...
493         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
494         (sysdep_routines): ... not here.
495         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
496         fallback when vDSO is not presented.
497         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
498         Define with libc_hidden_proto/libc_hidden_data_def definitions.
499         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
500         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
501         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
502         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
503         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
505         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
506         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
507         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
508         fallback configurable symbol when vDSO is not available.
509         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
510         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
511         be able to redefine fallback symbol when vDSO is not available.
512         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
513         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
515 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
517         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
518         (TLS_INIT_TP): Add tm_capable initialization.
519         (TLS_DEFINE_INIT_TP): Likewise.
520         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
521         TCB.
522         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
523         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
524         calculation.
525         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
526         transactoion is lock elision is built and TCB tm_capable is set.
527         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
529         (INTERNAL_SYSCALL_NCS): Likewise.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
531         (INTERNAL_SYSCALL_NCS): Likewise.
532         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
534         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
535         for powerpc.
536         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
537         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
538         and remove it for 32 bits case.
539         [pthread_rwlock_t] (__rwelision): New field for lock elision.
540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
541         initialization.
542         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
543         Disable lock elision with rdlocks if elision is not available.
545         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
546         (sysdep_routines): Add lock elision objects.
547         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
548         [pthread_mutex_t] (__spins): Rework to add lock elision field.
549         [pthread_mutex_t] (__elision): Add field.
550         [__PTHREAD_SPINS]: Adjust to init lock elision field.
551         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
552         elision definitions for powerpc.
553         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
554         implementation of lock elision for powerpc.
555         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
556         implementation of timed lock elision for powerpc.
557         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
558         implementation of trylock with lock elision for powerpc.
559         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
560         implementaion of unlock for lock elision for powerpc.
561         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
562         automatic enable lock elision for mutexes.
563         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
564         transaction execution definitions for powerpc.
565         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
566         definitions.
567         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
568         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
569         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
570         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
571         * NEWS: Update.
573 2015-01-09  Roland McGrath  <roland@hack.frob.com>
575         * sysdeps/posix/shm-directory.c: Use <> rather than ""
576         for #include of <shm-directory.h>.
578 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
581         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
583 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
585         [BZ #17791]
586         * NEWS: Mention bug fix.
587         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
588         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
589         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
591 2015-01-09  Torvald Riegel <triegel@redhat.com>
593         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
595 2015-01-09  Torvald Riegel <triegel@redhat.com>
597         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
599 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
601         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
602         pointer and cast to uintptr_t.
604 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
606         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
607         removed.
608         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
610 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
612         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
613         of 0.
615 2015-01-08  Roland McGrath  <roland@hack.frob.com>
617         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
618         <nptl/pthreadP.h> instead.
619         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
621         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
622         already defined.
623         [__SIGRTMIN] (init): Function removed.
624         [__SIGRTMIN] (initialized): Variable removed.
625         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
626         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
627         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
628         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
629         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
630         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
631         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
632         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
633         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
634         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
635         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
636         * sysdeps/nptl/allocrtsig.c: New file.
637         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
638         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
639         * sysdeps/generic/testrtsig.h: File removed.
641         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
642         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
644         * nptl/nptl-init.c (pthread_functions): Conditionalize
645         .ptr__nptl_setxid initialization on [SIGSETXID].
647         * sysdeps/nptl/sys/procfs.h: New file.
648         * nptl_db/Makefile (headers): Add it.
649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
651         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
652         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
653         * nptl/pthread_attr_setaffinity.c: Include it.
654         * nptl/pthread_setattr_default_np.c: Likewise.
655         * nptl/check-cpuset.h: New file.
657 2015-01-08  Richard Henderson  <rth@redhat.com>
659         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
660         (CFLAGS-tst-execstack-prog.c): Likewise.
661         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
663 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
664             Sandra Loosemore  <sandra@codesourcery.com>
665             Andrew Jenner  <andrew@codesourcery.com>
666             Joseph Myers  <joseph@codesourcery.com>
667             Nathan Sidwell  <nathan@codesourcery.com>
669         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
670         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
671         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
672         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
673         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
674         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
675         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
676         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
677         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
678         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
679         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
680         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
681         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
682         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
683         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
684         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
685         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
687 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
689         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
690         timespec struct member in syscall macro.
691         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
692         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
693         first timeval struct member in syscall macro.
694         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
696 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
698         [BZ #17748]
699         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
700         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
701         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
702         __feupdateenv and define as weak alias of __feupdateenv.  Use
703         libm_hidden_weak.
704         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
705         libm_hidden_def.
706         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
707         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
708         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
709         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
710         libm_hidden_def.
711         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
712         __feupdateenv and define as weak alias of __feupdateenv.  Use
713         libm_hidden_weak.
714         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
715         libm_hidden_def.
716         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
717         __feupdateenv and define as weak alias of __feupdateenv.  Use
718         libm_hidden_weak.
719         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
720         libm_hidden_def.
721         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
722         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
723         (__feupdateenv): Likewise.
724         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
725         __feupdateenv and define as weak alias of __feupdateenv.  Use
726         libm_hidden_weak.
727         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
728         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
729         libm_hidden_def.
730         * sysdeps/tile/math_private.h (__feupdateenv): New inline
731         function.
732         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
733         libm_hidden_def.
734         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
735         __feupdateenv instead of feupdateenv.
736         (default_libc_feupdateenv_test): Likewise.
737         (libc_feresetround_ctx): Likewise.
739 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
741         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
742         prototype.
744 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
746         * posix/regcomp.c (parse_bracket_exp): Initialize type to
747         COLL_SYM in a couple of places to avoid uninitialized variable
748         wanings on tilegx gcc 4.8.2.
750 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
752         * sysdeps/aarch64/strcpy.S: New file.
753         * sysdeps/aarch64/stpcpy.S: New file.
754         * NEWS: Updated.
756 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
758         * sysdeps/aarch64/strrchr.S: New file.
759         * NEWS: Updated.
761 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
763         [BZ #17658]
764         * stdlib/setenv.c: Fix memory leak when setting large,
765         duplicate string.
767 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
769         [BZ #17273]
770         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
771         and tabs from buffer before parsing fstab entry.
772         * misc/tst-mntent.c (main): Add test for mount entry with
773         trailing spaces and tabs.
775 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
777         [BZ #17748]
778         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
779         * math/fesetround.c (fesetround): Rename to __fesetround and
780         define as weak alias of __fesetround.  Use libm_hidden_weak.
781         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
782         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
783         * sysdeps/arm/fesetround.c (fesetround): Likewise.
784         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
785         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
786         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
787         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
788         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
789         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
790         __fesetround_inline.
791         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
792         __fesetround_inline instead of __fesetround.
793         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
794         __fesetround and define as weak alias of __fesetround.  Use
795         libm_hidden_weak.  Call __fesetround_inline instead of
796         __fesetround.
797         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
798         __fesetround and define as weak alias of __fesetround.  Use
799         libm_hidden_weak.
800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
801         Likewise.
802         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
804         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
805         * sysdeps/tile/math_private.h (__fesetround): New inline function.
806         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
807         __fesetround and define as weak alias of __fesetround.  Use
808         libm_hidden_weak.
809         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
810         __fesetround instead of fesetround.
811         (default_libc_feholdexcept_setround): Likewise.
812         (libc_feholdsetround_ctx): Likewise.
813         (libc_feholdsetround_noex_ctx): Likewise.
815         [BZ #17748]
816         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
817         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
818         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
819         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
820         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
821         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
822         define as weak alias of __fesetenv.  Use libm_hidden_weak.
823         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
824         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
825         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
826         define as weak alias of __fesetenv.  Use libm_hidden_weak.
827         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
828         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
829         define as weak alias of __fesetenv.  Use libm_hidden_weak.
830         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
831         libm_hidden_def.
832         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
833         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
834         Likewise.
835         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
836         define as weak alias of __fesetenv.  Use libm_hidden_weak.
837         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
838         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
839         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
840         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
841         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
842         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
843         __fesetenv instead of fesetenv.
844         (libc_feresetround_noex_ctx): Likewise.
845         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
846         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
847         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
848         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
849         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
850         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
851         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
852         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
853         (__feupdateenv): Likewise.
854         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
855         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
856         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
857         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
859 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
861         [BZ #17806]
862         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
863         addresses have been freed.
865 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
867         * resolv/res_init.c (__res_vinit): Improve comments about nserv
868         and nservall.
870 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
872         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
873         Clean up check_pf allocation pattern. addresses
875 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
877         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
878         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
879         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
880         * nptl/pthread_exit.c (__pthread_exit): Likewise.
881         * nptl/pthread_join.c (pthread_join): Likewise.
882         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
883         * sysdeps/posix/waitid.c (__waitid): Likewise.
884         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
885         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
886         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
887         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
889         Likewise.
890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
891         (__libc_pread64): Likewise.
892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
893         (__libc_pwrite): Likewise.
894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
895         (__libc_pwrite64): Likewsie.
896         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
897         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
898         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
899         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
900         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
901         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
902         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
904         Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
906         (__libc_pread64): Likewise.
907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
908         Likewise.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
910         (__libc_pwrite64): Likewise.
911         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
912         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
913         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
914         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
915         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
916         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
917         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
918         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
919         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
920         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
921         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
922         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
923         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
924         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
925         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
926         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
927         Likewise.
929 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
931         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
932         (CFLAGS-test-double.c): Likewise.
933         (CFLAGS-test-ldouble.c): Likewise.
934         (CPPFLAGS-test-ifloat.c): Likewise.
935         (CPPFLAGS-test-idouble.c): Likewise.
936         (CPPFLAGS-test-ildoubl.c): Likewise.
937         (CFLAGS-test-test-fenv.c): Remove variable.
938         (CFLAGS-test-misc.c): Likewise.
940 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
942         [BZ #17797]
943         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
944         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
945         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
946         CLOCKS_PER_SEC == 1000000.
947         * time/clocktest.c (main): Replace %ld with %jd and cast to
948         intmax_t.
950 2015-01-05  Roland McGrath  <roland@hack.frob.com>
952         * sysdeps/generic/unwind-resume.h: New file.
953         * sysdeps/gnu/unwind-resume.c: Include it.
954         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
955         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
956         argument list.
957         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
958         global rather than static.
959         (_Unwind_Resume): Update user.
960         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
961         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
962         rather than static.  Add __attribute__ ((cold)).
963         (_Unwind_Resume, __gcc_personality_v0): Update callers.
964         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
965         * sysdeps/arm/arm-unwind-resume.S: New file.
966         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
967         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
968         * sysdeps/arm/Makefile [$(subdir) = csu]
969         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
970         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
971         Add rt-arm-unwind-resume.
972         [$(subdir) = nptl]
973         (libpthread-sysdep_routines, libpthread-shared-only-routines):
974         Add pt-arm-unwind-resume.
975         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
976         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
978 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
980         [BZ #17748]
981         * include/fenv.h (__feholdexcept): Declare.  Use
982         libm_hidden_proto.
983         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
984         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
985         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
986         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
987         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
988         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
990         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
991         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
992         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
993         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
994         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
995         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
996         (feholdexcept): Likewise.
997         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
998         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
999         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1000         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1001         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1002         __feholdexcept instead of feholdexcept.
1003         (default_libc_feholdexcept_setround): Likewise.
1005 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1007         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1008         to avoid using stl/str to align destination.
1010 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1012         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1014 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #17796]
1017         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1018         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1019         Define as weak alias not strong alias.
1021 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1023         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1024         bltzal with addiupc.
1025         (RTLD_START): Ditto.
1027 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1029         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1030         for __vdso_* functions in declarations.
1031         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1032         definitions.
1033         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1034         INTERNAL_VSYSCALL): Use struct return types to check for error.
1036         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1037         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1038         function with cast from llround().
1039         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1040         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1041         Define.
1043 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1045         [BZ #17793]
1046         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1047         Define as weak alias not strong alias.
1049         [BZ #17635]
1050         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1051         ...
1052         * ctype/ctype-extn.c: ... here.
1053         (__isblank_l): Move to ...
1054         * ctype/ctype-c99_l.c: ... here.  New file.
1055         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1056         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1057         Remove variable.
1058         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1059         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1060         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1061         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1062         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1064         [BZ #17777]
1065         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1066         (posix_fadvise64): Define as weak alias not strong alias.
1067         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1068         (posix_fallocate64): Likewise.
1069         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1070         Remove variable.
1071         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1072         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1073         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1074         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1075         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1077 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1079         [BZ #16191]
1080         * NEWS: Mention bug fix.
1081         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1082         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1083         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1084         (HOST_STACK_END_ADDR): Likewise.
1086 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1088         [BZ #17748]
1089         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1090         * math/fegetround.c (fegetround): Rename to __fegetround and
1091         define as weak alias of __fegetround.  Use libm_hidden_weak.
1092         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1093         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1094         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1095         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1096         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1097         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1098         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1099         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1100         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1101         Undefine after rather than before function definition; use
1102         parentheses around function name in definition.
1103         (__fegetround): Also undefine macro after function definition.
1104         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1105         __fegetround and define as weak alias of __fegetround.  Use
1106         libm_hidden_weak.  Do not undefine as macro.
1107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1108         Likewise.
1109         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1110         __fegetround and define as weak alias of __fegetround.  Use
1111         libm_hidden_weak.
1112         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1113         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1114         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1115         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1116         __fegetround and define as weak alias of __fegetround.  Use
1117         libm_hidden_weak.
1118         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1119         __fegetround instead of fegetround.
1121         [BZ #17782]
1122         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1123         Condition macro definition on [__USE_MISC].
1125         [BZ #17781]
1126         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1127         (struct sigaction): Change type of sa_flags field to int.
1129         [BZ #17780]
1130         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1131         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1132         __glibc_reserved0.
1134         * nptl/version.c (banner): Use single year in copyright notice.
1136         * NEWS: Update copyright dates.
1137         * catgets/gencat.c (print_version): Likewise.
1138         * csu/version.c (banner): Likewise.
1139         * debug/catchsegv.sh: Likewise.
1140         * debug/pcprofiledump.c (print_version): Likewise.
1141         * debug/xtrace.sh (do_version): Likewise.
1142         * elf/ldconfig.c (print_version): Likewise.
1143         * elf/ldd.bash.in: Likewise.
1144         * elf/pldd.c (print_version): Likewise.
1145         * elf/sotruss.sh: Likewise.
1146         * elf/sprof.c (print_version): Likewise.
1147         * iconv/iconv_prog.c (print_version): Likewise.
1148         * iconv/iconvconfig.c (print_version): Likewise.
1149         * locale/programs/locale.c (print_version): Likewise.
1150         * locale/programs/localedef.c (print_version): Likewise.
1151         * login/programs/pt_chown.c (print_version): Likewise.
1152         * malloc/memusage.sh (do_version): Likewise.
1153         * malloc/memusagestat.c (print_version): Likewise.
1154         * malloc/mtrace.pl: Likewise.
1155         * manual/libc.texinfo: Likewise.
1156         * nptl/version.c (banner): Likewise.
1157         * nscd/nscd.c (print_version): Likewise.
1158         * nss/getent.c (print_version): Likewise.
1159         * nss/makedb.c (print_version): Likewise.
1160         * posix/getconf.c (main): Likewise.
1161         * scripts/test-installation.pl: Likewise.
1162         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1164 2015-01-02  Will Newton  <will.newton@linaro.org>
1166         * sysdeps/arm/armv7/configure: Removed.
1167         * sysdeps/arm/armv7/configure.ac: Likewise.
1169 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1171         * All files with FSF copyright notices: Update copyright dates
1172         using scripts/update-copyrights.
1173         * intl/plural.c: Regenerated.
1174         * locale/programs/charmap-kw.h: Likewise.
1175         * locale/programs/locfile-kw.h: Likewise.
1177 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1179         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1181 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #17748]
1184         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1185         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1186         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1187         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1188         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1189         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1190         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1191         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1192         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1193         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1194         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1195         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1196         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1197         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1198         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1199         libm_hidden_def.
1200         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1201         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1202         Likewise.
1203         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1204         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1205         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1206         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1207         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1208         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1209         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1210         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1211         __fegetenv instead of fegetenv.
1212         (libc_feholdsetround_noex_ctx): Likewise.
1214 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1216         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1217         (Elf_MIPS_ABIFlags_v0): New structure.
1218         (EF_MIPS_FP64): Define.
1219         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1220         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1221         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1222         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1223         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1224         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1225         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1226         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1227         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1228         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1229         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1230         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1231         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1232         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1233         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1234         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1235         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1236         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1237         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1238         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1239         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1240         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1241         field.
1242         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1243         EF_MIPS_FP64.
1244         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1245         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1246         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1247         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1248         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1249         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1250         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1251         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1252         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1253         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1254         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1255         record the current FP ABI extension.
1256         (mips-mode-switch): Define to show if kernel headers support mode
1257         switching.
1258         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1259         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1260         supported SYSV ABI version to 3.
1261         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1262         feature.
1264 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1265             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1267         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1268         path.
1269         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1271 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1273         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1274         __fegetround and redefine to call __fegetround.  Remove condition
1275         on [!__NO_MATH_INLINES].
1276         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1277         function.
1278         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1279         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1280         Remove macro.
1281         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1282         instead of <fenv_libc.h>.
1283         (__llrintl): Call fegetround instead of __fegetround.
1284         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1285         instead of <fenv_libc.h>.
1286         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1287         (__lrintl): Call fegetround instead of __fegetround.
1288         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1289         instead of <fenv_libc.h>.
1290         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1291         (__rintl): Call fegetround instead of __fegetround.
1293 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1295         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1296         arrays.
1298 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1300         [BZ #17775]
1301         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1302         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1303         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1305 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1307         * sysdeps/i386/tls-macros.h: Include <features.h>.
1308         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1309         (TLS_IE): Likewise.
1310         (TLS_LD): Likewise.
1311         (TLS_GD): Likewise.
1312         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1313         define for GCC >= 5.0.
1315 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1317         * math/test-fenv.c (test_single_exception, set_single_exc,
1318         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1319         feexcp_mask_test, feenable_test, fe_single_test): Add
1320         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1321         case where they are not used.
1322         * math/libm-test.inc: Likewise.
1323         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1324         unused in the absence of FP rounding/exception support.
1325         * stdio-common/tst-printf-round.c: Likewise.
1326         * stdlib/tst-strtod-round.c: Likewise.
1327         * stdlib/tst-strtod-underflow.c: Likewise.
1329 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1331         [BZ #17723]
1332         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1333         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1334         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1335         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1336         libm_hidden_weak.
1337         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1338         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1339         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1340         libm_hidden_def.
1341         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1342         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1343         libm_hidden_weak.
1344         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1345         Likewise.
1346         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1347         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1349         libm_hidden_weak.
1350         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1351         libm_hidden_def.
1352         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1354         (__feraiseexcept): Likewise.
1355         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1356         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1357         libm_hidden_weak.
1358         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1359         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1360         libm_hidden_def.
1361         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1362         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1363         Use libm_hidden_def.
1364         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1365         libm_hidden_def.
1366         (feraiseexcept): Define as weak not strong alias.  Use
1367         libm_hidden_weak.
1368         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1369         New inline function.  Factored out of ...
1370         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1371         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1372         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1373         feraiseexcept.
1374         * math/w_acos.c (__acos): Likewise.
1375         * math/w_asin.c (__asin): Likewise.
1376         * math/w_ilogb.c (__ilogb): Likewise.
1377         * math/w_j0.c (y0): Likewise.
1378         * math/w_j1.c (y1): Likewise.
1379         * math/w_jn.c (yn): Likewise.
1380         * math/w_log.c (__log): Likewise.
1381         * math/w_log10.c (__log10): Likewise.
1382         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1383         * sysdeps/aarch64/fpu/math_private.h
1384         (libc_feupdateenv_test_aarch64): Likewise.
1385         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1386         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1387         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1389         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1390         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1391         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1392         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1393         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1394         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1396 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1398         [BZ #17732]
1399         * io/test-utime.c (main): Replace %ld with %jd and cast to
1400         intmax_t.
1401         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1402         * nptl/tst-mutex5.c: Include <stdint.h>.
1403         (do_test): Replace %ld with %jd and cast to intmax_t.
1404         * posix/tst-regex.c (run_test): Likewise.
1405         (run_test_backwards): Likewise.
1406         * rt/tst-clock.c: Include <stdint.h>.
1407         (clock_test): Replace %ld with %jd and cast to intmax_t.
1408         * rt/tst-cpuclock1.c: Include <stdint.h>.
1409         (do_test): Replace %lu with %ju and cast to uintmax_t.
1410         * rt/tst-cpuclock2.c: Include <stdint.h>.
1411         (do_test): Replace %lu with %ju and cast to uintmax_t.
1412         * rt/tst-mqueue1.c: Include <stdint.h>.
1413         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1414         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1415         intmax_t.
1416         * rt/tst-mqueue4.c (do_test): Likewise.
1417         * rt/tst-timer4.c: Include <stdint.h>.
1418         (check_ts): Replace %ld with %jd and cast to intmax_t.
1419         (do_test): Likewise.
1420         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1421         and cast to intmax_t.
1422         * sysdeps/pthread/tst-timer.c (main): Likewise.
1423         * time/clocktest.c (main): Likewise.
1424         * time/tst-posixtz.c (do_test): Likewise.
1425         * timezone/tst-timezone.c (main): Likewise.
1427 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1428             H.J. Lu  <hongjiu.lu@intel.com>
1430         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1431         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1432         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1433         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1434         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1435         version if bit_Fast_Unaligned_Load is set.
1436         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1437         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1438         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1439         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1440         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1441         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1443         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1444         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1445         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1446         to 4.
1447         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1448         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1449         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1450         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1452 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1454         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1455         instead of #if to avoid a Wundef warning.
1456         * stdlib/tst-limits.c (do_test): Likewise.
1458         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1459         parallel other exception macros.
1460         (fegetenv): Convert from macro to extern inline so that it applies
1461         retroactively to inline functions already seen by the compiler.
1462         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1464         * posix/Makefile (before-compile): Use $(objpfx) for
1465         posix-conf-vars-def.h.
1467 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1469         * posix/getconf.c (main): Use size_t for type of I.
1470         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1471         NSPEC.
1473         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1474         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1475         * posix/posix-envs.def: Likewise.
1476         * sysdeps/posix/sysconf.c: Likewise.
1477         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1478         (specs): Remove array.
1479         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1480         array.
1482         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1483         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1484         (__sysconf): Use CONF_IS_* macros.
1486         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1487         ($(objpfx)posix-conf-vars-def.h): New target.
1488         * posix/posix-conf-vars.list: New file.
1489         * posix/posix-conf-vars.h: New file.
1490         * posix/confstr.c: Include posix-conf-vars.h.
1491         (confstr): Use CONF_IS_* macros.
1492         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1493         CONF_IS_* macros.
1494         * scripts/gen-posix-conf-vars.awk: New file.
1496 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1498         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1499         fegetround): Add no-op macros to avoid linknamespace issues.
1501         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1502         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1504         * sysdeps/unix/sysv/linux/tile/sysdep.h
1505         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1506         assembly-specific section to avoid a redefinition warning.
1508         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1509         long before casting to pointer to avoid a cast warning.
1511 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1513         * sysdeps/tile/tilegx/Implies: New file.
1515 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1517         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1519 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1521         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1523 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1526         not define.
1527         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1528         <kernel-features.h>.
1529         (__utimes) [__NR_utimes]: Make code unconditional.
1530         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1531         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1532         (__ASSUME_UTIMES): Do not undefine.
1533         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1534         (__ASSUME_UTIMES): Likewise.
1535         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1536         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1537         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1538         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1540 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1542         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1544 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1546         [BZ #17747]
1547         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1548         alias to weak alias for j0l, y0l.
1549         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1550         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1552         [BZ #17746]
1553         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1554         conversion.
1556 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1558         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1559         to zero if not already defined.
1561 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1563         [BZ #17724]
1564         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1565         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1566         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1567         (char *) casts added.
1568         * sysdeps/ieee754/k_standardf.c: New file.
1569         * sysdeps/ieee754/k_standardl.c: Likewise.
1570         * math/Makefile (libm-support): Remove k_standard.
1571         (libm-calls): Add k_standard.
1573 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1576         Optimize to avoid an unnecessary FPCR read.
1578 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1580         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1581         Optimize to reduce FPCR/FPSR accesses.
1583 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1585         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1586         Call libc_fetestexcept_aarch64.
1588 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1590         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1591         Call libc_fesetround_aarch64.
1593 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1595         [BZ #17733]
1596         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1597         (__bind): Do not define as weak alias.
1598         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1599         define.
1600         (__getsockname): Do not define as weak alias.
1602 2014-12-22  Will Newton  <will.newton@linaro.org>
1604         * manual/install.texi: Document that we require bison 2.7
1605         or above.
1606         * INSTALL: Regenerate.
1607         * configure.ac: Use AC_CHECK_PROG_VER instead of
1608         AC_PATH_PROG when checking for bison and check for
1609         version 2.7 or above.
1610         * configure: Regenerate.
1612 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1614         [BZ #17745]
1615         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1616         * sysdeps/tile/ffsll.c (ffsll): To here.
1618         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1620 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1622         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1623         if not defined.
1624         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1625         definition.
1626         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1627         hidden ___tls_get_addr.
1628         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1629         hidden __tls_get_addr.
1630         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1631         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1632         Likewise.
1634 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1636         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1637         _dl_init call.
1639 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1641         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1642         from "call _dl_init@PLT".
1643         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1645 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1647         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1648         guarantees.
1650 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1652         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1654 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1656         [BZ #17744]
1657         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1658         strnlen.
1660 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1662         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1663         of multu on MIPSr6.
1664         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1665         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1666         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1667         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1668         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1670 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1672         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1673         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1674         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1675         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1676         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1677         mips32r6/mips64r6.
1678         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1680 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1682         * string/strncat.c (STRNCAT): Simplify implementation.
1684 2014-12-19  David S. Miller  <davem@davemloft.net>
1686         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1687         access the quad as both a long double and as a series of 4 words.
1689         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1690         link_map->l_info array access.
1692 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1694         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1696         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1697         * math/atest-exp2.c (TIMEOUT): Likewise.
1698         * math/atest-sincos.c (TIMEOUT): Likewise.
1700 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1702         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1703         -Wno-error with -fno-builtin-lround.
1705 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1707         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1708         Contains futex constants and functions moved over from ...
1709         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1710         <lowlevellock-futex.h>.
1711         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1712         (lll_timedwait_tid): Add comments and parentheses around macro
1713         arguments.
1715 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1718         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1719         (__lll_private_flag): Remove.
1720         (lll_futex_wait): Likewise.
1721         (lll_futex_timed_wait): Likewise.
1722         (lll_futex_wake): Likewise.
1723         (lll_futex_requeue): Likewise.
1724         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1725         (__lll_timedwait_tid): Spell out argument names.
1726         (lll_timedwait_tid): Add comments and parentheses around macro
1727         arguments.
1728         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1729         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1731 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1733         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1734         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1735         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1736         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1737         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1738         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1739         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1740         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1741         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1742         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1744         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1747         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1748         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1749         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1750         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1751         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1753 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1755         * sysdeps/x86_64/x32/Makefile: New file.
1757 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1759         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1760         1L with (mp_limb_t) 1.
1762 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1764         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1765         * nptl/libc_pthread_init.c: ... here.
1766         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1767         * nptl/register-atfork.c: ... here.
1769         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1770         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1771         Use assert_perror to check its return value.
1772         (__gai_create_helper_thread): Likewise.
1774         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1776         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1778 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1780         [BZ #17725]
1781         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1782         __profil_counter.
1783         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1784         Likewise.
1785         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1786         Likewise.
1787         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1788         Likewise.
1789         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1790         (profil_counter): Likewise.
1791         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1792         (profil_counter): Likewise.
1793         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1794         Likewise.
1795         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1796         Likewise.
1797         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1798         (profil_counter): Likewise.
1799         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1800         Likewise.
1801         [!__profil_counter] (profil_counter): Define as weak alias of
1802         __profil_counter.
1803         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1804         (profil_counter): Rename to __profil_counter.
1805         [!__profil_counter] (profil_counter): Define as weak alias of
1806         __profil_counter.
1807         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1808         (profil_counter): Rename to __profil_counter.
1809         [!__profil_counter] (profil_counter): Define as weak alias of
1810         __profil_counter.
1811         * sysdeps/posix/profil.c: Update comment referring to
1812         profil_counter.
1813         (__profil): Use __profil_counter instead of profil_counter.
1814         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1815         __profil_counter.  Use __profil_counter_ushort and
1816         __profil_counter_uint in definitions.
1817         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1818         instead of profil_counter_uint and profil_counter_ushort.
1820         [BZ #17722]
1821         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1822         define as weak alias of __inet_makeaddr.
1823         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1824         as weak alias of __inet_addr.
1825         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1826         as weak alias of __inet_pton.  Use libc_hidden_weak.
1827         * include/arpa/inet.h (__inet_pton): Declare.  Use
1828         libc_hidden_proto.
1829         (inet_makeaddr): Don't use libc_hidden_proto.
1830         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1831         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1832         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1833         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1834         Remove variable.
1835         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1836         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1838 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1840         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1842 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1844         * stdio-common/bug-vfprintf-nargs.c (do_test):
1845         Cast value to intptr_t to avoid format warning
1846         for usage with PRIdPTR printing macro.
1848 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1850         * libio/tst-widetext.c (do_test):
1851         Use format type %td instead of %Zd for ptrdiff_t
1852         in order to avoid format warning.
1854 2014-12-17  Andreas Schwab  <schwab@suse.de>
1856         * nscd/mem.c (gc): Add size_t cast to match printf format.
1858 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1860         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1861         (init): Apply PTR_MANGLE to pointers before storing them.
1862         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1863         before using them.
1865 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1867         [BZ #17719]
1868         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1869         define as weak alias of __memrchr.
1870         (__memrchr): Do not define as strong alias of memrchr.
1871         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1872         Remove variable.
1873         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1874         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1875         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1877         [BZ #17717]
1878         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1879         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1880         (if_indextoname): Rename to __if_indextoname and define as weak
1881         alias of __if_indextoname.  Use libc_hidden_weak.
1882         (if_freenameindex): Rename to __if_freenameindex and define as
1883         weak alias of __if_freenameindex.
1884         (if_nameindex): Rename to __if_nameindex and define as weak alias
1885         of __if_nameindex.
1886         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1887         __if_nametoindex and define as weak alias of __if_nametoindex.
1888         Use libc_hidden_weak.
1889         (if_freenameindex): Rename to __if_freenameindex and define as
1890         weak alias of __if_freenameindex.
1891         (if_nameindex): Rename to __if_nameindex and define as weak alias
1892         of __if_nameindex.
1893         (if_indextoname): Rename to __if_indextoname and define as weak
1894         alias of __if_indextoname.  Use libc_hidden_weak.
1895         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1896         __if_nametoindex and define as weak alias of __if_nametoindex.
1897         Use libc_hidden_weak.
1898         (if_freenameindex): Rename to __if_freenameindex and define as
1899         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1900         (if_nameindex_netlink): Use __if_freenameindex instead of
1901         if_freenameindex.
1902         (if_nameindex): Rename to __if_nameindex and define as weak alias
1903         of __if_nameindex.  Use libc_hidden_weak.
1904         (if_indextoname): Rename to __if_indextoname and define as weak
1905         alias of __if_indextoname.  Use libc_hidden_weak.
1906         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1907         libc_hidden_proto.
1908         [!_ISOMAC] (__if_freenameindex): Likewise.
1909         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1910         if_nametoindex.
1911         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1912         variable.
1913         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1914         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1915         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1916         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1917         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1918         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1919         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1921         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1922         Remove variable.
1923         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1924         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1926 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1928         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1929         subscript above bounds'
1931         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1932         bounds.
1934 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1936         * libio/tst-fopenloc.c: Use test-skeleton.c.
1938         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1939         (entry): Rename to ITEM.
1940         (do_test, comp): Adjust.
1942         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1944 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1946         * string/tester.c: Include <libc-internal.h>.
1947         (test_memset): Ignore -Wmemset-transposed-args.
1949 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1951         * misc/tst-mntent2.c (do_test): Fix warning.
1953 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1955         * elf/tst-unique4lib.cc(a): Mark as used.
1957 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1959         [BZ #17630]
1960         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1961         names.
1963 2014-12-16  Allan McRae  <allan@archlinux.org>
1965         * stdio-common/Makefile (tests): Re-add bug26.
1967 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1969         [BZ #17657]
1970         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1971         static array.
1973 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1975         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1976         (__lll_lock_wait): Likewise.
1977         (__lll_timedlock_wait): Likewise.
1978         (__lll_timedwait_tid): Likewise.
1979         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1980         (__lll_robust_timedlock_wait): Likewise.
1981         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1982         (lll_cond_trylock): Likewise.
1983         (__lll_lock): Likewise.
1984         (__lll_robust_lock): Likewise.
1985         (__lll_cond_lock): Likewise.
1986         (lll_robust_cond_lock): Likewise.
1987         (__lll_timedlock): Likewise.
1988         (__lll_robust_timedlock): Likewise.
1989         (__lll_unlock): Likewise.
1990         (__lll_robust_unlock): Likewise.
1991         (lll_wait_tid): Likewise.
1992         (lll_timedwait_tid): Likewise.
1994 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1996         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1998 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2000         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2002 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2004         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2005         * stdio-common/tst-sprintf.c: Likewise.
2007 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2009         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2011 2014-12-15  Jeff Law  <law@redhat.com>
2013         [BZ #16617]
2014         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2015         on the heap.  (CVE-2012-3406)
2016         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2017         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2018         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2020 2014-12-15  Will Newton  <will.newton@linaro.org>
2022         * manual/install.texi: Bump required version of texinfo
2023         to 4.7 from 4.5.
2024         * INSTALL: Regenerated.
2025         * configure.ac: Check for makeinfo version 4.7 and above.
2026         * configure: Regenerated.
2028 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2030         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2031         PREFIX, string constant to insert between directory and name.
2032         * sysdeps/posix/shm_open.c: Update caller.
2033         * sysdeps/posix/shm_unlink.c: Likewise.
2034         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2035         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2036         (SEM_SHM_PREFIX): New macro.
2037         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2038         [$(have-thread-library) = no].
2039         * nptl/Makefile (libpthread-routines): Add shm-directory.
2040         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2041         * sysdeps/nptl/shm-directory.h: New file.
2042         * sysdeps/posix/shm-directory.c
2043         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2044         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2045         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2046         INTERNAL_SYSCALL.
2047         (__where_is_shmfs): Function removed.
2048         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2049         Variables removed.
2050         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2051         Use SHM_GET_NAME.
2052         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2054         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2055         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2056         unconditional for use inside libpthread.
2057         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2059 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2061         * nptl/pthread_getaffinity.c: New file.
2062         * nptl/pthread_setaffinity.c: New file.
2063         * nptl/pthread_getname.c: New file.
2064         * nptl/pthread_setname.c: New file.
2066         * nptl/pthread_create.c (START_THREAD_DEFN)
2067         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2069 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2072         * resolv/res_send.c (send_vc): Disable warning resplen may
2073         be used uninitialized.
2075 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2077         * nptl/tst-mutex6.c
2078         (ATTR_NULL): New define checks ATTR against NULL.
2079         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2080         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2082 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2084         [BZ #17581]
2085         * malloc/hooks.c
2086         (mem2mem_check): Revert my previous change.
2087         (malloc_check_get_size): Revert my previous change.
2088         (mem2chunk_check): Revert my previous change.
2090 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2092         * sysdeps/posix/shm-directory.c: New file.
2093         * sysdeps/posix/shm-directory.h: New file.
2094         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2095         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2096         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2097         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2098         Transmute EPERM to EACCES.
2099         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2100         from ...
2101         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2102         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2104 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2106         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2107         pointer and cast to uintptr_t.
2108         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2109         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2110         Add cast to avoid warning.
2111         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2113 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2115         * nptl/semaphore.h: Move to ...
2116         * sysdeps/pthread/semaphore.h: ... here.
2117         * Makefile (installed-headers): Change nptl/semaphore.h to
2118         sysdeps/pthread/semaphore.h.
2120 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2122         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2123         generated error format strings.
2125         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2126         -Wformat-extra-args warnings for scanf formats.
2127         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2128         test of zero-length format (duh).
2129         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2130         corner-case scanf format test.
2131         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2132         generated fprintf format string.
2133         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2134         corner-case sprintf format tests.
2135         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2136         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2137         -Wformat-extra-args warnings throughout.
2138         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2139         (CFLAGS-scanf4.c): Likewise.
2140         (CFLAGS-scanf7.c): Likewise.
2141         (CFLAGS-tst-sprintf.c): Likewise.
2142         (CFLAGS-tst-printf.c): Likewise.
2143         (CFLAGS-tst-printfsz.c): Likewise.
2145 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2147         * include/cpio.h: New file.
2148         * include/fmtmsg.h: Likewise.
2150         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2151         corresponding format argument to size_t.
2152         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2153         arguments.
2154         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2155         corresponding format argument to size_t.
2156         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2157         arguments.
2158         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2159         corresponding format argument to size_t.
2160         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2161         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2162         (CFLAGS-tst-mbswcs2.c): Likewise.
2163         (CFLAGS-tst-mbswcs3.c): Likewise.
2164         (CFLAGS-tst-mbswcs4.c): Likewise.
2165         (CFLAGS-tst-mbswcs5.c): Likewise.
2166         (CFLAGS-tst-trans.c): Likewise
2168 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2170         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2171         rather than assuming they won't contain any '%'s.
2173 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2175         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2176         inhibit_loop_to_libcall to avoid recursive calls.
2177         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2178         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2180 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2182         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2183         prototype.
2185 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2187         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2188         integer value instead of boolean.
2190 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2192         * malloc/malloc.c: Fix powerof2 check.
2194 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2196         * locale/programs/locfile.h (maybe_swap_uint32):
2197         Remove inline and add unused attribute.
2199 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2201         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2202         Truncating assembler expression to a .long expression.
2204 2014-12-11  Andreas Schwab  <schwab@suse.de>
2206         * elf/rtld.c (struct map_args): Constify str member.
2207         (do_preload): Constify fname argument.
2209 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2212         constants definition.
2214 2014-12-11  Andreas Schwab  <schwab@suse.de>
2216         [BZ #16657]
2217         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2218         FORCE_ELISION instead of DO_ELISION.
2219         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2220         Remove.
2221         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2222         Likewise.
2224         * iconvdata/gconv-modules: Remove duplicate entry.
2226 2014-12-11  Will Newton  <will.newton@linaro.org>
2228         Merge gettext 0.19.3 into intl/.
2230         This involves a number of cosmetic changes to comments
2231         and ANSI function definitions and prototypes throughout
2232         all the files. The gettext copyright header is used but
2233         with the date ranges taken from the glibc copy.
2235         * NEWS: Add gettext merge to 2.21.
2236         * intl/bindtextdom.c: Switch to gettext copyright.
2237         Use ANSI definitions and prototypes.
2238         Use gl_* locking primitives rather than __libc_* ones.
2239         Use __builtin_expect rather than __glibc_likely/unlikely.
2240         * intl/dcgettext.c: Switch to gettext copyright.
2241         Use ANSI definitions and prototypes.
2242         * intl/dcigettext.c: Switch to gettext copyright.
2243         Use ANSI definitions and prototypes.
2244         (INTDIV0_RAISES_SIGFPE): New define.
2245         Use gl_* locking primitives rather than __libc_* ones.
2246         Include eval-plural.h instead of plural-eval.c.
2247         Use __builtin_expect rather than __glibc_likely/unlikely.
2248         * intl/dcngettext.c: Switch to gettext copyright.
2249         Use ANSI definitions and prototypes.
2250         * intl/dgettext.c: Likewise.
2251         * intl/dngettext.c: Likewise.
2252         * intl/plural-eval.c: Renamed to...
2253         * intl/eval-plural.h: ...this.
2254         * intl/explodename.c: Switch to gettext copyright.
2255         Use ANSI definitions and prototypes.
2256         (_nl_explode_name): Use strchr instead of __rawmemchr.
2257         * intl/finddomain.c: Switch to gettext copyright.
2258         Use ANSI definitions and prototypes.
2259         Use gl_* locking primitives rather than __libc_* ones.
2260         (_nl_find_domain): Use malloc rather than alloca for
2261         allocation of temporary locale name.
2262         * intl/gettext.c: Switch to gettext copyright.
2263         Use ANSI definitions and prototypes.
2264         * intl/gettextP.h: Switch to gettext copyright.
2265         Use ANSI definitions and prototypes.
2266         Use gl_* locking primitives rather than __libc_* ones.
2267         * intl/gmo.h: Switch to gettext copyright.
2268         (struct sysdep_string): Move struct segment_pair outside of
2269         struct definition.
2270         * intl/hash-string.c: Use ANSI definitions and prototypes.
2271         * intl/hash-string.h: Switch to gettext copyright.
2272         Use ANSI definitions and prototypes.
2273         * intl/l10nflist.c: Switch to gettext copyright.
2274         Use ANSI definitions and prototypes.
2275         (_nl_normalize_codeset): Avoid integer overflow.
2276         * intl/loadinfo.h: Switch to gettext copyright.
2277         Use ANSI definitions and prototypes.
2278         (LIBINTL_DLL_EXPORTED): New define.
2279         (PATH_SEPARATOR): New define.
2280         * intl/loadmsgcat.c: Switch to gettext copyright.
2281         * intl/localealias.c: Switch to gettext copyright.
2282         Use ANSI definitions and prototypes.
2283         (_nl_expand_alias): Use PATH_SEPARATOR.
2284         * intl/ngettext.c: Switch to gettext copyright.
2285         Use ANSI definitions and prototypes.
2286         * intl/plural-exp.c: Likewise.
2287         * intl/plural-exp.h: Switch to gettext copyright.
2288         Use ANSI definitions and prototypes.
2289         (struct expression): Move definition of enum operator outside
2290         of struct definition.
2291         * intl/plural.c: Regenerate.
2292         * intl/plural.y: Switch to gettext copyright.
2293         Use ANSI definitions and prototypes.
2294         Port to bison 3.0.
2295         * intl/textdomain.c: Switch to gettext copyright.
2296         Use ANSI definitions and prototypes.
2297         Use gl_* locking primitives rather than __libc_* ones.
2299 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2301         * debug/warning-nop.c: Add used atrribute.
2303 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2305         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2307         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2308         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2309         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2311 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2312             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2314         [BZ #17634]
2315         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2316         Undefine after defining function.  Define as weak alias of
2317         __wcschr.  Use libc_hidden_weak.
2318         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2319         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2320         (libc_hidden_def): Also define __GI___wcschr alias.
2321         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2322         __wcschr and define as weak alias of __wcschr.
2323         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2324         __wcschr.
2325         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2326         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2327         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2328         libc_hidden_weak.  Do not use libc_hidden_def.
2329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2330         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2331         __GI___wcschr alias.
2332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2333         [IS_IN (libc)] (wcschr): Define as macro expanding to
2334         __redirect_wcschr.
2335         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2336         [IS_IN (libc)] (__wcschr_power6): Likewise.
2337         [IS_IN (libc)] (__wcschr_power7): Likewise.
2338         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2339         instead of wcschr.
2340         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2341         __libc_wcschr.
2342         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2343         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2344         __wcschr and define as weak alias of __wcschr.  Use
2345         libc_hidden_builtin_def.
2346         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2347         as weak alias of __wcschr.  Use libc_hidden_weak.
2348         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2349         wcschr.
2350         * time/era.c (_nl_init_era_entries): Likewise.
2351         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2352         variable.
2353         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2354         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2356 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2358         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2359         format for long int variable.
2361 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2363         [BZ #10672]
2364         * manual/search.texi: (Array Sort Function): Remove claim how to make
2365         qsort stable.
2367 2014-12-10  Andreas Schwab  <schwab@suse.de>
2369         [BZ #12847]
2370         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2371         user-controlled locks.
2373 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2375         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2376         register.
2378 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2380         * configure.ac (--disable-werror): New configure option.
2381         (enable_werror): New AC_SUBST.
2382         * configure: Regenerated.
2383         * config.make.in (enable-werror): New variable.
2384         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2385         -Wno-error=undef.
2386         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2387         * manual/install.texi (Configuring and compiling): Document
2388         --disable-werror.
2389         * INSTALL: Regenerated.
2390         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2391         (CFLAGS-tst-chk2.c): Likewise.
2392         (CFLAGS-tst-chk3.c): Likewise.
2393         (CFLAGS-tst-chk4.cc): Likewise.
2394         (CFLAGS-tst-chk5.cc): Likewise.
2395         (CFLAGS-tst-chk6.cc): Likewise.
2396         (CFLAGS-tst-lfschk1.c): Likewise.
2397         (CFLAGS-tst-lfschk2.c): Likewise.
2398         (CFLAGS-tst-lfschk3.c): Likewise.
2399         (CFLAGS-tst-lfschk4.cc): Likewise.
2400         (CFLAGS-tst-lfschk5.cc): Likewise.
2401         (CFLAGS-tst-lfschk6.cc): Likewise.
2403         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2404         (main): Disable -Wdeprecated-declarations around calls to
2405         register_printf_function.
2407         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2408         (do_test): Disable -Wdiv-by-zero around some calls to
2409         fwrite_unlocked and fread_unlocked.
2411         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2412         (DIAG_POP_NEEDS_COMMENT): Likewise.
2413         (_DIAG_STR1): Likewise.
2414         (_DIAG_STR): Likewise.
2415         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2416         * stdio-common/bug21.c: Include <libc-internal.h>.
2417         (do_test): Disable -Wformat around call to sscanf.
2418         * stdio-common/scanf14.c: Include <libc-internal.h>.
2419         (main): Disable -Wformat around some calls to scanf functions.
2421 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2423         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2425 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2427         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2428         stack variable alignment.
2430 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2432         [BZ #17682]
2433         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2434         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2435         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2436         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2437         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2438         __getrlimit instead of getrlimit.
2439         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2440         __gettimeofday instead of gettimeofday.
2441         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2442         Likewise.
2443         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2444         Likewise.
2445         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2446         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2447         Remove variable.
2448         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2449         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2451 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2453         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2454         for wide-character tests.
2456 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2458         * io/openat64.c: #include <libc-internal.h>
2459         (__openat64): Prototypify.  Use ignore_value on MODE.
2460         * io/openat.c: Likewise.
2461         * misc/reboot.c: #include <libc-internal.h>
2462         (reboot): Prototypify.  Use ignore_value on HOWTO.
2463         * misc/ptrace.c: #include <libc-internal.h>
2464         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2466 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2468         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2469         XPG4, UNIX98 and XOPEN2K.
2470         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2471         Remove variable.
2472         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2474 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2476         * libio/fileops.c: Use ISO C style for function definitions.
2477         * libio/iofopen.c: Likewise.
2478         * libio/wfileops.c: Likewise.
2480         [BZ #17653]
2481         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2482         offset on EOF.
2483         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2484         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2485         (fgets_func): Function pointer to fgets and fgetws.
2486         (do_ftell_test): Add test to verify ftell value after read
2487         EOF.
2488         (do_test): Set fgets_func.
2490         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2491         O_TRUNC flag for w and w+ modes.
2492         (do_rewind_test): Likewise.
2493         (do_ftell_test): Likewise.
2494         (do_write_test): Likewise.
2496         [BZ #17647]
2497         * libio/fileops.c (do_ftell): Seek only when there are
2498         unflushed writes.
2499         * libio/wfileops.c (do_ftell_wide): Likewise.
2500         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2501         test case.
2502         (do_one_test): Call it.
2504 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2506         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2507         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2508         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2509         Remove variable.
2510         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2511         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2512         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2514 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2516         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2517         Remove variable.
2518         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2520         [BZ #17668]
2521         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2522         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2523         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2524         __freeifaddrs.  Use libc_hidden_weak.
2525         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2526         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2527         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2528         __freeifaddrs.  Use libc_hidden_weak.
2529         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2530         __getifaddrs and define as weak alias of __getifaddrs.  Use
2531         libc_hidden_weak.
2532         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2533         __freeifaddrs.  Use libc_hidden_weak.
2534         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2535         Remove variable.
2536         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2537         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2539 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2541         [BZ #17601]
2542         * sysdeps/mips/start.S (__start): Use indirect jump to call
2543         __libc_start_main.
2545 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2547         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2549         * nptl/tst-mutex1.c: Include <stdbool.h>.
2550         [!ATTR] (ATTR_NULL): New macro.
2551         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2552         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2553         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2555         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2556         to char *.
2558         [BZ #17665]
2559         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2560         Change conditional to [__USE_MISC].
2562         [BZ #17664]
2563         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2564         fgets_unlocked.
2565         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2566         __fgets_unlocked.
2567         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2568         fgets_unlocked.
2569         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2570         Remove variable.
2571         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2572         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2573         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2574         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2575         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2576         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2577         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2578         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2579         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2581         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2583 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2585         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2586         Remove strpbrk objects.
2587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2588         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2589         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2590         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2591         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2592         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2595         Remove strcspn objects.
2596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2597         (__libc_ifunc_impl_list): Remove strcspn implementation.
2598         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2599         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2600         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2601         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2603         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2604         Remove strspn objetcs.
2605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2606         (__libc_ifunc_impl_list): Remove strspn implementation.
2607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2609         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2610         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2612 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2614         [BZ #17581]
2615         * malloc/hooks.c
2616         (mem2mem_check): Add a terminator to the chain of checking blocks.
2617         (malloc_check_get_size): Use it here.
2618         (mem2chunk_check): Ditto.
2620 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2622         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2623         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2625 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2627         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2629         * nptl/nptl-init.c: Include libc-internal.h.
2630         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2632         * elf/ldconfig.c (search_dir): Expand comment.
2634 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2636         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2637         variable.
2638         (linknamespace-symlist-stdlibs-tests): Likewise.
2639         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2640         instead of $(objpfx)symlist-stdlibs.
2641         (linknamespace-libs-isoc): New variable.
2642         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2643         (linknamespace-libs-ISO): New variable.
2644         (linknamespace-libs-ISO99): Likewise.
2645         (linknamespace-libs-ISO11): Likewise.
2646         (linknamespace-libs-XPG3): Likewise.
2647         (linknamespace-libs-XPG4): Likewise.
2648         (linknamespace-libs-POSIX): Likewise.
2649         (linknamespace-libs-UNIX98): Likewise.
2650         (linknamespace-libs-XOPEN2K): Likewise.
2651         (linknamespace-libs-POSIX2008): Likewise.
2652         (linknamespace-libs-XOPEN2K8): Likewise.
2653         ($(objpfx)symlist-stdlibs): Replace by
2654         $(linknamespace-symlist-stdlibs-tests).  Use
2655         $(linknamespace-libs-$*) as set of libraries.
2656         ($(linknamespace-header-tests)): Update dependencies.  Use
2657         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2658         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2659         * conform/linknamespace.pl: Remove comment about considering
2660         definitions of symbols from irrelevant libraries.
2662 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2664         [BZ #13862]
2665         * elf/dl-tls.c: Include <atomic.h>.
2666         (oom): Remove #ifdef SHARED/#endif.
2667         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2668         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2669         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2670         big enough.
2671         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2672         * nptl/Makefile (tests): Add tst-stack4.
2673         (modules-names): Add tst-stack4mod.
2674         ($(objpfx)tst-stack4): New.
2675         (tst-stack4mod.sos): Likewise.
2676         ($(objpfx)tst-stack4.out): Likewise.
2677         ($(tst-stack4mod.sos)): Likewise.
2678         (clean): Likewise.
2679         * nptl/tst-stack4.c: New file.
2680         * nptl/tst-stack4mod.c: Likewise.
2682 2014-11-27  J. Brown  <jb999@gmx.de>
2684         * sysdeps/x86/bits/string.h: Add recent CPUs.
2686 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2688         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2689         sigblock.
2691         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2692         feof.
2694         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2695         variable.
2697 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2699         * nscd/connections.c: Include libc-internal.h because of macro
2700         usage ignore_value.
2702 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2704         * string/bits/string3.h (__warn_memset_zero_len): Don't
2705         declare for gcc newer than 5.0.
2706         (memset): Don't test for zero-length __LEN for gcc newer than
2707         5.0.
2709 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2711         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2712         size_t for %zu format.
2714         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2715         difference, not %ju.
2717 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2719         * include/libc-internal.h (ignore_value): New macro.
2720         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2721         with ignore_value.
2723         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2724         definition.
2726         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2727         pthread_cleanup_push to void *.
2729         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2730         Undefine.
2732         [BZ #16619]
2733         [BZ #16740]
2734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2735         instead of 1L << 52.
2737         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2738         * libio/bug-rewind2.c (do_test): Likewise.
2740         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2741         * debug/test-strcpy_chk-ifunc.c: Likewise.
2742         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2743         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2744         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2745         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2746         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2747         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2748         * Rules [$(multi-arch) = no] (tests): Do not filter out
2749         $(tests-ifunc).
2750         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2751         * debug/Makefile (tests-ifunc): Remove variable.
2752         (tests): Do not add $(tests-ifunc).
2753         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2754         (tests): Do not add $(tests-ifunc).
2755         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2756         [TEST_IFUNC]: Remove conditionals.
2757         * string/test-string.h (TEST_IFUNC): Remove macro.
2758         [TEST_IFUNC]: Remove conditionals.
2760         * string/test-strchr.c [!WIDE] (L): New macro.
2761         [WIDE] (L): Likewise.
2762         (check1): Use CHAR instead of char.  Use L on string and character
2763         constants.
2765 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2767         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2768         tests.
2769         * sysdeps/powerpc/bits/atomic.h
2770         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2771         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2772         (atomic_exchange_and_add_acq): Likewise.
2773         (atomic_exchange_and_add_rel): Likewise.
2774         * sysdeps/powerpc/powerpc32/bits/atomic.h
2775         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2776         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2777         * sysdeps/powerpc/powerpc64/bits/atomic.h
2778         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2779         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2781 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2783         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2784         Change synchronization of __sched_fifo_min_prio and
2785         __sched_fifo_max_prio.
2786         * nptl/pthread_mutexattr_getprioceiling.c
2787         (pthread_mutexattr_getprioceiling): Likewise.
2788         * nptl/pthread_mutexattr_setprioceiling.c
2789         (pthread_mutexattr_setprioceiling): Likewise.
2790         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2791         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2792         Likewise.
2794 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2796         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2797         void.
2799 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2801         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2802         third argument const.
2804 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2806         fnmatch: work around GCC compiler warning bug with uninit var
2807         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2808         This works around a bug with x86-64 GCC 4.9.2 and earlier
2809         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2810         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2811         used uninitialized in this function [-Wmaybe-uninitialized]".
2813 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2815         * posix/bug-regex31.c (main): Return RES not 0.
2817 2014-11-25  Anton Blanchard <anton@samba.org>
2819         * sysdeps/powerpc/bits/atomic.h
2820         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2822 2014-11-24  Sterling Augustine  <saugustine@google.com>
2824         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2826 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2828         [BZ #17608]
2829         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2831 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2833         [BZ #17633]
2834         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2835         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2836         variable.
2837         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2838         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2840 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2842         * string/strncpy.c (strncpy): Improve performance by using memset.
2844 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2846         * string/strcpy.c (strcpy):
2847         Improve performance by using strlen and memcpy.
2849 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2851         * string/strcoll_l.c (get_next_seq): __always_inline.
2852         * string/strcoll_l.c (do_compare): __always_inline.
2854 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2856         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2857         defined.
2858         * include/mqueue.h: Likewise.
2859         * include/stdlib.h: Likewise.
2861         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2862         (get_null_defines): Adjust.
2863         * sunrpc/Makefile: Adjust comment.
2864         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2865         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2866         (CFLAGS-interp.c): Likewise.
2867         (CFLAGS-ldconfig.c): Likewise.
2868         (CPPFLAGS-.os): Likewise.
2869         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2870         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2871         * extra-modules.mk (extra-modules.mk): Likewise.
2872         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2873         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2874         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2875         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2876         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2877         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2878         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2879         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2880         * iconvdata/Makefile (CPPFLAGS): Likewise.
2881         (cpp-srcs-left): Add libof for all iconvdata routines.
2882         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2883         * include/assert.h: Likewise.
2884         * include/ctype.h: Likewise.
2885         * include/errno.h: Likewise.
2886         * include/libc-symbols.h: Likewise.
2887         * include/math.h: Likewise.
2888         * include/netdb.h: Likewise.
2889         * include/resolv.h: Likewise.
2890         * include/stdio.h: Likewise.
2891         * include/stdlib.h: Likewise.
2892         * include/string.h: Likewise.
2893         * include/sys/stat.h: Likewise.
2894         * include/wctype.h: Likewise.
2895         * intl/l10nflist.c: Likewise.
2896         * libidn/idn-stub.c: Likewise.
2897         * libio/libioP.h: Likewise.
2898         * nptl/libc_multiple_threads.c: Likewise.
2899         * nptl/pthreadP.h: Likewise.
2900         * posix/regex_internal.h: Likewise.
2901         * resolv/res_hconf.c: Likewise.
2902         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2903         * sysdeps/arm/memmove.S: Likewise.
2904         * sysdeps/arm/sysdep.h: Likewise.
2905         * sysdeps/generic/_itoa.h: Likewise.
2906         * sysdeps/generic/symbol-hacks.h: Likewise.
2907         * sysdeps/gnu/errlist.awk: Likewise.
2908         * sysdeps/gnu/errlist.c: Likewise.
2909         * sysdeps/i386/i586/memcpy.S: Likewise.
2910         * sysdeps/i386/i586/memset.S: Likewise.
2911         * sysdeps/i386/i686/memcpy.S: Likewise.
2912         * sysdeps/i386/i686/memmove.S: Likewise.
2913         * sysdeps/i386/i686/mempcpy.S: Likewise.
2914         * sysdeps/i386/i686/memset.S: Likewise.
2915         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2916         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2917         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2918         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2921         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2922         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2923         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2924         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2925         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2926         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2927         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2928         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2929         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2930         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2931         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2932         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2933         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2934         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2935         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2936         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2937         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2938         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2939         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2941         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2942         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2943         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2944         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2945         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2946         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2949         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2951         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2952         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2955         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2956         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2957         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2958         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2959         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2960         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2961         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2962         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2963         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2964         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2965         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2966         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2967         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2968         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2969         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2970         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2971         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2972         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2973         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2974         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2975         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2976         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2977         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2978         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2979         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2980         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2981         * sysdeps/posix/closedir.c: Likewise.
2982         * sysdeps/posix/opendir.c: Likewise.
2983         * sysdeps/posix/readdir.c: Likewise.
2984         * sysdeps/posix/rewinddir.c: Likewise.
2985         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2986         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2987         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2988         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2989         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2996         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2999         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3001         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3003         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3005         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3007         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3012         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3013         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3020         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3021         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3023         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3024         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3025         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3026         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3027         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3028         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3029         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3030         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3031         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3032         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3033         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3034         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3035         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3036         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3041         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3042         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3043         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3044         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3046         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3048         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3049         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3050         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3051         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3052         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3053         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3054         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3056         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3057         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3058         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3059         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3061         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3062         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3063         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3064         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3065         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3066         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3067         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3069         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3071         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3072         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3073         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3075         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3076         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3077         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3081         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3083         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3084         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3085         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3086         * sysdeps/unix/alpha/sysdep.S: Likewise.
3087         * sysdeps/unix/alpha/sysdep.h: Likewise.
3088         * sysdeps/unix/make-syscalls.sh: Likewise.
3089         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3091         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3092         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3093         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3094         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3095         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3096         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3097         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3098         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3099         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3100         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3102         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3103         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3104         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3105         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3106         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3107         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3108         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3109         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3110         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3111         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3112         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3113         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3114         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3118         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3119         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3123         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3125         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3127         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3128         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3129         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3130         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3131         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3132         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3133         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3136         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3139         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3140         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3141         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3142         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3144         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3145         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3147         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3148         * sysdeps/x86_64/memcpy.S: Likewise.
3149         * sysdeps/x86_64/memmove.c: Likewise.
3150         * sysdeps/x86_64/memset.S: Likewise.
3151         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3152         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3153         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3154         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3155         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3157         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3158         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3159         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3160         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3161         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3162         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3163         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3164         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3165         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3166         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3168         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3169         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3170         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3171         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3172         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3173         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3174         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3175         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3176         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3177         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3178         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3179         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3181         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3182         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3183         * sysdeps/x86_64/strcmp.S: Likewise.
3185         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3187         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3188         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3189         * elf/rtld-Rules: Likewise.
3190         * elf/setup-vdso.h: Likewise.
3191         * include/assert.h: Likewise.
3192         * include/bits/stdlib-float.h: Likewise.
3193         * include/errno.h: Likewise.
3194         * include/sys/stat.h: Likewise.
3195         * include/unistd.h: Likewise.
3196         * sysdeps/aarch64/setjmp.S: Likewise.
3197         * sysdeps/alpha/setjmp.S: Likewise.
3198         * sysdeps/arm/__longjmp.S: Likewise.
3199         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3200         * sysdeps/arm/setjmp.S: Likewise.
3201         * sysdeps/arm/sysdep.h: Likewise.
3202         * sysdeps/generic/_itoa.h: Likewise.
3203         * sysdeps/generic/dl-sysdep.h: Likewise.
3204         * sysdeps/generic/ldsodefs.h: Likewise.
3205         * sysdeps/i386/dl-tls.h: Likewise.
3206         * sysdeps/i386/setjmp.S: Likewise.
3207         * sysdeps/m68k/setjmp.c: Likewise.
3208         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3209         * sysdeps/mach/hurd/opendir.c: Likewise.
3210         * sysdeps/posix/getcwd.c: Likewise.
3211         * sysdeps/posix/opendir.c: Likewise.
3212         * sysdeps/posix/profil.c: Likewise.
3213         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3214         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3215         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3218         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3220         * sysdeps/s390/dl-tls.h: Likewise.
3221         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3222         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3223         * sysdeps/sh/sh3/setjmp.S: Likewise.
3224         * sysdeps/sh/sh4/setjmp.S: Likewise.
3225         * sysdeps/unix/alpha/sysdep.h: Likewise.
3226         * sysdeps/unix/arm/sysdep.S: Likewise.
3227         * sysdeps/unix/i386/sysdep.S: Likewise.
3228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3229         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3230         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3234         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3235         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3236         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3237         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3238         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3239         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3243         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3246         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3247         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3248         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3252         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3256         * sysdeps/x86_64/setjmp.S: Likewise.
3258         * include/math.h: Use IS_IN instead of IS_IN_libm.
3259         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3260         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3261         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3262         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3263         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3264         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3265         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3266         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3267         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3269         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3270         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3271         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3272         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3273         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3274         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3275         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3276         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3277         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3278         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3279         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3280         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3281         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3282         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3283         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3284         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3285         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3286         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3287         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3288         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3289         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3290         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3291         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3293         Likewise.
3294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3295         Likewise.
3296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3297         Likewise.
3298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3299         Likewise.
3300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3301         Likewise.
3302         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3303         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3304         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3305         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3306         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3307         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3314         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3315         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3316         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3317         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3318         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3319         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3320         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3321         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3322         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3323         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3326         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3328         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3330         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3331         * nptl/pthreadP.h: Likewise.
3332         * nptl_db/structs.def: Likewise.
3333         * sysdeps/arm/sysdep.h: Likewise.
3334         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3335         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3336         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3337         * sysdeps/unix/alpha/sysdep.h: Likewise.
3338         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3340         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3341         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3342         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3343         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3344         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3345         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3346         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3347         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3348         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3349         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3350         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3351         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3356         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3359         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3360         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3361         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3362         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3363         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3365         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3366         * nptl/pthreadP.h: Likewise.
3367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3368         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3369         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3370         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3371         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3372         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3375         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3376         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3377         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3378         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3380         Likewise.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3382         Likewise.
3383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3385         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3388         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3389         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3392         * dlfcn/dladdr.c: Use IS_IN.
3393         * dlfcn/dladdr1.c: Likewise.
3394         * dlfcn/dlclose.c: Likewise.
3395         * dlfcn/dlerror.c: Likewise.
3396         * dlfcn/dlinfo.c: Likewise.
3397         * dlfcn/dlmopen.c: Likewise.
3398         * dlfcn/dlopen.c: Likewise.
3399         * dlfcn/dlsym.c: Likewise.
3400         * dlfcn/dlvsym.c: Likewise.
3402         * include/ifaddrs.h: Use IS_IN.
3403         * inet/check_pf.c: Likewise.
3404         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3405         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3407         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3408         IS_IN_ldconfig.
3409         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3410         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3412         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3413         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3414         IS_IN (libc).
3416         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3418         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3419         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3420         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3421         * include/libc-symbols.h (IS_IN_LIB): New macro.
3422         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3423         * include/netdb.h: Likewise.
3424         * include/stap-probe.h: Remove all uses of IN_LIB.
3426         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3427         instead of IN_MODULE.
3428         * include/libc-symbols.h (IN_MODULE): Define using
3429         MODULE_NAME.
3430         (PASTE_NAME, PASTE_NAME1): New macros.
3431         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3432         of IN_LIB.
3433         (STAP_PROBE_ASM): Likewise.
3435 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3437         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3438         __mach_init in dlopened libc.
3440 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3442         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3443         * sysdeps/arm/preconfigure: Regenerate.
3445 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3447         * nptl/pthread_create.c (__pthread_create_2_1): Set
3448         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3449         when copying values from IATTR into PD.
3451 2014-11-21  Will Newton  <will.newton@linaro.org>
3452             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3454         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3455         Refactor inline-asm.  Also add comment.
3457         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3458         ElfW macro instead of hardcoded Elf64 types.
3459         (la_aarch64_gnu_pltenter): Likewise.
3460         * sysdeps/aarch64/dl-machine.h
3461         (elf_machine_runtime_setup): Use ElfW(Addr).
3463         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3464         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3465         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3466         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3467         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3468         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3469         (R_AARCH64_TLS_DTPMOD): This.
3470         (R_AARCH64_TLS_DTPREL64): Rename to ...
3471         (R_AARCH64_TLS_DTPREL): This.
3472         (R_AARCH64_TLS_TPREL64): Rename to ...
3473         (R_AARCH64_TLS_TPREL): This.
3474         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3475         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3476         R_AARCH64_TLS_TPREL64.
3477         (elf_machine_rela): Likewise.
3479 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3481         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3482         by setting it to 0.  64b atomics are not supported currently.
3484 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3486         [BZ #16469]
3487         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3488         search domain names.
3490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3492         [BZ #16469]
3493         * NEWS: Update.
3494         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3495         trailing dot.
3496         * posix/tst-getaddrinfo5.c: New.
3497         * posix/Makefile (tests): Add it.
3499 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3501         [BZ #14498]
3502         * NEWS: Fixed.
3503         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3504         after parsing line but before break_if_match.
3505         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3506         if there is a protocol mismatch.
3508 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3510         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3511         because the potential race is on the user-supplied stream.
3513 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3515         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3516         string literal if not passed a buffer.
3517         * manual/job.texi (ctermid): Update reasoning, note deviation
3518         from posix, suggest mtasurace when not passed a buffer, for
3519         future non-preliminary safety notes.
3521 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3523         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3524         of not passing it a buffer.
3525         Reported by Peng Haitao.
3527 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3529         * manual/Makefile ($(objpfx)stamp-summary): Require
3530         check-safety.sh to pass.
3531         * manual/check-safety.sh: Wish for verification that every
3532         @deftypefn and @deftypefun is followed by a @safety remark.
3534 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3536         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3538         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3539         PTHREAD_CANCEL_ASYNCHRONOUS.
3540         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3541         send SIGCANCEL.
3543         * nptl/default-sched.h: New file.
3544         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3545         * nptl/pthread_create.c: Include it.
3546         (__pthread_create_2_1): Use collect_default_sched instead of making
3547         Linux syscalls here directly.
3549 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3551         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3552         __pthread_once): Use C11 atomics.
3554 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3556         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3558 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3560         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3561         atomic_thread_fence_acquire, atomic_thread_fence_release,
3562         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3563         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3564         atomic_compare_exchange_weak_relaxed,
3565         atomic_compare_exchange_weak_acquire,
3566         atomic_compare_exchange_weak_release,
3567         atomic_exchange_acquire, atomic_exchange_release,
3568         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3569         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3570         atomic_fetch_and_acquire,
3571         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3573 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3575         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3576         USE_ATOMIC_COMPILER_BUILTINS): Define.
3577         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3579         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3581         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3583         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3585         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3587         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3589         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3591         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3593         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3595         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3597         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3599         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3601         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3603         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3605         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3607         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3609         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3611         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3612         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3613         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3615         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3618 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3620         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3621         the sched_priority value here.  It was already checked when the user
3622         called pthread_attr_setschedparam.
3624         * nptl/tst-bad-schedattr.c: New file.
3625         * nptl/Makefile (tests): Add it.
3627 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3628             Florian Weimer  <fweimer@redhat.com>
3629             Joseph Myers  <joseph@codesourcery.com>
3630             Adam Conrad  <adconrad@0c3.net>
3631             Andreas Schwab  <schwab@suse.de>
3632             Brooks  <bmoses@google.com>
3634         [BZ #17625]
3635         * wordexp-test.c (__dso_handle): Add prototype.
3636         (__register_atfork): Likewise.
3637         (__app_register_atfork): New function.
3638         (registered_forks): New global.
3639         (register_fork): New function.
3640         (test_case): Add 3 new tests for WRDE_CMDSUB.
3641         (main): Call __app_register_atfork.
3642         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3643         fork count is non-zero fail the test.
3644         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3645         is set.
3646         (parse_dollars): Remove check for WRDE_NOCMD.
3647         (parse_dquote): Likewise.
3649 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3651         * Makeconfig (built-modules): List non-library modules to be
3652         built.
3653         (module-cppflags): Include libc-modules.h for
3654         everything except shlib-versions.v.i.
3655         (CPPFLAGS): Use it.
3656         (before-compile): Add libc-modules.h.
3657         ($(common-objpfx)libc-modules.h,
3658         $(common-objpfx)libc-modules.stmp): New targets.
3659         (common-generated): Add libc-modules.h and libc-modules.stmp.
3660         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3661         * include/libc-symbols.h: Don't include libc-modules.h.
3662         * include/libc-modules.h: Remove file.
3663         * scripts/gen-libc-modules.awk: New script to generate
3664         libc-modules.h.
3665         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3666         Depend on libc-modules.stmp.
3668         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3670         * Makeconfig (in-module): Get value of libof set for the
3671         translation unit.
3672         (CPPFLAGS): Use $(in-module).
3673         * Makerules: Don't suffix routine names for nonlib.
3674         * include/libc-modules.h: New file.
3675         * include/libc-symbols.h: Include libc-modules.h
3676         (IS_IN): New macro to replace IS_IN_* macros.
3677         * elf/Makefile: Set libof-* for each routine.
3678         * elf/rtld-Rules: Likewise.
3679         * extra-modules.mk: Likewise.
3680         * iconv/Makefile: Likewise.
3681         * iconvdata/Makefile: Likewise.
3682         * locale/Makefile: Likewise.
3683         * malloc/Makefile: Likewise.
3684         * nss/Makefile: Likewise.
3685         * sysdeps/gnu/Makefile: Likewise.
3686         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3687         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3688         * sysdeps/s390/s390-64/Makefile: Likewise.
3689         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3690         CPPFLAGS for nscd instead of nonlib.
3692 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3694         * nptl/createthread.c: New file.
3696         * nptl/createthread.c: Moved ...
3697         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3699         * nptl/createthread.c: Add proper top-line comment.
3700         (do_clone): Folded into ...
3701         (create_thread): ... here.  Take new arguments STOPPED_START and
3702         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3703         increment __nptl_threads, do event-reporting logic, do
3704         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3705         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3706         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3707         just send SIGCANCEL.
3708         * nptl/pthread_create.c: Forward-declare create_thread before
3709         including createthread.c.
3710         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3711         declaration, and new macro START_THREAD_SELF to replace argument.
3712         Remove return statement.
3713         (report_thread_creation): New function.
3714         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3715         synchronization logic, and __nptl_nthreads increment here, around
3716         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3717         PD->parent_cancelhandling here, before create_thread.  When
3718         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3719         __deallocate_stack, and ENOMEM translation here.
3721 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3723         [BZ #17616]
3724         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3725         (mptwo): Rename to __mptwo.
3726         (__inv): Use __mptwo instead of mptwo.
3727         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3728         (mptwo): Rename to __mptwo.
3729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3730         of mpone and __mptwo instead of mptwo.
3731         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3732         instead of mpone.
3733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3734         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3735         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3736         of mpone and __mptwo instead of mptwo.
3737         (__mpranred): Use __mpone instead of mpone.
3738         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3739         variable.
3740         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3741         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3742         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3743         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3744         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3745         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3746         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3747         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3748         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3749         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3750         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3751         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3752         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3753         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3754         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3755         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3756         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3757         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3758         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3760 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3762         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3763         replace BSD Handler xref with BSD Signal Handling.
3765 2014-11-17  Richard Henderson  <rth@redhat.com>
3767         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3768         (_FP_PACK_RAW_2): Remove.
3769         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3770         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3771         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3772         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3773         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3774         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3775         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3776         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3777         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3778         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3779         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3780         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3781         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3782         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3783         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3784         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3786 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3788         * signal/signal.h [__USE_MISC]
3789         (struct sigvec): Remove type.
3790         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3791         (sigvec): Remove declaration.
3792         * sysdeps/posix/sigvec.c: Moved ...
3793         * signal/sigvec.c: ... here, replacing old file.
3794         (struct sigvec): New type, copied from old signal.h definition.
3795         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3796         (__sigvec): Convert definition to prototype.
3797         (sigvec): Replace weak_alias with compat_symbol.
3798         * signal/Versions (libc: GLIBC_2.21): New version set.
3799         * include/signal.h: Remove __sigvec declaration.
3800         * sysdeps/unix/bsd/sigvec.c: Remove file.
3801         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3802         * manual/signal.texi (BSD Handler): Remove subsection.
3803         Move siginterrupt up to ...
3804         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3805         (Blocking in BSD): Fold subsection into its parent.
3806         * NEWS: Mention sigvec removal.
3808 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3810         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3811         (DLA_FMS): Make definition conditional only on [__FMA4__].
3812         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3813         definition.
3815         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3816         Make definition conditional only on [PROF].
3817         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3818         definition.
3819         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3820         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3822         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3823         !__GNUC__].
3824         * include/signal.h (__sigpause): Move declaration above call to
3825         libc_hidden_proto.
3826         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3827         variable.
3828         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3829         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3831 2014-11-14  David S. Miller  <davem@davemloft.net>
3833         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3834         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3836 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3838         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3839         * configure: Regenerated.
3840         * manual/install.texi (Tools for Compilation): Document a
3841         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3842         compiler verified to work.
3843         * INSTALL: Regenerated.
3845         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3846         redeclare with asm name.
3847         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3848         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3849         including <string.h>.
3850         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3851         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3852         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3853         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3854         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3856         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3858 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3860         * stdlib/strtol.c (__strtol): Use prototype definition.
3862         [BZ #17594]
3863         * stdlib/strtol.c (SYM__): New macro.
3864         (SYM__1): Likewise.
3865         (__strtol): Likewise.
3866         (strtol): Rename to __strtol and define as weak alias of
3867         __strtol.  Use libc_hidden_weak.
3869 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3871         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3872         Use numbered labels in inline assembly.
3874 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3876         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3877         Add setjmp LIBC_PROBE.
3878         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3879         Likewise.
3880         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3881         Add longjmp, longjmp_target LIBC_PROBE.
3882         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3883         Likewise.
3885 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3888         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3889         to get rid of unused variable warning.
3891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3893         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3894         Check for unwind_backtrace ==  NULL only in SHARED case.
3895         (__backchain_backtrace): Compile only in SHARED case.
3896         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3897         Likewise.
3898         (__backchain_backtrace): Declare as static.
3900 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3902         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3903         (__libc_multiple_threads_ptr): Variable moved ...
3904         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3906 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3908         * conform/GlibcConform.pm: New file.
3909         * conform/conformtest.pl: Use GlibcConform module.
3910         * conform/linknamespace.pl: New file.
3911         * conform/list-header-symbols.pl: Likewise.
3912         * conform/Makefile (linknamespace-symlists-base): New variable.
3913         (linknamespace-symlists-tests): Likewise.
3914         (linknamespace-header-base): Likewise.
3915         (linknamespace-header-tests): Likewise.
3916         (tests-special): Add new tests.
3917         ($(linknamespace-symlists-tests)): New rule.
3918         (linknamespace-libs): New variable.
3919         ($(objpfx)symlist-stdlibs): New rule.
3920         ($(linknamespace-header-tests)): Likewise.
3921         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3922         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3923         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3924         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3925         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3926         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3927         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3928         (test-xfail-ISO/math.h/linknamespace): Likewise.
3929         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3930         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3931         (test-xfail-ISO/time.h/linknamespace): Likewise.
3932         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3933         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3934         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3935         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3936         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3937         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3938         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3939         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3940         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3941         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3942         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3943         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3944         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3945         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3946         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3947         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3948         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3949         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3950         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3951         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3952         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3953         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3954         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3955         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3956         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3957         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3958         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3959         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3960         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3961         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3962         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3963         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3964         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3965         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3966         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3967         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3968         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3969         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3970         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3971         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3972         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3973         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3974         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3975         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3976         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3977         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3978         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3979         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3980         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3981         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3982         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3983         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3984         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3985         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3986         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3987         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3988         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3989         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3990         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3991         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3992         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3993         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3994         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3995         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3996         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3997         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3998         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3999         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4000         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4001         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4002         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4003         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4004         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4005         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4006         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4007         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4008         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4009         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4010         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4011         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4012         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4013         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4014         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4015         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4016         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4017         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4018         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4019         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4020         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4021         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4022         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4023         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4024         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4025         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4026         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4027         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4028         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4029         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4030         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4031         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4032         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4033         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4034         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4035         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4036         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4037         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4038         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4039         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4040         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4041         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4042         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4043         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4044         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4045         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4046         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4047         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4048         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4049         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4050         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4051         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4052         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4053         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4054         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4055         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4056         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4057         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4058         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4059         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4060         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4061         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4062         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4063         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4064         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4065         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4066         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4067         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4068         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4069         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4070         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4071         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4072         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4073         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4074         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4075         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4076         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4077         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4078         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4079         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4080         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4081         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4083         [BZ #17589]
4084         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4085         of fgets_unlocked.
4087         [BZ #17585]
4088         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4089         (memmem): Rename to __memmem and define as weak alias of
4090         __memmem.  Use libc_hidden_weak.
4091         (__memmem): Use libc_hidden_def.
4092         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4093         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4094         memmem.
4096         [BZ #17582]
4097         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4098         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4099         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4100         and define as weak alias of __fgets_unlocked.  Use
4101         libc_hidden_weak.
4102         (__fgets_unlocked): Use libc_hidden_def.
4103         * include/stdio.h (__fgets_unlocked): Declare.  Use
4104         libc_hidden_proto.
4105         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4106         __fgets_unlocked instead of fgets_unlocked.
4107         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4108         (GET_NPROCS_CONF_PARSER): Likewise.
4109         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4110         (GET_NPROCS_CONF_PARSER): Likewise.
4112         [BZ #17574]
4113         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4114         weak alias of __wmemset.  Use libc_hidden_weak.
4115         (__wmemset): Use libc_hidden_def.
4116         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4117         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4118         of wmemset.
4120         [BZ #17573]
4121         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4122         with asm name __mempcpy.
4123         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4125         [BZ #17572]
4126         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4127         and define as weak alias of __rawmemchr.
4128         (__rawmemchr): Do not define as strong alias of rawmemchr.
4130         [BZ #17571]
4131         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4132         alias of __qsort_r.
4133         (qsort): Call __qsort_r instead of qsort_r.
4134         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4135         (__qsort_r): Declare.  Call libc_hidden_proto.
4136         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4137         instead of qsort_r.
4138         * nscd/gai.c (__qsort_r): Define to qsort_r.
4139         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4140         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4141         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4143         [BZ #17570]
4144         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4145         define as weak alias of __malloc_info.
4147         [BZ #17584]
4148         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4149         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4150         (__rewinddir): Use libc_hidden_def.
4151         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4152         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4153         (__rewinddir): Use libc_hidden_def.
4154         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4155         weak alias of __rewinddir.  Don't use libc_hidden_def.
4156         (__rewinddir): Use libc_hidden_def.
4157         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4158         (__rewinddir): Use libc_hidden_proto.
4159         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4160         rewinddir.
4161         (__getcwd): Use __rewinddir instead of rewinddir.
4163         [BZ #17583]
4164         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4165         alias of __fileno.  Use libc_hidden_weak.
4166         (__fileno): Use libc_hidden_def.
4167         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4168         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4169         alias of __ftello.
4170         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4171         __ftello.
4172         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4173         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4174         libc_hidden_def.
4175         (fread_unlocked): Don't use libc_hidden_ver.
4176         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4177         and define as weak alias of __fread_unlocked.  Don't use
4178         libc_hidden_def.
4179         (__fread_unlocked): Use libc_hidden_def.
4180         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4181         (ftello): Don't use libc_hidden_proto.
4182         (__ftello): Declare.  Use libc_hidden_proto.
4183         (fread_unlocked): Don't use libc_hidden_proto.
4184         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4185         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4186         and __ftello instead of fileno, fread_unlocked and ftello.
4188 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4190         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4191         GOT12.
4192         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4193         Likewise.
4194         (_dl_start_user): Likewise.
4195         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4197 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4198             Siddhesh Poyarekar  <siddhesh@redhat.com>
4200         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4201         Move argv and envp down instead of moving argc up.
4202         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4204 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4206         [BZ #17506]
4207         * test-skeleton.c (main): Return successful if one of
4208         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4209         * string/tst-strcoll-overflow.c: Define expected status.
4211 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4213         [BZ #17475]
4214         * locale/iso-639.def: Define Bhili and Tulu language codes.
4216 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4218         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4220 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4222         [BZ #17555]
4223         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4225 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4227         * configure.ac: Updated check of minimal required version to
4228         2.22.
4229         * manual/install.texi (Tools for Compilation): Updated version
4230         number.
4231         * configure: Regenerated.
4232         * INSTALL: Likewise.
4234 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4236         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4237         __tls_get_addr.
4239 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4241         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4242         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4243         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4244         libc_hidden_weak.
4245         (waitpid): Define as alias of __waitpid.
4246         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4247         __waitpid.
4248         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4249         libc_hidden_weak.
4250         (waitpid): Define as alias of __waitpid.
4251         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4252         __libc_waitpid alias.
4253         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4254         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4255         Likewise.
4256         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4257         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4258         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4259         alias.
4260         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4261         __waitpid.
4262         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4263         libc_hidden_weak.
4264         (waitpid): Define as alias of __waitpid.
4266 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4268         * manual/llio.texi: Add comment that write safety has been
4269         fixed in Linux.
4271         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4272         (localplt-build-dso): Add elf/ld.so.
4273         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4274         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4275         and free for ld.so.
4276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4277         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4279         Likewise.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4281         Likewise.
4282         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4283         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4284         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4285         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4286         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4287         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4288         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4289         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4290         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4292         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4294 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4296         [BZ #14132]
4297         * include/libc-symbols.h (INTUSE): Remove macro.
4298         (INTDEF): Likewise.
4299         (INTVARDEF): Likewise.
4300         (_INTVARDEF): Likewise.
4301         (INTDEF2): Likewise.
4302         (INTVARDEF2): Likewise.
4303         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4304         rtld_hidden_def instead of INTVARDEF.
4305         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4306         (_dl_starting_up_internal): Remove declaration.
4307         (_dl_starting_up): Use rtld_hidden_proto.
4308         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4309         declaration.
4310         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4311         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4312         _dl_starting_up.
4313         * elf/dl-writev.h (_dl_writev): Likewise.
4314         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4315         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4316         _dl_starting_up_internal.
4318 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4320         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4321         test-skeleton.c.
4323 2014-11-05  Will Newton  <will.newton@linaro.org>
4325         * benchtests/Makefile: (bench-malloc): Add malloc thread
4326         scalability benchmark.
4327         * benchtests/bench-malloc-threads.c: New file.
4329 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4331         * sysdeps/aarch64/strchrnul.S: New file.
4333 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4335         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4336         definition.
4337         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4338         Likwise.
4339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4340         Likewise.
4341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4342         Likewise.
4343         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4344         Likewise.
4345         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4346         Likewise.
4348 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4350         * catgets/test-gencat.c: Use test-skeleton.c.
4351         * catgets/tst-catgets.c: Likewise.
4352         * csu/tst-empty.c: Likewise.
4353         * elf/tst-audit2.c: Likewise.
4354         * elf/tst-global1.c: Likewise.
4355         * elf/tst-pathopt.c: Likewise.
4356         * elf/tst-piemod1.c: Likewise.
4357         * elf/tst-tls10.c: Likewise.
4358         * elf/tst-tls11.c: Likewise.
4359         * elf/tst-tls12.c: Likewise.
4360         * gnulib/tst-gcc.c: Likewise.
4361         * iconvdata/tst-e2big.c: Likewise.
4362         * iconvdata/tst-loading.c: Likewise.
4363         * iconv/tst-iconv1.c: Likewise.
4364         * iconv/tst-iconv2.c: Likewise.
4365         * inet/test-inet6_opt.c: Likewise.
4366         * inet/tst-gethnm.c: Likewise.
4367         * inet/tst-network.c: Likewise.
4368         * inet/tst-ntoa.c: Likewise.
4369         * intl/tst-codeset.c: Likewise.
4370         * intl/tst-gettext2.c: Likewise.
4371         * intl/tst-gettext3.c: Likewise.
4372         * intl/tst-ngettext.c: Likewise.
4373         * intl/tst-translit.c: Likewise.
4374         * io/test-stat.c: Likewise.
4375         * libio/test-fmemopen.c: Likewise.
4376         * libio/tst-freopen.c: Likewise.
4377         * libio/tst-sscanf.c: Likewise.
4378         * libio/tst-ungetwc1.c: Likewise.
4379         * libio/tst-ungetwc2.c: Likewise.
4380         * libio/tst-widetext.c: Likewise.
4381         * localedata/tst-ctype.c: Likewise.
4382         * localedata/tst-digits.c: Likewise.
4383         * localedata/tst-leaks.c: Likewise.
4384         * localedata/tst-mbswcs1.c: Likewise.
4385         * localedata/tst-mbswcs2.c: Likewise.
4386         * localedata/tst-mbswcs3.c: Likewise.
4387         * localedata/tst-mbswcs4.c: Likewise.
4388         * localedata/tst-mbswcs5.c: Likewise.
4389         * localedata/tst-setlocale.c: Likewise.
4390         * localedata/tst-trans.c: Likewise.
4391         * localedata/tst-wctype.c: Likewise.
4392         * localedata/tst-xlocale1.c: Likewise.
4393         * login/tst-grantpt.c: Likewise.
4394         * malloc/tst-calloc.c: Likewise.
4395         * malloc/tst-malloc.c: Likewise.
4396         * malloc/tst-mallocstate.c: Likewise.
4397         * malloc/tst-mcheck.c: Likewise.
4398         * malloc/tst-mtrace.c: Likewise.
4399         * malloc/tst-obstack.c: Likewise.
4400         * math/atest-exp2.c: Likewise.
4401         * math/atest-exp.c: Likewise.
4402         * math/atest-sincos.c: Likewise.
4403         * math/test-matherr.c: Likewise.
4404         * math/test-misc.c: Likewise.
4405         * math/test-powl.c: Likewise.
4406         * math/tst-definitions.c: Likewise.
4407         * misc/tst-dirname.c: Likewise.
4408         * misc/tst-efgcvt.c: Likewise.
4409         * misc/tst-fdset.c: Likewise.
4410         * misc/tst-hsearch.c: Likewise.
4411         * misc/tst-mntent2.c: Likewise.
4412         * nptl/tst-sem7.c: Likewise.
4413         * nptl/tst-sem8.c: Likewise.
4414         * nptl/tst-sem9.c: Likewise.
4415         * nss/test-netdb.c: Likewise.
4416         * posix/tst-fnmatch.c: Likewise.
4417         * posix/tst-getlogin.c: Likewise.
4418         * posix/tst-gnuglob.c: Likewise.
4419         * posix/tst-mmap.c: Likewise.
4420         * pwd/tst-getpw.c: Likewise.
4421         * resolv/tst-inet_ntop.c: Likewise.
4422         * rt/tst-timer.c: Likewise.
4423         * stdio-common/test-fseek.c: Likewise.
4424         * stdio-common/test-popen.c: Likewise.
4425         * stdio-common/test-vfprintf.c: Likewise.
4426         * stdio-common/tst-cookie.c: Likewise.
4427         * stdio-common/tst-fileno.c: Likewise.
4428         * stdio-common/tst-gets.c: Likewise.
4429         * stdio-common/tst-obprintf.c: Likewise.
4430         * stdio-common/tst-perror.c: Likewise.
4431         * stdio-common/tst-sprintf2.c: Likewise.
4432         * stdio-common/tst-sprintf3.c: Likewise.
4433         * stdio-common/tst-sprintf.c: Likewise.
4434         * stdio-common/tst-swprintf.c: Likewise.
4435         * stdio-common/tst-tmpnam.c: Likewise.
4436         * stdio-common/tst-unbputc.c: Likewise.
4437         * stdio-common/tst-wc-printf.c: Likewise.
4438         * stdlib/tst-environ.c: Likewise.
4439         * stdlib/tst-fmtmsg.c: Likewise.
4440         * stdlib/tst-limits.c: Likewise.
4441         * stdlib/tst-rand48-2.c: Likewise.
4442         * stdlib/tst-rand48.c: Likewise.
4443         * stdlib/tst-random2.c: Likewise.
4444         * stdlib/tst-random.c: Likewise.
4445         * stdlib/tst-strtol.c: Likewise.
4446         * stdlib/tst-strtoll.c: Likewise.
4447         * stdlib/tst-tls-atexit.c: Likewise.
4448         * stdlib/tst-xpg-basename.c: Likewise.
4449         * string/test-ffs.c: Likewise.
4450         * string/tst-bswap.c: Likewise.
4451         * string/tst-inlcall.c: Likewise.
4452         * string/tst-strtok.c: Likewise.
4453         * string/tst-strxfrm.c: Likewise.
4454         * sysdeps/x86_64/tst-audit10.c: Likewise.
4455         * sysdeps/x86_64/tst-audit3.c: Likewise.
4456         * sysdeps/x86_64/tst-audit4.c: Likewise.
4457         * sysdeps/x86_64/tst-audit5.c: Likewise.
4458         * time/tst-ftime_l.c: Likewise.
4459         * time/tst-getdate.c: Likewise.
4460         * time/tst-mktime3.c: Likewise.
4461         * time/tst-mktime.c: Likewise.
4462         * time/tst-posixtz.c: Likewise.
4463         * time/tst-strptime2.c: Likewise.
4464         * time/tst-strptime3.c: Likewise.
4465         * wcsmbs/tst-btowc.c: Likewise.
4466         * wcsmbs/tst-mbrtowc.c: Likewise.
4467         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4468         * wcsmbs/tst-wchar-h.c: Likewise.
4469         * wcsmbs/tst-wcpncpy.c: Likewise.
4470         * wcsmbs/tst-wcrtomb.c: Likewise.
4471         * wcsmbs/tst-wcsnlen.c: Likewise.
4472         * wcsmbs/tst-wcstof.c: Likewise.
4474 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4476         [BZ #14132]
4477         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4478         INTDEF.
4479         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4480         declaration.
4481         (_dl_mcount): Use rtld_hidden_proto.
4482         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4483         _dl_mcount.
4484         * elf/rtld.c (_rtld_global_ro): Likewise.
4486         [BZ #14132]
4487         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4488         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4489         of _dl_init_internal.
4490         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4491         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4492         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4493         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4494         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4495         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4496         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4497         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4498         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4499         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4500         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4501         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4502         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4503         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4504         * sysdeps/tile/dl-start.S (_start): Likewise.
4505         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4506         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4508         [BZ #14132]
4509         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4510         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4511         (rtld_progname): Make macro definition unconditional.
4512         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4513         INTDEF.
4514         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4515         (dl_main): Likewise.
4516         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4517         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4518         instead of _dl_argv_internal.
4519         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4520         __GI__dl_argv instead of INTUSE(_dl_argv).
4521         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4522         __GI__dl_argv instead of _dl_argv_internal.
4524         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4525         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4526         macro.
4527         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4528         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4529         New macro.
4530         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4531         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4532         macro.
4533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4534         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4536 2014-11-04  Andreas Schwab  <schwab@suse.de>
4538         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4540 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4542         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4543         mtvsrd instruction in binary form.
4545 2014-11-03  Andreas Schwab  <schwab@suse.de>
4547         [BZ #17522]
4548         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4549         for less than MB_LEN_MAX use a local buffer of that size.
4550         * libio/tst-fputws.c: New file.
4551         * libio/Makefile (tests): Add tst-fputws.
4553 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4555         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4556         the size of the fpu_fr.fpu_dregs[] array.
4558 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4560         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4561         (__nanosleep): Do not define as alias.
4562         (nanosleep): Define as alias of __nanosleep.
4563         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4564         __libc_nanosleep name.
4566 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4568         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4569         install.texi in comment.
4571 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4573         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4574         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4575         ... add here and use lwsync or sync ...
4576         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4577         ... and add here using lwsync.
4579 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4581         * elf/dl-machine-reject-phdr.h: New file.
4582         * elf/dl-load.c: #include that.
4583         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4584         if that returned true.
4586 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4588         [BZ #17496]
4589         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4590         gen-as-const-headers chunk.  Add a big scare comment after the last
4591         safe place to touch before-compile.
4593 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4595         * manual/install.texi (Tools for Compilation): Update autoconf
4596         version requirements.
4597         * INSTALL: Regenerated.
4599         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4600         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4601         (__libc_pselect): Likewise.
4603         [BZ #14138]
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4609 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4611         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4612         correct barrier instruction.
4613         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4614         Likewise.
4615         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4616         Likewise.
4618 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4620         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4621         after defining inlines.  Instead, just use parens to defeat macro
4622         expansion of __isctype in its declaration.
4624 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4626         * include/sys/uio.h (__libc_readv): Remove declaration.
4627         (__libc_writev): Likewise.
4628         * misc/readv.c (__libc_readv): Rename to __readv.
4629         (__readv): Do not define as alias.
4630         (readv): Define as alias of __readv.
4631         * misc/writev.c (__libc_writev): Rename to __writev.
4632         (__writev): Do not define as alias.
4633         (writev): Define as alias of __writev.
4634         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4635         (__readv): Do not define as alias.
4636         (readv): Define unconditionally as alias of __readv.
4637         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4638         (__writev): Do not define as alias.
4639         (writev): Define unconditionally as alias of __writev.
4640         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4641         name.
4642         (writev): Do not define __libc_writev name.
4644 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4646         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4647         (convert_charseq): New function, broken out of ...
4648         (use_from_charmap): ... here.  Call it.
4649         (use_to_charmap): Use convert_charseq and free instead of duplicating
4650         its code with a variable-length stack struct.
4652 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4654         * include/fcntl.h (__libc_creat): Remove declaration.
4655         * io/creat.c (__libc_creat): Rename to creat.
4656         (creat): Do not define as alias.
4657         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4658         of creat instead of __libc_creat.
4659         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4660         to creat.
4661         (creat): Do not define as alias.
4662         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4663         __libc_creat.
4664         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4665         __libc_creat name.
4666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4667         Likewise.
4669 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4671         * manual/llio.texi: Add comments discussing why write() may be
4672         considered MT-unsafe on Linux.
4674 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4676         * dl-load.c (local_strdup): Remove.
4677         (expand_dynamic_string_token): Use __strdup.
4678         (decompose_rpath): Likewise.
4679         (_dl_map_object): Likewise.
4681 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #14132]
4684         * sysdeps/generic/unwind-dw2-fde.c
4685         (__register_frame_info_bases_internal): Do not declare.
4686         (__register_frame_info_table_bases_internal): Likewise.
4687         (__deregister_frame_info_bases_internal): Likewise.
4688         (__register_frame_info_bases): Declare and use hidden_proto before
4689         definition.  Use hidden_def instead of INTDEF.
4690         (__register_frame_info_table_bases): Likewise.
4691         (__deregister_frame_info_bases): Likewise.
4692         (__register_frame_info): Do not use INTUSE.
4693         (__register_frame): Likewise.
4694         (__register_frame_info_table): Likewise.
4695         (__register_frame_table): Likewise.
4696         (__deregister_frame_info): Likewise.
4697         (__deregister_frame): Likewise.
4699 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4701         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4702         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4703         not undefine.
4704         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4705         Likewise.
4706         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4707         Likewise.
4709 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4711         [BZ #14138]
4712         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4713         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4714         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4715         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4716         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4717         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4718         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4719         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4720         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4721         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4722         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4723         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4724         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4725         syscall.
4726         (setfsuid): Likewise.
4727         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4728         (setfsuid): Likewise.
4729         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4730         (setfsuid): Likewise.
4731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4732         Likewise.
4733         (setfsuid): Likewise.
4734         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4735         (setfsuid): Likewise.
4736         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4737         Likewise.
4738         (setfsuid): Likewise.
4740 2014-10-27  Andreas Schwab  <schwab@suse.de>
4742         [BZ #17501]
4743         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4744         check for Slow_SSE4_2 feature bit.
4745         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4746         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4747         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4748         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4750 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4752         * configure.ac: Validate compiler version with a empirical test of
4753         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4754         $CC -v output.
4755         * configure: Regenerated.
4757         * inet/htons.c (htons): Prototypify.
4758         * inet/htonl.c (htonl): Likewise.
4760 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4762         * string/strncat.c (strncat): Improve performance by using strlen.
4764 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4766         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4768 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4770         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4771         Call libc_fetestexcept_aarch64.
4773 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4775         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4776         Call libc_feholdexcept_aarch64.
4778 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4780         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4781         Call get_rounding_mode.
4783 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4785         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4786         Simplify logic.
4788 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4790         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4791         Simplify logic.
4793 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4795         [BZ #14138]
4796         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4797         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4798         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4799         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4800         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4801         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4802         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4803         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4804         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4805         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4806         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4807         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4808         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4809         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4810         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4811         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4812         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4813         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4814         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4815         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4816         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4817         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4818         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4819         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4820         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4821         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4822         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4823         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4824         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4825         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4826         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4827         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4828         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4829         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4830         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4831         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4832         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4834         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4835         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4836         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4837         syscall.
4838         (geteuid): Likewise.
4839         (getgid): Likewise.
4840         (getuid): Likewise.
4841         (getresgid): Likewise.
4842         (getresuid): Likewise.
4843         (getgroups): Likewise.
4844         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4845         (geteuid): Likewise.
4846         (getgid): Likewise.
4847         (getuid): Likewise.
4848         (getresgid): Likewise.
4849         (getresuid): Likewise.
4850         (getgroups): Likewise.
4851         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4852         (geteuid): Likewise.
4853         (getgid): Likewise.
4854         (getuid): Likewise.
4855         (getresgid): Likewise.
4856         (getresuid): Likewise.
4857         (getgroups): Likewise.
4858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4859         Likewise.
4860         (geteuid): Likewise.
4861         (getgid): Likewise.
4862         (getuid): Likewise.
4863         (getresgid): Likewise.
4864         (getresuid): Likewise.
4865         (getgroups): Likewise.
4866         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4867         (geteuid): Likewise.
4868         (getgid): Likewise.
4869         (getuid): Likewise.
4870         (getresgid): Likewise.
4871         (getresuid): Likewise.
4872         (getgroups): Likewise.
4873         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4874         Likewise.
4875         (geteuid): Likewise.
4876         (getgid): Likewise.
4877         (getuid): Likewise.
4878         (getgroups): Likewise.
4880         [BZ #14138]
4881         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4882         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4883         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4885         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4886         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4887         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4888         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4889         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4890         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4891         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4892         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4893         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4894         __chown.
4895         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4896         (lchown): Likewise.
4897         (fchown): Likewise.
4898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4899         Likewise.
4900         (lchown): Likewise.
4901         (fchown): Likewise.
4902         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4903         (lchown): Likewise.
4904         (fchown): Likewise.
4905         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4906         Likewise.
4907         (lchown): Likewise.
4908         (fchown): Likewise.
4910 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4912         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4913         Simplify logic.
4915 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4917         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4918         Cleanup logic.
4920 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4922         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4923         Remove unused include.
4925 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4927         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4928         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4929         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4930         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4932 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4933             Helge Deller <deller@gmx.de>
4935         [BZ #17508]
4936         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4937         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4938         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4940 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4942         [BZ #14132]
4943         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4944         Remove macro definition.
4945         (__ashrdi3_v_glibc20): Likewise.
4946         (__lshrdi3_v_glibc20): Likewise.
4947         (__cmpdi2_v_glibc20): Likewise.
4948         (__ucmpdi2_v_glibc20): Likewise.
4949         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4950         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4951         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4952         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4953         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4954         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4956 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4958         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4959         old GNU extension [0] syntax.
4960         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4961         alloca rather than an array member with variable length.
4962         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4963         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4964         (parse_opt): ... here.  Likewise use alloca there.
4965         Validate the -i argument before checking for rootness.
4966         (send_shutdown): New function, broken out of ...
4967         (parse_opt): ... here.
4969 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4971         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4972         macro to get at the _rt_local_ro field.
4973         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4974         ([PIC] case) or _dl_hwcap ([!PIC] case).
4975         * sysdeps/arm/setjmp.S: Likewise.
4977         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4978         * sysdeps/arm/configure.ac: New check to define it.
4979         * sysdeps/arm/configure: Regenerated.
4980         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4981         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4982         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4983         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4984         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4985         Use move/movt pair instead of a load.
4986         (LDST_GLOBAL): Macro removed.
4987         (LDR_GLOBAL): New macro replaces it.
4988         (LDR_HIDDEN): New macro.
4989         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4990         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4992         * setjmp/tst-setjmp-static.c: New file.
4993         * setjmp/Makefile (tests): Add it.
4994         (tests-static): New variable.
4996 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4998         [BZ #17485]
4999         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5001 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5003         [BZ #14132]
5004         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5006 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5008         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5010 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5012         * io/fts.c (dirent_not_directory): New function.
5013         (fts_build): Call it.
5015 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5017         * nptl/version.c (__nptl_main): Use normal __write rather than
5018         INTERNAL_SYSCALL.
5019         (banner): Update copyright years.
5021         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5022         gettimeofday.
5023         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5024         * nptl/pthread_cond_timedwait.c: Likewise.
5025         * nptl/pthread_mutex_timedlock.c: Likewise.
5026         * nptl/sem_timedwait.c: Likewise.
5028         * sysdeps/nptl/bits/libc-lock.h
5029         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5030         (__libc_lock_init_recursive): Return void, not 0.
5031         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5032         (__libc_rwlock_init): Likewise.
5033         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5035 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5037         [BZ #15215]
5038         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5039         (__pthread_once_slow): ... here.
5040         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5041         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5043 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5045         [BZ #15215]
5046         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5047         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5048         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5049         * nptl/pthread_once.c (__pthread_once): Likewise.
5050         Update comments.
5052 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5054         [BZ #14138]
5055         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5056         name.
5057         (writev): Use __libc_writev as strong name.
5058         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5059         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5061 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5063         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5065         * sysdeps/i386/nptl/tls.h
5066         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5067         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5068         New macros.
5069         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5070         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5071         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5072         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5073         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5074         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5076         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5077         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5078         on [__NR_futex].
5079         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5080         broken out of ...
5081         (__pthread_mutex_init): ... here.  Call it.
5082         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5083         Conditionalize PI cases on [__NR_futex].
5084         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5085         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5086         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5088         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5089         conditional on [SIGSETXID].
5090         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5091         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5092         is defined.  Likewise for SIGSETXID.
5093         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5094         Conditionalize definitions on [SIGSETXID].
5095         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5096         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5097         unblocking on [SIGCANCEL].
5099         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5100         [__NR_set_robust_list].
5102 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5104         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5105         (do_compare): Likewise.
5107 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5109         [BZ #15884]
5110         * string/strcoll_l.c: Don't include stdio.h.
5111         (coll_seq): Remove members idxarr and rulearr.
5112         (get_next_seq_cached): Remove function.
5113         (get_next_seq): Likewise.
5114         (get_next_seq_nocache): Rename to get_next_seq.
5115         (do_compare): Remove function.
5116         (do_compare_nocache): Rename to do_compare.
5117         (STRCOLL): Remove weight and rules cache.
5119 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5121         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5122         * sysdeps/arm/sfp-machine.h: ... to here.
5123         * sysdeps/arm/Implies: Remove arm/soft-fp.
5125 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5127         * conform/data/sys/utsname.h-data (*_t): Allow.
5128         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5129         [POSIX] (WEXITED): Do not expect constant.
5130         [POSIX] (WSTOPPED): Likewise.
5131         [POSIX] (WNOHANG): Likewise.
5132         [POSIX] (WNOWAIT): Likewise.
5133         [POSIX] (siginfo_t): Do not expect type or elements.
5134         [POSIX] (pid_t): Do not expect type.
5135         [POSIX] (signal.h): Do not allow header.
5136         [POSIX] (sys/resource.h): Likewise.
5137         [POSIX] (si_*): Do not allow pattern.
5138         [POSIX] (W*): Likewise.
5139         [POSIX] (P_*): Likewise.
5140         [POSIX] (BUS_*): Likewise.
5141         [POSIX] (CLD_*): Likewise.
5142         [POSIX] (FPE_*): Likewise.
5143         [POSIX] (ILL_*): Likewise.
5144         [POSIX] (POLL_*): Likewise.
5145         [POSIX] (SEGV_*): Likewise.
5146         [POSIX] (SI_*): Likewise.
5147         [POSIX] (TRAP_*): Likewise.
5148         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5149         variable.
5151 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5153         [BZ #12926]
5154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5155         infinite loop when __recvmsg returns 0.
5157 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5159         * CANCEL-FCT-WAIVE: Remove file.
5160         * CANCEL-FILE-WAIVE: Likewise.
5162         [BZ #14132]
5163         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5164         instead of INTVARDEF.
5165         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5166         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5167         rtld_hidden_data_def instead of INTVARDEF.
5168         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5169         * elf/dl-deps.c (expand_dst): Likewise.
5170         * elf/dl-load.c (_dl_dst_count): Likewise.
5171         (_dl_dst_substitute): Likewise.
5172         (decompose_rpath): Likewise.
5173         (_dl_init_paths): Likewise.
5174         (open_path): Likewise.
5175         (_dl_map_object): Likewise.
5176         * elf/rtld.c (dl_main): Likewise.
5177         (process_dl_audit): Likewise.
5178         (process_envvars): Likewise.
5179         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5180         Remove declaration.
5181         (__libc_enable_secure): Use rtld_hidden_proto.
5183 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5185         * elf/dl-load.c
5186         (add_path): New function broken out of _dl_rtld_di_serinfo.
5187         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5189 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5191         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5192         parentheses around macro arguments.
5193         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5204         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5205         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5206         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5207         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5208         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5209         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5222         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5223         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5224         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5226         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5227         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5228         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5229         Likewise.
5230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5237         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5238         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5239         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5241         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5242         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5251         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5255         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5256         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5257         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5258         (_FP_FRAC_SRS_1): Likewise.
5259         (_FP_FRAC_CLZ_1): Likewise.
5260         (_FP_MUL_MEAT_1_imm): Likewise.
5261         (_FP_MUL_MEAT_1_wide): Likewise.
5262         (_FP_MUL_MEAT_1_hard): Likewise.
5263         (_FP_SQRT_MEAT_1): Likewise.
5264         (_FP_FRAC_ASSEMBLE_1): Likewise.
5265         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5266         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5267         (__FP_CLZ_2): Likewise.
5268         (_FP_MUL_MEAT_2_wide): Likewise.
5269         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5270         (_FP_MUL_MEAT_2_gmp): Likewise.
5271         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5272         (_FP_SQRT_MEAT_2): Likewise.
5273         (_FP_FRAC_ASSEMBLE_2): Likewise.
5274         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5275         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5276         (_FP_FRAC_CLZ_4): Likewise.
5277         (_FP_MUL_MEAT_4_wide): Likewise.
5278         (_FP_MUL_MEAT_4_gmp): Likewise.
5279         (_FP_SQRT_MEAT_4): Likewise.
5280         (_FP_FRAC_ASSEMBLE_4): Likewise.
5281         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5282         * soft-fp/op-common.h (_FP_CMP): Likewise.
5283         (_FP_CMP_EQ): Likewise.
5284         (_FP_CMP_UNORD): Likewise.
5285         (_FP_TO_INT): Likewise.
5286         (_FP_FROM_INT): Likewise.
5287         [!__FP_CLZ] (__FP_CLZ): Likewise.
5288         (_FP_DIV_HELP_imm): Likewise.
5289         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5290         Likewise.
5291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5302         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5304         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5306         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5307         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5313         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5320         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5321         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5322         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5323         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5324         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5325         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5326         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5327         (FP_UNPACK_RAW_SP): Likewise.
5328         (FP_PACK_RAW_S): Likewise.
5329         (FP_PACK_RAW_SP): Likewise.
5330         (FP_UNPACK_S): Likewise.
5331         (FP_UNPACK_SP): Likewise.
5332         (FP_UNPACK_SEMIRAW_S): Likewise.
5333         (FP_UNPACK_SEMIRAW_SP): Likewise.
5334         (FP_PACK_S): Likewise.
5335         (FP_PACK_SP): Likewise.
5336         (FP_PACK_SEMIRAW_S): Likewise.
5337         (FP_PACK_SEMIRAW_SP): Likewise.
5338         (_FP_SQRT_MEAT_S): Likewise.
5339         (FP_CMP_S): Likewise.
5340         (FP_CMP_EQ_S): Likewise.
5341         (FP_CMP_UNORD_S): Likewise.
5342         (FP_TO_INT_S): Likewise.
5343         (FP_FROM_INT_S): Likewise.
5345         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5347         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5348         (FP_EX_INVALID_IMZ): Likewise.
5349         (FP_EX_INVALID_IMZ_FMA): Likewise.
5350         (FP_EX_INVALID_ISI): Likewise.
5351         (FP_EX_INVALID_ZDZ): Likewise.
5352         (FP_EX_INVALID_IDI): Likewise.
5353         (FP_EX_INVALID_SQRT): Likewise.
5354         (FP_EX_INVALID_CVI): Likewise.
5355         (FP_EX_INVALID_VC): Likewise.
5356         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5357         "invalid" exceptions.
5358         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5359         (_FP_ADD_INTERNAL): Likewise.
5360         (_FP_MUL): Likewise.
5361         (_FP_FMA): Likewise.
5362         (_FP_DIV): Likewise.
5363         (_FP_CMP_CHECK_NAN): Likewise.
5364         (_FP_SQRT): Likewise.
5365         (_FP_TO_INT): Likewise.
5366         (FP_EXTEND): Likewise.
5368 2014-10-09  Allan McRae  <allan@archlinux.org>
5370         * po/fr.po: Update French translation from translation project.
5372 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5374         [BZ #14132]
5375         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5376         of INTDEF.
5377         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5378         (__cxa_atexit): Use libc_hidden_proto.
5379         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5381         [BZ #14132]
5382         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5383         declaration.
5384         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5385         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5386         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5387         [!_ISOMAC] (__iswctype_internal): Likewise.
5388         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5389         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5390         alias.
5391         (fcntl): Remove __fcntl_internal alias.
5392         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5393         __connect_internal alias.
5394         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5395         Likewise.
5397         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5399         FP_DENORM_ZERO.
5400         (_FP_CHECK_FLUSH_ZERO): New macro.
5401         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5402         (_FP_CMP): Likewise.
5403         (_FP_CMP_EQ): Likewise.
5404         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5405         FP_DENORM_ZERO.
5406         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5407         (FP_TRUNC): Likewise.
5409         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5410         treated as invalid conversion, not as normal exponent.
5412         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5413         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5414         (_FP_CMP_EQ): Likewise.
5415         (_FP_CMP_UNORD): Likewise.
5416         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5417         (FP_CMP_EQ_D): Likewise.
5418         (FP_CMP_UNORD_D): Likewise.
5419         * soft-fp/extended.h (FP_CMP_E): Likewise.
5420         (FP_CMP_EQ_E): Likewise.
5421         (FP_CMP_UNORD_E): Likewise.
5422         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5423         (FP_CMP_EQ_Q): Likewise.
5424         (FP_CMP_UNORD_Q): Likewise.
5425         * soft-fp/single.h (FP_CMP_S): Likewise.
5426         (FP_CMP_EQ_S): Likewise.
5427         (FP_CMP_UNORD_S): Likewise.
5428         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5429         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5430         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5431         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5432         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5433         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5434         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5435         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5436         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5437         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5438         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5439         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5440         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5441         to FP_CMP_Q.
5442         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5443         FP_CMP_Q.
5444         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5445         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5446         FP_CMP_EQ_Q.
5447         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5448         FP_CMP_Q.
5449         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5450         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5451         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5452         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5453         FP_CMP_EQ_Q.
5454         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5455         FP_CMP_Q.
5456         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5457         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5458         FP_CMP_EQ_Q.
5459         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5460         FP_CMP_Q.
5461         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5462         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5463         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5464         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5465         FP_CMP_EQ_Q.
5467         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5468         a subnormal result, set the underflow exception if trapping on
5469         underflow is enabled.
5470         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5471         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5472         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5473         redefine to 0.
5474         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5475         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5476         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5477         * soft-fp/extendxftf2.c (__extendxftf2): Use
5478         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5480         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5481         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5482         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5483         FP_HANDLE_EXCEPTIONS.
5484         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5485         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5486         FP_HANDLE_EXCEPTIONS.
5487         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5488         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5489         FP_HANDLE_EXCEPTIONS.
5490         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5491         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5492         FP_HANDLE_EXCEPTIONS.
5494 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #14132]
5497         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5498         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5499         use INTUSE.
5500         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5501         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5502         Remove alias.
5503         (__adjtimex): Define using libc_hidden_ver.
5504         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5505         Remove declaration.
5506         (ntp_gettime): Call __adjtimex directly.
5507         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5508         Remove declaration.
5509         (ntp_gettimex): Call __adjtimex directly.
5510         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5511         __adjtimex_internal alias.
5513 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5515         [BZ #17460]
5516         * nscd/nscd.c (more_help): Rewrite list of tables collection
5517         using xstrdup and asprintf.
5519         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5521 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5522             Roland McGrath  <roland@hack.frob.com>
5524         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5525         (do_lookup_unique): ... local function 'enter' here; update callers.
5527 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5529         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5530         compat_symbol calls on [SHARED].
5531         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5532         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5533         Remove.
5534         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5535         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5536         (oldsetrlimit): Remove.
5537         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5539         (lchown): New syscall entry.
5540         (oldsetrlimit): Remove.
5541         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5542         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5543         (oldsetrlimit): Remove.
5544         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5546         [BZ #14138]
5547         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5548         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5549         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5550         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5551         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5552         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5553         (fchown): Likewise.
5554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5555         (fchown): Likewise.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5557         Likewise.
5559 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5562         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5563         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5564         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5565         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5566         Likewise.
5567         (__old_sem_post): Likewise.
5569 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5571         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5572         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5573         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5574         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5575         Use INLINE_VSYSCALL macro.
5576         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5577         __vdso_clock_gettime.
5578         * sysdeps/unix/sysv/linux/tile/init-first.c
5579         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5580         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5581         __vdso_clock_gettime.
5583         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5584         to set up frame more cleanly.
5586         * sysdeps/tile/memcmp.c: New file.
5588         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5590         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5591         * sysdeps/tile/tilegx/strcasestr.c: New file.
5592         * sysdeps/tile/tilegx/strnlen.c: New file.
5593         * sysdeps/tile/tilegx/strstr.c: New file.
5595         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5597 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5599         * nptl/tst-setuid3.c: Write errors to stdout.
5601 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5603         * elf/dl-deps.c
5604         (preload): New functions broken out of _dl_map_object_deps.
5605         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5607 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5609         [BZ #14138]
5610         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5611         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5613 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5615         * sysdeps/mips/strcmp.S: New.
5617 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5619         [BZ #14138]
5620         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5621         (linkat): Likewise.
5622         (mkdirat): Likewise.
5623         (readlinkat): Likewise.
5624         (renameat): Likewise.
5625         (symlinkat): Likewise.
5626         (unlinkat): Likewise.
5627         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5628         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5629         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5630         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5631         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5632         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5633         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5635 2014-09-30  Will Newton  <will.newton@linaro.org>
5637         * math/math.h: Define long double math functions if
5638         _LIBC_TEST is defined.
5639         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5641         * localedata/Makefile: Move assignment to tests-special
5642         into an ifdef testing run-built-tests.
5643         * timezone/Makefile: Likewise.
5645 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5647         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5648         with $(BASH) not $(SHELL).
5650 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5651             Matthew LeGendre  <legendre1@llnl.gov>
5653         [BZ #17411]
5654         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5655         l_reloc_result.
5657 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5659         * stdio-common/printf_fp.c
5660         (hack_digit): New function, broken out of ...
5661         (__printf_fp): ... local function here.  Update call sites.
5662         hack_digit now takes an additional parameter that is a pointer
5663         to a struct of the referenced locals.  Those locals moved inside
5664         the struct and references updated.
5666 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5668         * aclocal.m4: Require autoconf 2.69.
5669         * configure: Regenerated.
5670         * sysdeps/aarch64/configure: Likewise.
5671         * sysdeps/alpha/configure: Likewise.
5672         * sysdeps/arm/armv7/configure: Likewise.
5673         * sysdeps/arm/configure: Likewise.
5674         * sysdeps/ia64/configure: Likewise.
5675         * sysdeps/mach/configure: Likewise.
5676         * sysdeps/mips/configure: Likewise.
5677         * sysdeps/s390/configure: Likewise.
5678         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5681         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5682         file.
5683         * sysdeps/ia64/configure.ac: Likewise.
5685 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5688         specify symbol version for ld.so.  Do not include entry for
5689         libpthread.
5690         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5691         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5692         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5694         [BZ #14171]
5695         * Makeconfig [$(build-shared) = yes]
5696         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5697         makefiles.
5698         [$(build-shared) = yes && $(soversions.mk-done) = t]
5699         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5700         [$(build-shared) = yes && $(soversions.mk-done) = t]
5701         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5702         to Makerules.
5703         [$(build-shared) = yes && $(soversions.mk-done) = t]
5704         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5705         here.
5706         [$(build-shared) = yes && $(soversions.mk-done) = t]
5707         (common-generated): Don't append gnu/lib-names.h and
5708         gnu/lib-names.stmp here.
5709         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5710         (lib-names-h-abi): New variable.
5711         [$(build-shared) = yes && $(soversions.mk-done) = t]
5712         (lib-names-stmp-abi): Likewise.
5713         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5714         abi-variants] (before-compile): Append
5715         $(common-objpfx)$(lib-names-h-abi).
5716         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5717         abi-variants] (common-generated): Append gnu/lib-names.h.
5718         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5719         abi-variants] (install-others-nosubdir): Depend on
5720         $(inst_includedir)/$(lib-names-h-abi).
5721         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5722         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5723         [$(build-shared) = yes && $(soversions.mk-done) = t]
5724         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5725         [$(build-shared) = yes && $(soversions.mk-done) = t]
5726         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5727         [$(build-shared) = yes && $(soversions.mk-done) = t]
5728         (common-generated): Append $(lib-names-h-abi) and
5729         $(lib-names-stmp-abi).
5730         * scripts/lib-names.awk: Do not handle multi being set.
5731         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5732         Remove variable.
5733         (abi-lp64_be-ld-soname): Likewise.
5734         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5735         Likewise.
5736         (abi-hard-ld-soname): Likewise.
5737         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5738         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5739         Remove variable.
5740         (abi-o32_hard-ld-soname): Likewise.
5741         (abi-o32_soft_2008-ld-soname): Likewise.
5742         (abi-o32_hard_2008-ld-soname): Likewise.
5743         (abi-n32_soft-ld-soname): Likewise.
5744         (abi-n32_hard-ld-soname): Likewise.
5745         (abi-n32_soft_2008-ld-soname): Likewise.
5746         (abi-n32_hard_2008-ld-soname): Likewise.
5747         (abi-n64_soft-ld-soname): Likewise.
5748         (abi-n64_hard-ld-soname): Likewise.
5749         (abi-n64_soft_2008-ld-soname): Likewise.
5750         (abi-n64_hard_2008-ld-soname): Likewise.
5751         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5752         Likewise.
5753         (abi-64-v2-ld-soname): Likewise.
5754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5755         ld.so entries.
5756         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5757         variable.
5758         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5759         entry.
5760         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5761         variable.
5762         (abi-64-ld-soname): Likewise.
5763         (abi-x32-ld-soname): Likewise.
5764         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5765         entry.
5766         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5768 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5770         [BZ #14138]
5771         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5772         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5773         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5774         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5775         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5776         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5777         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5778         syscall entry for GLIBC_2.2 symbol version.
5779         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5780         Likewise.
5781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5782         (setrlimit): Likewise.
5783         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5784         Likewise.
5786 2014-09-23  Will Newton  <will.newton@linaro.org>
5788         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5789         _LINUX_ARM_SYSDEP_H include guard too.
5790         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5791         define.
5793 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5795         * sysdeps/unix/sysv/linux/eventfd.c:
5796         Make first argument unsigned.
5797         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5798         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5800 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5802         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5803         * socket/sys/socket.h: Likewise
5804         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5806 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5808         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5810 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5812         * time/tst-ftime.c: New test.
5813         * time/Makefile (tests): Add tst-ftime.
5815 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5817         * soft-fp/extended.h: Fix comment formatting.
5818         * soft-fp/op-1.h: Likewise.
5819         * soft-fp/op-2.h: Likewise.
5820         * soft-fp/op-4.h: Likewise.
5821         * soft-fp/op-8.h: Likewise.
5822         * soft-fp/op-common.h: Likewise.
5823         * soft-fp/soft-fp.h: Likewise.
5825         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5827 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5829         [BZ #6652]
5830         * Makeconfig (soversions-default-setname): Remove variable.
5831         ($(common-objpfx)soversions.i): Don't pass default_setname to
5832         soversions.awk.
5833         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5834         oldest_abi to abi-versions.awk.
5835         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5836         * config.make.in (oldest-abi): Remove variable.
5837         * configure.ac (--enable-oldest-abi): Remove configure option.
5838         * configure: Regenerated.
5839         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5840         text.
5841         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5842         * scripts/soversions.awk: Do not handle default_setname variable.
5843         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5844         variable.
5845         * sysdeps/mach/hurd/configure: Regenerated.
5846         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5847         variable.
5848         * sysdeps/unix/sysv/linux/configure: Regenerated.
5850 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5852         * elf/Makefile (CFLAGS-interp.c): Remove.
5853         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5854         path string.
5855         * elf/interp.c: Include generated runtime-linker.h
5857         * Makerules (lib%.so): Don't include $(+interp) in
5858         prerequisites.
5859         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5860         * dlfcn/eval.c: Remove file.
5862         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5863         macros.
5865         [BZ #17266]
5866         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5867         4.2 and newer.
5869         [BZ #17370]
5870         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5872 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5873             Jakub Jelinek  <jakub@redhat.com>
5875         [BZ #17266]
5876         * libio/stdio.h: Check definition of __fortify_function
5877         instead of __extern_always_inline to include bits/stdio2.h.
5878         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5879         check if __extern_always_inline is defined.
5880         [__USE_MISC || __USE_XOPEN]: Likewise.
5881         [__USE_ISOC99] Likewise.
5882         * misc/sys/cdefs.h (__fortify_function): Define only if
5883         __extern_always_inline is defined.
5884         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5885         __extern_always_inline and __extern_inline only for g++-4.3
5886         and newer or a compatible gcc.
5888 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5890         [BZ #17371]
5891         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5892         last change to handle zero prefix length.
5894 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5896         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5897         _SC_REGEX_VERSION.
5899         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5900         _POSIX_RAW_SOCKETS.
5902 2014-09-13  Allan McRae  <allan@archlinux.org>
5904         * po/ru.po: Update Russian translation from translation project.
5906 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5908         * locale/programs/locale.c (show_locale_vars): Inline local function
5909         into its sole call site.  Clean up some style nits.
5910         (print_item): New function, broken out of ...
5911         (show_info): ... local function here.  Clean up style nits.
5913         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5914         out of ...
5915         (set_class_defaults): ... local function set_default here.
5916         Define set_default as a macro locally to pass constant parameters.
5917         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5918         rather than a shared local.
5920         * stdlib/rpmatch.c (try): New function, broken out of ...
5921         (rpmatch): ... local function here.  Also, prototypify definition.
5923 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5925         * scripts/soversions.awk: Do not handle configuration names.
5926         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5927         vendor and os variables to soversions.awk.
5928         * configure.ac: Do not modify gnu-* host_os.
5929         * configure: Regenerated
5930         * shlib-versions: Remove first column with configuration names.
5931         * nptl/shlib-versions: Likewise.
5932         * nptl_db/shlib-versions: Likewise.
5933         * sysdeps/hppa/shlib-versions: Likewise.
5934         * sysdeps/m68k/shlib-versions: Likewise.
5935         * sysdeps/mach/hurd/shlib-versions: Likewise.
5936         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5937         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5938         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5939         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5940         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5941         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5942         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5943         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5945         Likewise.
5946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5947         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5948         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5949         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5950         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5951         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5952         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5953         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5956         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5958         Regenerated.
5959         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5961         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5963         * shlib-versions: Remove OS-specific entries.  Moved to files in
5964         sysdeps.
5965         * sysdeps/mach/hurd/shlib-versions: New file.
5966         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5968         * nptl/shlib-versions: Remove architecture-specific entries.
5969         Moved to files in sysdeps.
5970         * shlib-versions: Likewise.
5971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5972         file.
5973         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5974         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5975         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5976         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5978         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5979         (UDP_NO_CHECK6_RX): Likewise.
5981 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5983         * sysdeps/posix/sysconf.c (__sysconf): Spell
5984         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5986 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5988         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5989         loading.
5990         * iconv/Versions (__gconv_transliterate): Export for use from
5991         gconv modules.
5992         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5993         (struct __gconv_trans_data, __gconv_trans_fct,
5994         __gconv_trans_context_fct, __gconv_trans_query_fct,
5995         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5996         definitions.
5997         (struct __gconv_step_data): Remove __trans member.
5998         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5999         longer hidden.  Remove unused trans_data argument.
6000         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6001         (__gconv_translit_find): Remove declaration.
6002         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6003         prototype.
6004         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6005         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6006         trans_data argument.  Add hidden definition.
6007         (__gconv_translit_find): Remove.
6008         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6009         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6010         * iconv/skeleton.c: Remove transliteration initialization.
6011         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6012         __gconv_step_data initialization.
6013         * libio/iofwide.c (__libio_translit_): Remove.
6014         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6015         * wcsmbs/btowc.c (__btowc): Likewise.
6016         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6017         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6018         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6019         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6020         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6021         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6022         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6023         * wcsmbs/wctob.c (wctob): Likewise.
6025 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6027         [BZ #16194]
6028         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6029         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6030         register usage.
6031         * sysdeps/x86/Makefile: Adjust.
6033 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6034             Roland McGrath  <roland@hack.frob.com>
6036         * locale/weight.h: Add include guard.
6037         (findidx): Make static rather than auto; take new parameters
6038         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6039         * locale/weightwc.h: Likewise.
6040         * posix/fnmatch_loop.c
6041         (FCT): Change type of EXTRA from int32_t to wint_t.
6042         Don't include either header inside the function.
6043         Call FINDIDX rather than findidx, and pass new arguments.
6044         #undef FINDIDX at the end of the file.
6045         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6046         FINDIDX before including fnmatch_loop.c for the non-wide version.
6047         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6048         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6049         for the wide version.
6050         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6051         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6052         Pass new arguments to findidx.
6053         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6054         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6055         Don't #include it inside the function.  Pass new arguments to findidx.
6056         * posix/regex_internal.h
6057         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6058         (re_string_elem_size_at): Don't #include it inside the function.
6059         Pass new arguments to findidx.
6060         * string/strcoll_l.c: #include WEIGHT_H at top level.
6061         (get_next_seq): Don't #include it inside the function.
6062         Pass new arguments to findidx.
6063         (get_next_seq_nocache): Likewise.
6064         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6065         (STRXFRM): Don't #include it inside the function.
6066         Pass new arguments to findidx.
6068 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6070         [BZ #17344]
6071         * malloc/malloc.c (unlink): Turn asserts into a call to
6072         malloc_printerr.
6074 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6076         [BZ #17370]
6077         * libio/wfileops (do_ftell_wide): Free OUT.
6079 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6081         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6083 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6085         [BZ #17363]
6086         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6087         group if the current group is empty.
6089 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6091         * benchtests/bench-memset.c (test_main): Add more test from size
6092         from 32 to 512 bytes.
6093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6094         Add POWER8 memset object.
6095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6096         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6097         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6098         implementation.
6099         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6100         Likewise.
6101         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6102         multiarch POWER8 memset optimization.
6103         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6104         POWER8 memset optimization.
6106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6107         Remove bzero multiarch objects.
6108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6109         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6110         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6111         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6112         Remove define.
6113         [__bzero]: Redefine to specific name.
6114         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6115         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6116         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6117         define.
6118         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6119         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6121 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6123         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6124         warnings into errors.
6126         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6127         __cxa_thread_atexit_impl prototype.
6129 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6131         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6132         Fix capitalization of error message.
6134 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6136         * sysdeps/mips/preconfigure: Modify ABI tests.
6138 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6140         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6142 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6143             Carlos O'Donell  <carlos@systemhalted.org>
6145         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6146         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6147         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6148         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6149         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6151         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6152         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6153         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6160         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6164         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6166         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6167         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6168         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6169         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6170         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6171         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6172         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6173         Deconditionalize the code that was previously under [RESET_PID].
6174         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6175         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6176         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6177         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6178         include sysdep.h.
6180 2014-09-08  Allan McRae  <allan@archlinux.org>
6182         * version.h (RELEASE): Set to "development".
6183         (VERSION): Set to "2.20.90"
6185 2014-09-07  Allan McRae  <allan@archlinux.org
6187         * version.h (RELEASE): Set to "stable".
6188         (VERSION): Set to "2.20"
6189         * include/features.h (__GLIBC_MINOR__): Set to 20.
6191         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6192         Liebler.
6194         * po/ko.po: Update Korean translation from translation project.
6196 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6198         [BZ #17354]
6199         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6200         macro for handling signed relocations.
6202 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6204         [BZ #17325]
6205         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6206         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6207         assert.
6208         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6209         * iconvdata/ibm935.c (BODY): Likewise.
6210         * iconvdata/ibm937.c (BODY): Likewise.
6211         * iconvdata/ibm939.c (BODY): Likewise.
6212         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6213         assert.
6214         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6215         script.
6216         * iconvdata/run-iconv-test.sh: New test loop for checking for
6217         decoder crashers.
6219 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6221         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6222         libm_hidden_ver.
6224 2014-09-01  Allan McRae  <allan@archlinux.org>
6226         * po/eo.po: Update Esperanto translation from translation project.
6228         * po/ca.po: Update Catalan translation from translation project.
6230 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6232         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6233         __proc_dostop call.
6235 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6237         [BZ #17319]
6238         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6239         to call set_thread_area instead of hand written asm.
6240         (__NR_set_thread_area): Removed define.
6241         (TLS_FLAG_WRITABLE): Likewise.
6242         (__ASSUME_SET_THREAD_AREA): Remove check.
6243         (TLS_EBX_ARG): Remove define.
6244         (TLS_LOAD_EBX): Likewise.
6246 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6248         Simplify atomicity of socket creation in bind.
6250         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6251         looking up the name after linking the file.
6253 2014-08-27  Allan McRae  <allan@archlinux.org>
6255         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6257 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6259         [BZ #17187]
6260         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6261         trans_compare, open_translit, __gconv_translit_find):
6262         Remove module loading code.
6264 2014-08-26  Allan McRae  <allan@archlinux.org>
6266         * po/vi.po: Update Vietnamese translation from translation project.
6268         * po/uk.po: Update Ukrainian translation from translation project.
6270         * po/fr.po: Update French translation from translation project.
6272         * po/ru.po: Update Russian translation from translation project.
6274         * po/pl.po: Update Polish translation from translation project.
6276         * po/cs.po: Update Czech translation from translation project.
6278         * po/de.po: Update German translation from translation project.
6280         * po/bg.po: Update Bulgarian translation from translation project.
6282         * po/sv.po: Update Sweedish translation from translation project.
6284         * po/nl.po: Update Dutch translation from translation project.
6286         * po/es.po: Update Spanish translation from translation project.
6288 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6290         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6292         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6293         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6294         (CPPFLAGS-iconvconfig): Likewise.
6295         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6297         * include/libc-symbols.h: Remove unnecessary check for
6298         NOT_IN_libc.
6299         * nptl/pthreadP.h: Likewise.
6300         * sysdeps/aarch64/setjmp.S: Likewise.
6301         * sysdeps/alpha/setjmp.S: Likewise.
6302         * sysdeps/arm/sysdep.h: Likewise.
6303         * sysdeps/i386/setjmp.S: Likewise.
6304         * sysdeps/m68k/setjmp.c: Likewise.
6305         * sysdeps/posix/getcwd.c: Likewise.
6306         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6307         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6308         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6309         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6310         * sysdeps/sh/sh3/setjmp.S: Likewise.
6311         * sysdeps/sh/sh4/setjmp.S: Likewise.
6312         * sysdeps/unix/alpha/sysdep.h: Likewise.
6313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6315         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6316         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6321         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6324         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6326         * sysdeps/x86_64/setjmp.S: Likewise.
6328 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6330         [BZ #17263]
6331         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6332         <stdint.h>.
6333         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6334         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6336 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6338         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6340         [BZ #17262]
6341         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6342         and __x86_64__ when disabling x87 inline functions.
6344 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6346         [BZ #17259]
6347         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6348         asm statement with __cpuid_count.
6350 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6352         * configure.ac: Change __ehdr_start code to dereference the struct.
6353         Run readelf on the output to look for relocations.
6354         * configure: Regenerated.
6356 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6358         [BZ #17261]
6359         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6360         value to 0.
6361         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6363 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6365         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6367 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6369         [BZ #16892]
6370         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6371         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6373 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6375         * malloc/malloc.c: Fix typo in comment.
6377 2014-08-09  Allan McRae  <allan@archlinux.org>
6379         * Regenerate libc.po.
6381 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6383         * intl/tst-gettext2.sh: Check every lang file for creation.
6385 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6387         * sysdeps/aarch64/fpu/math_private.h
6388         (libc_feholdsetround_noex_aarch64_ctx): New function.
6390 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6392         * sysdeps/arm/armv6/strcpy.S (strcpy):
6393         Fix performance issue in misaligned cases.
6395 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6397         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6398         Move definition from termios.h.
6399         (struct termio): Likewise.
6400         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6401         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6402         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6403         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6404         Likewise.
6405         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6406         Move definition to ioctl-types.h
6407         (struct termio): Likewise.
6408         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6409         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6410         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6411         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6412         Likewise.
6414 2014-08-05  Richard Henderson  <rth@redhat.com>
6416         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6417         exceptions.
6418         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6419         Add fraiseexcpt.
6420         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6421         Use __feraiseexcept.
6422         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6423         Protect libm symbols with IS_IN_libm.
6425         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6427 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6429         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6431 2014-08-04  Will Newton  <will.newton@linaro.org>
6433         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6434         file.
6436 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6438         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6439         variants for each function.
6441 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6443         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6444         appended ...
6445         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6446         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6447         appended ...
6448         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6449         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6450         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6451         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6452         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6453         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6454         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6455         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6456         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6457         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6462         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6463         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6464         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6468         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6470         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6474         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6475         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6476         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6477         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6484         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6485         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6486         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6487         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6488         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6490         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6492         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6494         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6496         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6498         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6499         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6500         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6501         Update #include.
6502         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6503         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6505 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6507         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6508         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6510         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6511         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6512         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6514 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6516         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6517         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6518         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6519         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6521 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6523         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6524         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6525         (__libc_vfork): Define function under this name.
6526         (__vfork): Define as an alias.
6527         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6528         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6530 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6532         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6533         that was previously under [RESET_PID].
6534         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6536 2014-08-04  Andreas Schwab  <schwab@suse.de>
6538         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6540 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6542         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6543         (main): Likewise.
6545 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6547         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6549 2014-08-01  Richard Henderon  <rth@redhat.com>
6551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6552         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6553         typo in exact zero test.
6554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6555         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6556         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6558 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6560         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6561         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6562         * sysdeps/arm/sysdep.h: ... here.
6563         [!__ASSEMBLER__]: Include <stdint.h>.
6565 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6567         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6568         (HAVE_WCTYPE_H): Likewise.
6569         (HAVE_ISWCTYPE): Likewise.
6570         (ENABLE_NLS): Likewise.
6571         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6572         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6574         * posix/regex_internal.c: Check if DEBUG is defined and is
6575         set.
6577         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6578         (HAVE_MBSRTOWCS): Likewise.
6579         * posix/fnmatch.c: Include string.h unconditionally.
6581 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6583         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6584         reversal.
6586 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6588         * sysdeps/generic/safe-fatal.h: New file.
6589         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6590         * nptl/forward.c: Include it.
6591         (__pthread_unwind): Use __safe_fatal as default action, rather
6592         than a bogus use of INTERNAL_SYSCALL that could never work.
6594         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6595         * configure.ac (libc_cv_builtin_trap): New test.
6596         * configure: Regenerated.
6597         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6598         (ABORT_INSTRUCTION): Define using __builtin_trap.
6600         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6601         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6602         * sysdeps/nptl/nptl-signals.h: New file.
6603         * nptl/pthreadP.h: Include <nptl-signals.h>.
6605 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6607         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6608         (ONE_DIRECTION): Define.
6609         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6610         (ONE_DIRECTION): Define.
6611         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6612         (ONE_DIRECTION): Define.
6614 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6616         * sysdeps/s390/Makefile: Delete file.
6617         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6618         * sysdeps/s390/__longjmp.c: Delete file.
6619         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6620         Remove fields __flags and __reserved.
6621         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6622         and add versioning.
6623         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6624         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6625         * sysdeps/s390/rtld-setjmp.S: Likewise.
6626         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6627         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6628         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6629         * sysdeps/s390/s390-32/setjmp.S: ... here.
6630         Add versioning.
6631         (__sigsetjmp): Remove setting __flags field.
6632         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6633         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6634         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6635         * sysdeps/s390/s390-64/setjmp.S: ... here.
6636         Add versioning.
6637         (__sigsetjmp): Remove setting __flags field.
6638         * sysdeps/s390/setjmp.S: Delete file.
6639         * sysdeps/s390/sigjmp.c: Likewise.
6640         * sysdeps/s390/v1-longjmp.c: Likewise.
6641         * sysdeps/s390/v1-setjmp.h: Likewise.
6642         * sysdeps/s390/v1-sigjmp.c: Likewise.
6643         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6644         Remove v1-longjmp_chk.
6645         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6646         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6647         Include debug/longjmp_chk.c and add versioning.
6648         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6649         Include nptl/pt-longjmp.c and add versioning.
6650         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6651         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6652         Include __longjmp.c.
6653         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6654         Move to ...
6655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6656         (__getcontext): Remove setting __flags field.
6657         Add versioning.
6658         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6659         Don't restore upper high grps.
6660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6661         Likewise.
6662         (__swapcontext): Remove setting uc_flags field.
6663         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6664         Delete file.
6665         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6666         Include __longjmp.c.
6667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6668         Move to ...
6669         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6670         (__getcontext): Remove setting __flags field.
6671         Add versioning.
6672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6673         (__swapcontext): Remove setting uc_flags field.
6674         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6676         Remove fields uc_high_gprs and __reserved.
6677         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6678         New file with reverted content.
6679         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6680         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6681         Regenerated.
6682         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6683         Regenerated.
6685 2014-07-31  Andreas Schwab  <schwab@suse.de>
6687         * config.h.in (HAVE_IFUNC): Define to 0.
6688         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6689         definedness.
6691 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6694         memmove-avx-unaligned, memcpy-avx-unaligned and
6695         mempcpy-avx-unaligned.
6696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6697         Add tests for AVX memcpy functions.
6698         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6699         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6700         memcpy_chk.
6701         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6702         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6703         memmove_chk.
6704         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6705         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6706         mempcpy_chk.
6707         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6708         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6709         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6711 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6713         [BZ #17213]
6714         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6715         powerpc64le.
6717 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6719         [BZ #16839]
6720         * manual/llio.texi: Add section about open file description locks.
6721         * manual/examples/ofdlocks.c: Example of open file description
6722         lock usage.
6723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6724         F_OFD_SETLK, and F_OFD_SETLKW.
6726 2014-07-23  Allan McRae  <allan@archlinux.org>
6728         * po/es.po: Update Spanish translation from translation project.
6730 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6732         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6734 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6736         [BZ #17078]
6737         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6738         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6739         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6741 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6743         [BZ #17088]
6744         * math/fesetenv.c (__fesetenv)
6745         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6746         * math/feupdateenv.c (__feupdateenv)
6747         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6749         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6750         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6751         (__ASSUME_SOCKETCALL): Do not define.
6753         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6754         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6755         (__ASSUME_SOCKETCALL): Do not define.
6756         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6757         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6758         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6759         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6760         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6761         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6763         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6765         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6766         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6767         (__ASSUME_SOCKETCALL): Do not define.
6768         (__ASSUME_IPC64): Define unconditionally.
6769         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6770         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6771         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6772         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6773         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6774         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6775         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6776         Likewise.
6778         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6779         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6780         (__ASSUME_SOCKETCALL): Do not define.
6781         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6782         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6783         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6784         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6785         (__ASSUME_REQUEUE_PI): Define unconditionally.
6786         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6787         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6788         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6789         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6790         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6791         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6793         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6794         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6795         (__ASSUME_SOCKETCALL): Do not define.
6796         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6798         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6799         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6801         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6803         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6804         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6806         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6808         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6809         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6810         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6811         (__ASSUME_GETCPU_SYSCALL): Likewise.
6813         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6814         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6815         cases for individual architectures.
6816         * sysdeps/gnu/configure: Regenerated.
6817         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6818         LIBC_SLIBDIR_RTLDDIR.
6819         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6820         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6821         LIBC_SLIBDIR_RTLDDIR.
6822         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6824         LIBC_SLIBDIR_RTLDDIR.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6826         Regenerated.
6827         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6828         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6829         file.
6830         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6831         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6832         file.
6833         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6834         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6835         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6836         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6838         * sysdeps/aarch64/shlib-versions: Move to ...
6839         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6840         * sysdeps/alpha/shlib-versions: Move to ...
6841         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6842         * sysdeps/arm/shlib-versions: Move to ...
6843         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6844         * sysdeps/hppa/shlib-versions: Move all contents except for
6845         libgcc_s entry to ...
6846         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6847         entry from ...
6848         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6849         * sysdeps/ia64/shlib-versions: Move to ...
6850         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6851         entry from ...
6852         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6853         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6854         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6855         * sysdeps/microblaze/shlib-versions: Move to ...
6856         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6857         * sysdeps/mips/shlib-versions: Move to ...
6858         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6859         entry from ...
6860         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6861         * sysdeps/tile/shlib-versions: Move to ...
6862         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6863         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6864         from ...
6865         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6866         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6867         entry from ...
6868         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6870 2014-07-17  Will Newton  <will.newton@linaro.org>
6872         * sysdeps/arm/bits/atomic.h
6873         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6874         (__arch_compare_and_exchange_bool_16_int): Likewise.
6875         (__arch_compare_and_exchange_bool_64_int): Likewise.
6877         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6878         into an #else block.
6880 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6882         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6883         just Linux configurations.  Test empirically that the compiler sets
6884         __ARM_EABI__, rather than using the tuple to decide.
6885         * sysdeps/arm/preconfigure: Regenerated.
6886         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6887         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6888         contents appended ...
6889         * sysdeps/arm/configure.ac: ... here.
6890         * sysdeps/arm/configure: Regenerated.
6892 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6894         * nptl/pthread_kill.c: New file.
6895         * nptl/pthread_sigmask.c: New file.
6896         * nptl/pthread_sigqueue.c: New file.
6898         * sysdeps/nptl/lowlevellock.h: New file.
6899         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6900         * sysdeps/nptl/lowlevellock-futex.h: New file.
6902         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6903         Remove dead declarations.
6905 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6907         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6908         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6909         config-cflags-avx2.
6910         * sysdeps/x86_64/configure.ac: Likewise.
6911         * sysdeps/i386/configure: Regenerated.
6912         * sysdeps/x86_64/configure: Likewise.
6913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6914         memset-avx2 only if config-cflags-avx2 is yes.
6915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6916         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6917         defined.
6918         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6919         only if HAVE_AVX2_SUPPORT is defined.
6920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6922 2014-07-14  Alan Modra  <amodra@gmail.com>
6924         [BZ #17153]
6925         * elf/elf.h (DT_PPC64_NUM): Correct value.
6926         * NEWS: Add to fixed bug list.
6928 2014-07-13  Jim Meyering  <meyering@fb.com>
6930         [BZ 17150]
6931         regex: don't deref NULL upon heap allocation failure
6932         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6933         failure in one more place.
6934         To trigger the segfault, configure grep -with-included-regex,
6935         build it, and run these commands:
6936         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6938 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6940         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6942 2014-07-11  Richard Henderson  <rth@redhat.com>
6944         * sysdeps/aarch64/libm-test-ulps: Update.
6946 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6948         [BZ #17135]
6949         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6950         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6951         (__nptl_setxid): Initialize error member.  Call
6952         __nptl_setxid_error.
6953         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6954         * nptl/descr.h (struct xid_command): Add error member.
6955         * nptl/tst-setuid3.c: New file.
6956         * nptl/Makefile (tests): Add it.
6958 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6960         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6961         New define.
6962         (__lll_trylock): Use __lll_base_trylock.
6963         (__lll_cond_trylock): Likewise.
6965 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6967         * nptl/pthread_create.c (start_thread): Use atomic_or and
6968         lll_futex_wake directly rather than lll_robust_dead.
6969         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6970         (lll_robust_dead): Macro removed.
6971         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6972         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6973         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6974         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6976         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6977         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6978         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6979         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6981         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6982         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6983         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6984         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6987         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6988         Use atomic_compare_and_exchange_val_acq directly rather than
6989         lll_robust_trylock.
6990         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6991         (__lll_robust_trylock, lll_robust_trylock): Removed.
6992         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6993         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6994         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6995         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6996         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6997         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6999         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7002         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7004         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7005         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7007 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7009         * manual/locale.texi (Locale Names): New section documenting
7010         locale name syntax.  Adjust menu and node chaining accordingly.
7011         (Choosing Locale): Reference Locale Names, Locale Categories.
7012         Mention setting LC_ALL=C.  Reflect that name syntax is now
7013         documented.
7014         (Locale Categories): New section title.  Reference Locale Names.
7015         LC_ALL is an environment variable, but not a category.
7016         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7017         description, now in Locale Name.  Reference that section.  Locale
7018         name syntax is now documented.
7020 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7022         [BZ #17137]
7023         * locale/findlocale.c (name_present, valid_locale_name): New
7024         functions.
7025         (_nl_find_locale): Use the loc_name variable to store name
7026         candidates.  Call name_present and valid_locale_name to check and
7027         validate locale names.  Return an error if the locale is invalid.
7029 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7031         * locale/setlocale.c (setlocale): Use strdup for allocating
7032         composite name copy.
7034 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7036         Sync up with gnulib.
7037         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7038         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7039         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7040         and _GL_ARG_NONNULL.
7041         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7042         [!_LIBC]: Include code for Windows and Cygwin.
7043         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7044         Include prototype for int strerror_r.
7045         [!_LIBC] (is_open): New function.
7046         (flush_stdout): New function.
7047         (print_errno_message): Use it.
7048         (error): Likewise.
7049         (error_at_line): Likewise.
7050         (error_tail) Add function attribute macros.  Use
7051         __builtin_expect.
7053         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7055         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7057         * io/ftw.c: Include sys/param.h unconditionally.
7059         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7061         [BZ #17125]
7062         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7063         libc_freeres_ptr.
7064         (freecache): New function to free CACHE on exit.
7066         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7067         initialization.
7069 2014-07-09  David S. Miller  <davem@davemloft.net>
7071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7073         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7074         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7075         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7076         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7077         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7078         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7079         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7080         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7081         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7082         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7083         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7084         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7085         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7087 2014-07-09  Andreas Schwab  <schwab@suse.de>
7089         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7090         output.
7091         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7092         (do_test): Likewise.
7094         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7096 2014-07-09  Will Newton  <will.newton@linaro.org>
7098         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7099         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7100         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7101         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7102         * sysdeps/hppa/start.S (_start): Likewise.
7104 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7106         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7108         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7109         defined.
7111 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7113         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7114         after checking that it is non-NULL.
7116         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7118 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7120         * sysdeps/powerpc/memmove.c: Remove file.
7121         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7122         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7123         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7124         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7125         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7126         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7127         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7128         string memmove instead of removed powerpc one.
7130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7131         [weak_alias]: Fix compiler warning due trailing data.
7132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7133         [weak_alias]: Likewise.
7134         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7135         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7138         (__libc_ifunc_impl_list): Add memmove functions.
7140 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7142         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7143         Remove code.
7144         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7145         Likewise
7146         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7147         Likewise
7148         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7149         Likewise
7150         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7151         Likewise
7152         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7153         Likewise
7154         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7155         Likewise
7156         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7157         Likewise
7158         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7159         Likewise
7160         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7161         Likewise
7162         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7163         Likewise
7164         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7165         Likewise
7166         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7167         Likewise
7168         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7169         Likewise
7170         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7171         Likewise
7172         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7173         Likewise
7174         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7175         Likewise
7177 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7179         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7180         to avoid alignment traps in non-cacheable memory.
7181         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7184         multiarch objects.
7185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7186         file: multiarch power7 memmove.
7187         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7188         multiarch default memmove.
7189         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7190         multiarch memove for powerpc32/power4.
7192         * string/bcopy.c: Use full path to include memmove.c.
7193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7194         multiarch objects.
7195         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7196         bcopy for powerpc64.
7197         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7198         bcopy for powerpc64.
7199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7200         and memmove implementations.
7201         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7202         optimized multiarch memmove for POWER7/powerpc64.
7203         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7204         default multiarch memmove for powerpc64.
7205         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7206         multiarch for powerpc64.
7207         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7208         for POWER7/powerpc64.
7209         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7210         memmove for POWER7/powerpc64.
7212         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7213         glibc default one.
7215         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7216         __ELF_NATIVE_CLASS equal to 64.
7218 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7220         * sysdeps/nptl/lowlevellock.h: File removed.
7222         * NEWS: NPTL is no longer an add-on!
7223         * nptl/internaltypes.h: Moved ...
7224         * sysdeps/nptl/internaltypes.h: ... here.
7225         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7226         * sysdeps/nptl/fork.c: Likewise.
7227         * sysdeps/nptl/gai_misc.h: Likewise.
7228         * sysdeps/nptl/librt-cancellation.c: Likewise.
7229         * sysdeps/nptl/jmp-unwind.c: Likewise.
7230         * sysdeps/nptl/setxid.h: Likewise.
7231         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7232         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7233         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7234         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7235         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7236         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7237         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7238         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7239         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7240         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7241         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7242         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7243         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7244         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7245         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7246         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7247         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7248         * nptl/Makeconfig: Moved ...
7249         * sysdeps/nptl/Makeconfig: ... here.
7250         * nptl/configure: File removed.
7251         * nptl/ANNOUNCE: File removed.
7252         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7253         * sysdeps/unix/sysv/linux/configure: Regenerated.
7255         * nptl/Makefile (routines): Add libc_pthread_init,
7256         libc_multiple_threads, register-atfork and unregister-atfork.
7257         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7258         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7259         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7260         pthread-pi-defines.sym, structsem.sym.
7261         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7262         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7263         [$(subdir) = nptl] (tests): Add tst-setgetname.
7264         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7265         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7266         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7267         [!LIBC_SIGACTION]: Remove aliases.
7268         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7269         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7270         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7271         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7272         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7273         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7274         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7277         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7278         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7279         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7280         __libc_allocate_rtsig_private.
7281         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7282         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7283         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7284         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7285         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7286         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7287         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7288         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7289         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7290         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7291         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7292         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7293         * nptl/internaltypes.h: ... here.
7294         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7295         * sysdeps/nptl/jmp-unwind.c: ... here.
7296         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7297         * nptl/libc-lowlevellock.c: ... here.
7298         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7299         * nptl/libc_multiple_threads.c: ... here.
7300         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7301         * nptl/libc_pthread_init.c: ... here.
7302         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7303         * nptl/lowlevelbarrier.sym: ... here.
7304         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7305         * nptl/lowlevelcond.sym: ... here.
7306         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7307         * nptl/lowlevellock.c: ... here.
7308         * nptl/lowlevellock.h: Moved ...
7309         * sysdeps/nptl/lowlevellock.h: ... here.
7310         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7311         * nptl/lowlevelrobustlock.c: ... here.
7312         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7313         * nptl/lowlevelrobustlock.sym: ... here.
7314         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7315         * nptl/lowlevelrwlock.sym: ... here.
7316         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7317         * nptl/pt-fork.c: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7319         * nptl/pthread-pi-defines.sym: ... here.
7320         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7321         * nptl/pthread_attr_getaffinity.c: ... here.
7322         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7323         * nptl/pthread_attr_setaffinity.c: ... here.
7324         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7325         * nptl/pthread_mutex_cond_lock.c: ... here.
7326         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7327         Update #include.
7328         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7329         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7330         * nptl/pthread_once.c: ... here, replacing old file.
7331         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7332         * nptl/pthread_yield.c: ... here.
7333         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7334         * nptl/register-atfork.c: ... here.
7335         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7336         * nptl/sem_post.c: ... here.
7337         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7338         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7339         * nptl/sem_timedwait.c: ... here.
7340         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7341         * nptl/sem_trywait.c: ... here.
7342         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7343         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7344         * nptl/sem_wait.c: ... here.
7345         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7346         * nptl/structsem.sym: ... here.
7347         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7348         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7349         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7350         * nptl/unregister-atfork.c: ... here.
7351         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7352         * nptl/unwindbuf.sym: ... here.
7353         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7354         * sysdeps/nptl/fork.c: ... here.
7355         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7356         * sysdeps/nptl/fork.h: ... here.
7357         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7358         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7359         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7360         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7361         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7362         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7363         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7364         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7365         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7366         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7367         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7368         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7369         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7370         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7371         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7372         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7373         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7374         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7375         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7376         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7377         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7378         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7379         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7380         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7381         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7382         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7383         * sysdeps/unix/sysv/linux/raise.c: ... here.
7384         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7385         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7386         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7387         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7388         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7389         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7390         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7391         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7392         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7393         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7394         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7395         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7397         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7398         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7400 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7402         * sysdeps/generic/memcopy.h: Add comment for
7403         MEMCPY_OK_FOR_FWD_MEMMOVE.
7405 2014-07-04  Will Newton  <will.newton@linaro.org>
7407         * string/memchr.c: Merge from gnulib.
7408         [_LIBC]: Remove conditionals.
7409         (__ptr_t): Remove define.
7410         (LONG_MAX_32_BITS): Likewise.
7411         (LONG_MAX): Likewise.
7412         (MEMCHR): Use ANSI prototype and optimize algorithm.
7414         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7416 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7418         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7419         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7421         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7422         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7423         in a bare environment with no <stdlib.h> installed.
7424         * sysdeps/nptl/configure: Regenerated.
7426         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7428         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7429         AC_EGREP_CPP for kernel header checks, so they only succeed if
7430         including <linux/version.h> actually works right.
7431         * sysdeps/unix/sysv/linux/configure: Regenerated.
7433         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7434         value so it's not diagnosed as unused.
7436         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7437         thing) with "ifeq ($(subdir),rt)".
7439 2014-07-03  Richard Henderson  <rth@redhat.com>
7441         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7442         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7443         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7445         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7446         (math_force_eval): New.
7448         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7449         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7451         * sysdeps/alpha/fpu/s_round.c: Remove file.
7452         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7454         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7455         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7456         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7457         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7458         (_dl_start, print_statistics): Likewise.
7459         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7460         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7462         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7463         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7464         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7465         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7467         (HP_SMALL_TIMING_AVAIL): Define.
7468         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7470         (HP_SMALL_TIMING_AVAIL): Define.
7471         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7472         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7474         * sysdeps/aarch64/hp-timing.h: New file.
7476         * sysdeps/generic/hp-timing.h: Remove dead comment.
7477         * sysdeps/generic/hp-timing-common.h: New file.
7478         * sysdeps/alpha/hp-timing.h: Include it.
7479         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7480         * sysdeps/i386/i686/hp-timing.h: Likewise.
7481         * sysdeps/ia64/hp-timing.h: Likewise.
7482         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7483         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7484         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7485         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7486         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7487         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7488         (hp_timing_t): New.
7490         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7491         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7492         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7493         * elf/rtld.c (_dl_start_final): Likewise.
7494         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7495         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7496         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7497         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7498         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7500         (HP_TIMING_DIFF_INIT): Remove.
7501         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7502         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7503         (HP_TIMING_DIFF_INIT): Remove.
7504         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7505         * sysdeps/i386/i686/hp-timing.c: Remove file.
7506         * sysdeps/x86_64/hp-timing.c: Remove file.
7507         * sysdeps/ia64/hp-timing.c: Remove file.
7508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7509         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7511         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7513         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7514         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7515         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7516         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7518         (HP_TIMING_ACCUM): Remove.
7519         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7521         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7523         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7524         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7525         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7526         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7528         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7529         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7530         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7532         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7534 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7536         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7538 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7540         Sync up with gettext.
7541         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7542         [_MSC_VER]: Include malloc.h
7543         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7544         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7545         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7546         TEMP_FAILURE_RETRY.  Cast return of alloca.
7547         [!_LIBC] Call gl_rwlock_init.
7548         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7550 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7552         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7553         before checking its value.
7555 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7557         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7559         * debug/memcpy_chk.c: Don't include pagecopy.h.
7560         * debug/mempcpy_chk.c: Likewise.
7561         * string/memcpy.c: Likewise.
7562         * string/memmove.c: Likewise.
7563         * sysdeps/powerpc/memmove.c: Likewise.
7564         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7565         definition of PAGE_COPY_FWD_MAYBE here...
7566         * sysdeps/generic/pagecopy.h: ... from here.
7567         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7569 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7570             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7572         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7574         optimizations.
7575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7576         (__libc_ifunc_impl_list): Likewise.
7577         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7578         multiarch strcat for PPC64.
7579         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7580         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7582 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7584         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7586 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7588         * intl/loadmsgcat.c: Remove declaration of
7589         get_sysdep_segment_value.
7590         (get_sysdep_segment_value): Use ISO C style.
7591         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7592         semicolon.  Fix typo and formatting in comment.
7593         (_nl_unload_domain): Use ISO C style.
7595         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7597 2014-07-02  Will Newton  <will.newton@linaro.org>
7599         * malloc/obstack.c: Merge from gnulib master.
7600         [HAVE_CONFIG_H]: Remove conditional code.
7601         [!_LIBC]: Include config.h.
7602         [!ELIDE_CODE]: Don't include inttypes.h, include
7603         stdint.h unconditionally.
7604         (print_and_abort): Mark as _Noreturn.
7605         (_obstack_allocated_p): Mark as __attribute_pure__.
7606         (obstack_free): Rename to __obstack_free.
7607         [!__attribute__]: Remove conditional code.
7608         * malloc/obstack.h: Merge from gnulib master.
7609         [__cplusplus]: Move conditional down.
7610         [!__attribute_pure__]: Define __attribute_pure__ here
7611         if it is not already defined.
7612         (_obstack_memory_used): Mark as __attribute_pure__.
7613         [!__obstack_free]: Define as obstack_free.
7614         [__GNUC__]: Remove check for ancient NeXT gcc.
7616 2014-07-02  Will Newton  <will.newton@linaro.org>
7617             Paul Eggert  <eggert@cs.ucla.edu>
7619         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7623         * resolv/gethnamaddr.c: Add comment warning that the file is
7624         not maintained.
7626 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7628         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7629         entries.
7631         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7632         entry for aio_cancel and aio_cancel64.
7633         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7634         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7635         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7636         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7637         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7638         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7639         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7640         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7641         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7642         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7643         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7644         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7645         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7647 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7649         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7650         * nptl/pthread_mutex_lock.c: Likewise.
7651         * nptl/pthread_mutex_timedlock.c: Likewise.
7652         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7654 2014-07-01  Richard henderson  <rth@redhat.com>
7656         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7657         (__isnan, __isnanl): Remove.
7658         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7660         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7662 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7664         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7666 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7668         * resolv/nss_dns/dns-host.c (getanswer_r)
7669         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7671 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7674         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7675         undefine.
7676         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7677         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7679 2014-07-01  Roland McGrath <roland@hack.frob.com>
7681         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7682         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7684         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7685         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7687         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7688         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7689         ... here.
7690         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7691         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7693         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7694         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7695         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7696         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7698         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7699         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7700         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7701         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7702         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7703         Moved ...
7704         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7705         ... here.
7706         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7707         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7708         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7709         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7710         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7711         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7712         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7713         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7714         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7715         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7716         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7717         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7718         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7719         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7720         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7721         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7722         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7723         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7724         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7725         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7726         ... here.
7727         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7728         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7729         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7730         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7731         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7732         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7733         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7734         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7736 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7738         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7739         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7740         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7741         Add sysdep.
7743 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7747 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7749         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7750         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7752         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7754         * sysdeps/arm/libm-test-ulps: Regenerated.
7756 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7757             Roland McGrath <roland@hack.frob.com>
7759         * test-skeleton.c (signal_handler): Kill the whole process group
7760         before killing the child individually.
7761         (main): Report any failure on `setpgid'.
7763 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7765         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7766         from _TLS_H to _ARM_NPTL_TLS_H.
7767         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7768         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7770 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7772         [BZ #16539]
7773         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7774         (__expm1l): Return argument unchanged when small but not
7775         subnormal.
7777         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7778         include macro name.
7779         (_FP_UNPACK_RAW_1_P): Likewise.
7780         (_FP_PACK_RAW_1): Likewise.
7781         (_FP_PACK_RAW_1_P): Likewise.
7782         (_FP_MUL_MEAT_1_wide): Likewise.
7783         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7784         (_FP_MUL_MEAT_1_hard): Likewise.
7785         (_FP_DIV_MEAT_1_imm): Likewise.
7786         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7787         (_FP_DIV_MEAT_1_udiv): Likewise.
7788         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7789         (_FP_UNPACK_RAW_2): Likewise.
7790         (_FP_UNPACK_RAW_2_P): Likewise.
7791         (_FP_PACK_RAW_2): Likewise.
7792         (_FP_PACK_RAW_2_P): Likewise.
7793         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7794         (_FP_MUL_MEAT_2_wide): Likewise.
7795         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7796         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7797         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7798         (_FP_MUL_MEAT_2_gmp): Likewise.
7799         (_FP_DIV_MEAT_2_udiv): Likewise.
7800         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7801         (_FP_FRAC_SRL_4): Likewise.
7802         (_FP_FRAC_SRST_4): Likewise.
7803         (_FP_FRAC_SRS_4): Likewise.
7804         (_FP_UNPACK_RAW_4): Likewise.
7805         (_FP_UNPACK_RAW_4_P): Likewise.
7806         (_FP_PACK_RAW_4): Likewise.
7807         (_FP_PACK_RAW_4_P): Likewise.
7808         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7809         (_FP_MUL_MEAT_4_wide): Likewise.
7810         (_FP_MUL_MEAT_4_gmp): Likewise.
7811         (umul_ppppmnnn): Likewise.
7812         (_FP_DIV_MEAT_4_udiv): Likewise.
7813         (__FP_FRAC_ADD_4): Likewise.
7814         (__FP_FRAC_SUB_3): Likewise.
7815         (__FP_FRAC_SUB_4): Likewise.
7816         (__FP_FRAC_DEC_3): Likewise.
7817         (__FP_FRAC_DEC_4): Likewise.
7818         (__FP_FRAC_ADDI_4): Likewise.
7819         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7820         (_FP_FRAC_SRL_8): Likewise.
7821         (_FP_FRAC_SRS_8): Likewise.
7823         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7824         include macro name.
7825         (FP_UNPACK_RAW_EP): Likewise.
7826         (FP_PACK_RAW_E): Likewise.
7827         (FP_PACK_RAW_EP): Likewise.
7828         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7829         (_FP_ISSIGNAN): Likewise.
7830         (_FP_ADD_INTERNAL): Likewise.
7831         (_FP_FMA): Likewise.
7832         (_FP_CMP): Likewise.
7833         (_FP_SQRT): Likewise.
7834         (_FP_TO_INT): Likewise.
7835         (_FP_FROM_INT): Likewise.
7836         (FP_EXTEND): Likewise.
7837         (_FP_DIV_MEAT_N_loop): Likewise.
7839 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7841         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7842         throughout.
7844 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #17097]
7847         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7848         result with correct sign in case of exponents that produce
7849         overflow except for X very close to 1.
7851 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7853         mktime: merge #if/#ifdef usage from glibc
7854         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7855         as that works with both Glibc's and Gnulib's style.
7856         See thread starting at Siddhesh Poyarekar's bug report at:
7857         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7859 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7861         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7862         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7863         * sysdeps/tile/tilegx/memmove.c: Remove file.
7865 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7867         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7868         abi-name definition.
7869         * scripts/soversions.awk: Do not handle or generate ABI lines.
7870         * shlib-versions: Remove ABI entries.
7871         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7872         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7874 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7877         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7878         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7879         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7881         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7883         Moved ...
7884         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7885         ... here.
7886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7887         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7889         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7891         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7893         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7895         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7897         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7899         Moved ...
7900         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7902         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7904         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7906         Moved ...
7907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7909         Moved ...
7910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7912         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7914         Moved ...
7915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7917         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7919         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7921         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7923         Moved ...
7924         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7926         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7927         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7928         Moved ...
7929         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7931         Moved ...
7932         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7934         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7936         Moved ...
7937         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7938         ... here.
7939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7940         Identical file removed.
7941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7942         Moved ...
7943         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7945         Identical file removed.
7946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7949         Moved ...
7950         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7952         Identical file removed.
7953         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7954         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7956         Identical file removed.
7957         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7958         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7960         Identical file removed.
7961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7962         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7964         Identical file removed.
7965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7966         Moved ...
7967         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7969         Identical file removed.
7970         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7971         Moved ...
7972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7974         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7976         Identical file removed.
7977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7978         Moved ...
7979         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7980         ... here.
7981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7982         Identical file removed.
7983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7984         Moved ...
7985         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7987         Identical file removed.
7988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7989         Moved ...
7990         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7992         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7994         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7996         Moved ...
7997         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7998         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7999         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8001         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8002         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8003         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8004         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8005         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8007 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8009         [BZ #17092]
8010         * nscd/nscd.c (monitor_child): Return exit status of child
8011         instead of return value from wait syscall.
8013 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8015         * configure.ac (libc_commonpagesize): Remove variable.
8016         (libc_relro_required): Likewise.
8017         (libc_cv_z_relro): Remove configure test.
8018         * configure: Regenerated.
8019         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8020         variable.
8021         (libc_relro_required): Likewise.
8022         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8023         (libc_relro_required): Likewise.
8024         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8025         (libc_relro_required): Likewise.
8026         * sysdeps/arm/preconfigure: Regenerated.
8027         * sysdeps/ia64/preconfigure: Remove file.
8028         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8029         variable.
8030         (libc_relro_required): Likewise.
8032         [BZ #16561]
8033         [BZ #16562]
8034         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8035         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8036         recompute overflowing results in original rounding mode.
8037         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8038         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8039         recompute overflowing results in original rounding mode.
8040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8041         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8042         recompute overflowing results in original rounding mode.
8043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8044         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8045         recompute overflowing results in original rounding mode.
8046         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8047         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8048         recompute overflowing results in original rounding mode.
8049         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8050         (libc_feholdsetround_ctx): New macro.
8051         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8052         * sysdeps/i386/fpu/libm-test-ulps: Update.
8053         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8055 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8057         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8058         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8059         corresponding .cpsetup call.
8061 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8063         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8064         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8065         * sysdeps/arm/Makefile [$(subdir) = csu]
8066         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8067         (static-only-routines): Add aeabi_read_tp here.
8068         (shared-only-routines): Add libc-aeabi_read_tp here.
8069         (CFLAGS-libc-start.c): Add -fexceptions here.
8070         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8071         (sysdep_routines, static-only-routines, shared-only-routines):
8072         Don't add to these here.
8073         (CFLAGS-libc-start.c): Likewise.
8075         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8076         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8077         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8078         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8079         * sysdeps/arm/Makefile [$(subdir) = rt]
8080         (librt-sysdep_routines, librt-shared-only-routines):
8081         Append rt-aeabi_unwind_cpp_pr1 here.
8082         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8083         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8084         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8085         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8086         Append nptl-aeabi_unwind_cpp_pr1 here.
8087         (tests): Filter out tst-cleanupx4 here.
8088         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8089         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8090         Don't do those here.
8092 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8094         * scripts/list-sources.sh: Do not handle ports specially.
8096 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8098         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8099         * sysdeps/arm/feupdateenv.c: Likewise.
8101         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8103 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8105         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8106         trailing whitespace removed.
8107         * scripts/config.guess: Update to version 2014-03-23.
8108         * scripts/config.sub: Update to version 2014-05-01
8109         * scripts/install-sh: Update to version 2013-12-25.23.
8110         * scripts/move-if-change: Update from gnulib.
8112 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8114         * debug/memmove_chk.c: Remove pagecopy.h include.
8116 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8118         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8119         identical to gnulib mktime.
8121 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8123         * configure.ac: Do not test for machine being rs6000.  Do not test
8124         for powerpc*-*soft.
8125         * configure: Regenerated.
8127         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8128         test.
8129         * configure: Regenerated.
8130         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8131         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8132         Remove configure test.
8133         * sysdeps/arm/configure: Regenerated.
8134         * sysdeps/nptl/configure.ac: Do not check
8135         libc_cv_asm_cfi_directives.
8136         * sysdeps/nptl/configure: Regenerated.
8137         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8138         * sysdeps/x86_64/nptl/configure: Remove generated file.
8139         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8140         unconditional.
8141         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8143 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8145         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8146         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8147         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8148         it is defined.
8150         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8151         instead of whether it is defined.
8152         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8153         * sysdeps/hppa/dl-machine.h: Likewise.
8154         * sysdeps/ia64/dl-machine.h: Likewise.
8155         * sysdeps/m68k/dl-machine.h: Likewise.
8156         * sysdeps/microblaze/dl-machine.h: Likewise.
8157         * sysdeps/mips/dl-machine.: Likewise.
8158         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8159         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8160         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8161         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8162         * sysdeps/sh/dl-machine.h: Likewise.
8163         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8164         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8165         * sysdeps/tile/dl-machine.h: Likewise.
8166         * sysdeps/x86_64/dl-machine.h: Likewise.
8168         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8169         code.
8170         (verify_persistent_db): Likewise.
8172 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8175         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8177         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8179         Moved ...
8180         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8181         ... here.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8183         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8185         Identical file removed.
8186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8187         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8189         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8191         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8193         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8195         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8197         Moved ...
8198         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8200         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8202         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8204         Moved ...
8205         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8207         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8209         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8211         Identical file removed.
8212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8213         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8215         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8217         Moved ...
8218         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8219         ... here.
8220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8221         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8223         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8227         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8229         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8231         Moved ...
8232         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8234         Moved ...
8235         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8237         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8239         Moved ...
8240         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8242         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8244         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8245         folded into ...
8246         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8247         * sysdeps/unix/sysv/linux/s390/Versions
8248         (libpthread: GLIBC_2.19): New version set.
8249         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8250         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8251         (librt: GLIBC_2.3.3): New version set.
8252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8253         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8254         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8255         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8256         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8257         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8258         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8259         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8260         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8261         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8262         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8263         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8264         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8265         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8266         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8267         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8268         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8269         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8270         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8271         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8272         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8274         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8276         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8278         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8280         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8282         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8288         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8290         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8292         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8294         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8296         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8298         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8299         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8300         (__libc_vfork): Define the function under this name.
8301         [!NOT_IN_libc] (__vfork): Make this an alias.
8302         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8304         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8305         (__libc_vfork): Define the function under this name.
8306         [!NOT_IN_libc] (__vfork): Make this an alias.
8307         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8308         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8309         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8311         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8312         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8314         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8315         code that was previously under [RESET_PID].
8316         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8320         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8321         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8322         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8323         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8324         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8325         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8326         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8327         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8328         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8331         Moved ...
8332         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8333         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8334         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8335         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8336         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8337         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8338         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8339         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8340         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8341         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8342         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8343         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8344         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8345         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8346         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8347         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8348         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8349         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8350         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8351         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8352         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8353         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8354         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8355         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8356         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8357         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8358         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8360         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8362 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8364         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8365         that was previously under [RESET_PID].
8366         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8368 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8370         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8371         not undefine and redefine.
8372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8373         [O_CLOEXEC]: Make code unconditional.
8374         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8375         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8376         <kernel-features.h>.
8377         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8378         conditional variable definition.
8379         (shm_open) [O_CLOEXEC]: Make code unconditional.
8380         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8381         code.
8383         * configure.ac (USE_REGPARMS): Don't define here.
8384         * configure: Regenerated.
8385         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8386         * sysdeps/i386/configure: Regenerated.
8388         * nptl/createthread.c: Don't include kernel-features.h.
8389         * nptl/pthread_cancel.c: Likewise.
8390         * nptl/pthread_condattr_setclock.c: Likewise.
8391         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8392         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8393         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8394         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8395         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8396         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8397         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8400         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8401         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8402         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8403         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8404         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8405         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8406         * nscd/gai.c: Likewise.
8407         * nss/nss_db/db-open.c: Likewise.
8408         * sysdeps/generic/ldsodefs.h: Likewise.
8409         * sysdeps/sh/nptl/tls.h: Likewise.
8410         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8411         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8412         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8413         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8414         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8415         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8416         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8417         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8418         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8419         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8420         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8421         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8422         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8423         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8424         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8425         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8426         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8427         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8428         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8429         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8432         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8438         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8439         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8440         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8441         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8442         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8443         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8444         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8445         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8446         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8447         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8448         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8449         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8450         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8451         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8452         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8453         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8454         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8455         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8456         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8457         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8458         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8459         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8460         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8461         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8462         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8463         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8464         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8465         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8466         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8467         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8490         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8491         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8492         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8493         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8494         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8495         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8496         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8497         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8498         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8499         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8500         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8501         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8502         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8503         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8504         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8505         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8506         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8507         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8508         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8509         * sysdeps/unix/sysv/linux/system.c: Likewise.
8510         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8511         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8512         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8513         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8514         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8515         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8516         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8518         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8519         * configure: Regenerated.
8520         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8522         * configure.ac (base_machine): Do not set specially for particular
8523         machines here.
8524         * configure: Regenerated.
8525         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8526         settings from configure.ac.
8527         * sysdeps/i386/preconfigure: New file.
8528         * sysdeps/s390/preconfigure: Likewise.
8529         * sysdeps/sh/preconfigure: Likewise.
8530         * sysdeps/sparc/preconfigure: Likewise.
8532 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8534         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8535         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8536         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8537         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8538         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8539         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8540         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8541         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8542         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8543         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8544         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8545         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8546         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8547         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8549         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8551         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8552         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8554         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8555         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8556         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8557         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8558         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8559         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8560         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8561         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8562         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8563         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8564         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8565         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8566         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8567         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8568         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8569         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8570         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8571         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8572         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8573         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8574         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8575         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8579         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8581         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8585         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8587         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8589         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8591         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8594         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8596         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8598         Moved ...
8599         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8600         ... here.
8601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8602         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8604         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8606         Moved ...
8607         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8609         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8611         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8613         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8615         Moved ...
8616         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8618         Moved ...
8619         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8621         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8623         Moved ...
8624         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8626         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8628         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8630         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8632         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8634         Moved ...
8635         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8636         ... here.
8637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8638         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8640         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8642         Moved ...
8643         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8645         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8647         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8649         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8651         Moved ...
8652         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8654         Moved ...
8655         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8657         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8659         Moved ...
8660         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8662         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8664         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8666 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8668         * timezone/checktab.awk: Update from tzcode 2014e.
8669         * timezone/private.h: Likewise.
8670         * timezone/tzfile.h: Likewise.
8671         * timezone/zdump.c: Likewise.
8672         * timezone/zic.c: Likewise.
8674         * sysdeps/unix/sysv/linux/kernel-features.h
8675         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8676         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8677         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8678         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8679         Remove conditional code.
8681 2014-06-25  Will Newton  <will.newton@linaro.org>
8683         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8684         (_dl_arm_cap_flags): Add HWCAP2 values.
8685         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8686         (_DL_HWCAP_COUNT): Increase to 37.
8687         (_DL_HWCAP_LAST): New define.
8688         (_DL_HWCAP2_LAST): New define.
8689         (_dl_procinfo): Add support for printing
8690         AT_HWCAP2 entries.
8691         (_dl_string_hwcap): Use _dl_hwcap_string.
8693 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8697 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8699         * README: Do not mention ports directory.
8701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8702         Remove macro.
8703         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8704         <kernel-features.h>.
8705         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8706         conditional variable definition.
8707         (__futimes): Update comment.
8708         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8709         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8711         [BZ #16560]
8712         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8713         arguments close to 0.
8714         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8715         Likewise.
8716         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8717         Likewise.
8718         * math/auto-libm-test-in: Add more tests of exp10.
8719         * math/auto-libm-test-out: Regenerated.
8720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8722         * sysdeps/unix/sysv/linux/kernel-features.h
8723         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8724         * sysdeps/unix/sysv/linux/readv.c: Do not include
8725         <kernel-features.h>.
8726         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8727         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8728         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8729         unconditional.
8730         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8731         conditional code.
8732         * sysdeps/unix/sysv/linux/writev.c: Do not include
8733         <kernel-features.h>.
8734         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8735         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8736         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8737         unconditional.
8738         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8739         conditional code.
8741 2014-06-25  Will Newton  <will.newton@linaro.org>
8743         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8744         comment changes throughout the file.  Remove checks
8745         for HAVE_*_H definitions that are not required.
8746         (__gen_tempname): Call abort if an unknown kind value is
8747         passed.
8749 2014-06-25  Andreas Schwab  <schwab@suse.de>
8751         [BZ #17086]
8752         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8753         scalbln, scalblnf, scalblnl in libc.
8755 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8757         [BZ #17086]
8758         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8759         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8760         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8762 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8764         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8765         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8766         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8767         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8768         Update #include.
8769         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8770         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8771         Update #include.
8772         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8773         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8774         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8775         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8776         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8777         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8778         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8779         * sysdeps/x86/bits/semaphore.h: ... here.
8780         * sysdeps/x86/nptl/elide.h: Moved ...
8781         * sysdeps/x86/elide.h: ... here.
8782         * sysdeps/x86_64/nptl/Implies: File removed.
8783         * sysdeps/i386/nptl/Implies: File removed.
8785 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8787         [BZ #16539]
8788         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8789         return the argument for normal arguments with exponent below -64.
8790         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8791         Likewise.
8792         * math/auto-libm-test-in: Add another test of expm1.
8793         * math/auto-libm-test-out: Regenerated.
8795         [BZ #16287]
8796         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8797         calling __erfcl for arguments at least 16.
8798         * math/auto-libm-test-in: Add more tests of erf.
8799         * math/auto-libm-test-out: Regenerated.
8801         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8802         individual architectures.
8803         * sysdeps/unix/sysv/linux/configure: Regenerated.
8804         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8805         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8806         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8807         (ldd_rewrite_script): Define variable.
8808         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8810         file.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8812         generated file.
8813         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8814         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8815         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8816         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8817         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8818         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8819         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8820         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8822 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8824         [BZ #17084]
8825         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8826         Rename member __data.d to __data.__elision_data.
8828 2014-06-24  Wilco  <wdijkstr@arm.com>
8830         * NEWS: Add 16918 to fixed bug list.
8832 2014-06-24  Wilco  <wdijkstr@arm.com>
8834         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8836 2014-06-24  Wilco  <wdijkstr@arm.com>
8838         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8839         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8840         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8841         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8842         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8843         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8844         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8845         Use _FPU_MASK_RM.
8847 2014-06-24  Wilco  <wdijkstr@arm.com>
8849         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8851 2014-06-24  Wilco  <wdijkstr@arm.com>
8853         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8854         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8855         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8856         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8858 2014-06-24  Wilco  <wdijkstr@arm.com>
8860         [BZ #16918]
8861         * sysdeps/arm/feupdateenv.c (feupdateenv):
8862         Rewrite to reduce FPSCR accesses and fix return value.
8864 2014-06-24  Wilco  <wdijkstr@arm.com>
8866         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8867         Optimize to avoid unnecessary FPSCR writes.
8868         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8869         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8870         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8871         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8873 2014-06-24  Wilco  <wdijkstr@arm.com>
8875         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8876         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8877         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8878         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8879         Call libc_fetestexcept_vfp.
8880         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8881         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8882         __SOFTFP__ ifdef so that they can be built for softfp.
8884 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8886         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8887         argument type signed char.
8889         * Makerules (check-abi): Dump diff of symlist if the test
8890         fails.
8892 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8894         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8895         using abort.
8897         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8898         Remove unused variable ST.
8900 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8902         [BZ #16354]
8903         [BZ #17061]
8904         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8905         small arguments before calling __expm1.
8906         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8907         small arguments before calling __expm1f.
8908         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8909         small arguments before calling __expm1l.
8910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8911         Likewise.
8912         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8913         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8914         spurious underflow for some cosh tests.
8915         * math/auto-libm-test-out: Regenerated.
8916         * sysdeps/i386/fpu/libm-test-ulps: Update.
8918         [BZ #17050]
8919         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8920         (__ieee754_y1): Set errno if return value overflows.
8921         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8922         (__ieee754_y1f): Set errno if return value overflows.
8923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8924         (__ieee754_y1l): Set errno if return value overflows.
8925         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8926         (__ieee754_y1l): Set errno if return value overflows.
8927         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8928         * math/auto-libm-test-out: Regenerated.
8930         * math/gen-auto-libm-tests.c: Document use of
8931         ignore-zero-inf-sign.
8932         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8933         (input_flags): Add ignore-zero-inf-sign.
8934         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8935         * math/gen-libm-test.pl (generate_testfile): Handle
8936         ignore-zero-inf-sign.
8937         * math/auto-libm-test-in: Mark some cpow tests with
8938         ignore-zero-inf-sign and some with xfail-rounding.
8939         * math/auto-libm-test-out: Regenerated.
8940         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8941         * sysdeps/i386/fpu/libm-test-ulps: Update.
8942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8944         [BZ #16315]
8945         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8946         overflowing or underflowing operations take place with sign of
8947         result.
8948         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8949         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8950         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8951         (__ieee754_pow): Recompute overflowing and underflowing results in
8952         original rounding mode.
8953         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8954         (__powl_helper): Allow negative argument X and scale negated value
8955         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8956         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8957         overflowing or underflowing operations take place with sign of
8958         result.
8959         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8960         Include <math.h>.
8961         * math/auto-libm-test-in: Add more tests of pow.
8962         * math/auto-libm-test-out: Regenerated.
8963         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8964         (pow_tonearest_test_data): Remove.
8965         (pow_test_tonearest): Likewise.
8966         (pow_towardzero_test_data): Likewise.
8967         (pow_test_towardzero): Likewise.
8968         (pow_downward_test_data): Likewise.
8969         (pow_test_downward): Likewise.
8970         (pow_upward_test_data): Likewise.
8971         (pow_test_upward): Likewise.
8972         (main): Don't call removed functions.
8973         * sysdeps/i386/fpu/libm-test-ulps: Update.
8974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8976 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8979         Moved ...
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8982         Moved ...
8983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8985         Moved ...
8986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8988         Moved ...
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8991         File removed.
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8993         File removed.
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8995         File removed.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8997         File removed.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8999         File removed.
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9001         File removed.
9002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9003         File removed.
9004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9005         File removed.
9006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9007         File removed.
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9009         File removed.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9011         File removed.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9013         File removed.
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9015         Moved ...
9016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9018         Moved ...
9019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9020         ... here.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9022         Moved ...
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9025         Moved ...
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9028         Moved ...
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9031         Moved ...
9032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9034         Moved ...
9035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9037         Moved ...
9038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9040         Moved ...
9041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9044         ... here.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9046         Moved ...
9047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9049         Moved ...
9050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9051         ... here.
9052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9053         Moved ...
9054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9055         ... here.
9056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9057         Moved ...
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9059         ... here.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9061         Moved ...
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9064         Moved ...
9065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9069         Moved ...
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9071         ... here.
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9073         Moved ...
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9075         ... here.
9076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9077         Moved ...
9078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9080         Moved ...
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9083         Moved ...
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9086         Moved ...
9087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9089         Moved ...
9090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9091         ... here.
9092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9093         Moved ...
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9096         Moved ...
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9099         Moved ...
9100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9102         Moved ...
9103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9107         Moved ...
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9110         Moved ...
9111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9113         Moved ...
9114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9115         ... here.
9116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9117         Moved ...
9118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9119         ... here.
9120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9121         Moved ...
9122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9123         ... here.
9124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9125         Moved ...
9126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9128         Moved ...
9129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9131         Moved ...
9132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9134         Moved ...
9135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9136         ... here.
9137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9138         Moved ...
9139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9140         ... here.
9141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9142         Moved ...
9143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9144         ... here.
9145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9146         Moved ...
9147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9149         Moved ...
9150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9152 2014-06-23  Will Newton  <will.newton@linaro.org>
9153             Wilco  <wdijkstr@arm.com>
9155         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9156         implementation.  Include get-rounding-mode.h.
9157         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9158         [!libc_feholdsetround_noex_ctx]: Define
9159         libc_feholdsetround_noex_ctx.
9160         [!libc_feholdsetround_noexf_ctx]: Define
9161         libc_feholdsetround_noexf_ctx.
9162         [!libc_feholdsetround_noexl_ctx]: Define
9163         libc_feholdsetround_noexl_ctx.
9164         (libc_feholdsetround_ctx): New function.
9165         (libc_feresetround_ctx): New function.
9166         (libc_feholdsetround_noex_ctx): New function.
9167         (libc_feresetround_noex_ctx): New function.
9169 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9171         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9172         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9173         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9174         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9175         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9176         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9178         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9179         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9180         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9181         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9182         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9183         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9185         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9186         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9187         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9189         Moved ...
9190         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9191         ... here.
9192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9193         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9195         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9197         Moved ...
9198         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9200         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9202         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9204         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9205         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9206         Moved ...
9207         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9212         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9214         Moved ...
9215         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9216         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9217         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9218         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9219         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9220         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9221         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9223         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9225         Moved ...
9226         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9227         ... here.
9228         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9229         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9233         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9235         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9237         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9239         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9241         Moved ...
9242         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9244         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9246         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9248         Moved ...
9249         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9251         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9252         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9253         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9255         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9256         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9257         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9258         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9259         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9260         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9261         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9262         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9264         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9265         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9266         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9267         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9268         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9269         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9270         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9271         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9272         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9273         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9274         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9275         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9276         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9277         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9278         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9279         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9280         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9281         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9282         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9284 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9287         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9288         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9289         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9290         (IPV6_PMTUDISC_INTERFACE): Likewise.
9291         (IPV6_PMTUDISC_OMIT): Likewise.
9293 2014-06-23  Andreas Schwab  <schwab@suse.de>
9295         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9296         Remove unused errout label.
9298 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9300         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9301         macro: hardware supports Vector Crypto instructions.
9303 2014-06-23  Will Newton  <will.newton@linaro.org>
9305         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9306         rather than __builtin_expect.
9308         * elf/dl-lookup.c (undefined_msg): Remove variable.
9309         (_dl_lookup_symbol_x): Replace undefined_msg with string
9310         literal.
9312         * elf/dl-lookup.c (do_lookup_unique): New function.
9313         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9314         to a separate function.
9316 2014-06-23  Andreas Schwab  <schwab@suse.de>
9318         [BZ #17079]
9319         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9320         before reading the next line.
9322 2014-06-23  Will Newton  <will.newton@linaro.org>
9324         * test-skeleton.c (signal_handler): Use printf and %m
9325         rather than perror.  Use printf rather than fprintf to
9326         stderr.  Use puts rather than fputs to stderr.
9327         (main): Likewise.
9329 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9331         * nscd/nscd.c (thread_info_t): Remove typedef.
9332         (thread_info): Remove variable.
9334 2014-06-21  Allan McRae  <allan@archlinux.org>
9336         * NEWS: Mention CVE-2014-4043.
9338 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9340         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9341         * nptl/smp.h: ... here.
9343         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9345         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9346         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9347         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9348         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9350         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9351         * nptl/stack-aliasing.h: New file.
9352         * sysdeps/i386/i686/stack-aliasing.h: New file.
9353         * sysdeps/i386/i686/nptl/Makefile: File removed.
9354         * sysdeps/x86_64/stack-aliasing.h: New file.
9355         * sysdeps/x86_64/nptl/Makefile
9356         (CFLAGS-pthread_create.c): Variable removed.
9358         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9359         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9360         old file.
9361         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9362         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9363         old file.
9365 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9368         (__ASSUME_SIGFRAME_V2): Remove macro.
9369         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9370         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9371         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9372         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9373         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9374         Declare as function.  Remove conditional macro definitions.
9375         (__default_rt_sa_restorer): Likewise.
9376         (__default_sa_restorer_v1): Remove declaration.
9377         (__default_sa_restorer_v2): Likewise.
9378         (__default_rt_sa_restorer_v1): Likewise.
9379         (__default_rt_sa_restorer_v2): Likewise.
9380         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9381         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9382         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9384 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9386         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9387         (libpthread-routines): Add sysdep.
9388         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9389         * sysdeps/unix/sysv/linux/sparc/Versions
9390         (libpthread: GLIBC_2.3.3): New version set.
9391         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9392         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9393         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9395         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9396         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9397         Moved ...
9398         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9399         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9400         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9401         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9402         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9403         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9404         * sysdeps/sparc/nptl/sem_init.c: ... here.
9405         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9406         * sysdeps/sparc/nptl/sem_post.c: ... here.
9407         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9408         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9409         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9410         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9411         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9412         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9413         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9414         (libpthread-routines): Add cpu_relax.
9415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9416         File removed.
9417         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9418         (librt: GLIBC_2.3.3): New version set.
9419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9420         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9421         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9422         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9425         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9427         Moved ...
9428         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9430         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9432         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9434         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9436         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9438         Moved ...
9439         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9440         Update #include.
9441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9442         Moved ...
9443         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9444         Update #include.
9445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9446         Moved ...
9447         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9448         Update #include.
9449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9450         Moved ...
9451         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9452         Update #include.
9453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9454         Moved ...
9455         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9456         Update #include.
9457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9458         Moved ...
9459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9460         Update #include.
9461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9462         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9468         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9470         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9472         Moved ...
9473         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9475         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9479 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9481         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9482         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9483         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9484         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9485         * nscd/nscd.c: Likewise.
9486         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9487         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9488         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9489         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9491         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9492         <kernel-features.h>.
9493         (init_mq_netlink): Remove conditional have_sock_cloexec
9494         definitions.  Remove code conditional on have_sock_cloexec < 0.
9495         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9496         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9497         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9498         <kernel-features.h>.
9499         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9500         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9502 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9505         Add tests for memset_chk and memset.
9507         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9508         with AVX2_Usable.
9510 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9512         [BZ #16046]
9513         * elf/tst-dl-iter-static.c: New file.
9514         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9516         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9517         error.
9519 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9521         * sysdeps/unix/sysv/linux/kernel-features.h
9522         (__ASSUME_F_GETOWN_EX): Remove macro.
9523         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9524         <kernel-features.h>.
9525         (miss_F_GETOWN_EX): Remove variable or macro.
9526         (do_fcntl): Do not check miss_F_GETOWN_EX.
9527         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9530         Remove macro.
9531         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9532         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9533         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9535         * sysdeps/unix/sysv/linux/kernel-features.h
9536         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9537         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9538         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9539         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9541 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9543         [BZ #17075]
9544         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9545         Fix calculation of the symbol's value.
9546         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9547         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9548         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9549         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9550         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9551         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9552         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9553         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9554         (modules-names): Add `tst-armtlsdescmod',
9555         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9556         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9557         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9558         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9559         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9560         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9561         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9562         ($(objpfx)tst-armtlsdescloc): New dependency.
9563         ($(objpfx)tst-armtlsdescextnow): Likewise.
9564         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9565         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9566         TLS scheme support.
9567         * sysdeps/arm/configure: Regenerate.
9569 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9571         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9572         (__atfct_seterrno_2): Likewise.
9573         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9574         <kernel-features.h>.
9575         (__ASSUME_ATFCTS): Do not undefine and redefine.
9576         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9577         (__have_atfcts): Remove conditional definition.
9578         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9579         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9580         unreachable if [__ASSUME_ATFCTS].
9581         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9582         not undefine and redefine.
9583         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9584         <kernel-features.h>.
9585         (faccessat) [__NR_faccessat]: Make code unconditional.
9586         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9587         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9588         <kernel-features.h>.
9589         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9590         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9591         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9592         <kernel-features.h>.
9593         (fchownat) [__NR_fchownat]: Make code unconditional.
9594         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9595         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9596         <kernel-features.h>.
9597         (futimesat) [__NR_futimesat]: Make code unconditional.
9598         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9599         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9600         <kernel-features.h>.
9601         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9602         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9603         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9604         <kernel-features.h>.
9605         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9606         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9607         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9608         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9609         <kernel-features.h>.
9610         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9611         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9612         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9613         <kernel-features.h>.
9614         (linkat) [__NR_linkat]: Make code unconditional.
9615         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9616         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9617         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9618         <kernel-features.h>.
9619         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9620         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9621         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9622         <kernel-features.h>.
9623         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9624         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9625         * sysdeps/unix/sysv/linux/openat.c: Do not include
9626         <kernel-features.h>.
9627         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9628         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9629         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9630         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9631         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9632         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9633         <kernel-features.h>.
9634         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9635         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9636         result of INLINE_SYSCALL directly, not via int variable.
9637         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9638         <kernel-features.h>.
9639         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9640         (renameat) [__NR_renameat]: Make code unconditional.
9641         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9642         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9643         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9644         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9645         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9646         (__ASSUME_ATFCTS): Do not undefine and redefine.
9647         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9648         <kernel-features.h>.
9649         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9650         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9651         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9652         <kernel-features.h>.
9653         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9654         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9655         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9656         (__ASSUME_ATFCTS): Do not undefine and redefine.
9657         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9658         <kernel-features.h>.
9659         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9660         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9661         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9662         <kernel-features.h>.
9663         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9664         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9666 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9668         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9670 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9672         [BZ #17069]
9673         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9674         constructed tree before returning error.
9675         * posix/bug-regexp36.c: Expand test case.
9677 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9679         [BZ #6803]
9680         * math/libm-test.inc (scalbln_test_date):
9681         Add errno expectations.
9682         * math/w_scalblnf.c: New File.
9683         Add wrapper which checks for setting errno to ERANGE.
9684         Add weak_alias for corresponding scalbln function.
9685         * math/w_scalbln.c: Likewise.
9686         * math/w_scalblnl.c: Likewise.
9687         * math/Makefile (libm-calls): Add w_scalbln.
9688         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9689         Remove weak_alias for corresponding scalbln function.
9690         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9692         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9694         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9695         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9696         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9697         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9698         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9699         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9700         Remove long_double_symbol for scalblnl function in libm, libc.
9701         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9702         Add wrapper which checks for setting errno to ERANGE.
9703         Add long_double_symbol for scalblnl function in libm, libc.
9704         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9705         Remove long_double_symbol for scalblnl in libm.
9706         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9707         Add wrapper which checks for setting errno to ERANGE.
9708         Add long_double_symbol for scalblnl function in libm.
9709         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9710         Do not use wrapper because of own implementation.
9712 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9714         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9715         3 bytes for __pad1 for x32.
9716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9718 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9719             H.J. Lu  <hongjiu.lu@intel.com>
9721         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9722         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9723         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9724         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9725         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9727 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9729         [BZ #17069]
9730         * posix/regcomp.c (parse_expression): Deallocate partially
9731         constructed tree before returning error.
9732         * posix/Makefile.c (tests): Add bug-regex36.
9733         (generated): Add bug-regex36.mtrace.
9734         (tests-special): Add $(objpfx)bug-regex36-mem.out
9735         (bug-regex36-ENV): New variable.
9736         ($(objpfx)bug-regex36-mem.out): New rule.
9737         * posix/bug-regex36.c: New file.
9739 2014-06-19  Will Newton  <will.newton@linaro.org>
9741         * malloc/malloc.c (systrim): If extra is zero then return
9742         early.
9744 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9746         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9748 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9750         * sysdeps/aarch64/strchr.S: New file.
9752 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9754         [BZ #17022]
9755         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9756         from arguments -2 or below.
9757         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9758         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9760 2014-06-18  Andreas Schwab  <schwab@suse.de>
9762         [BZ #17062]
9763         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9764         of a bracket expr not to run off the end of the string.
9765         * posix/Makefile (tests): Add tst-fnmatch3.
9766         * posix/tst-fnmatch3.c: New file.
9768 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9770         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9771         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9772         [$(cross-compiling) = no]: Likewise.
9773         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9774         [$(cross-compiling) = no]: Likewise.
9776 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9778         [BZ #17031]
9779         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9780         double, adjusted for any remainder from the high double.
9781         * math/libm-test.inc (nearbyint): Add tests.
9782         (rint): Likewise.
9784 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9786         * nptl/sysdeps/powerpc/Makefile: Moved ...
9787         * sysdeps/powerpc/nptl/Makefile: ... here.
9788         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9789         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9790         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9791         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9792         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9793         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9794         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9795         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9796         * nptl/sysdeps/powerpc/tls.h: Moved ...
9797         * sysdeps/powerpc/nptl/tls.h: ... here.
9799 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9801         [BZ #16681]
9802         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9803         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9804         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9805         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9806         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9807         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9808         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9809         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9810         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9812 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9814         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9816 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9818         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9819         defined operator.
9821         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9822         $TIMEOUTFACTOR.
9824 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9826         [BZ #17058]
9827         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9828         non-executed part of the test.
9830 2014-06-16  Andreas Schwab  <schwab@suse.de>
9832         * string/bits/string2.h (strdup, strndup): Update feature guard.
9834 2014-06-14  David S. Miller  <davem@davemloft.net>
9836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9838 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9840         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9841         that was previously under [RESET_PID].
9842         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9844         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9845         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9846         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9847         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9848         (__libc_vfork): New strong alias.
9849         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9851 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9853         * sysdeps/generic/elide.h: New file.
9855 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9857         * Makefile (installed-headers): Adjust path of pthread.h header.
9859 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9861         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9862         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9863         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9864         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9866         * nptl/sysdeps/s390/Makefile: Moved ...
9867         * sysdeps/s390/nptl/Makefile: ... here.
9868         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9869         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9870         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9871         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9872         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9873         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9874         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9875         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9876         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9877         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9878         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9879         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9880         * nptl/sysdeps/s390/tls.h: Moved ...
9881         * sysdeps/s390/nptl/tls.h: ... here.
9883         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9884         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9886 2014-06-13  David S. Miller  <davem@davemloft.net>
9888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9891         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9895         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9896         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9897         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9898         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9899         Remove RESET_PID cpp guards.
9900         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9901         Remove RESET_PID cpp guards.
9902         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9904 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9906         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9907         __sp to uintptr_t.
9909 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9922         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9926         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9929         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9932         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9933         (pthread_rwlock_rdlock): Add elision.
9934         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9935         (pthread_rwlock_wrlock): Add elision.
9936         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9937         (pthread_rwlock_trywrlock): Add elision.
9938         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9939         (pthread_rwlock_tryrdlock): Add elision.
9940         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9941         (pthread_rwlock_tryrdlock): Add elision unlock.
9942         * nptl/sysdeps/pthread/pthread.h:
9943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9944         (PTHREAD_RWLOCK_INITIALIZER,
9945         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9946         Handle new elision field.
9947         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9948         * sysdeps/arm/nptl/bits/pthreadtypes.h
9949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9950         * sysdeps/sh/nptl/bits/pthreadtypes.h
9951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9952         * sysdeps/tile/nptl/bits/pthreadtypes.h
9953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9954         * sysdeps/a/nptl/bits/pthreadtypes.h
9955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9956         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9958         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9960         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9962         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9964         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9966         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9968         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9970         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9972         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9973         (elision_init): Set try_xbegin to zero when no RTM.
9974         * sysdeps/x86/nptl/bits/pthreadtypes.h
9975         (pthread_rwlock_t): Change __pad1 to __rwelision.
9976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9978 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9980         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9981         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9982         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9983         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9985 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9987         [BZ #16996]
9988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9989         that the cached result has been set before returning it.
9991 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9993         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9994         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9995         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9996         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9997         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9998         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10000         * nptl/sysdeps/sparc/Makefile: Moved ...
10001         * sysdeps/sparc/nptl/Makefile: ... here.
10002         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10003         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10004         * nptl/sysdeps/sparc/tls.h: Moved ...
10005         * sysdeps/sparc/nptl/tls.h: ... here.
10006         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10007         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10008         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10009         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10010         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10011         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10012         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10013         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10014         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10015         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10016         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10017         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10018         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10019         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10020         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10021         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10022         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10023         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10024         Update #include.
10025         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10027         Update #include.
10028         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10029         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10030         Update #include.
10031         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10033         Update #include.
10035         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10037         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10038         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10040         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10041         (struct list_links): Type removed.
10042         (struct thread_node, struct timer_node): Replace struct list_links
10043         with struct list_head.
10044         (list_unlink_ip): Likewise.
10045         * sysdeps/pthread/timer_routines.c
10046         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10047         (list_append, list_insbefore): Likewise.
10048         (list_init): Function removed.
10049         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10050         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10051         * sysdeps/pthread/Makefile: ... here, new file.
10053         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10054         * sysdeps/nptl/Implies: ... here.
10055         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10056         * nptl/sysdeps/pthread/list.h: Moved ...
10057         * include/list.h: ... here.
10058         * nptl/sysdeps/pthread/createthread.c: Moved ...
10059         * nptl/createthread.c: ... here.
10060         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10061         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10062         * nptl/pt-longjmp.c: ... here.
10063         * nptl/sysdeps/pthread/Makefile: Moved ...
10064         * sysdeps/nptl/Makefile: ... here.
10065         * nptl/sysdeps/pthread/Subdirs: Moved ...
10066         * sysdeps/nptl/Subdirs: ... here.
10067         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10068         * sysdeps/nptl/aio_misc.h: ... here.
10069         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10070         * sysdeps/nptl/bits/libc-lock.h: ... here.
10071         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10072         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10073         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10074         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10075         * nptl/sysdeps/pthread/configure: Moved ...
10076         * sysdeps/nptl/configure: ... here.
10077         * nptl/sysdeps/pthread/configure.ac: Moved ...
10078         * sysdeps/nptl/configure.ac: ... here.
10079         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10080         * sysdeps/nptl/gai_misc.h: ... here.
10081         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10082         * sysdeps/nptl/librt-cancellation.c: ... here.
10083         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10084         * sysdeps/nptl/malloc-machine.h: ... here.
10085         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10086         * sysdeps/nptl/pthread-functions.h: ... here.
10087         * nptl/sysdeps/pthread/pthread.h: Moved ...
10088         * sysdeps/nptl/pthread.h: ... here.
10089         * nptl/sysdeps/pthread/setxid.h: Moved ...
10090         * sysdeps/nptl/setxid.h: ... here.
10091         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10092         * sysdeps/nptl/sigfillset.c: ... here.
10093         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10094         * sysdeps/nptl/tcb-offsets.h: ... here.
10095         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10096         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10097         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10098         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10099         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10100         * sysdeps/pthread/allocalim.h: ... here.
10101         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10102         * sysdeps/pthread/bits/sigthread.h: ... here.
10103         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10104         * sysdeps/pthread/flockfile.c: ... here.
10105         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10106         * sysdeps/pthread/ftrylockfile.c: ... here.
10107         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10108         * sysdeps/pthread/funlockfile.c: ... here.
10109         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10110         * sysdeps/pthread/posix-timer.h: ... here.
10111         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10112         * sysdeps/pthread/timer_create.c: ... here.
10113         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10114         * sysdeps/pthread/timer_delete.c: ... here.
10115         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10116         * sysdeps/pthread/timer_getoverr.c: ... here.
10117         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10118         * sysdeps/pthread/timer_gettime.c: ... here.
10119         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10120         * sysdeps/pthread/timer_routines.c: ... here.
10121         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10122         * sysdeps/pthread/timer_settime.c: ... here.
10123         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10124         * sysdeps/pthread/tst-timer.c: ... here.
10125         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10126         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10128         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10129         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10131         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10132         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10133         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10134         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10135         Update #include target.
10136         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10137         * sysdeps/i386/i686/nptl/Makefile: ... here.
10138         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10139         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10140         Update #include target.
10141         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10142         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10143         * nptl/sysdeps/i386/Makefile: Moved ...
10144         * sysdeps/i386/nptl/Makefile: ... here.
10145         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10146         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10147         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10148         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10149         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10150         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10151         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10152         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10153         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10154         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10155         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10156         * nptl/sysdeps/i386/tls.h: Moved ...
10157         * sysdeps/i386/nptl/tls.h: ... here.
10159         * sysdeps/sh/Makefile [$(subdir) = csu]
10160         (gen-as-const-headers): Add tcb-offsets.sym.
10161         * nptl/sysdeps/sh/Makefile: File removed.
10162         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10163         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10164         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10165         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10166         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10167         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10168         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10169         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10170         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10171         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10172         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10173         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10174         * nptl/sysdeps/sh/tls.h: Moved ...
10175         * sysdeps/sh/nptl/tls.h: ... here.
10176         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10177         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10178         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10179         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10180         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10181         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10183         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10185         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10187         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10189         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10191         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10193         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10195         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10197         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10199         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10201         Moved ...
10202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10204         Moved ...
10205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10207         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10211         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10213         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10215         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10216         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10217         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10219         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10221         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10223         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10225 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10227         * posix/spawn_faction_addopen.c: Include string.h.
10229 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10231         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10232         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10233         * nptl/sysdeps/x86_64/Makefile: Moved ...
10234         * sysdeps/x86_64/nptl/Makefile: ... here.
10235         * nptl/sysdeps/x86_64/configure: Moved ...
10236         * sysdeps/x86_64/nptl/configure: ... here.
10237         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10238         * sysdeps/x86_64/nptl/configure.ac: ... here.
10239         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10240         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10241         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10242         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10243         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10244         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10245         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10246         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10247         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10248         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10249         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10250         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10251         * nptl/sysdeps/x86_64/tls.h: Moved ...
10252         * sysdeps/x86_64/nptl/tls.h: ... here.
10253         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10254         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10255         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10256         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10258         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10260 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10264 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10266         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10267         type.
10268         [POSIX] (off_t): Likewise.
10269         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10270         [POSIX] (S_ISBLK): Require macro.
10271         [POSIX] (S_ISCHR): Likewise.
10272         [POSIX] (S_ISDIR): Likewise.
10273         [POSIX] (S_ISFIFO): Likewise.
10274         [POSIX] (S_ISREG): Likewise.
10275         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10276         optional-macro.
10277         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10278         type.
10279         [POSIX] (time_t): Likewise.
10280         [POSIX] (timer_t): Likewise.
10282 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10284         [BZ #17048]
10285         * posix/spawn_int.h (struct __spawn_action): Make the path string
10286         non-const to support deallocation.
10287         * posix/spawn_faction_addopen.c
10288         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10289         * posix/spawn_faction_destroy.c
10290         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10291         path in all spawn_do_open actions.
10292         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10293         posix_spawn_file_actions_addopen.
10295 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10297         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10298         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10299         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10300         conditional code always true.
10301         (__libc_vfork): New alias.
10303 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10305         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10306         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10308         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10310         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10311         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10313         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10314         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10316         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10317         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10319 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10321         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10322         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10323         multiarch strcmp for PPC64.
10324         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10325         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10327         multiarch optimizations.
10328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10329         (__libc_ifunc_impl_list): Likewise.
10331 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10333         * benchtests/scripts/validate_benchout.py: New script.
10334         * benchtests/Makefile (bench-func): Call it.
10335         * benchtests/scripts/benchout.schema.json: New file.
10337 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10339         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10340         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10341         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10342         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10343         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10344         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10345         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10346         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10347         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10348         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10349         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10350         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10351         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10352         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10353         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10354         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10356         Moved ...
10357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10358         ... here.
10359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10360         Moved ...
10361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10363         Moved ...
10364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10365         ... here.
10366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10367         Moved ...
10368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10369         ... here.
10370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10371         Moved ...
10372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10374         Moved ...
10375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10376         ... here.
10377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10378         Moved ...
10379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10380         ... here.
10381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10382         Moved ...
10383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10385         Moved ...
10386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10387         ... here.
10388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10389         Moved ...
10390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10391         ... here.
10392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10393         Moved ...
10394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10395         ... here.
10396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10397         Moved ...
10398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10400         Moved ...
10401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10402         ... here.
10403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10404         Moved ...
10405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10406         ... here.
10407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10408         Moved ...
10409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10410         ... here.
10411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10412         Moved ...
10413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10415         Moved ...
10416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10417         ... here.
10418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10419         Moved ...
10420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10421         ... here.
10422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10423         Moved ...
10424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10426         Moved ...
10427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10428         ... here.
10429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10430         Moved ...
10431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10433         Moved ...
10434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10436         Moved ...
10437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10438         ... here.
10439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10440         Moved ...
10441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10442         ... here.
10443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10444         Moved ...
10445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10446         ... here.
10447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10448         Moved ...
10449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10451         Moved ...
10452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10453         ... here.
10454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10455         Moved ...
10456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10457         ... here.
10458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10459         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10461         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10463         Moved ...
10464         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10465         ... here.
10466         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10467         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10469         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10471         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10473         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10475         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10477         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10479         Moved ...
10480         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10482         Moved ...
10483         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10485         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10487         Moved ...
10488         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10489         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10490         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10491         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10492         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10493         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10494         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10496 2014-06-10  Wilco  <wdijkstr@arm.com>
10498         * math/test-fenv-return.c: New file.
10499         * math/Makefile: Add new test test-fenv-return.
10501 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10503         [BZ #17042]
10504         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10505         when x - 1 is zero.
10506         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10507         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10508         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10509         0.0L for an argument of 1.0L.
10510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10511         Likewise.
10512         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10513         value when x - 1 is zero.
10514         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10515         * sysdeps/i386/fpu/libm-test-ulps: Update.
10516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10518 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10520         [BZ #15119]
10521         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10523 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10525         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10526         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10528 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10530         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10531         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10533         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10534         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10536         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10537         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10539         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10540         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10542         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10543         if not already defined.
10544         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10545         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10546         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10547         (TLS_INIT_TP): Use it.
10548         (TLS_DEFINE_INIT_TP): New macro.
10549         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10551 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10553         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10554         constant.
10555         [POSIX] (IXANY): Likewise.
10556         [POSIX] (OLCUC): Likewise.
10557         [POSIX || POSIX2008] (CBAUD): Do not allow.
10558         [POSIX || POSIX2008] (DEFECHO): Likewise.
10559         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10560         [POSIX || POSIX2008] (ECHOKE): Likewise.
10561         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10562         [POSIX || POSIX2008] (EXTA): Likewise.
10563         [POSIX || POSIX2008] (EXTB): Likewise.
10564         [POSIX || POSIX2008] (FLUSHO): Likewise.
10565         [POSIX || POSIX2008] (LOBLK): Likewise.
10566         [POSIX || POSIX2008] (PENDIN): Likewise.
10567         [POSIX || POSIX2008] (SWTCH): Likewise.
10568         [POSIX || POSIX2008] (VDISCARD): Likewise.
10569         [POSIX || POSIX2008] (VDSUSP): Likewise.
10570         [POSIX || POSIX2008] (VLNEXT): Likewise.
10571         [POSIX || POSIX2008] (VREPRINT): Likewise.
10572         [POSIX || POSIX2008] (VSTATUS): Likewise.
10573         [POSIX || POSIX2008] (VWERASE): Likewise.
10574         (B*): Change to B[0123456789]*.
10575         * conform/data/time.h-data [POSIX || UNIX98]
10576         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10577         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10578         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10579         [POSIX] (tm_*): Do not allow.
10581 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10583         * Makefile (install): Don't set LANGUAGE.
10584         * Makefile.in (install): Likewise.
10585         * assert/Makefile (test-assert-ENV): Remove variable.
10586         (test-assert-perr-ENV): Likewise.
10587         * elf/Makefile (neededtest4-ENV): Likewise.
10588         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10589         [$(cross-compiling) = no]: Don't set LANGUAGE.
10590         * io/ftwtest-sh (LANG): Remove variable.
10591         * libio/Makefile (tst-widetext-ENV): Likewise.
10592         * manual/install.texi (Running make install): Don't refer to
10593         environment settings for make install.
10594         * INSTALL: Regenerated.
10595         * nptl/tst-tls6.sh: Don't set LANG.
10596         * posix/globtest.sh (LANG): Remove variable.
10597         * string/Makefile (tester-ENV): Likewise.
10598         (inl-tester-ENV): Likewise.
10599         (noinl-tester-ENV): Likewise.
10600         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10601         [$(cross-compiling) = no]: Don't set LANGUAGE.
10602         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10603         without explicit environment settings.
10605 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10607         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10608         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10609         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10610         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10612 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10614         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10615         other files in the crypt directory.
10616         * crypt/crypt.c: Remove duplicate includes.
10617         * crypt/crypt-entry.c: Likewise.
10618         * crypt/crypt_util.c: Likewise.
10620 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10622         * Makeconfig (run-program-env): New variable.
10623         (run-program-prefix-before-env): Likewise.
10624         (run-program-prefix-after-env): Likewise.
10625         (run-program-prefix): Define in terms of new variables.
10626         (built-program-cmd-before-env): New variable.
10627         (built-program-cmd-after-env): Likewise.
10628         (built-program-cmd): Define in terms of new variables.
10629         (test-program-prefix-before-env): New variable.
10630         (test-program-prefix-after-env): Likewise.
10631         (test-program-prefix): Define in terms of new variables.
10632         (test-program-cmd-before-env): New variable.
10633         (test-program-cmd-after-env): Likewise.
10634         (test-program-cmd): Define in terms of new variables.
10635         * Rules (make-test-out): Use $(run-program-env).
10636         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10637         (help): Do not mention environment variables.  Mention
10638         --timeoutfactor option.
10639         (timeoutfactor): New variable.
10640         (blacklist_exports): Remove function.
10641         (exports): Remove variable.
10642         (command): Do not include ${exports}.
10643         * manual/install.texi (Configuring and compiling): Do not mention
10644         test wrappers preserving environment variables.  Mention that last
10645         assignment to a variable must take precedence.
10646         * INSTALL: Regenerated.
10647         * benchtests/Makefile (run-bench): Use $(run-program-env).
10648         * catgets/Makefile ($(objpfx)test1.cat): Use
10649         $(built-program-cmd-before-env), $(run-program-env) and
10650         $(built-program-cmd-after-env).
10651         ($(objpfx)test2.cat): Do not specify environment variables
10652         explicitly.
10653         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10654         $(run-program-env) and $(built-program-cmd-after-env).
10655         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10656         $(run-program-env) and $(test-program-cmd-after-env).
10657         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10658         explicitly.
10659         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10660         run_program_env and test_program_cmd_after_env arguments.
10661         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10662         * elf/tst-pathopt.sh: Use run_program_env argument.
10663         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10664         $(test-wrapper-env) and $(run-program-env).
10665         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10666         run_program_env arguments.
10667         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10668         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10669         $(test-program-prefix-before-env), $(run-program-env) and
10670         $(test-program-prefix-after-env).
10671         ($(objpfx)tst-gettext2.out): Likewise.
10672         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10673         run_program_env and test_program_prefix_after_env arguments.
10674         * intl/tst-gettext2.sh: Likewise.
10675         * intl/tst-gettext4.sh: Do not set environment variables
10676         explicitly.
10677         * intl/tst-gettext6.sh: Likewise.
10678         * intl/tst-translit.sh: Likewise.
10679         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10680         $(test-program-prefix-before-env), $(run-program-env) and
10681         $(test-program-prefix-after-env).
10682         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10683         run_program_env and test_program_prefix_after_env arguments.
10684         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10685         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10686         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10687         explicitly with each use of ${test_wrapper_env}.
10688         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10689         $(test-program-prefix-before-env), $(run-program-env) and
10690         $(test-program-prefix-after-env).
10691         * posix/tst-getconf.sh: Do not set environment variables
10692         explicitly.
10693         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10694         run_program_env and test_program_prefix_after_env arguments.
10695         * stdio-common/tst-printf.sh: Do not set environment variables
10696         explicitly.
10697         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10698         $(test-program-prefix-before-env), $(run-program-env) and
10699         $(test-program-prefix-after-env).
10700         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10701         run_program_env and test_program_prefix_after_env arguments.
10702         Split $test calls into $test_pre and $test.
10703         * timezone/Makefile (build-testdata): Use
10704         $(built-program-cmd-before-env), $(run-program-env) and
10705         $(built-program-cmd-after-env).
10707 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10709         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10710         strlen for non SHARED builds.
10712 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10714         * nptl/allocatestack.c (check_list): Inlined function...
10715         (__reclaim_stacks): ... here.
10717 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10719         [BZ #15698]
10720         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10721         memory overrun.
10723 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10725         * Rules (make-test-out): Include
10726         LOCPATH=$(common-objpfx)localedata in default environment.
10727         * debug/Makefile (tst-chk1-ENV): Remove variable.
10728         (tst-chk2-ENV): Likewise.
10729         (tst-chk3-ENV): Likewise.
10730         (tst-chk4-ENV): Likewise.
10731         (tst-chk5-ENV): Likewise.
10732         (tst-chk6-ENV): Likewise.
10733         (tst-lfschk1-ENV): Likewise.
10734         (tst-lfschk2-ENV): Likewise.
10735         (tst-lfschk3-ENV): Likewise.
10736         (tst-lfschk4-ENV): Likewise.
10737         (tst-lfschk5-ENV): Likewise.
10738         (tst-lfschk6-ENV): Likewise.
10739         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10740         (tst-iconv7-ENV): Likewise.
10741         * intl/Makefile (LOCPATH-ENV): Likewise.
10742         (tst-codeset-ENV): Likewise.
10743         (tst-gettext3-ENV): Likewise.
10744         (tst-gettext5-ENV): Likewise.
10745         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10746         (tst-fopenloc-ENV): Likewise.
10747         (tst-fgetws-ENV): Remove variable.
10748         (tst-ungetwc1-ENV): Likewise.
10749         (tst-ungetwc2-ENV): Likewise.
10750         (bug-ungetwc2-ENV): Likewise.
10751         (tst-swscanf-ENV): Likewise.
10752         (bug-ftell-ENV): Likewise.
10753         (tst-fgetwc-ENV): Likewise.
10754         (tst-fseek-ENV): Likewise.
10755         (tst-ftell-partial-wide-ENV): Likewise.
10756         (tst-ftell-active-handler-ENV): Likewise.
10757         (tst-ftell-append-ENV): Likewise.
10758         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10759         (tst-regexloc-ENV): Likewise.
10760         (bug-regex1-ENV): Likewise.
10761         (tst-regex-ENV): Likewise.
10762         (tst-regex2-ENV): Likewise.
10763         (bug-regex5-ENV): Likewise.
10764         (bug-regex6-ENV): Likewise.
10765         (bug-regex17-ENV): Likewise.
10766         (bug-regex18-ENV): Likewise.
10767         (bug-regex19-ENV): Likewise.
10768         (bug-regex20-ENV): Likewise.
10769         (bug-regex22-ENV): Likewise.
10770         (bug-regex23-ENV): Likewise.
10771         (bug-regex25-ENV): Likewise.
10772         (bug-regex26-ENV): Likewise.
10773         (bug-regex30-ENV): Likewise.
10774         (bug-regex32-ENV): Likewise.
10775         (bug-regex33-ENV): Likewise.
10776         (bug-regex34-ENV): Likewise.
10777         (bug-regex35-ENV): Likewise.
10778         (tst-rxspencer-ENV): Likewise.
10779         (tst-rxspencer-no-utf8-ENV): Likewise.
10780         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10781         (tst-sscanf-ENV): Likewise.
10782         (tst-swprintf-ENV): Likewise.
10783         (tst-swscanf-ENV): Likewise.
10784         (test-vfprintf-ENV): Likewise.
10785         (scanf13-ENV): Likewise.
10786         (bug14-ENV): Likewise.
10787         (tst-grouping-ENV): Likewise.
10788         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10789         (tst-strtod3-ENV): Likewise.
10790         (tst-strtod4-ENV): Likewise.
10791         (tst-strtod5-ENV): Likewise.
10792         (testmb2-ENV): Likewise./
10793         * string/Makefile (tst-strxfrm-ENV): Likewise.
10794         (tst-strxfrm2-ENV): Likewise.
10795         (bug-strcoll1-ENV): Likewise.
10796         (test-strcasecmp-ENV): Likewise.
10797         (test-strncasecmp-ENV): Likewise.
10798         * time/Makefile (tst-strptime-ENV): Likewise.
10799         (tst-ftime_l-ENV): Likewise.
10800         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10801         (tst-mbrtowc-ENV): Likewise.
10802         (tst-wcrtomb-ENV): Likewise.
10803         (tst-mbrtowc2-ENV): Likewise.
10804         (tst-c16c32-1-ENV): Likewise.
10805         (tst-mbsnrtowcs-ENV): Likewise.
10807 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10809         * manual/resource.texi (How to get information about the memory
10810         subsystem?): Fix typo.
10811         Reported by Peon de la Parra Ivan <peon@keba.com>
10813 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10815         [BZ #16882]
10816         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10817         (pthread_spin_lock): Branch out of spin loop to proper location.
10818         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10819         (pthread_spin_lock): Likewise.
10821         * nptl/tst-spin4.c: New test.
10822         * nptl/Makefile (tests): Add tst-spin4.
10824 2014-06-03  Andreas Schwab  <schwab@suse.de>
10826         [BZ #15946]
10827         * resolv/res_send.c (send_dg): Reload file descriptor after
10828         calling reopen.
10830 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10832         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10834 2014-06-03  Richard Henderson  <rth@redhat.com>
10836         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10837         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10838         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10839         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10840         in the SAVE_PID block.
10841         (__libc_vfork): New alias.
10842         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10844         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10845         child in registers, not on the stack.  Remove RESET_PID conditionals.
10846         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10848 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10850         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10852 2014-06-03  Wilco  <wdijkstr@arm.com>
10854         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10855         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10856         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10857         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10858         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10859         Likewise.
10861 2014-06-03  Wilco  <wdijkstr@arm.com>
10863         * sysdeps/aarch64/fpu/math_private.h
10864         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10865         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10866         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10867         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10868         Fix declarations.
10870 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10872         * crypt/crypt-private.h: Include ufc-crypt.h.
10873         (__b64_from_24bit): Declare extern.
10874         * crypt/crypt_util.c(__b64_from_24bit): New function.
10875         (b64t): New static const variable.
10876         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10877         (b64t): Remove variable.
10878         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10879         * crypt/sha256-crypt.c: Include crypt-private.h.
10880         (b64t): Remove variable.
10881         (__sha256_crypt_r): Remove b64_from_24bit and replace
10882         with __b64_from_24bit.
10883         * crypt/sha512-crypt.c: Likewise.
10885 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10887         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10888         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10889         Label the code __libc_vfork rather than __vfork.
10890         [!NOT_IN_libc] (vfork): Define as weak alias.
10891         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10892         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10893         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10895 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10897         * malloc/malloc.c (malloc_info): Fix format specifier for
10898         n_mmaps.
10900 2014-06-02  Wilco  <wdijkstr@arm.com>
10902         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10903         FPCR write.
10905 2014-06-02  Wilco  <wdijkstr@arm.com>
10907         [BZ #17009]
10908         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10909         Rewrite to reduce FPCR/FPSR accesses.
10911 2014-06-01  David S. Miller  <davem@davemloft.net>
10913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10915 2014-05-31  David S. Miller  <davem@davemloft.net>
10917         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10918         to occur in round to nearest mode when |x| >= 2.0
10920 2014-05-30  Richard Henderson  <rth@twiddle.net>
10922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10923         (PSEUDO_RET_NOERRNO): Remove.
10924         (ret): Don't redefine.
10925         (ret_NOERRNO): Define in terms of ret.
10926         (ret_ERRVAL): Likewise.
10928         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10929         use of PSEUDO_RET; perform the error check directly.
10931 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10933         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10934         with __int128_t.
10936 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10938         * malloc/malloc (malloc_info): Fix formatting.
10940 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10941             Roland McGrath  <roland@hack.frob.com>
10943         * malloc/malloc (malloc_info): Also print mmapped statistics.
10945 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10947         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10948         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10950 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10952         * malloc/malloc.c (malloc_info): Inline mi_arena.
10954 2014-05-29  Richard Henderson  <rth@twiddle.net>
10956         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10957         Remove comma before expanding ASM_ARGS_##nr.
10958         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10959         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10960         of ASM_ARGS_##nr.
10961         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10962         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10963         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10964         (ASM_ARGS_1): Add leading comma.
10966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10967         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10968         to __errno_location.
10969         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10970         Remove the expected plt for __errno_location.
10972         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10973         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10974         call to __read_tp.
10976         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10977         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10978         it and break it down.
10979         (DOCARGS_0, DOCARGS_1): Do nothing.
10980         (DOCARGS_2): Update to store into the new stack frame.
10981         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10982         (UNDOCARGS_1): Update to restore from the new stack frame.
10983         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10984         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10987         (SINGLE_THREAD_P): New parameter for result regno.
10988         (PSEUDO): Update to match; use cbz instead of beq.
10990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10991         Use ENTRY to define the _nocancel entry point.  Share the syscall
10992         and syscall error check paths with the cancel path.
10993         (PSEUDO_END): New.
10995         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10996         whitespace; tabs before and after asm mnemonics.
10998 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11000         [BZ #15132]
11001         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11002         Call fstat64 or stat64 internally, depending on arguments passed.
11003         Replace stat buffer argument with file descriptor argument.
11004         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11005         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11006         Pass fd to __internal_statvfs instead of calling fstat64.
11007         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11008         Pass fd to __internal_statvfs64 instead of calling fstat64.
11009         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11010         Pass -1 to __internal_statvfs instead of calling stat64.
11011         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11012         Pass -1 to __internal_statvfs64 instead of calling stat64.
11014 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11016         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11017         that was previously under [RESET_PID].
11018         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11020         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11021         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11023 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11025         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11027         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11028         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11030 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11032         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11034 2014-05-27  Andreas Schwab  <schwab@suse.de>
11036         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11037         TLS_INIT_TP macro.
11038         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11039         * elf/rtld.c (init_tls, dl_main): Likewise.
11040         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11041         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11042         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11043         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11044         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11045         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11046         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11047         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11048         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11049         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11050         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11051         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11052         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11053         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11054         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11055         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11056         * sysdeps/generic/tls.h: Update description.
11058 2014-05-27  Will Newton  <will.newton@linaro.org>
11060         [BZ #16990]
11061         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11062         and restore r2 rather than just restoring.
11064 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11066         [BZ #16724]
11067         * libio/tst-ftell-append.c: New test case.
11068         * libio/Makefile (tests): Add test case.
11069         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11070         append mode.
11071         * libio/wfileops.c (do_ftell_wide): Likewise.
11073 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11077         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11078         ...
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11081         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11082         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11083         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11084         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11085         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11088         Moved ...
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11091         Moved ...
11092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11093         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11094         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11095         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11096         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11097         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11098         ...
11099         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11100         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11101         Moved ...
11102         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11103         here.
11104         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11105         ...
11106         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11107         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11108         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11110         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11111         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11112         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11113         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11116         merge into ...
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11119         ...
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11122         ...
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11125         Moved ...
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11127         here.
11128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11129         Moved ...
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11132         Moved ...
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11136         conditional [RESET_PID].
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11139         removed.
11140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11141         removed.
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11144         <tcb-offsets.h>.
11145         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11146         (__libc_vfork): New strong alias.
11147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11148         removed.
11149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11150         Removed.
11152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11153         <tcb-offsets.h>.
11154         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11155         (__libc_vfork): New strong alias.
11156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11157         removed.
11158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11159         removed.
11161 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11163         * malloc/malloc.c (mi_arena): New function.
11164         (malloc_info): Remove nested function mi_arena. Call non-nosted
11165         function mi_arena.
11167 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11169         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11170         by insrwi.
11171         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11172         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11173         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11174         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11176         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11177         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11179 2014-05-26  Andreas Schwab  <schwab@suse.de>
11181         [BZ #16984]
11182         * locale/programs/repertoire.c (repertoire_read): Add slash
11183         between I18NPATH element and file name.
11184         * locale/programs/locfile.c (locfile_read): Likewise.
11186 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11188         * nptl/pthread_mutexattr_settype.c
11189         (__pthread_mutexattr_settype):
11190         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11192 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11194         * nptl/tst-mutex5 (do_test):
11195         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11197 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11199         * benchtests/README: Document 'init' directive.
11200         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11201         BENCH_INIT.
11202         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11203         (parse_file): Recognize 'init' directive.
11205 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11207         [BZ #16796]
11208         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11209         alignment of struct pthread.
11211 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11213         [BZ #16878]
11214         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11215         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11216         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11217         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11219 2014-05-25  Richard Henderson  <rth@twiddle.net>
11221         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11222         (SINGLE_THREAD_P_PIC): Remove.
11223         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11224         (SINGLE_THREAD_P_PIC): Remove.
11226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11227         branch to syscall error ...
11228         (PSEUDO): ... here.
11229         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11230         from __local_syscall_error to .Lsyscall_error.
11231         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11232         (SYSCALL_ERROR): Update label name.
11234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11235         Do not use DOARGS/UNDOARGS.
11236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11237         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11238         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11239         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11240         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11243         block comment.
11245         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11246         define if !NOT_IN_libc.
11247         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11248         define with non-default symbol versions.
11250 2014-05-23  Richard Henderson  <rth@twiddle.net>
11252         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11253         (vfork, __vfork): Define via compat_symbol.
11255         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11256         [!HAVE_IFUNC] (vfork_compat): Remove.
11257         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11259 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11261         [BZ #16978]
11262         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11263         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11264         variable.
11266 2014-05-23  Richard Henderson  <rth@twiddle.net>
11268         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11269         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11270         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11271         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11273         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11274         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11275         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11276         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11277         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11278         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11279         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11280         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11281         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11282         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11283         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11284         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11285         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11286         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11287         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11288         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11289         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11290         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11291         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11292         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11301         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11302         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11303         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11304         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11305         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11306         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11307         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11308         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11309         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11310         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11311         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11312         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11313         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11314         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11315         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11316         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11317         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11318         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11320         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11322         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11324         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11326         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11328         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11330         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11331         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11332         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11333         before exiting on error.
11334         (__libc_vfork): New strong alias.
11335         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11336         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11338         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11339         that was previously under [RESET_PID].
11340         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11342         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11344 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11346         [BZ #16977]
11347         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11348         value when x - 1 is zero.
11349         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11350         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11351         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11352         0.0L for an argument of 1.0L.
11353         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11354         Likewise.
11355         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11356         value when x - 1 is zero.
11357         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11358         * sysdeps/i386/fpu/libm-test-ulps: Update.
11359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11361 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11363         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11364         alphasort and versionsort.
11366 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11368         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11369         macro.
11370         [copysignf]: Likewise.
11372 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11374         * crypt/md5-crypt.c: Fix formatting.
11376 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11378         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11379         (b64_from_24bit): New function.
11381 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11384         libc_hidden_builtin_def to ifunc.
11385         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11386         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11388 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11390         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11391         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11393 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11395         * nscd/Depend (linuxthreads): Remove.
11396         (nptl): Add.
11397         * resolv/Depend (linuxthreads): Remove.
11398         * rt/Depend (linuxthreads): Remove.
11400         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11401         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11402         $(common-objpfx)elf/.
11403         (link-libc-before-gnulib): Likewise.
11404         (elfobjdir): Remove variable.
11405         * Makefile (install): Use $(elf-objpfx) instead of
11406         $(common-objpfx)elf/.
11407         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11408         $(elfobjdir)/.
11409         (link-libc-deps): Likewise.
11410         ($(common-objpfx)libc.so): Likewise.
11411         ($(common-objpfx)linkobj/libc.so): Likewise.
11412         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11413         instead of $(common-objpfx)elf/.
11414         (symbolic-link-list): Likewise.
11415         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11416         [$(cross-compiling) = no]: Likewise.
11417         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11418         $(elfobjdir)/.
11419         (static-gnulib-arch): Likewise.
11420         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11421         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11422         $(common-objpfx)elf/.
11424 2014-05-21  Richard Henderson  <rth@redhat.com>
11426         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11427         (SINGLE_THREAD_P): Use the correct width load.  Fold
11428         into the ldr offset.
11430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11431         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11433 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11435         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11436         (libgcc_s_resume): Use __attribute_used__.
11437         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11438         Likewise.
11440 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11442         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11443         optimization when used with float constants.
11445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11447 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11449         [BZ #16915]
11450         * locale/nl_langinfo_l.c: Make direct reference to every
11451         _nl_current_CATEGORY symbol.
11452         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11453         (tests-static): Add tst-langinfo-static.
11454         (tests-special): Add tst-langinfo-static.out.
11455         ($(objpfx)tst-langinfo.out): Redirect output.
11456         ($(objpfx)tst-langinfo-static.out): New.
11457         * localedata/tst-langinfo.sh: Send output to stdout.
11458         * localedata/tst-langinfo-static.c: New file.
11460         [BZ #16965]
11461         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11462         when the shift amount is modulo the limb size.
11464 2014-05-20  Richard Henderson  <rth@redhat.com>
11466         [BZ #16967]
11467         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11468         Change type of sa_flags from unsigned int to int.
11470         [BZ #16966]
11471         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11473         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11475 2014-05-20  Will Newton  <will.newton@linaro.org>
11477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11478         Test the return value of the system call in the nocancel case.
11480 2014-05-20  Will Newton  <will.newton@linaro.org>
11481             Yvan Roux  <yvan.roux@linaro.org>
11483         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11484         #include of asm/ptrace.h.
11485         (PTRACE_GET_THREAD_AREA): Remove #undef.
11486         (PTRACE_GETHBPREGS): Likewise.
11487         (PTRACE_SETHBPREGS): Likewise.
11488         (struct user_regs_struct): New structure.
11489         (struct user_fpsimd_struct): New structure.
11490         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11491         #include of asm/ptrace.h and second #include of sys/user.h.
11492         (PTRACE_GET_THREAD_AREA): Remove #undef.
11493         (PTRACE_GETHBPREGS): Likewise.
11494         (PTRACE_SETHBPREGS): Likewise.
11495         (ELF_NGREG): Use new struct user_regs_struct.
11496         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11498 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11500         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11501         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11503 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11505         [BZ #16958]
11506         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11507         membar to avoid block loads/stores to overlap previous stores.
11509 2014-05-17  Richard Henderson  <rth@redhat.com>
11511         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11512         Create the __##syscall_name##_nocancel entry point.
11513         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11514         Remove; let the sysdep-cancel.h code create it.
11516 2014-05-17  David S. Miller  <davem@davemloft.net>
11518         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11519         Protect with __USE_GNU.
11520         (TIOCSET_TEMPT): Likewise.
11521         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11522         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11523         these are already provided in bits/ioctl-types.h
11525 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11527         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11528         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11530         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11531         Use wait4 regardless of [__NR_waitpid].
11533 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11535         PR libgcc/60166
11536         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11537         (_FP_NANSIGN_Q): Set the quiet bit.
11539 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11541         * benchtests/Makefile
11542         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11543         not $(common-objpfx)math/libm.so.
11544         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11545         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11546         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11547         $(common-objpfx)dlfcn/libdl.so.
11548         ($(objpfx)tst-audit8): Depend on $(libm), not
11549         $(common-objpfx)math/libm.so.
11550         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11551         not $(common-objpfx)dlfcn/libdl.so.
11552         * math/Makefile
11553         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11554         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11555         [$(build-shared) = yes].
11556         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11557         $(common-objpfx)nptl/libpthread.so.
11558         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11559         $(common-objpfx)math/libm.so$(libm.so-version) or
11560         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11561         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11562         $(common-objpfx)dlfcn/libdl.so.
11563         * setjmp/Makefile (link-libm): Remove variable.
11564         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11565         * stdio-common/Makefile (link-libm): Remove variable.
11566         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11567         * stdlib/Makefile (link-libm): Remove variable.
11568         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11569         ($(objpfx)tst-strtod-round): Likewise.
11570         ($(objpfx)tst-tininess): Likewise.
11571         ($(objpfx)tst-strtod-underflow): Likewise.
11572         ($(objpfx)tst-strtod6): Likewise.
11573         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11574         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11575         $(common-objpfx)dlfcn/libdl.so.
11577 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11579         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11580         BSD terminal modes definitions.
11582 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11584         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11585         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11587         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11588         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11589         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11590         Don't do #include_next.
11591         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11592         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11593         Don't do #include_next.
11594         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11595         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11596         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11597         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11599 2014-05-16  Allan McRae  <allan@archlinux.org>
11601         * po/sv.po: Update Swedish translation from translation project.
11603         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11604         in sed expression.
11606 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11608         [BZ #16917]
11609         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11610         errno if the TIOCGPTN ioctl fails with an error different than
11611         EINVAL.
11612         * login/tst-ptsname.c: New file.
11613         * login/Makefile (tests): Add tst-ptsname.
11615         [BZ #16943]
11616         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11617         and prlimit64.
11619 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11621         [BZ #16849]
11622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11623         herrno to return EAI_AGAIN.
11625 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11627         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11628         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11629         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11630         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11631         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11632         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11633         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11634         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11635         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11636         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11637         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11638         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11639         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11640         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11641         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11642         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11643         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11644         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11646         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11648         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11649         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11650         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11651         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11652         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11653         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11654         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11655         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11656         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11658         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11660         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11662         Moved ...
11663         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11665         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11667         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11669         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11671         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11673         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11675         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11677         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11679         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11681         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11683         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11685         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11687         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11689         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11691         Moved ...
11692         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11694         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11696         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11698         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11700         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11702         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11704         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11706         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11708         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11710         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11712         Moved ...
11713         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11715         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11717         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11718         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11719         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11720         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11721         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11722         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11723         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11724         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11725         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11726         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11727         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11728         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11729         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11730         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11731         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11732         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11733         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11734         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11735         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11736         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11737         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11738         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11739         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11740         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11741         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11742         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11743         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11744         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11745         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11746         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11747         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11749         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11750         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11752         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11753         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11754         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11755         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11756         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11758         Moved ...
11759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11760         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11761         Moved ...
11762         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11763         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11764         Moved ...
11765         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11767         Moved ...
11768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11769         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11770         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11772         Moved ...
11773         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11774         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11775         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11776         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11778         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11779         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11780         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11781         Moved ...
11782         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11783         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11784         Moved ...
11785         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11786         ... here.
11787         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11788         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11789         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11790         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11792         Moved ...
11793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11794         ... here.
11795         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11796         Moved ...
11797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11798         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11799         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11800         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11801         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11803         Moved ...
11804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11805         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11806         Moved ...
11807         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11808         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11809         Moved ...
11810         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11812         Moved ...
11813         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11814         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11815         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11817         Moved ...
11818         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11819         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11820         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11821         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11823         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11824         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11825         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11826         Moved ...
11827         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11829         Moved ...
11830         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11831         ... here.
11832         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11833         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11834         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11835         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11837         Moved ...
11838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11839         ... here.
11840         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11841         Moved ...
11842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11843         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11844         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11845         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11846         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11847         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11848         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11849         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11850         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11852         Moved ...
11853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11854         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11855         Moved ...
11856         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11857         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11858         Moved ...
11859         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11860         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11861         Moved ...
11862         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11863         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11864         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11865         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11866         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11868         Moved ...
11869         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11870         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11871         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11872         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11873         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11874         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11875         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11876         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11877         Moved ...
11878         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11879         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11880         Moved ...
11881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11882         ... here.
11883         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11884         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11885         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11886         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11888         Moved ...
11889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11890         ... here.
11891         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11892         Moved ...
11893         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11894         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11895         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11896         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11897         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11898         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11899         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11900         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11901         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11902         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11903         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11905         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11906         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11908         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11909         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11911         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11912         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11913         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11914         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11915         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11916         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11917         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11918         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11919         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11920         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11921         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11922         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11923         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11924         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11925         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11927         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11929         Moved ...
11930         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11934         Moved ...
11935         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11939         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11941         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11943         Moved ...
11944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11946         Moved ...
11947         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11949         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11953         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11954         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11955         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11956         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11957         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11958         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11959         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11960         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11961         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11962         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11963         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11965         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11966         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11967         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11968         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11969         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11971         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11972         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11973         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11974         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11975         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11976         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11977         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11978         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11979         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11980         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11985         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11986         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11987         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11988         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11989         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11990         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11991         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11992         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11993         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11994         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11995         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11996         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11997         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11998         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12000         Update #include.
12001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12002         Likewise.
12003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12004         Likewise.
12005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12006         Likewise.
12007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12008         Likewise.
12009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12010         Likewise.
12011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12012         Likewise.
12013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12014         Likewise.
12015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12016         Likewise.
12017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12018         Likewise.
12019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12035         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12036         that was previously under [RESET_PID].
12037         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12038         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12039         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12041         * sysdeps/i386/nptl/Implies: New file.
12042         * sysdeps/x86_64/nptl/Implies: New file.
12043         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12044         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12045         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12046         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12048         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12049         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12050         (__libc_vfork): New strong alias.
12051         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12052         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12054         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12055         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12056         (__libc_vfork): New strong alias.
12057         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12058         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12060         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12061         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12062         (__libc_vfork): New strong alias.
12063         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12064         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12065         * nptl/pt-vfork.c: New file.
12066         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12067         (libpthread: GLIBC_2.20): New version set (empty).
12069 2014-05-14  Will Newton  <will.newton@linaro.org>
12071         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12072         rather than #if.
12074 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12076         [BZ #16564]
12077         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12078         arguments with exponent 65 or above.
12079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12080         arguments 0x1p113L or above.
12081         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12082         to arguments 0x1p107L or above.
12083         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12084         positive arguments with exponent 65 or above.
12085         * math/auto-libm-test-in: Add more tests of log1p.
12086         * math/auto-libm-test-out: Regenerated.
12088         [BZ #16928]
12089         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12090         non-finite arguments is +0.
12091         * math/s_cacosf.c (__cacosf): Likewise.
12092         * math/s_cacosl.c (__cacosl): Likewise.
12093         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12094         * sysdeps/i386/fpu/libm-test-ulps: Update.
12095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12097         [BZ #16927]
12098         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12099         value.
12100         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12101         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12102         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12103         for explicit high bit of mantissa when testing for argument equal
12104         to 1.
12105         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12106         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12109         [BZ #16516]
12110         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12111         (__erf): Scale by 16 instead of 8 in potentially underflowing
12112         case.  Ensure exception if result actually underflows.
12113         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12114         (__erff): Scale by 16 instead of 8 in potentially underflowing
12115         case.  Ensure exception if result actually underflows.
12116         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12117         (efx8): Remove variable.
12118         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12119         case.  Ensure exception if result actually underflows.
12120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12121         (efx8): Remove variable.
12122         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12123         case.  Ensure exception if result actually underflows.
12124         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12125         (efx8): Remove variable.
12126         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12127         case.  Ensure exception if result actually underflows.
12128         * math/auto-libm-test-in: Add more tests of erf.
12129         * math/auto-libm-test-out: Regenerated.
12131 2014-05-14  Andreas Schwab  <schwab@suse.de>
12133         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12134         Remove code conditionalized on USE___THREAD.
12136         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12137         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12138         not definedness.
12140 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12142         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12143         Define unconditionally.
12144         (__ASSUME_O_CLOEXEC): Likewise.
12145         (__ASSUME_SOCK_CLOEXEC): Likewise.
12146         (__ASSUME_IN_NONBLOCK): Likewise.
12147         (__ASSUME_PIPE2): Likewise.
12148         (__ASSUME_EVENTFD2): Likewise.
12149         (__ASSUME_SIGNALFD4): Likewise.
12150         (__ASSUME_DUP3): Likewise.
12151         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12152         (__ASSUME_DUP3): Do not define.
12153         (__ASSUME_EVENTFD2): Likewise.
12154         (__ASSUME_IN_NONBLOCK): Likewise.
12155         (__ASSUME_O_CLOEXEC): Likewise.
12156         (__ASSUME_PIPE2): Likewise.
12157         (__ASSUME_SIGNALFD4): Likewise.
12158         (__ASSUME_SOCK_CLOEXEC): Likewise.
12159         (__ASSUME_UTIMES): Undefine.
12160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12161         (__ASSUME_UTIMES): Do not define.
12162         (__ASSUME_O_CLOEXEC): Likewise.
12163         (__ASSUME_SOCK_CLOEXEC): Likewise.
12164         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12165         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12166         0x020621].
12167         (__ASSUME_PIPE2): Likewise.
12168         (__ASSUME_EVENTFD2): Likewise.
12169         (__ASSUME_SIGNALFD4): Likewise.
12170         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12171         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12172         Do not define.
12173         (__ASSUME_EVENTFD2): Likewise.
12174         (__ASSUME_SIGNALFD4): Likewise.
12175         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12176         (__ASSUME_32BITUIDS): Likewise.
12177         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12178         (__ASSUME_IPC64): Likewise.
12179         (__ASSUME_ST_INO_64_BIT): Likewise.
12180         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12181         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12182         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12183         (__ASSUME_UTIMES): Do not define.
12184         (__ASSUME_PSELECT): Likewise.
12185         (__ASSUME_PPOLL): Likewise.
12186         (__ASSUME_O_CLOEXEC): Likewise.
12187         (__ASSUME_SOCK_CLOEXEC): Likewise.
12188         (__ASSUME_IN_NONBLOCK): Likewise.
12189         (__ASSUME_PIPE2): Likewise.
12190         (__ASSUME_EVENTFD2): Likewise.
12191         (__ASSUME_SIGNALFD4): Likewise.
12192         (__ASSUME_DUP3): Likewise.
12193         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12194         (__ASSUME_UTIMES): Likewise.
12195         (__ASSUME_O_CLOEXEC): Likewise.
12196         (__ASSUME_SOCK_CLOEXEC): Likewise.
12197         (__ASSUME_IN_NONBLOCK): Likewise.
12198         (__ASSUME_PIPE2): Likewise.
12199         (__ASSUME_EVENTFD2): Likewise.
12200         (__ASSUME_SIGNALFD4): Likewise.
12201         (__ASSUME_DUP3): Likewise.
12202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12203         (__ASSUME_UTIMES): Likewise.
12204         (__ASSUME_O_CLOEXEC): Likewise.
12205         (__ASSUME_SOCK_CLOEXEC): Likewise.
12206         (__ASSUME_IN_NONBLOCK): Likewise.
12207         (__ASSUME_PIPE2): Likewise.
12208         (__ASSUME_EVENTFD2): Likewise.
12209         (__ASSUME_SIGNALFD4): Likewise.
12210         (__ASSUME_DUP3): Likewise.
12211         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12212         Likewise.
12213         (__ASSUME_UTIMES): Likewise.
12214         (__ASSUME_EVENTFD2): Likewise.
12215         (__ASSUME_SIGNALFD4): Likewise.
12216         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12217         (__ASSUME_O_CLOEXEC): Likewise.
12218         (__ASSUME_SOCK_CLOEXEC): Likewise.
12219         (__ASSUME_IN_NONBLOCK): Likewise.
12220         (__ASSUME_PIPE2): Likewise.
12221         (__ASSUME_EVENTFD2): Likewise.
12222         (__ASSUME_SIGNALFD4): Likewise.
12223         (__ASSUME_DUP3): Likewise.
12224         (__ASSUME_UTIMES): Undefine.
12226         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12227         feclearexcept.  Remove symbol versioning code.
12228         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12229         symbol versioning code.
12230         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12231         symbol versioning code.
12232         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12233         feupdateenv.  Remove symbol versioning code.
12234         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12235         fegetexceptflag.  Remove symbol versioning code.
12236         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12237         fesetexceptflag.  Remove symbol versioning code.
12238         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12239         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12240         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12241         (__posix_fadvise64_l32): Remove prototype.
12242         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12243         code.
12245 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12247         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12248         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12249         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12250         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12252 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12254         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12255         current working directory
12257 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12259         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12260         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12261         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12262         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12263         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12264         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12265         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12266         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12267         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12268         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12269         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12270         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12271         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12272         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12273         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12274         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12275         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12276         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12277         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12278         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12279         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12280         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12281         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12282         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12284         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12286         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12290         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12291         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12292         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12293         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12294         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12295         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12296         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12297         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12298         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12299         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12300         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12302         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12303         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12305         * sysdeps/unix/sysv/linux/arm/Makefile
12306         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12307         Add rt-aeabi_unwind_cpp_pr1.
12308         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12309         Add nptl-aeabi_unwind_cpp_pr1.
12310         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12311         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12312         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12313         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12314         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12315         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12317         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12318         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12319         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12320         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12322         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12323         Deconditionalize the code that was previously under [RESET_PID].
12324         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12326         * sysdeps/generic/exit-thread.h: New file.
12327         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12328         * include/unistd.h (__exit_thread): Remove declaration.
12329         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12330         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12331         * csu/libc-start.c: Include <exit-thread.h>.
12332         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12333         * nptl/pthread_create.c: Include <exit-thread.h>.
12334         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12335         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12336         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12337         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12338         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12339         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12340         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12341         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12342         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12343         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12344         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12345         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12346         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12347         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12348         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12349         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12350         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12352 2014-05-13  Andreas Schwab  <schwab@suse.de>
12354         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12356 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12358         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12359         (__ASSUME_UTIMES): Do not condition on kernel version.
12360         (__ASSUME_PSELECT): Define unconditionally.
12361         (__ASSUME_PPOLL): Likewise.
12362         (__ASSUME_ATFCTS): Likewise.
12363         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12364         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12365         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12366         (__ASSUME_UTIMENSAT): Define unconditionally.
12367         (__ASSUME_PRIVATE_FUTEX): Likewise.
12368         (__ASSUME_FALLOCATE): Likewise.
12369         (__ASSUME_O_CLOEXEC): Likewise.
12370         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12371         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12372         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12373         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12374         (__ASSUME_IN_NONBLOCK): Likewise.
12375         (__ASSUME_PIPE2): Likewise.
12376         (__ASSUME_EVENTFD2): Likewise.
12377         (__ASSUME_SIGNALFD4): Likewise.
12378         (__ASSUME_DUP3): Likewise.
12379         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12380         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12381         (__ASSUME_AT_RANDOM): Likewise.
12382         (__ASSUME_PREADV): Likewise.
12383         (__ASSUME_PWRITEV): Likewise.
12384         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12385         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12386         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12387         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12388         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12390         (__ASSUME_O_CLOEXEC): Define unconditionally.
12391         (__ASSUME_PSELECT): Do not undefine conditionally.
12392         (__ASSUME_PPOLL): Likewise.
12393         (__ASSUME_ATFCTS): Likewise.
12394         (__ASSUME_SET_ROBUST_LIST): Likewise.
12395         (__ASSUME_UTIMENSAT): Likewise.
12396         (__ASSUME_FDATASYNC): Define unconditionally.
12397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12398         (__ASSUME_SIGFRAME_V2): Likewise.
12399         )__ASSUME_EVENTFD2): Likewise.
12400         (__ASSUME_SIGNALFD4): Likewise.
12401         (__ASSUME_PSELECT): Do not undefine conditionally.
12402         (__ASSUME_PPOLL): Likewise.
12403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12404         (__ASSUME_PSELECT): Define unconditionally.
12405         (__ASSUME_PPOLL): Likewise.
12406         (__ASSUME_O_CLOEXEC): Likewise.
12407         (__ASSUME_SOCK_CLOEXEC): Likewise.
12408         (__ASSUME_IN_NONBLOCK): Likewise.
12409         (__ASSUME_PIPE2): Likewise.
12410         (__ASSUME_EVENTFD2): Likewise.
12411         (__ASSUME_SIGNALFD4): Likewise.
12412         (__ASSUME_DUP3): Likewise.
12413         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12414         (__ASSUME_O_CLOEXEC): Likewise.
12415         (__ASSUME_SOCK_CLOEXEC): Likewise.
12416         (__ASSUME_IN_NONBLOCK): Likewise.
12417         (__ASSUME_PIPE2): Likewise.
12418         (__ASSUME_EVENTFD2): Likewise.
12419         (__ASSUME_SIGNALFD4): Likewise.
12420         (__ASSUME_DUP3): Likewise.
12421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12422         (__ASSUME_EVENTFD2): Likewise.
12423         (__ASSUME_SIGNALFD4): Likewise.
12424         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12426 2014-05-12  Andreas Schwab  <schwab@suse.de>
12428         [BZ #16932]
12429         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12430         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12431         than maximum RPC packet size.
12432         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12433         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12434         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12435         (_nss_nis_getservbyport_r): Likewise.
12437 2014-05-12  Will Newton  <will.newton@linaro.org>
12439         * malloc/Makefile (tests): Add tst-mallopt.
12440         * malloc/tst-mallopt.c: New file.
12442 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12444         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12445         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12447 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12449         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12450         (tst-tlsmod6.so): Likewise.
12452 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12454         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12456 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12458         [BZ #16064]
12459         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12460         and <dl-procinfo.h>.
12461         (__fegetenv): Save SSE state in envp->__eip if supported.
12462         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12463         envp->__eip if supported.
12464         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12465         and <dl-procinfo.h>.
12466         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12467         __data_offset and __data_selector in environment to 0.  Set SSE
12468         state if supported.
12469         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12470         test-fenv-sse.
12471         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12472         -mfpmath=sse.
12473         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12475 2014-05-09  Will Newton  <will.newton@linaro.org>
12477         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12478         and libc_relro_required for ARM.
12479         * sysdeps/arm/preconfigure: Regenerate.
12481 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12482             Stefan Liebler  <stli@linux.vnet.ibm.com>
12484         * config.make.in (enable-lock-elision): New Makefile variable.
12485         * configure.ac: Likewise.
12486         * configure: Regenerate.
12487         * sysdeps/s390/configure.ac:
12488         Add check for gcc transactions support.
12489         * sysdeps/s390/configure: Regenerate.
12490         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12491         Build elision files if enabled.
12492         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12493         Add lock elision support for s390.
12494         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12495         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12496         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12497         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12498         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12499         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12500         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12501         Likewise.
12502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12503         Likewise.
12504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12505         Likewise.
12506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12507         Likewise.
12508         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12509         (__lll_timedlock_elision, __lll_lock_elision)
12510         (__lll_unlock_elision, __lll_trylock_elision)
12511         (lll_timedlock_elision, lll_lock_elision)
12512         (lll_unlock_elision, lll_trylock_elision): Add.
12513         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12514         (pthread_mutex_t): Add lock elision support for s390.
12516 2014-05-14  Wilco  <wdijkstr@arm.com>
12518         * sysdeps/arm/fclrexcpt.c: Cleanup.
12519         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12520         * sysdeps/arm/feenablxcpt.c: Cleanup.
12521         * sysdeps/arm/fegetenv.c: Cleanup.
12522         * sysdeps/arm/fegetexcept.c: Cleanup.
12523         * sysdeps/arm/fegetround.c: Cleanup.
12524         * sysdeps/arm/feholdexcpt.c: Cleanup.
12525         * sysdeps/arm/fesetenv.c: Cleanup.
12526         * sysdeps/arm/fesetround.c: Cleanup.
12527         * sysdeps/arm/feupdateenv.c: Cleanup.
12528         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12529         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12530         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12531         * sysdeps/arm/ftestexcept.c: Cleanup.
12532         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12533         * sysdeps/arm/setfpucw.c: Cleanup.
12535 2014-05-09  Will Newton  <will.newton@linaro.org>
12537         * sysdeps/arm/armv7/strcmp.S: New file.
12538         * NEWS: Mention addition of ARMv7 optimized strcmp.
12540 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12542         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12543         look for %.ac rather than %.in.
12545         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12546         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12547         * sysdeps/mach/hurd/configure: Regenerated.
12548         * sysdeps/unix/sysv/linux/configure: Regenerated.
12550         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12552 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12554         [BZ# 16922]
12555         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12556         (LONG_SUB): Ditto.
12557         (PTR_SUB): Ditto.
12559 2014-05-07  Andreas Schwab  <schwab@suse.de>
12561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12562         when skipping over non-matching result from nscd.
12564 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12566         [BZ #16876]
12567         * nptl/sockperf.c (client): Check socket return value.
12569         [BZ #16877]
12570         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12571         nscd security class.
12573 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12575         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12576         * sysdeps/arm/unwind.h: ... here.
12578 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12580         [BZ# 16916]
12581         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12582         Define.
12584 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12586         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12587         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12588         multiarch strncpy for PPC64.
12589         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12590         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12592         multiarch optimizations.
12593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12594         (__libc_ifunc_impl_list): Likewise.
12595         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12596         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12597         multiarch stpncpy for PPC64.
12598         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12599         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12601 2014-05-06  Andreas Schwab  <schwab@suse.de>
12603         [BZ #16912]
12604         * gmon/mcount.c (_MCOUNT_DECL): Use
12605         atomic_compare_and_exchange_bool_acq instead of
12606         catomic_compare_and_exchange_bool_acq.
12608 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12610         * elf/Makefile (others, install-bin): Remove pldd.
12611         (pldd-modules): Variable removed.
12612         ($(objpfx)pldd): Target removed.
12613         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12614         (others, install-bin): Append pldd here.
12615         ($(objpfx)pldd): New target.
12617         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12618         to 0, so the first #if test emitted later doesn't see it undefined.
12619         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12620         * sysdeps/gnu/errlist.c: Regenerated.
12622 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12625         [libc_hidden_builtin_def]: Define to empty value.
12626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12627         [libc_hidden_builtin_def]: Likewise.
12628         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12629         [libc_hidden_builtin_def]: Likewise.
12630         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12631         [libc_hidden_builtin_def]: Likewise.
12632         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12633         __redirect_memcpy and define ifunc as default hidden symbol.
12634         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12635         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12637 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12639         * locale/iso-4217.def: Reintroduce XDR currency.
12641 2014-05-04  Allan McRae  <allan@archlinux.org>
12643         * po/eo.po: Update Esperanto translation from translation project.
12645 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12647         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12648         and FEATURE_INDEX_MAX to 1.
12649         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12651 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12653         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12654         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12655         * iconvdata/big5.c (ONE_DIRECTION): Define.
12656         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12657         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12658         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12659         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12660         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12661         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12662         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12663         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12664         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12665         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12666         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12667         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12668         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12669         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12670         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12671         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12672         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12673         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12674         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12675         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12676         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12677         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12678         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12679         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12680         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12681         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12682         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12683         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12684         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12685         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12686         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12687         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12688         * iconvdata/johab.c (ONE_DIRECTION): Define.
12689         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12690         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12691         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12692         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12693         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12694         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12695         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12696         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12697         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12698         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12700 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12702         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12703         (_IO_JUMPS_OFFSET): Define to 0.
12705         * nptl/sysdeps/pthread/bits/libc-lock.h
12706         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12707         (__libc_lock_define_initialized_recursive): Always define using
12708         initializer.  Modern compilers treat uninitialized (implicit zero) and
12709         explicit zero initializers the same (i.e. put the datum in bss).
12711 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12713         * nscd/nscd-client.h: Include <string.h>.
12715 2014-05-01  David S. Miller  <davem@davemloft.net>
12717         [BZ #16885]
12718         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12719         multiple zero bytes exist at the end of a string.
12720         Reported by Aurelien Jarno <aurelien@aurel32.net>
12722         * string/test-strcmp.c (check): Add explicit test for situations where
12723         there are multiple zero bytes after the first.
12725 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12727         [BZ #16890]
12728         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12729         when compiling wprintf.
12730         * stdio-common/tstdiomisc.c (t3): New function.
12731         (main): Call it.
12733 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12735         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12736         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12737         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12738         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12740 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12742         * stdlib/longlong.h: Updated from GCC.
12744 2014-05-01  Will Newton  <will.newton@linaro.org>
12745             Bernard Ogden  <bernie.ogden@linaro.org>
12747         * NEWS: Update fixed bug list.
12749         [BZ #15119]
12750         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12752 2014-04-30  David S. Miller  <davem@davemloft.net>
12754         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12755         (libc_feholdexcept_setround_sparc_ctx): New function.
12756         (libc_fesetenv_sparc_ctx): Likewise.
12757         (libc_feupdateenv_sparc_ctx): Likewise.
12758         (libc_feholdsetround_sparc_ctx): Likewise.
12759         (libc_feholdexcept_setround_ctx): Define.
12760         (libc_feholdexcept_setroundf_ctx): Likewise.
12761         (libc_feholdexcept_setroundl_ctx): Likewise.
12762         (libc_fesetenv_ctx): Likewise.
12763         (libc_fesetenvf_ctx): Likewise.
12764         (libc_fesetenvl_ctx): Likewise.
12765         (libc_feupdateenv_ctx): Likewise.
12766         (libc_feupdateenvf_ctx): Likewise.
12767         (libc_feupdateenvl_ctx): Likewise.
12768         (libc_feresetround_ctx): Likewise.
12769         (libc_feresetroundf_ctx): Likewise.
12770         (libc_feresetroundl_ctx): Likewise.
12771         (libc_feholdsetround_ctx): Likewise.
12772         (libc_feholdsetroundf_ctx): Likewise.
12773         (libc_feholdsetroundl_ctx): Likewise.
12775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12776         with __USE_GNU instead of XOPEN cpp guards.
12778         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12779         0.
12781         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12782         with XOPEN cpp guards.
12784 2014-04-30  Julian Brown  <julian@codesourcery.com>
12786         [BZ #16888]
12787         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12788         handling.
12790 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12792         [BZ #9894]
12793         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12794         Change to 2.6.32.
12795         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12796         * sysdeps/unix/sysv/linux/configure: Regenerated.
12797         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12798         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12799         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12800         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12801         * README: Update reference to required Linux kernel version.
12802         * manual/install.texi (Linux): Update reference to required Linux
12803         kernel headers version.
12804         * INSTALL: Regenerated.
12806         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12807         header inclusion.
12808         [POSIX] (limits.h): Likewise.
12809         [POSIX] (math.h): Likewise.
12810         [POSIX] (sys/wait.h): Likewise.
12811         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12812         function.
12813         [POSIX] (stddef.h): Do not allow header inclusion.
12815 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12817         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12819 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12821         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12822         Return immediately after lll_futex_wake.
12824 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12826         [BZ #16791]
12827         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12828         structure.
12829         (datahead_init_pos): Call datahead_init_common early.
12830         (datahead_init_neg): Likewise.
12832         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12833         datahead_init_neg): New functions.
12834         * nscd/aicache.c (addhstaiX): Use them.
12835         * nscd/grpcache.c (cache_addgr): Likewise.
12836         * nscd/hstcache.c (cache_addhst): Likewise.
12837         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12838         * nscd/netgroupcache.c (do_notfound): Likewise.
12839         (addgetnetgrentX): Likewise.
12840         (addinnetgrX): Likewise.
12841         * nscd/pwdcache.c (cache_addpw): Likewise.
12842         * nscd/servicescache.c (cache_addserv): Likewise.
12844 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12845             Atsushi Onoe  <atsushi@onoe.org>
12847         [BZ #14308]
12848         [BZ #12994]
12849         [BZ #13651]
12850         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12851         one response is valid.
12852         * resolv/res_send.c (send_dg): Check for validity of other
12853         response if the current response is a referral.
12855 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12857         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12859 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12861         [BZ #16823]
12862         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12863         Always divide by positive zero when computing -Inf result.
12864         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12865         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12867 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12869         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12870         FPSCR if value do not change.
12871         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12872         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12873         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12874         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12875         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12876         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12877         function.
12879 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12881         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12882         * sysdeps/unix/sysv/linux/hppa: Move directory from
12883         ports/systeps/unix/sysv/linux/hppa.
12884         * README: Update listing for hppa-*-linux-gnu.
12886 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12888         [BZ #16754]
12889         * manual/stdio.texi (Hook functions): Fix types of stream hook
12890         functions.
12891         [BZ #16854]
12892         * socket/sys/socket.h: Fix typo in comment.
12894 2014-04-28  Wilco  <wdijkstr@arm.com>
12896         * sysdeps/arm/fenv_private.h: New file.
12897         * sysdeps/arm/math_private.h: New file.
12898         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12900 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12902         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12903         with __int128_t.
12904         (La_x86_64_retval): Likewise.
12906 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12908         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12909         fpsr if value didn't change.
12910         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12911         to fpcr if value didn't change.
12912         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12913         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12914         fpsr or fpcr if value didn't change.
12915         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12916         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12917         fpcr if value didn't change.
12918         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12919         to fpsr if value didn't change.
12921 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12923         * nptl/tst-sem3.c: Use test-skeleton.c
12924         (main): Rename to do_test.  Use return instead of
12925         exit.
12926         * nptl/tst-sem4.c: Use test-skeleton.c
12927         (main): Rename to do_test.
12929 2014-04-22  David S. Miller  <davem@davemloft.net>
12931         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12932         (struct sigaction): New struct member __glibc_reserved0, change
12933         type of sa_flags to int.
12935 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12937         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12938         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12940 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12942         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12943         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12945 2014-04-22  Will Newton  <will.newton@linaro.org>
12946             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12948         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12949         (__longjmp): Add longjmp and longjmp_target SystemTap
12950         probes.
12951         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12952         (__sigsetjmp): Add setjmp SystemTap probe.
12954 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12956         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12957         match manual order.
12959 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12961         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12963         * sysdeps/powerpc/fpu/fenv_private.h
12964         (libc_feholdexcept_setroundl_ctx): Define to
12965         libc_feholdexcept_setround_ppc_ctx.
12966         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12967         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12968         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12969         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12971 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12973         * sysdeps/aarch64/math-tests.h: New file.
12975 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12977         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12978         New.
12979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12980         Check and set bit_AVX2_Usable.
12981         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12982         macro.
12983         (bit_AVX2): Likewise.
12984         (index_AVX2_Usable): Likewise.
12985         (CPUID_AVX2): Likewise.
12986         (HAS_AVX2): Likewise.
12988 2014-04-17  Will Newton  <will.newton@linaro.org>
12990         * manual/setjmp.texi (System V contexts): Add note that
12991         calling setcontext on a context created by a call to a
12992         signal handler is undefined.  Update text to note that
12993         setcontext from a signal handler is possible but not
12994         recommended.
12996         [BZ #16629]
12997         * stdlib/tst-setcontext.c: Include signal.h.
12998         (main): Check that the signal stack before and
12999         after swapcontext is the same.
13001         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13002         Re-implement to restore registers in user code and avoid
13003         rt_sigreturn system call.
13005 2014-04-17  Wilco  <wdijkstr@arm.com>
13007         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13008         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13009         * math/test-fenv.c: Skip exception trap tests on targets which only
13010         support non-stop mode.
13012 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13013             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13015         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13016         (libc_feholdsetround_aarch64_ctx)
13017         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13018         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13019         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13020         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13021         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13022         (libc_feresetround_noexl_ctx): Define.
13024 2014-04-16  Richard Henderson  <rth@redhat.com>
13026         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13028         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13029         unwind tables.
13031         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13032         const from the non-libc, non-ldso copy.
13034         * sysdeps/alpha/libm-test-ulps: Regenerate.
13036 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13037             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13039         * sysdeps/aarch64/fpu/math_private.h: New file.
13041 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13043         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13045 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13047         [BZ #16275]
13048         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13049         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13051         Intel MPX bound registers before _dl_profile_fixup.
13052         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13053         registers after _dl_profile_fixup.  Save and restore bound
13054         registers bnd0/bnd1 when calling _dl_call_pltexit.
13055         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13056         (LR_BND_OFFSET): Likewise.
13057         (LRV_BND0_OFFSET): Likewise.
13058         (LRV_BND1_OFFSET): Likewise.
13060 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13062         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13063         to...
13064         * sysdeps/mach/hurd/i386/tls.h: ... here.
13065         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13066         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13067         fields.
13069 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13071         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13073 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13075         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13077 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13079         [BZ #14770]
13080         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13081         * sysdeps/s390/configure: Regenerate.
13083         [BZ #16824]
13084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13085         Set round-to-nearest internally to reduce error accumulation.
13087 2014-04-16  Alan Modra  <amodra@gmail.com>
13089         [BZ #16740]
13090         [BZ #16619]
13091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13092         * math/libm-test.inc (frexp_test_data): Add tests.
13093         * NEWS: Update fixed bug list.
13095 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13097         * benchtests/Makefile: Depend on libraries in build directory.
13098         (bench-math): Separate out math tests.
13099         (bench-pthread): Separate out pthread tests.
13100         (bench): Include math and pthread tests.
13102 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13104         [BZ #16831]
13105         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13106         _dl_debug_initialize.
13108         * configure.ac: Remove SELinux header check.
13109         * configure: Regenerate.
13110         * nscd/selinux.c (perms): Array of const char* to permission names.
13111         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13112         default policy. Call string_to_security_class and string_to_av_perm to
13113         translate strings. Enforce default policy and call avs_has_perm with
13114         results of translated strings.
13116 2014-04-13  David S. Miller  <davem@davemloft.net>
13118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13120 2014-04-12  Allan McRae  <allan@archlinux.org>
13122         [BZ #16838]
13123         * manual/string.texi (Collation Functions): Fix qsort argument
13124         order in example.
13125         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13127 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13129         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13130         Make the test a no-op if there are no exceptions defined.
13132 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13134         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13135         enable-hardcoded-path-in-tests
13137 2014-04-11  Will Newton  <will.newton@linaro.org>
13139         * benchtests/Makefile (extra-objs): Add json-lib.o.
13140         (bench-func): Tidy up JSON output.
13141         * benchtests/bench-skeleton.c: Include json-lib.h.
13142         (main): Use JSON library functions to do output of
13143         benchmark results.
13144         * benchtests/bench-timing-type.c (main): Output the
13145         timing type simply, leaving formatting to the user.
13146         * benchtests/json-lib.c: New file.
13147         * benchtests/json-lib.h: Likewise.
13149 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13151         [BZ #15215]
13152         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13153         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13154         memory barriers.  Add comments.
13155         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13156         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13157         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13158         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13159         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13160         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13162 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13164         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13165         * sysdeps/s390/s390-64/configure.ac: ... this ...
13166         * sysdeps/s390/configure.ac: ... to here.
13167         * sysdeps/s390/s390-32/configure: Delete file.
13168         * sysdeps/s390/s390-64/configure: Delete file.
13169         * sysdeps/s390/configure: Regenerate.
13171 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13173         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13175 2014-04-11  Will Newton  <will.newton@linaro.org>
13177         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13178         to zero if it is not defined elsewhere.  (mtrim): Test
13179         the value of MALLOC_DEBUG with #if rather than #ifdef.
13181 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13183         * benchtests/pthread_once-inputs: New file.
13184         * benchtests/pthread_once-source.c: New file.
13185         * benchtests/README: Update documentation.
13187 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13188             H.J. Lu  <hongjiu.lu@intel.com>
13190         [BZ #16275]
13191         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13192         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13193         * sysdeps/x86_64/configure: Regenerated.
13194         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13195         macro.
13196         (REGISTER_SAVE_RAX): Likewise.
13197         (REGISTER_SAVE_RCX): Likewise.
13198         (REGISTER_SAVE_RDX): Likewise.
13199         (REGISTER_SAVE_RSI): Likewise.
13200         (REGISTER_SAVE_RDI): Likewise.
13201         (REGISTER_SAVE_R8): Likewise.
13202         (REGISTER_SAVE_R9): Likewise.
13203         (REGISTER_SAVE_BND0): Likewise.
13204         (REGISTER_SAVE_BND1): Likewise.
13205         (REGISTER_SAVE_BND2): Likewise.
13206         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13207         bound registers when calling _dl_fixup.
13209 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13211         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13212         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13213         of its definition.
13214         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13215         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13216         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13217         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13218         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13219         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13220         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13222 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13224         [BZ #15514]
13225         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13226         pathconf(_PC_NAME_MAX).
13228 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13230         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13231         Remove macro usage.
13232         (__PTHREAD_SPINS): Move definition to ...
13233         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13234         (__PTHREAD_SPINS): ... here.
13235         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13236         (__PTHREAD_SPIN): Likewise.
13237         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13238         (__PTHREAD_SPIN): Likewise.
13239         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13240         (__PTHREAD_SPIN): Likewise.
13241         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13242         (__PTHREAD_SPIN): Likewise.
13243         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13244         (__PTHREAD_SPIN): Likewise.
13245         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13246         (__PTHREAD_SPIN): Likewise.
13247         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13248         (__PTHREAD_SPIN): Likewise.
13249         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13250         (__PTHREAD_SPIN): Likewise.
13251         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13252         (__PTHREAD_SPIN): Likewise.
13253         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13254         (__PTHREAD_SPIN): Likewise.
13255         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13256         (__PTHREAD_SPIN): Likewise.
13257         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13258         (__PTHREAD_SPIN): Likewise.
13260         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13261         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13262         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13263         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13264         imply folder.
13265         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13266         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13267         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13268         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13269         correct imply path.
13270         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13271         strlen symbol for non multi-arch builds.
13272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13273         missing hidden_def and weak_alias.
13275 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13277         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13279 2014-04-07  Will Newton  <will.newton@linaro.org>
13281         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13282         and contents.  [!_LIBC] Remove #ifndef and contents.
13283         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13284         * string/memccpy.c (__memccpy): Use ANSI prototype.
13285         * string/memfrob.c (memfrob): Likewise.
13286         * string/strcoll.c (STRCOLL): Likewise.
13287         * string/strlen.c (strlen): Likewise.
13288         * string/strtok.c (STRTOK): Likewise.
13289         * string/strcat.c: Remove unused #include of memcopy.h.
13290         (strcat): Use ANSI prototype.
13291         * string/strchr.c: Remove unused #include of memcopy.h.
13292         (strchr): Use ANSI prototype.
13293         * string/strcmp.c: Remove unused #include of memcopy.h.
13294         (strcmp): Use ANSI prototype.
13295         * string/strcpy.c: Remove unused #include of memcopy.h.
13296         (strcpy): Use ANSI prototype.
13298 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13300         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13301         * config.make.in (config-extra-cppflags): Set it from
13302         libc_extra_cppflags.
13303         * configure.ac (libc_extra_cflags): Make it accumulate over
13304         configure fragments.
13305         (libc_extra_cppflags): New flag.
13306         * configure. Regenerate.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13308         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13309         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13312         [BZ #16815]
13313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13314         result for FE_DOWNWARD rounding mode.
13315         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13316         Likewise.
13317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13319 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13321         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13322         in function argument name.
13324 2014-04-03  David Svoboda  <svoboda@cert.org>
13326         [BZ #5666]
13327         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13328         explicitly.
13330 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13332         * elf/dl-unmap-segments.h: New file.
13333         * sysdeps/generic/ldsodefs.h
13334         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13335         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13336         * elf/dl-fptr.c: Likewise.
13337         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13338         * sysdeps/aarch64/tlsdesc.c: Likewise.
13339         * sysdeps/arm/tlsdesc.c: Likewise.
13340         * sysdeps/i386/tlsdesc.c: Likewise.
13341         * sysdeps/tile/dl-runtime.c: Likewise.
13342         * sysdeps/x86_64/tlsdesc.c: Likewise.
13343         * elf/dl-load.h: New file.
13344         * elf/dl-load.c: Include it.
13345         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13346         Macros moved to dl-load.h.
13347         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13348         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13349         Use _dl_unmap_segments in place of __munmap.
13350         Break out segment-mapping loop into ...
13351         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13353 2014-04-03  Will Newton  <will.newton@linaro.org>
13355         * elf/dl-lookup.c (do_lookup_x): Remove comment
13356         referring to nested function and move variable
13357         declarations down to before first use.
13359 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13361         [BZ #16799]
13362         [BZ #16800]
13363         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13364         with 0 numerator.
13365         * math/s_catanf.c (__catanf): Likewise.
13366         * math/s_catanh.c (__catanh): Likewise.
13367         * math/s_catanhf.c (__catanhf): Likewise.
13368         * math/s_catanhl.c (__catanhl): Likewise.
13369         * math/s_catanl.c (__catanl): Likewise.
13370         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13371         by positive zero when computing -Inf result.
13372         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13373         (catanh_test): Likewise.
13374         * sysdeps/i386/fpu/libm-test-ulps: Update.
13375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13377         [BZ #16789]
13378         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13379         instead of using underflowing value in computing result.
13380         * math/s_clog10.c (__clog10): Likewise.
13381         * math/s_clog10f.c (__clog10f): Likewise.
13382         * math/s_clog10l.c (__clog10l): Likewise.
13383         * math/s_clogf.c (__clogf): Likewise.
13384         * math/s_clogl.c (__clogl): Likewise.
13385         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13386         (clog10_test): Likewise.
13387         * sysdeps/i386/fpu/libm-test-ulps: Update.
13388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390 2014-04-02  Alan Modra  <amodra@gmail.com>
13392         [BZ #16739]
13393         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13394         output when value is near a power of two.  Use int64_t for lx and
13395         remove casts.  Use decimal rather than hex exponent constants.
13396         Don't use long double multiplication when double will suffice.
13397         * math/libm-test.inc (nextafter_test_data): Add tests.
13398         * NEWS: Add 16739 and 16786 to bug list.
13400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13402         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13404 2014-04-01  Will Newton  <will.newton@linaro.org>
13406         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13407         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13409 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13411         [BZ #13347]
13412         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13413         * nptl/tst-setuid2.c: New file.
13414         * nptl/Makefile (xtests): Add tst-setuid2.
13416 2014-04-01  Alan Modra  <amodra@gmail.com>
13418         [BZ #16786]
13419         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13421 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13423         [BZ #6803]
13424         [BZ #6804]
13425         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13426         set errno as appropriate.
13427         * math/w_scalbf.c (__scalbf): Likewise.
13428         * math/w_scalbl.c (__scalbl): Likewise.
13429         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13430         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13431         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13432         Add more NaN tests.
13434         [BZ #16349]
13435         * math/w_atan2.c: Include <errno.h>.
13436         (__atan2): Set errno for result underflowing to zero.
13437         * math/w_atan2f.c: Include <errno.h>.
13438         (__atan2f): Set errno for result underflowing to zero.
13439         * math/w_atan2l.c: Include <errno.h>.
13440         (__atan2l): Set errno for result underflowing to zero.
13441         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13442         tests.
13443         * math/auto-libm-test-out: Regenerated.
13445 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13447         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13448         Encode instruction correctly in little endian.
13449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13450         Likewise.
13451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13452         Likewise.
13453         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13454         Likewise.
13455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13456         Likewise.
13458 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13460         [BZ #9894]
13461         * sysdeps/unix/sysv/linux/kernel-features.h
13462         [__sparc__ && !__arch64__ && !__sparc_v9__]
13463         (__ASSUME_SET_ROBUST_LIST): Do not define.
13464         [__sparc__ && !__arch64__ && !__sparc_v9__]
13465         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13466         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13467         Likewise.
13468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13469         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13470         (__ASSUME_REQUEUE_PI): Likewise.
13471         (__ASSUME_SET_ROBUST_LIST): Likewise.
13472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13473         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13474         Undefine.
13475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13477         Likewise.
13478         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13479         Likewise.
13480         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13481         Likewise.
13482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13483         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13484         Undefine.
13485         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13486         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13487         Likewise.
13489         [BZ #16648]
13490         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13492         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13494 2014-03-31  Will Newton  <will.newton@linaro.org>
13496         * benchtests/Makefile (bench): Add ffs and ffsll to list
13497         of tests.
13498         * benchtests/ffs-inputs: New file.
13499         * benchtests/ffsll-inputs: Likewise.
13501 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13503         [BZ #16770]
13504         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13505         too large before casting to int.
13506         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13507         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13508         * math/libm-test.inc (scalb_test_data): Add more tests.
13510 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13512         * benchtests/Makefile (DETAILED_OPT): New make option.
13513         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13514         set.
13515         * benchtests/bench-skeleton.c: Include stdbool.h.
13516         (main): Store and print timings per input.
13517         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13518         member to each argument value.
13519         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13520         (_print_arg_data): Initialize per-input timing to 0.
13522         * benchtests/Makefile (timing-type): New binary.
13523         (bench-clean): Also remove bench-timing-type.
13524         (bench): New target for timing-type.
13525         (bench-func): Print output in JSON format.
13526         * benchtests/bench-skeleton.c (main): Print output in JSON
13527         format.
13528         * benchtests/bench-timing-type.c: New file.
13529         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13530         (TIMING_PRINT_STATS): Remove.
13531         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13532         name separately.
13534         * benchtests/bench-modf.c: Remove.
13535         * benchtests/modf-inputs: New inputs file.
13537 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13539         [BZ #16362]
13540         * math/s_clog10.c (M_PI_LOG10E): New macro.
13541         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13542         imaginary parts are 0.
13543         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13544         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13545         imaginary parts are 0.
13546         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13547         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13548         imaginary parts are 0.
13549         * math/libm-test.inc (clog10_test_data): Update expected results
13550         for when real and imaginary parts are 0.
13552 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13554         * elf/dl-load.c: Finish conversion of __builtin_expect into
13555         __glibc_{un}likely.
13557 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13559         [BZ #16348]
13560         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13561         1+x for argument with exponent below -67.
13562         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13563         Likewise.
13564         * math/auto-libm-test-in: Add more tests of exp.
13565         * math/auto-libm-test-out: Regenerated.
13567 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13569         [BZ #16759]
13570         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13571         (nscd_getnetgrent): Use it.
13573         [BZ #16760]
13574         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13575         of stpcpy.
13577 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13579         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13580         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13581         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13582         (lll_robust_unlock): Remove out of line section. Use cfi
13583         intrinsics.
13584         (LLL_STUB_UNWIND_INFO*): Remove.
13585         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13586         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13587         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13588         (lll_robust_unlock): Remove out of line section. Use cfi
13589         intrinsics.
13590         (LLL_STUB_UNWIND_INFO*): Remove.
13592 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13594         [BZ #16758]
13595         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13596         blank values.
13598 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13600         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13602 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13604         [BZ #16198]
13605         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13606         fnstenv.
13607         * math/test-fenv-preserve.c: New file.
13608         * math/Makefile (tests): Add test-fenv-preserve.
13610 2014-03-26  Will Newton <will.newton@linaro.org>
13612         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13614 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13616         * scripts/versionlist.awk: Partition the version sets and emit all
13617         GLIBC_* (sorted) before all others (sorted).
13619 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13621         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13622         GLIBC_2.2.5 version.
13624 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13626         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13627         calls.
13629         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13630         previous change.
13632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13634 2014-03-25  Andreas Schwab  <schwab@suse.de>
13636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13637         label to be used after in6ailist is initialized.
13639 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13641         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13642         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13644 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13646         [BZ #16357]
13647         [BZ #16599]
13648         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13649         min_plus_half.
13650         (fp_formats): Update initializers.
13651         (init_fp_formats): Initialize new field.
13652         (output_for_one_input_case): Allow underflow for results up to
13653         min_plus_half.
13654         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13655         * math/auto-libm-test-in: Don't mark some underflows from asin and
13656         atanh as spurious.
13657         * math/auto-libm-test-out: Regenerated.
13658         * sysdeps/i386/fpu/libm-test-ulps: Update.
13659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13661 2014-03-25  Andreas Schwab  <schwab@suse.de>
13663         * libio/Makefile (tst-ftell-partial-wide-ENV)
13664         (tst-ftell-active-handler-ENV): Define.
13666 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13668         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13670 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13672         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13674 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13676         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13677         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13678         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13680 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13682         [BZ #16634]
13683         * elf/dl-load.c (open_verify): Add mode parameter.
13684         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13685         (open_path): Change from boolean 'secure' to complete flag 'mode'
13686         (_dl_map_object): Adjust.
13687         * elf/Makefile (tests): Add tst-dlopen-aout.
13688         * elf/tst-dlopen-aout.c: New test.
13690 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13692         [BZ #16714]
13693         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13694         (struct stat): Rename member pad0 to __glibc_reserved0.
13696         [BZ #16712]
13697         * sysdeps/s390/s390-32/bits/wordsize.h
13698         (__WORDSIZE32_SIZE_ULONG): New define.
13699         * sysdeps/s390/s390-64/bits/wordsize.h
13700         (__WORDSIZE32_SIZE_ULONG): Likewise.
13701         * sysdeps/generic/stdint.h (SIZE_MAX):
13702         Define as UL if __WORDSIZE32_SIZE_ULONG.
13704         [BZ #16713]
13705         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13706         (__glibc_reserved0): New variable.
13707         (sa_flags): Change type to int.
13709         * posix/Makefile (before-compile): Use += before-compile instead
13710         of a :=.
13712         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13713         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13715 2014-03-20  Andreas Schwab  <schwab@suse.de>
13717         [BZ #16743]
13718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13719         non-matching result from nscd.
13721 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13723         * scripts/bench.py: Moved to ...
13724         * benchtests/scripts/bench.py: ... here.
13725         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13727 2014-03-24  Andreas Schwab  <schwab@suse.de>
13729         [BZ #16002]
13730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13731         alloca_account and account alloca use for struct in6ailist.
13733 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13735         [BZ #16284]
13736         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13737         rounding mode to recompute results that overflow to infinity or
13738         underflow to zero.
13739         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13740         bug 16284.
13741         * math/auto-libm-test-out: Regenerated.
13742         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13743         (ccosh_test): Likewise.
13744         (csin_test_data): Use plus_oflow.
13745         (csin_test): Use ALL_RM_TEST.
13746         (csinh_test_data): Use plus_oflow.
13747         (csinh_test): Use ALL_RM_TEST.
13748         * sysdeps/i386/fpu/libm-test-ulps: Update.
13749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13751 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13753         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13754         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13755         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13757         [BZ #16731]
13758         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13759         when x - 1 is zero.
13760         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13761         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13762         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13764         argument is 1.
13765         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13766         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13767         zero.
13768         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13769         * sysdeps/i386/fpu/libm-test-ulps: Update.
13770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13772 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13774         * scripts/bench.pl: Remove file.
13775         * scripts/bench.py: New benchmark script.
13776         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13777         * benchtests/README: Mention python dependency.
13778         * scripts/pylintrc: New file.
13779         * scripts/pylint: New file.
13781         * bits/mathdef.h: Use #ifdef instead of #if.
13782         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13783         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13784         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13785         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13786         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13787         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13789 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13790             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13792         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13794         and strpbrk-ppc64 objects.
13795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13796         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13798         multiarch strpbrk for POWER7.
13799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13800         multiarch strpbrk for PPC64.
13801         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13802         ifunc selector.
13803         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13804         strpbrk for POWER7.
13806 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13808         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13809         (atan_test): Likewise.
13810         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13811         (atanh_test): Use ALL_RM_TEST.
13812         (atan2_test_data): Likewise.
13813         (cabs_test): Likewise.
13814         (cacosh_test): Likewise.
13815         (carg_test): Likewise.
13816         (casin_test): Likewise.
13817         (casinh_test): Likewise.
13818         (cbrt_test): Likewise.
13819         (csqrt_test): Likewise.
13820         (erf_test): Likewise.
13821         (erfc_test): Likewise.
13822         (pow10_test): Likewise.
13823         (exp2_test): Likewise.
13824         (hypot_test): Likewise.
13825         (j0_test): Likewise.
13826         (j1_test): Likewise.
13827         (lgamma_test): Likewise.
13828         (gamma_test): Likewise.
13829         (sincos_test): Likewise.
13830         (tanh_test): Likewise.
13831         (y0_test): Likewise.
13832         (y1_test): Likewise.
13833         * sysdeps/i386/fpu/libm-test-ulps: Update.
13834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13836 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13838         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13840         and strcspn-ppc64 objects.
13841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13842         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13843         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13844         multiarch strcspn for POWER7.
13845         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13846         multiarch strcspn for PPC64.
13847         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13848         ifunc selector.
13849         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13850         strcspn for POWER7.
13852 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13854         * math/gen-libm-test.pl (generate_testfile): Expect only function
13855         name as argument to AUTO_TESTS_* and pass results for all rounding
13856         modes to parse_args.
13857         (parse_auto_input): Separate inputs of automatic tests from
13858         outputs before storing in %auto_tests.
13859         * math/libm-test.inc (acos_test_data): Update call to
13860         AUTO_TESTS_f_f.
13861         (acos_test): Use ALL_RM_TEST.
13862         (acos_tonearest_test_data): Remove.
13863         (acos_test_tonearest): Likewise.
13864         (acos_towardzero_test_data): Likewise.
13865         (acos_test_towardzero): Likewise.
13866         (acos_downward_test_data): Likewise.
13867         (acos_test_downward): Likewise.
13868         (acos_upward_test_data): Likewise.
13869         (acos_test_upward): Likewise.
13870         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13871         (asin_test_data): Likewise.
13872         (asin_test): Use ALL_RM_TEST.
13873         (asin_tonearest_test_data): Remove.
13874         (asin_test_tonearest): Likewise.
13875         (asin_towardzero_test_data): Likewise.
13876         (asin_test_towardzero): Likewise.
13877         (asin_downward_test_data): Likewise.
13878         (asin_test_downward): Likewise.
13879         (asin_upward_test_data): Likewise.
13880         (asin_test_upward): Likewise.
13881         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13882         (atan_test_data): Likewise.
13883         (atanh_test_data): Likewise.
13884         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13885         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13886         (carg_test_data): Likewise.
13887         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13888         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13889         (ccosh_test_data): Likewise.
13890         (cexp_test_data): Likewise.
13891         (clog_test_data): Likewise.
13892         (clog10_test_data): Likewise.
13893         (cos_test_data): Update call to AUTO_TESTS_f_f.
13894         (cos_test): Use ALL_RM_TEST.
13895         (cos_tonearest_test_data): Remove.
13896         (cos_test_tonearest): Likewise.
13897         (cos_towardzero_test_data): Likewise.
13898         (cos_test_towardzero): Likewise.
13899         (cos_downward_test_data): Likewise.
13900         (cos_test_downward): Likewise.
13901         (cos_upward_test_data): Likewise.
13902         (cos_test_upward): Likewise.
13903         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13904         (cosh_test): Use ALL_RM_TEST.
13905         (cosh_tonearest_test_data): Remove.
13906         (cosh_test_tonearest): Likewise.
13907         (cosh_towardzero_test_data): Likewise.
13908         (cosh_test_towardzero): Likewise.
13909         (cosh_downward_test_data): Likewise.
13910         (cosh_test_downward): Likewise.
13911         (cosh_upward_test_data): Likewise.
13912         (cosh_test_upward): Likewise.
13913         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13914         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13915         (ctan_test_data): Likewise.
13916         (ctan_test): Use ALL_RM_TEST.
13917         (ctan_tonearest_test_data): Remove.
13918         (ctan_test_tonearest): Likewise.
13919         (ctan_towardzero_test_data): Likewise.
13920         (ctan_test_towardzero): Likewise.
13921         (ctan_downward_test_data): Likewise.
13922         (ctan_test_downward): Likewise.
13923         (ctan_upward_test_data): Likewise.
13924         (ctan_test_upward): Likewise.
13925         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13926         (ctanh_test): Use ALL_RM_TEST.
13927         (ctanh_tonearest_test_data): Remove.
13928         (ctanh_test_tonearest): Likewise.
13929         (ctanh_towardzero_test_data): Likewise.
13930         (ctanh_test_towardzero): Likewise.
13931         (ctanh_downward_test_data): Likewise.
13932         (ctanh_test_downward): Likewise.
13933         (ctanh_upward_test_data): Likewise.
13934         (ctanh_test_upward): Likewise.
13935         (erf_test_data): Update call to AUTO_TESTS_f_f.
13936         (erfc_test_data): Likewise.
13937         (exp_test_data): Likewise.
13938         (exp_test): Use ALL_RM_TEST.
13939         (exp_tonearest_test_data): Remove.
13940         (exp_test_tonearest): Likewise.
13941         (exp_towardzero_test_data): Likewise.
13942         (exp_test_towardzero): Likewise.
13943         (exp_downward_test_data): Likewise.
13944         (exp_test_downward): Likewise.
13945         (exp_upward_test_data): Likewise.
13946         (exp_test_upward): Likewise.
13947         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13948         (exp10_test): Use ALL_RM_TEST.
13949         (exp10_tonearest_test_data): Remove.
13950         (exp10_test_tonearest): Likewise.
13951         (exp10_towardzero_test_data): Likewise.
13952         (exp10_test_towardzero): Likewise.
13953         (exp10_downward_test_data): Likewise.
13954         (exp10_test_downward): Likewise.
13955         (exp10_upward_test_data): Likewise.
13956         (exp10_test_upward): Likewise.
13957         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13958         (expm1_test_data): Likewise.
13959         (expm1_test): Use ALL_RM_TEST.
13960         (expm1_tonearest_test_data): Remove.
13961         (expm1_test_tonearest): Likewise.
13962         (expm1_towardzero_test_data): Likewise.
13963         (expm1_test_towardzero): Likewise.
13964         (expm1_downward_test_data): Likewise.
13965         (expm1_test_downward): Likewise.
13966         (expm1_upward_test_data): Likewise.
13967         (expm1_test_upward): Likewise.
13968         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13969         (fma_test): Use ALL_RM_TEST.
13970         (fma_towardzero_test_data): Remove.
13971         (fma_test_towardzero): Likewise.
13972         (fma_downward_test_data): Likewise.
13973         (fma_test_downward): Likewise.
13974         (fma_upward_test_data): Likewise.
13975         (fma_test_upward): Likewise.
13976         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13977         (j0_test_data): Update call to AUTO_TESTS_f_f.
13978         (j1_test_data): Likewise.
13979         (jn_test_data): Update call to AUTO_TESTS_if_f.
13980         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13981         (log_test_data): Update call to AUTO_TESTS_f_f.
13982         (log10_test_data): Likewise.
13983         (log1p_test_data): Likewise.
13984         (log2_test_data): Likewise.
13985         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13986         (pow_tonearest_test_data): Likewise.
13987         (sin_test_data): Update call to AUTO_TESTS_f_f.
13988         (sin_test): Use ALL_RM_TEST.
13989         (sin_tonearest_test_data): Remove.
13990         (sin_test_tonearest): Likewise.
13991         (sin_towardzero_test_data): Likewise.
13992         (sin_test_towardzero): Likewise.
13993         (sin_downward_test_data): Likewise.
13994         (sin_test_downward): Likewise.
13995         (sin_upward_test_data): Likewise.
13996         (sin_test_upward): Likewise.
13997         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13998         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13999         (sinh_test): Use ALL_RM_TEST.
14000         (sinh_tonearest_test_data): Remove.
14001         (sinh_test_tonearest): Likewise.
14002         (sinh_towardzero_test_data): Likewise.
14003         (sinh_test_towardzero): Likewise.
14004         (sinh_downward_test_data): Likewise.
14005         (sinh_test_downward): Likewise.
14006         (sinh_upward_test_data): Likewise.
14007         (sinh_test_upward): Likewise.
14008         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14009         (sqrt_test): Use ALL_RM_TEST.
14010         (sqrt_tonearest_test_data): Remove.
14011         (sqrt_test_tonearest): Likewise.
14012         (sqrt_towardzero_test_data): Likewise.
14013         (sqrt_test_towardzero): Likewise.
14014         (sqrt_downward_test_data): Likewise.
14015         (sqrt_test_downward): Likewise.
14016         (sqrt_upward_test_data): Likewise.
14017         (sqrt_test_upward): Likewise.
14018         (tan_test_data): Update call to AUTO_TESTS_f_f.
14019         (tan_test): Use ALL_RM_TEST.
14020         (tan_tonearest_test_data): Remove.
14021         (tan_test_tonearest): Likewise.
14022         (tan_towardzero_test_data): Likewise.
14023         (tan_test_towardzero): Likewise.
14024         (tan_downward_test_data): Likewise.
14025         (tan_test_downward): Likewise.
14026         (tan_upward_test_data): Likewise.
14027         (tan_test_upward): Likewise.
14028         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14029         (tgamma_test_data): Likewise.
14030         (y0_test_data): Likewise.
14031         (y1_test_data): Likewise.
14032         (yn_test_data): Update call to AUTO_TESTS_if_f.
14033         (main): Do not call removed functions.
14035 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14037         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14038         (ldexp_test_data): Remove.
14039         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14040         scalbn_test_data.
14041         (scalb_test): Use ALL_RM_TEST.
14043 2014-03-19  Andreas Schwab  <schwab@suse.de>
14045         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14047 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14049         [BZ #16649]
14050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14052         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14054         (__ASSUME_PREADV): Undefine.
14055         (__ASSUME_PWRITEV): Likewise.
14057 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14059         * bits/mman-linux.h: Add comment about non-Linux use.
14060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14061         bits/mman-linux.h resting place.
14063         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14064         * bits/mman-linux.h: ... here.
14066 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14068         * conform/conformtest.pl: Add standard definition when calling C
14069         preprocessor on data files.
14070         (checknamespace): Remove unused variable.
14072 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14074         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14075         minus_oflow, plus_uflow and minus_uflow in expected results.
14076         * math/libm-test.inc (scalbn_test_data): Add more tests of
14077         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14078         minus_uflow.
14079         (scalbn_test): Use ALL_RM_TEST.
14080         (scalbln_test_data): Add more tests of negative arguments.  Use
14081         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14082         (scalbln_test): Use ALL_RM_TEST.
14084 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14086         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14088 2014-03-18  Will Newton  <will.newton@linaro.org>
14090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14091         inaccurate comment.
14093 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14095         * Makerules [!subdir] (check-abi): Exit with error status if a
14096         test failed.
14098 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14100         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14101         for rint.  Include results for all rounding modes.
14102         (nearbyint_test): Use ALL_RM_TEST.
14103         (rint_test_data): Include all tests used for nearbyint.
14105 2014-03-17  Will Newton  <will.newton@linaro.org>
14107         * nptl/sysdeps/pthread/pthread.h: Revert previous
14108         change.
14110         * sysdeps/generic/ldsodefs.h: Revert previous
14111         change.
14113         * libio/genops.c: Revert previous change.
14114         * libio/libioP.h: Likewise.
14115         * stdio-common/vfprintf.c: Likewise.
14117         * sysdeps/generic/math_private.h: Revert previous
14118         change.
14120         * sysdeps/generic/math_private.h: Check whether
14121         HAVE_RM_CTX is defined with #ifdef rather
14122         than #if.
14124         * argp/argp-fmtstream.h: Check whether
14125         __STRICT_ANSI__ is defined with #ifdef rather
14126         than #if.
14127         * argp/argp.h: Likewise.
14129         * libio/genops.c: Check whether
14130         _IO_JUMPS_OFFSET is defined with #ifdef rather
14131         than #if.
14132         * libio/libioP.h: Likewise.
14133         * stdio-common/vfprintf.c: Likewise.
14135         * sysdeps/generic/ldsodefs.h: Check whether
14136         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14137         than #if.
14139         * nptl/sysdeps/pthread/pthread.h: Check
14140         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14141         its value.
14143 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14146         setting O_APPEND.
14147         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14148         test case.
14150         [BZ #16680]
14151         * libio/fileops.c (_IO_file_open): Seek to end of file but
14152         don't cache the offset.
14153         (get_file_offset): Remove function.
14154         (do_ftell): Use cached offset when available.
14155         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14156         don't cache the offset.
14157         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14158         case.
14159         (do_one_test): Call it.
14160         (do_ftell_test): Fix up expected old offset for a+ mode.
14161         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14162         available.
14164         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14165         up test status with function return status.
14166         (do_write_test): Likewise.
14167         (do_append_test): Likewise.
14169         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14170         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14171         Remove.
14173 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14175         * math/gen-libm-test.pl (parse_args): Handle results specified for
14176         each rounding mode separately.
14177         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14178         tests and results from lrint_tonearest_test_data,
14179         lrint_towardzero_test_data, lrint_downward_test_data and
14180         lrint_upward_test_data.
14181         (lrint_test): Use ALL_RM_TEST.
14182         (lrint_tonearest_test_data): Remove.
14183         (lrint_test_tonearest): Likewise.
14184         (lrint_towardzero_test_data): Likewise.
14185         (lrint_test_towardzero): Likewise.
14186         (lrint_downward_test_data): Likewise.
14187         (lrint_test_downward): Likewise.
14188         (lrint_upward_test_data): Likewise.
14189         (lrint_test_upward): Likewise.
14190         (llrint_test_data): Merge in per-rounding-mode tests and results
14191         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14192         llrint_downward_test_data and llrint_upward_test_data.
14193         (llrint_test): Use ALL_RM_TEST.
14194         (llrint_tonearest_test_data): Remove.
14195         (llrint_test_tonearest): Likewise.
14196         (llrint_towardzero_test_data): Likewise.
14197         (llrint_test_towardzero): Likewise.
14198         (llrint_downward_test_data): Likewise.
14199         (llrint_test_downward): Likewise.
14200         (llrint_upward_test_data): Likewise.
14201         (llrint_test_upward): Likewise.
14202         (rint_test_data): Merge in per-rounding-mode tests and results
14203         from rint_tonearest_test_data, rint_towardzero_test_data,
14204         rint_downward_test_data and rint_upward_test_data.  Add
14205         per-rounding-mode results for tests not in those arrays.
14206         (rint_test): Use ALL_RM_TEST.
14207         (rint_tonearest_test_data): Remove.
14208         (rint_test_tonearest): Likewise.
14209         (rint_towardzero_test_data): Likewise.
14210         (rint_test_towardzero): Likewise.
14211         (rint_downward_test_data): Likewise.
14212         (rint_test_downward): Likewise.
14213         (rint_upward_test_data): Likewise.
14214         (rint_test_upward): Likewise.
14215         (main): Don't call removed functions.
14217 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14219         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14220         "Compiled on ..." crapola.  It is anti-useful.
14222 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14224         * scripts/evaluate-test.sh: Handle fourth argument to determine
14225         whether test run should stop on failure.
14226         * Makeconfig (stop-on-test-failure): New variable.
14227         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14228         $(stop-on-test-failure).
14229         * Makefile (tests): Give a summary of results from testing and
14230         exit with failure status if they include an ERROR or FAIL.
14231         (xtests): Likewise.
14232         * manual/install.texi (Configuring and compiling): Mention
14233         stop-on-test-failure=y.
14234         * INSTALL: Regenerated.
14236 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14238         * scripts/versionlist.awk: New file.
14239         * Makerules [$(build-shared) = yes]
14240         (postclean-generated): Add Versions.def, not Versions.def.v and
14241         Versions.def.v.i.
14242         ($(common-objpfx)Versions.def.v.i): Target removed.
14243         ($(common-objpfx)Versions.def): New target.
14244         ($(common-objpfx)Versions.all): Depend on that rather that
14245         $(common-objpfx)Versions.def.v.
14246         * Versions.def: File removed.
14248         * Makeconfig (+gccwarn): Add -Wundef.
14249         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14250         a dl-sysdep.h breaking its contract.
14251         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14252         * include/stackinfo.h: New file.
14253         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14254         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14255         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14256         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14257         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14258         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14259         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14260         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14261         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14262         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14263         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14264         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14265         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14266         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14267         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14269 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14271         [BZ #16707]
14272         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14273         implementation.
14274         * math/libm-test.inc (round_test_data): Add more tests.
14276         [BZ #16706]
14277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14278         implementation.
14279         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14281         [BZ #16701]
14282         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14283         implementation.
14284         * math/libm-test.inc (ceil_test_data): Add more tests.
14286         * math/libm-test.inc (trunc_test_data): Add more tests related to
14287         BZ#16414.
14289 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14291         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14292         with #if rather than #ifdef.
14293         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14295 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14297         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14298         first.  Disable AVX-512 GCC support if assembler doesn't support
14299         it.
14300         * sysdeps/x86_64/configure: Regenerated.
14302 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14304         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14305         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14306         (__old_pthread_attr_setstack): Likewise.
14307         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14308         [!_STACK_GROWS_DOWN]: Likewise.
14310 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14312         * config.make.in (have-bash2): Delete.
14313         * configure.ac (libc_cv_have_bash2): Delete.
14314         * configure: Regenerate.
14315         * elf/Makefile (common-ldd-rewrite): Rename to ...
14316         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14317         (sh-ldd-rewrite): Delete.
14318         (bash-ldd-rewrite): Delete.
14319         (have-bash2): Delete checks.
14320         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14321         ldd-rewrite.
14323         * config.make.in (have-ksh): Delete.
14324         (KSH): Delete.
14325         * configure.ac (libc_cv_have_ksh): Delete.
14326         * configure: Regenerate.
14328         * elf/Makefile: Delete $(have-ksh) check.
14329         ($(objpfx)sotruss): Change KSH to BASH.
14330         * elf/sotruss.ksh: Rename to ...
14331         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14332         function style to match POSIX.  Drop ksh vim mode setting.
14334         * manual/time.texi (Specifying the Time Zone with TZ): Change
14335         Tuesday to Thursday.
14337         * debug/tst-longjmp_chk2.c: Update header comment.
14338         (stackoverflow_handler): Add comment.  Call assert on pass value.
14340 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14342         [BZ #16194]
14343         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14344         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14345         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14346         (La_x86_64_vector): Add zmm.
14347         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14348         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14349         ($(objpfx)tst-audit10): New target.
14350         ($(objpfx)tst-audit10.out): Likewise.
14351         (tst-audit10-ENV): New.
14352         (AVX512-CFLAGS): Likewise.
14353         (CFLAGS-tst-audit10.c): Likewise.
14354         (CFLAGS-tst-auditmod10a.c): Likewise.
14355         (CFLAGS-tst-auditmod10b.c): Likewise.
14356         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14357         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14358         * sysdeps/x86_64/configure: Regenerated.
14359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14360         AVX-512 zmm register support.
14361         (_dl_x86_64_save_sse): Likewise.
14362         (_dl_x86_64_restore_sse): Likewise.
14363         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14364         size vector registers.
14365         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14366         (ZMM_SIZE): Likewise.
14367         * sysdeps/x86_64/tst-audit10.c: New file.
14368         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14369         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14371 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14373         * configure.ac (HAVE_EHDR_START): New check.
14374         * configure: Regenerated.
14375         * config.h.in (HAVE_EHDR_START): New #undef.
14376         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14377         assuming the lowest-addressed segment maps the start of the file.
14379 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14381         * INSTALL: Regenerated.
14383 2014-03-13  Will Newton  <will.newton@linaro.org>
14385         * manual/setjmp.texi (System V contexts): Improve
14386         clarity and grammar of documentation.
14388 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14390         [BZ #16381]
14391         * elf/Makefile (tests): Add tst-pie2.
14392         (tests-pie): Add tst-pie2.
14393         * elf/tst-pie2.c: New file.
14394         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14395         for ET_EXEC.
14396         * elf/rtld.c (map_doit): Load executable as lt_executable.
14397         (dl_main): Likewise.
14399 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14401         [BZ #16642]
14402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14403         (__ASSUME_PSELECT): Undefine.
14405 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14407         [BZ #16689]
14408         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14409         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14410         static build.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14412         selector for static builds.
14414 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14416         [BZ #16695]
14417         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14418         key in the buffer.
14420 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14422         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14423         IFUNC selector for static builds.
14425 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14427         * sysdeps/mips/math_private.h [__mips_hard_float]
14428         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14429         libc_feresetround_mips_ctx.
14430         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14431         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14432         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14434         [BZ #16677]
14435         * math/s_nextafter.c (__nextafter): Do not return value from
14436         overflowing computation.
14437         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14438         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14439         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14440         Likewise.
14441         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14442         Likewise.
14443         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14444         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14446 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14448         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14449         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14450         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14451         the new mov targetting sp.
14453 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14455         [BZ #16683]
14456         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14457         Define it for static builds as well.
14458         (NO_BZERO_IMPL): Likewise.
14460 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14462         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14463         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14464         multiarch strspn for PPC64.
14465         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14466         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14468         (__libc_ifunc_impl_list): Likewise.
14469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14470         multiarch optimizations
14471         * string/strspn.c (strspn): Using macro to redefine symbol name.
14473 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14474             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14476         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14477         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14478         multiarch strncat for PPC64.
14479         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14480         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14482         (__libc_ifunc_impl_list): Likewise.
14483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14484         multiarch optimizations
14486 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14488         [BZ #16639]
14489         * nscd/nscd.service: Make service type forking.
14491 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14493         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14494         sign in non default rounding modes.
14495         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14497 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14499         * math/libm-test.inc (ALL_RM_TEST): New macro.
14500         (ceil_test): Use ALL_RM_TEST.
14501         (cimag_test): Likewise.
14502         (conj_test): Likewise.
14503         (copysign_test): Likewise.
14504         (cproj_test): Likewise.
14505         (creal_test): Likewise.
14506         (fabs_test): Likewise.
14507         (floor_test): Likewise.
14508         (fmax_test): Likewise.
14509         (fmin_test): Likewise.
14510         (fmod_test): Likewise.
14511         (fpclassify_test): Likewise.
14512         (frexp_test): Likewise.
14513         (ilogb_test): Likewise.
14514         (isfinite_test): Likewise.
14515         (finite_test): Likewise.
14516         (isgreater_test): Likewise.
14517         (isgreaterequal_test): Likewise.
14518         (isinf_test): Likewise.
14519         (isless_test): Likewise.
14520         (islessequal_test): Likewise.
14521         (islessgreater_test): Likewise.
14522         (isnan_test): Likewise.
14523         (isnormal_test): Likewise.
14524         (issignaling_test): Likewise.
14525         (isunordered_test): Likewise.
14526         (logb_test): Likewise.
14527         (logb_downward_test_data): Remove.
14528         (logb_test_downward): Likewise.
14529         (lround_test): Use ALL_RM_TEST.
14530         (llround_test): Likewise.
14531         (modf_test): Likewise.
14532         (nexttoward_test): Likewise.
14533         (remainder_test): Likewise.
14534         (drem_test): Likewise.
14535         (remainder_tonearest_test_data): Likewise.
14536         (remainder_test_tonearest): Likewise.
14537         (drem_test_tonearest): Likewise.
14538         (remainder_towardzero_test_data): Likewise.
14539         (remainder_test_towardzero): Likewise.
14540         (drem_test_towardzero): Likewise.
14541         (remainder_downward_test_data): Likewise.
14542         (remainder_test_downward): Likewise.
14543         (drem_test_downward): Likewise.
14544         (remainder_upward_test_data): Likewise.
14545         (remainder_test_upward): Likewise.
14546         (drem_test_upward): Likewise.
14547         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14548         (round_test): Use ALL_RM_TEST.
14549         (signbit_test): Likewise.
14550         (trunc_test): Likewise.
14551         (significand_test): Likewise.
14552         (main): Don't call removed functions.
14554 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14556         [BZ #16674]
14557         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14558         || __USE_XOPEN2K8].
14559         (ILL_ILLOPN): Likewise.
14560         (ILL_ILLADR): Likewise.
14561         (ILL_ILLTRP): Likewise.
14562         (ILL_PRVOPC): Likewise.
14563         (ILL_PRVREG): Likewise.
14564         (ILL_COPROC): Likewise.
14565         (ILL_BADSTK): Likewise.
14566         (FPE_INTDIV): Likewise.
14567         (FPE_INTOVF): Likewise.
14568         (FPE_FLTDIV): Likewise.
14569         (FPE_FLTOVF): Likewise.
14570         (FPE_FLTUND): Likewise.
14571         (FPE_FLTRES): Likewise.
14572         (FPE_FLTINV): Likewise.
14573         (FPE_FLTSUB): Likewise.
14574         (SEGV_MAPERR): Likewise.
14575         (SEGV_ACCERR): Likewise.
14576         (BUS_ADRALN): Likewise.
14577         (BUS_ADRERR): Likewise.
14578         (BUS_OBJERR): Likewise.
14579         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14580         (TRAP_TRACE): Likewise.
14581         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14582         __USE_XOPEN2K8].
14583         (CLD_KILLED): Likewise.
14584         (CLD_DUMPED): Likewise.
14585         (CLD_TRAPPED): Likewise.
14586         (CLD_STOPPED): Likewise.
14587         (CLD_CONTINUED): Likewise.
14588         (POLL_IN): Likewise.
14589         (POLL_OUT): Likewise.
14590         (POLL_MSG): Likewise.
14591         (POLL_ERR): Likewise.
14592         (POLL_PRI): Likewise.
14593         (POLL_HUP): Likewise.
14594         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14595         Likewise.
14596         (ILL_ILLOPN): Likewise.
14597         (ILL_ILLADR): Likewise.
14598         (ILL_ILLTRP): Likewise.
14599         (ILL_PRVOPC): Likewise.
14600         (ILL_PRVREG): Likewise.
14601         (ILL_COPROC): Likewise.
14602         (ILL_BADSTK): Likewise.
14603         (FPE_INTDIV): Likewise.
14604         (FPE_INTOVF): Likewise.
14605         (FPE_FLTDIV): Likewise.
14606         (FPE_FLTOVF): Likewise.
14607         (FPE_FLTUND): Likewise.
14608         (FPE_FLTRES): Likewise.
14609         (FPE_FLTINV): Likewise.
14610         (FPE_FLTSUB): Likewise.
14611         (SEGV_MAPERR): Likewise.
14612         (SEGV_ACCERR): Likewise.
14613         (BUS_ADRALN): Likewise.
14614         (BUS_ADRERR): Likewise.
14615         (BUS_OBJERR): Likewise.
14616         (BUS_MCEERR_AR): Likewise.
14617         (BUS_MCEERR_AO): Likewise.
14618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14619         (TRAP_TRACE): Likewise.
14620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14621         __USE_XOPEN2K8].
14622         (CLD_KILLED): Likewise.
14623         (CLD_DUMPED): Likewise.
14624         (CLD_TRAPPED): Likewise.
14625         (CLD_STOPPED): Likewise.
14626         (CLD_CONTINUED): Likewise.
14627         (POLL_IN): Likewise.
14628         (POLL_OUT): Likewise.
14629         (POLL_MSG): Likewise.
14630         (POLL_ERR): Likewise.
14631         (POLL_PRI): Likewise.
14632         (POLL_HUP): Likewise.
14633         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14634         (ILL_ILLOPN): Likewise.
14635         (ILL_ILLADR): Likewise.
14636         (ILL_ILLTRP): Likewise.
14637         (ILL_PRVOPC): Likewise.
14638         (ILL_PRVREG): Likewise.
14639         (ILL_COPROC): Likewise.
14640         (ILL_BADSTK): Likewise.
14641         (FPE_INTDIV): Likewise.
14642         (FPE_INTOVF): Likewise.
14643         (FPE_FLTDIV): Likewise.
14644         (FPE_FLTOVF): Likewise.
14645         (FPE_FLTUND): Likewise.
14646         (FPE_FLTRES): Likewise.
14647         (FPE_FLTINV): Likewise.
14648         (FPE_FLTSUB): Likewise.
14649         (SEGV_MAPERR): Likewise.
14650         (SEGV_ACCERR): Likewise.
14651         (BUS_ADRALN): Likewise.
14652         (BUS_ADRERR): Likewise.
14653         (BUS_OBJERR): Likewise.
14654         (BUS_MCEERR_AR): Likewise.
14655         (BUS_MCEERR_AO): Likewise.
14656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14657         (TRAP_TRACE): Likewise.
14658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14659         __USE_XOPEN2K8].
14660         (CLD_KILLED): Likewise.
14661         (CLD_DUMPED): Likewise.
14662         (CLD_TRAPPED): Likewise.
14663         (CLD_STOPPED): Likewise.
14664         (CLD_CONTINUED): Likewise.
14665         (POLL_IN): Likewise.
14666         (POLL_OUT): Likewise.
14667         (POLL_MSG): Likewise.
14668         (POLL_ERR): Likewise.
14669         (POLL_PRI): Likewise.
14670         (POLL_HUP): Likewise.
14671         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14672         Likewise.
14673         (ILL_ILLOPN): Likewise.
14674         (ILL_ILLADR): Likewise.
14675         (ILL_ILLTRP): Likewise.
14676         (ILL_PRVOPC): Likewise.
14677         (ILL_PRVREG): Likewise.
14678         (ILL_COPROC): Likewise.
14679         (ILL_BADSTK): Likewise.
14680         (ILL_BADIADDR): Likewise.
14681         (ILL_BREAK): Likewise.
14682         (FPE_INTDIV): Likewise.
14683         (FPE_INTOVF): Likewise.
14684         (FPE_FLTDIV): Likewise.
14685         (FPE_FLTOVF): Likewise.
14686         (FPE_FLTUND): Likewise.
14687         (FPE_FLTRES): Likewise.
14688         (FPE_FLTINV): Likewise.
14689         (FPE_FLTSUB): Likewise.
14690         (FPE_DECOVF): Likewise.
14691         (FPE_DECDIV): Likewise.
14692         (FPE_DECERR): Likewise.
14693         (FPE_INVASC): Likewise.
14694         (FPE_INVDEC): Likewise.
14695         (SEGV_MAPERR): Likewise.
14696         (SEGV_ACCERR): Likewise.
14697         (SEGV_PSTKOVF): Likewise.
14698         (BUS_ADRALN): Likewise.
14699         (BUS_ADRERR): Likewise.
14700         (BUS_OBJERR): Likewise.
14701         (BUS_MCEERR_AR): Likewise.
14702         (BUS_MCEERR_AO): Likewise.
14703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14704         (TRAP_TRACE): Likewise.
14705         (TRAP_BRANCH): Likewise.
14706         (TRAP_HWBKPT): Likewise.
14707         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14708         __USE_XOPEN2K8].
14709         (CLD_KILLED): Likewise.
14710         (CLD_DUMPED): Likewise.
14711         (CLD_TRAPPED): Likewise.
14712         (CLD_STOPPED): Likewise.
14713         (CLD_CONTINUED): Likewise.
14714         (POLL_IN): Likewise.
14715         (POLL_OUT): Likewise.
14716         (POLL_MSG): Likewise.
14717         (POLL_ERR): Likewise.
14718         (POLL_PRI): Likewise.
14719         (POLL_HUP): Likewise.
14720         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14721         (ILL_ILLOPN): Likewise.
14722         (ILL_ILLADR): Likewise.
14723         (ILL_ILLTRP): Likewise.
14724         (ILL_PRVOPC): Likewise.
14725         (ILL_PRVREG): Likewise.
14726         (ILL_COPROC): Likewise.
14727         (ILL_BADSTK): Likewise.
14728         (FPE_INTDIV): Likewise.
14729         (FPE_INTOVF): Likewise.
14730         (FPE_FLTDIV): Likewise.
14731         (FPE_FLTOVF): Likewise.
14732         (FPE_FLTUND): Likewise.
14733         (FPE_FLTRES): Likewise.
14734         (FPE_FLTINV): Likewise.
14735         (FPE_FLTSUB): Likewise.
14736         (SEGV_MAPERR): Likewise.
14737         (SEGV_ACCERR): Likewise.
14738         (BUS_ADRALN): Likewise.
14739         (BUS_ADRERR): Likewise.
14740         (BUS_OBJERR): Likewise.
14741         (BUS_MCEERR_AR): Likewise.
14742         (BUS_MCEERR_AO): Likewise.
14743         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14744         (TRAP_TRACE): Likewise.
14745         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14746         __USE_XOPEN2K8].
14747         (CLD_KILLED): Likewise.
14748         (CLD_DUMPED): Likewise.
14749         (CLD_TRAPPED): Likewise.
14750         (CLD_STOPPED): Likewise.
14751         (CLD_CONTINUED): Likewise.
14752         (POLL_IN): Likewise.
14753         (POLL_OUT): Likewise.
14754         (POLL_MSG): Likewise.
14755         (POLL_ERR): Likewise.
14756         (POLL_PRI): Likewise.
14757         (POLL_HUP): Likewise.
14758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14759         (ILL_ILLOPN): Likewise.
14760         (ILL_ILLADR): Likewise.
14761         (ILL_ILLTRP): Likewise.
14762         (ILL_PRVOPC): Likewise.
14763         (ILL_PRVREG): Likewise.
14764         (ILL_COPROC): Likewise.
14765         (ILL_BADSTK): Likewise.
14766         (FPE_INTDIV): Likewise.
14767         (FPE_INTOVF): Likewise.
14768         (FPE_FLTDIV): Likewise.
14769         (FPE_FLTOVF): Likewise.
14770         (FPE_FLTUND): Likewise.
14771         (FPE_FLTRES): Likewise.
14772         (FPE_FLTINV): Likewise.
14773         (FPE_FLTSUB): Likewise.
14774         (SEGV_MAPERR): Likewise.
14775         (SEGV_ACCERR): Likewise.
14776         (BUS_ADRALN): Likewise.
14777         (BUS_ADRERR): Likewise.
14778         (BUS_OBJERR): Likewise.
14779         (BUS_MCEERR_AR): Likewise.
14780         (BUS_MCEERR_AO): Likewise.
14781         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14782         (TRAP_TRACE): Likewise.
14783         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14784         __USE_XOPEN2K8].
14785         (CLD_KILLED): Likewise.
14786         (CLD_DUMPED): Likewise.
14787         (CLD_TRAPPED): Likewise.
14788         (CLD_STOPPED): Likewise.
14789         (CLD_CONTINUED): Likewise.
14790         (POLL_IN): Likewise.
14791         (POLL_OUT): Likewise.
14792         (POLL_MSG): Likewise.
14793         (POLL_ERR): Likewise.
14794         (POLL_PRI): Likewise.
14795         (POLL_HUP): Likewise.
14796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14797         (ILL_ILLOPN): Likewise.
14798         (ILL_ILLADR): Likewise.
14799         (ILL_ILLTRP): Likewise.
14800         (ILL_PRVOPC): Likewise.
14801         (ILL_PRVREG): Likewise.
14802         (ILL_COPROC): Likewise.
14803         (ILL_BADSTK): Likewise.
14804         (FPE_INTDIV): Likewise.
14805         (FPE_INTOVF): Likewise.
14806         (FPE_FLTDIV): Likewise.
14807         (FPE_FLTOVF): Likewise.
14808         (FPE_FLTUND): Likewise.
14809         (FPE_FLTRES): Likewise.
14810         (FPE_FLTINV): Likewise.
14811         (FPE_FLTSUB): Likewise.
14812         (SEGV_MAPERR): Likewise.
14813         (SEGV_ACCERR): Likewise.
14814         (BUS_ADRALN): Likewise.
14815         (BUS_ADRERR): Likewise.
14816         (BUS_OBJERR): Likewise.
14817         (BUS_MCEERR_AR): Likewise.
14818         (BUS_MCEERR_AO): Likewise.
14819         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14820         (TRAP_TRACE): Likewise.
14821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14822         __USE_XOPEN2K8].
14823         (CLD_KILLED): Likewise.
14824         (CLD_DUMPED): Likewise.
14825         (CLD_TRAPPED): Likewise.
14826         (CLD_STOPPED): Likewise.
14827         (CLD_CONTINUED): Likewise.
14828         (POLL_IN): Likewise.
14829         (POLL_OUT): Likewise.
14830         (POLL_MSG): Likewise.
14831         (POLL_ERR): Likewise.
14832         (POLL_PRI): Likewise.
14833         (POLL_HUP): Likewise.
14834         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14835         (ILL_ILLOPN): Likewise.
14836         (ILL_ILLADR): Likewise.
14837         (ILL_ILLTRP): Likewise.
14838         (ILL_PRVOPC): Likewise.
14839         (ILL_PRVREG): Likewise.
14840         (ILL_COPROC): Likewise.
14841         (ILL_BADSTK): Likewise.
14842         (ILL_DBLFLT): Likewise.
14843         (ILL_HARDWALL): Likewise.
14844         (FPE_INTDIV): Likewise.
14845         (FPE_INTOVF): Likewise.
14846         (FPE_FLTDIV): Likewise.
14847         (FPE_FLTOVF): Likewise.
14848         (FPE_FLTUND): Likewise.
14849         (FPE_FLTRES): Likewise.
14850         (FPE_FLTINV): Likewise.
14851         (FPE_FLTSUB): Likewise.
14852         (SEGV_MAPERR): Likewise.
14853         (SEGV_ACCERR): Likewise.
14854         (BUS_ADRALN): Likewise.
14855         (BUS_ADRERR): Likewise.
14856         (BUS_OBJERR): Likewise.
14857         (BUS_MCEERR_AR): Likewise.
14858         (BUS_MCEERR_AO): Likewise.
14859         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14860         (TRAP_TRACE): Likewise.
14861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14862         __USE_XOPEN2K8].
14863         (CLD_KILLED): Likewise.
14864         (CLD_DUMPED): Likewise.
14865         (CLD_TRAPPED): Likewise.
14866         (CLD_STOPPED): Likewise.
14867         (CLD_CONTINUED): Likewise.
14868         (POLL_IN): Likewise.
14869         (POLL_OUT): Likewise.
14870         (POLL_MSG): Likewise.
14871         (POLL_ERR): Likewise.
14872         (POLL_PRI): Likewise.
14873         (POLL_HUP): Likewise.
14874         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14875         (ILL_ILLOPN): Likewise.
14876         (ILL_ILLADR): Likewise.
14877         (ILL_ILLTRP): Likewise.
14878         (ILL_PRVOPC): Likewise.
14879         (ILL_PRVREG): Likewise.
14880         (ILL_COPROC): Likewise.
14881         (ILL_BADSTK): Likewise.
14882         (FPE_INTDIV): Likewise.
14883         (FPE_INTOVF): Likewise.
14884         (FPE_FLTDIV): Likewise.
14885         (FPE_FLTOVF): Likewise.
14886         (FPE_FLTUND): Likewise.
14887         (FPE_FLTRES): Likewise.
14888         (FPE_FLTINV): Likewise.
14889         (FPE_FLTSUB): Likewise.
14890         (SEGV_MAPERR): Likewise.
14891         (SEGV_ACCERR): Likewise.
14892         (BUS_ADRALN): Likewise.
14893         (BUS_ADRERR): Likewise.
14894         (BUS_OBJERR): Likewise.
14895         (BUS_MCEERR_AR): Likewise.
14896         (BUS_MCEERR_AO): Likewise.
14897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14898         (TRAP_TRACE): Likewise.
14899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14900         __USE_XOPEN2K8].
14901         (CLD_KILLED): Likewise.
14902         (CLD_DUMPED): Likewise.
14903         (CLD_TRAPPED): Likewise.
14904         (CLD_STOPPED): Likewise.
14905         (CLD_CONTINUED): Likewise.
14906         (POLL_IN): Likewise.
14907         (POLL_OUT): Likewise.
14908         (POLL_MSG): Likewise.
14909         (POLL_ERR): Likewise.
14910         (POLL_PRI): Likewise.
14911         (POLL_HUP): Likewise.
14912         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14913         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14915         [BZ #16670]
14916         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14917         before #include of <time.h>.
14918         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14919         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14920         (test-xfail-UNIX98/sched.h/conform): Likewise.
14922 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14924         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14925         error absence of trapping exception support.
14926         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14928 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14930         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14931         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14932         * timezone/Makefile (testdata): Move definition above include of
14933         Rules.
14934         (test-zones): New variable.
14935         (tests-special): Add zone files.
14936         (build-testdata): Use $(evaluate-test).
14938         * elf/Makefile (tests-special): Rename tests to end with .out.
14939         ($(objpfx)noload-mem): Likewise.
14940         ($(objpfx)tst-leaks1-mem): Likewise.
14941         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14942         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14943         $(objpfx)test-iconvconfig.out.
14944         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14945         set -e inside subshell and redirect output to file.
14946         * iconvdata/Makefile (generated): Rename tests to end with .out.
14947         Correct type.
14948         (tests-special): Rename tests to end with .out.
14949         ($(objpfx)mtrace-tst-loading): Likewise.
14950         * intl/Makefile (generated): Likewise.
14951         (tests-special): Likewise.
14952         ($(objpfx)mtrace-tst-gettext): Likewise.
14953         * misc/Makefile (generated): Likewise.
14954         (tests-special): Likewise.
14955         ($(objpfx)tst-error1-mem): Likewise.
14956         * nptl/Makefile (tests-special): Likewise.
14957         ($(objpfx)tst-stack3-mem): Likewise.
14958         (generated): Likewise.
14959         * posix/Makefile (generated): Likewise.
14960         (tests-special): Likewise.
14961         (xtests-special): Likewise.
14962         ($(objpfx)tst-fnmatch-mem): Likewise.
14963         ($(objpfx)bug-regex2-mem): Likewise.
14964         ($(objpfx)bug-regex14-mem): Likewise.
14965         ($(objpfx)bug-regex21-mem): Likewise.
14966         ($(objpfx)bug-regex31-mem): Likewise.
14967         ($(objpfx)tst-vfork3-mem): Likewise.
14968         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14969         ($(objpfx)tst-pcre-mem): Likewise.
14970         ($(objpfx)tst-boost-mem): Likewise.
14971         ($(objpfx)bug-ga2-mem): Likewise.
14972         ($(objpfx)bug-glob2-mem): Likewise.
14973         * resolv/Makefile (generate): Likewise.
14974         (tests-special): Likewise.
14975         (xtests-special): Likewise.
14976         (generated): Likewise.
14977         ($(objpfx)mtrace-tst-leaks): Likewise.
14978         ($(objpfx)mtrace-tst-leaks2): Likewise.
14980         * scripts/merge-test-results.sh: New file.
14981         * Makefile (tests-special-notdir): New variable.
14982         (tests): Run merge-test-results.sh.
14983         (xtests): Likewise.
14984         * Rules (tests-special-notdir): New variable.
14985         (xtests-special-notdir): Likewise.
14986         (tests): Run merge-test-results.sh
14987         (xtests): Likewise.
14989         * Makeconfig (test-xfail-name): New variable.
14990         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14991         compute variable name for expected failures.
14992         * conform/Makefile (conformtest-headers-data): New variable.
14993         (conformtest-standards): Likewise.
14994         (conformtest-headers-ISO): Likewise.
14995         (conformtest-headers-ISO99): Likewise.
14996         (conformtest-headers-ISO11): Likewise.
14997         (conformtest-headers-POSIX): Likewise.
14998         (conformtest-headers-XPG3): Likewise.
14999         (conformtest-headers-XPG4): Likewise.
15000         (conformtest-headers-UNIX98): Likewise.
15001         (conformtest-headers-XOPEN2K): Likewise.
15002         (conformtest-headers-POSIX2008): Likewise.
15003         (conformtest-headers-XOPEN2K8): Likewise.
15004         (conformtest-header-list-base): Likewise.
15005         (conformtest-header-list-tests): Likewise.
15006         (conformtest-header-base): Likewise.
15007         (conformtest-header-tests): Likewise.
15008         (tests-special): Add $(conformtest-header-list-tests).  If
15009         [$(fast-check) && !$(cross-compiling)], add
15010         $(conformtest-header-tests) instead of
15011         $(objpfx)run-conformtest.out.
15012         (generated): Add $(conformtest-header-list-base).  If
15013         [$(fast-check) && !$(cross-compiling)], add
15014         $(conformtest-header-base).  Remove previous setting.
15015         ($(conformtest-header-list-tests)): New target.
15016         (test-xfail-run-conformtest): Remove variable.
15017         ($(objpfx)run-conformtest.out): Remove target.
15018         (test-xfail-ISO11/complex.h/conform): New variable.
15019         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15020         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15021         (test-xfail-XPG3/varargs.h/conform): Likewise.
15022         (test-xfail-XPG4/varargs.h/conform): Likewise.
15023         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15024         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15025         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15026         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15027         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15028         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15029         (test-xfail-XPG3/ftw.h/conform): Likewise.
15030         (test-xfail-XPG3/grp.h/conform): Likewise.
15031         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15032         (test-xfail-XPG3/limits.h/conform): Likewise.
15033         (test-xfail-XPG3/pwd.h/conform): Likewise.
15034         (test-xfail-XPG3/search.h/conform): Likewise.
15035         (test-xfail-XPG3/signal.h/conform): Likewise.
15036         (test-xfail-XPG3/stdio.h/conform): Likewise.
15037         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15038         (test-xfail-XPG3/string.h/conform): Likewise.
15039         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15040         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15041         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15042         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15043         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15044         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15045         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15046         (test-xfail-XPG3/termios.h/conform): Likewise.
15047         (test-xfail-XPG3/time.h/conform): Likewise.
15048         (test-xfail-XPG3/unistd.h/conform): Likewise.
15049         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15050         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15051         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15052         (test-xfail-XPG4/netdb.h/conform): Likewise.
15053         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15054         (test-xfail-XPG4/signal.h/conform): Likewise.
15055         (test-xfail-XPG4/stdio.h/conform): Likewise.
15056         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15057         (test-xfail-XPG4/stropts.h/conform): Likewise.
15058         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15059         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15060         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15061         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15062         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15063         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15064         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15065         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15066         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15067         (test-xfail-XPG4/termios.h/conform): Likewise.
15068         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15069         (test-xfail-XPG4/unistd.h/conform): Likewise.
15070         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15071         (test-xfail-POSIX/sched.h/conform): Likewise.
15072         (test-xfail-POSIX/signal.h/conform): Likewise.
15073         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15074         (test-xfail-POSIX/tar.h/conform): Likewise.
15075         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15076         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15077         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15078         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15079         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15080         (test-xfail-UNIX98/sched.h/conform): Likewise.
15081         (test-xfail-UNIX98/signal.h/conform): Likewise.
15082         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15083         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15084         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15085         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15086         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15087         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15088         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15089         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15090         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15091         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15092         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15093         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15094         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15095         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15096         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15097         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15098         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15099         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15100         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15101         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15102         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15103         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15104         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15105         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15106         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15107         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15108         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15109         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15110         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15111         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15112         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15113         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15114         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15115         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15116         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15117         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15118         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15119         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15120         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15121         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15122         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15123         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15124         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15125         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15126         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15127         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15128         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15129         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15130         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15131         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15132         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15133         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15134         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15135         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15136         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15137         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15138         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15139         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15140         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15141         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15142         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15143         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15144         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15145         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15146         (conformtest-cc-flags): Likewise.
15147         ($(conformtest-header-tests): New target.
15148         * conform/check-header-lists.sh: New file.
15149         * conform/run-conformtest.sh: Remove.
15151         * conform/conformtest.pl: Allow ' and \ in values given for
15152         constants.
15153         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15154         inclusion.
15155         [POSIX] (sys/types.h): Likewise.
15156         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15157         inclusion.
15158         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15159         inclusion.
15160         * conform/data/signal.h-data (SIGIO): Remove expectation.
15161         [XPG3] (SIGBUS): Do not expect.
15162         [POSIX || XPG3] (SIGPOLL): Likewise.
15163         [POSIX || XPG3] (SIGPROF): Likewise.
15164         [POSIX || XPG3] (SIGSYS): Likewise.
15165         [XPG3] (SIGTRAP): Likewise.
15166         [POSIX || XPG3] (SIGURG): Likewise.
15167         [POSIX || XPG3] (SIGVTALRM): Likewise.
15168         [POSIX || XPG3] (SIGXCPU): Likewise.
15169         [POSIX || XPG3] (SIGXFSZ): Likewise.
15170         [POSIX] (SA_SIGINFO): Expect.
15171         [XPG3] (siginfo_t): Do not expect type or contents.
15172         [POSIX] (si_pid): Do not expect element.
15173         [POSIX] (si_uid): Likewise.
15174         [POSIX] (si_addr): Likewise.
15175         [POSIX] (si_status): Likewise.
15176         [POSIX] (si_band): Likewise.
15177         [XPG4] (si_value): Likewise.
15178         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15179         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15180         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15181         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15182         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15183         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15184         [POSIX || XPG3] (ILL_COPROC): Likewise.
15185         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15186         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15187         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15188         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15189         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15190         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15191         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15192         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15193         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15194         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15195         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15196         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15197         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15198         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15199         [POSIX || XPG3] (CLD_EXITED): Likewise.
15200         [POSIX || XPG3] (CLD_KILLED): Likewise.
15201         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15202         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15203         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15204         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15205         [POSIX || XPG3] (POLL_IN): Likewise.
15206         [POSIX || XPG3] (POLL_OUT): Likewise.
15207         [POSIX || XPG3] (POLL_MSG): Likewise.
15208         [POSIX || XPG3] (POLL_ERR): Likewise.
15209         [POSIX || XPG3] (POLL_PRI): Likewise.
15210         [POSIX || XPG3] (POLL_HUP): Likewise.
15211         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15212         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15213         (SIG*): Do not allow.
15214         [XPG3] (si_*): Likewise.
15215         [XPG3] (SI_*): Likewise.
15216         [XPG3 || XPG4] (sigev_*): Likewise.
15217         [XPG3 || XPG4] (SIGEV_*): Likewise.
15218         [XPG3 || XPG4] (sival_*): Likewise.
15219         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15220         [POSIX || XPG3] (BUS_*): Likewise.
15221         [POSIX || XPG3] (CLD_*): Likewise.
15222         [POSIX || XPG3] (FPE_*): Likewise.
15223         [POSIX || XPG3] (ILL_*): Likewise.
15224         [POSIX || XPG3] (POLL_*): Likewise.
15225         [POSIX || XPG3] (SEGV_*): Likewise.
15226         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15227         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15228         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15229         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15230         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15231         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15232         Specify type and value.
15233         (TVERSLEN): Likewise.
15234         (REGTYPE): Likewise.
15235         (AREGTYPE): Likewise.
15236         (LNKTYPE): Likewise.
15237         (SYMTYPE): Likewise.
15238         (CHRTYPE): Likewise.
15239         (BLKTYPE): Likewise.
15240         (DIRTYPE): Likewise.
15241         (FIFOTYPE): Likewise.
15242         (CONTTYPE): Likewise.
15243         (TSUID): Likewise.
15244         (TSGID): Likewise.
15245         (TSVTX): Likewise.
15246         (TUREAD): Likewise.
15247         (TUWRITE): Likewise.
15248         (TUEXEC): Likewise.
15249         (TGREAD): Likewise.
15250         (TGWRITE): Likewise.
15251         (TGEXEC): Likewise.
15252         (TOREAD): Likewise.
15253         (TOWRITE): Likewise.
15254         (TOEXEC): Likewise.
15255         [POSIX] (TSVTX): Expect constant.
15257 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15259         * Makefile (tests): Change dependencies to ....
15260         (tests-special): ... additions to this variable.
15261         (tests): Depend on $(tests-special).
15262         * Makerules (check-abi-list): New variable.
15263         (check-abi): Depend on $(check-abi-list).
15264         [$(subdir) = elf] (tests-special): Add
15265         $(objpfx)check-abi-libc.out.
15266         [$(build-shared) = yes && subdir] (tests-special): Add
15267         $(check-abi-list).
15268         [$(build-shared) = yes && subdir] (tests): Do not depend on
15269         check-abi.
15270         * Rules (tests): Depend on $(tests-special).
15271         (xtests): Depend on $(xtests-special).
15272         * catgets/Makefile (tests): Change dependencies to ....
15273         (tests-special): ... additions to this variable.
15274         * conform/Makefile (tests): Change dependencies to ....
15275         (tests-special): ... additions to this variable.
15276         * elf/Makefile (tests): Change dependencies to ....
15277         (tests-special): ... additions to this variable.
15278         * grp/Makefile (tests): Change dependencies to ....
15279         (tests-special): ... additions to this variable.
15280         * iconv/Makefile (xtests): Change dependencies to ....
15281         (xtests-special): ... additions to this variable.
15282         * iconvdata/Makefile (tests): Change dependencies to ....
15283         (tests-special): ... additions to this variable.
15284         * intl/Makefile (tests): Change dependencies to ....
15285         (tests-special): ... additions to this variable.  Also add
15286         $(objpfx)tst-gettext.out.
15287         * io/Makefile (tests): Change dependencies to ....
15288         (tests-special): ... additions to this variable.
15289         * libio/Makefile (tests): Change dependencies to ....
15290         (tests-special): ... additions to this variable.
15291         * malloc/Makefile (tests): Change dependencies to ....
15292         (tests-special): ... additions to this variable.
15293         * misc/Makefile (tests): Change dependencies to ....
15294         (tests-special): ... additions to this variable.
15295         * nptl/Makefile (tests): Change dependencies to ....
15296         (tests-special): ... additions to this variable.
15297         * nptl_db/Makefile (tests): Change dependencies to ....
15298         (tests-special): ... additions to this variable.
15299         * posix/Makefile (tests): Change dependencies to ....
15300         (tests-special): ... additions to this variable.
15301         (xtests): Change dependencies to ....
15302         (xtests-special): ... additions to this variable.
15303         * resolv/Makefile (tests): Change dependencies to ....
15304         (tests-special): ... additions to this variable.
15305         (xtests): Change dependencies to ....
15306         (xtests-special): ... additions to this variable.
15307         * stdio-common/Makefile (tests): Change dependencies to ....
15308         (tests-special): ... additions to this variable.
15309         (do-tst-unbputc): Remove target.
15310         (do-tst-printf): Likewise.
15311         * stdlib/Makefile (tests): Change dependencies to ....
15312         (tests-special): ... additions to this variable.
15313         * string/Makefile (tests): Change dependencies to ....
15314         (tests-special): ... additions to this variable.
15315         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15316         (tests-special): ... additions to this variable.
15318         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15319         whole file.
15320         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15321         whole file.
15322         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15323         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15325         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15326         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15327         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15328         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15329         * conform/data/libgen.h-data [XPG3]: Likewise.
15330         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15331         * conform/data/ndbm.h-data [XPG3]: Likewise.
15332         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15333         * conform/data/netdb.h-data [XPG3]: Likewise.
15334         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15335         * conform/data/poll.h-data [XPG3]: Likewise.
15336         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15337         * conform/data/strings.h-data [XPG3]: Likewise.
15338         * conform/data/stropts.h-data [XPG3]: Likewise.
15339         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15340         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15341         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15342         Likewise.
15343         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15344         * conform/data/sys/time.h-data [XPG3]: Likewise.
15345         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15346         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15347         * conform/data/sys/un.h-data [XPG3]: Likewise.
15348         * conform/data/syslog.h-data [XPG3]: Likewise.
15349         * conform/data/ucontext.h-data [XPG3]: Likewise.
15350         * conform/data/utmpx.h-data [XPG3]: Likewise.
15351         * conform/data/varargs.h-data [UNIX98]: Enable file.
15353         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15355         * math/libm-test.inc (struct test_f_f_data): Move expected results
15356         into structure for each rounding mode.
15357         (struct test_ff_f_data): Likewise.
15358         (struct test_ff_f_data_nexttoward): Likewise.
15359         (struct test_fi_f_data): Likewise.
15360         (struct test_fl_f_data): Likewise.
15361         (struct test_if_f_data): Likewise.
15362         (struct test_fff_f_data): Likewise.
15363         (struct test_c_f_data): Likewise.
15364         (struct test_f_f1_data): Likewise.
15365         (struct test_fF_f1_data): Likewise.
15366         (struct test_ffI_f1_data): Likewise.
15367         (struct test_c_c_data): Likewise.
15368         (struct test_cc_c_data): Likewise.
15369         (struct test_f_i_data): Likewise.
15370         (struct test_ff_i_data): Likewise.
15371         (struct test_f_l_data): Likewise.
15372         (struct test_f_L_data): Likewise.
15373         (struct test_fFF_11_data): Likewise.
15374         (RM_): New macro.
15375         (RM_FE_DOWNWARD): Likewise.
15376         (RM_FE_TONEAREST): Likewise.
15377         (RM_FE_TOWARDZERO): Likewise.
15378         (RM_FE_UPWARD): Likewise.
15379         (RUN_TEST_LOOP_f_f): Update references to expected results.
15380         (RUN_TEST_LOOP_2_f): Likewise.
15381         (RUN_TEST_LOOP_fff_f): Likewise.
15382         (RUN_TEST_LOOP_c_f): Likewise.
15383         (RUN_TEST_LOOP_f_f1): Likewise.
15384         (RUN_TEST_LOOP_fF_f1): Likewise.
15385         (RUN_TEST_LOOP_fI_f1): Likewise.
15386         (RUN_TEST_LOOP_ffI_f1): Likewise.
15387         (RUN_TEST_LOOP_c_c): Likewise.
15388         (RUN_TEST_LOOP_cc_c): Likewise.
15389         (RUN_TEST_LOOP_f_i): Likewise.
15390         (RUN_TEST_LOOP_f_i_tg): Likewise.
15391         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15392         (RUN_TEST_LOOP_f_b): Likewise.
15393         (RUN_TEST_LOOP_f_b_tg): Likewise.
15394         (RUN_TEST_LOOP_f_l): Likewise.
15395         (RUN_TEST_LOOP_f_L): Likewise.
15396         (RUN_TEST_LOOP_fFF_11): Likewise.
15397         * math/gen-libm-test.pl (parse_args): Output four copies of
15398         expected results for each test.
15400         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15401         (__ASSUME_UTIMES): Remove.
15402         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15403         (__ASSUME_UTIMES): Likewise.
15405         * math/gen-auto-libm-tests.c: Update comment on output format.
15406         (output_for_one_input_case): Generate before-rounding and
15407         after-rounding information as conditions on output flags not
15408         floating-point format.
15409         * math/auto-libm-test-out: Regenerated.
15410         * math/gen-libm-test.pl (cond_value): New function.
15411         (or_cond_value): Use cond_value.
15412         (generate_testfile): Handle conditional exceptions.
15414 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15416         * math/libm-test.inc (max_valid_error): New variable.
15417         (init_max_error): Take new argument specifying whether function
15418         results are exactly determined.  Set max_valid_error and bound
15419         other variables for errors based on this argument.
15420         (set_max_error): Do not record results above max_valid_error.
15421         (check_float_internal): Only accept errors of up to 0.5ulps if
15422         also at most max_valid_error.
15423         (START): Take new argument EXACT and pass it to init_max_error.
15424         (acos_test): Update call to START.
15425         (acos_test_tonearest): Likewise.
15426         (acos_test_towardzero): Likewise.
15427         (acos_test_downward): Likewise.
15428         (acos_test_upward): Likewise.
15429         (acosh_test): Likewise.
15430         (asin_test): Likewise.
15431         (asin_test_tonearest): Likewise.
15432         (asin_test_towardzero): Likewise.
15433         (asin_test_downward): Likewise.
15434         (asin_test_upward): Likewise.
15435         (asinh_test): Likewise.
15436         (atan_test): Likewise.
15437         (atanh_test): Likewise.
15438         (atan2_test): Likewise.
15439         (cabs_test): Likewise.
15440         (cacos_test): Likewise.
15441         (cacosh_test): Likewise.
15442         (carg_test): Likewise.
15443         (casin_test): Likewise.
15444         (casinh_test): Likewise.
15445         (catan_test): Likewise.
15446         (catanh_test): Likewise.
15447         (cbrt_test): Likewise.
15448         (ccos_test): Likewise.
15449         (ccosh_test): Likewise.
15450         (ceil_test): Likewise.
15451         (cexp_test): Likewise.
15452         (cimag_test): Likewise.
15453         (clog_test): Likewise.
15454         (clog10_test): Likewise.
15455         (conj_test): Likewise.
15456         (copysign_test): Likewise.
15457         (cos_test): Likewise.
15458         (cos_test_tonearest): Likewise.
15459         (cos_test_towardzero): Likewise.
15460         (cos_test_downward): Likewise.
15461         (cos_test_upward): Likewise.
15462         (cosh_test): Likewise.
15463         (cosh_test_tonearest): Likewise.
15464         (cosh_test_towardzero): Likewise.
15465         (cosh_test_downward): Likewise.
15466         (cosh_test_upward): Likewise.
15467         (cpow_test): Likewise.
15468         (cproj_test): Likewise.
15469         (creal_test): Likewise.
15470         (csin_test): Likewise.
15471         (csinh_test): Likewise.
15472         (csqrt_test): Likewise.
15473         (ctan_test): Likewise.
15474         (ctan_test_tonearest): Likewise.
15475         (ctan_test_towardzero): Likewise.
15476         (ctan_test_downward): Likewise.
15477         (ctan_test_upward): Likewise.
15478         (ctanh_test): Likewise.
15479         (ctanh_test_tonearest): Likewise.
15480         (ctanh_test_towardzero): Likewise.
15481         (ctanh_test_downward): Likewise.
15482         (ctanh_test_upward): Likewise.
15483         (erf_test): Likewise.
15484         (erfc_test): Likewise.
15485         (exp_test): Likewise.
15486         (exp_test_tonearest): Likewise.
15487         (exp_test_towardzero): Likewise.
15488         (exp_test_downward): Likewise.
15489         (exp_test_upward): Likewise.
15490         (exp10_test): Likewise.
15491         (exp10_test_tonearest): Likewise.
15492         (exp10_test_towardzero): Likewise.
15493         (exp10_test_downward): Likewise.
15494         (exp10_test_upward): Likewise.
15495         (pow10_test): Likewise.
15496         (exp2_test): Likewise.
15497         (expm1_test): Likewise.
15498         (expm1_test_tonearest): Likewise.
15499         (expm1_test_towardzero): Likewise.
15500         (expm1_test_downward): Likewise.
15501         (expm1_test_upward): Likewise.
15502         (fabs_test): Likewise.
15503         (fdim_test): Likewise.
15504         (floor_test): Likewise.
15505         (fma_test): Likewise.
15506         (fma_test_towardzero): Likewise.
15507         (fma_test_downward): Likewise.
15508         (fma_test_upward): Likewise.
15509         (fmax_test): Likewise.
15510         (fmin_test): Likewise.
15511         (fmod_test): Likewise.
15512         (fpclassify_test): Likewise.
15513         (frexp_test): Likewise.
15514         (hypot_test): Likewise.
15515         (ilogb_test): Likewise.
15516         (isfinite_test): Likewise.
15517         (finite_test): Likewise.
15518         (isgreater_test): Likewise.
15519         (isgreaterequal_test): Likewise.
15520         (isinf_test): Likewise.
15521         (isless_test): Likewise.
15522         (islessequal_test): Likewise.
15523         (islessgreater_test): Likewise.
15524         (isnan_test): Likewise.
15525         (isnormal_test): Likewise.
15526         (issignaling_test): Likewise.
15527         (isunordered_test): Likewise.
15528         (j0_test): Likewise.
15529         (j1_test): Likewise.
15530         (jn_test): Likewise.
15531         (ldexp_test): Likewise.
15532         (lgamma_test): Likewise.
15533         (gamma_test): Likewise.
15534         (lrint_test): Likewise.
15535         (lrint_test_tonearest): Likewise.
15536         (lrint_test_towardzero): Likewise.
15537         (lrint_test_downward): Likewise.
15538         (lrint_test_upward): Likewise.
15539         (llrint_test): Likewise.
15540         (llrint_test_tonearest): Likewise.
15541         (llrint_test_towardzero): Likewise.
15542         (llrint_test_downward): Likewise.
15543         (llrint_test_upward): Likewise.
15544         (log_test): Likewise.
15545         (log10_test): Likewise.
15546         (log1p_test): Likewise.
15547         (log2_test): Likewise.
15548         (logb_test): Likewise.
15549         (logb_test_downward): Likewise.
15550         (lround_test): Likewise.
15551         (llround_test): Likewise.
15552         (modf_test): Likewise.
15553         (nearbyint_test): Likewise.
15554         (nextafter_test): Likewise.
15555         (nexttoward_test): Likewise.
15556         (pow_test): Likewise.
15557         (pow_test_tonearest): Likewise.
15558         (pow_test_towardzero): Likewise.
15559         (pow_test_downward): Likewise.
15560         (pow_test_upward): Likewise.
15561         (remainder_test): Likewise.
15562         (drem_test): Likewise.
15563         (remainder_test_tonearest): Likewise.
15564         (drem_test_tonearest): Likewise.
15565         (remainder_test_towardzero): Likewise.
15566         (drem_test_towardzero): Likewise.
15567         (remainder_test_downward): Likewise.
15568         (drem_test_downward): Likewise.
15569         (remainder_test_upward): Likewise.
15570         (drem_test_upward): Likewise.
15571         (remquo_test): Likewise.
15572         (rint_test): Likewise.
15573         (rint_test_tonearest): Likewise.
15574         (rint_test_towardzero): Likewise.
15575         (rint_test_downward): Likewise.
15576         (rint_test_upward): Likewise.
15577         (round_test): Likewise.
15578         (scalb_test): Likewise.
15579         (scalbn_test): Likewise.
15580         (scalbln_test): Likewise.
15581         (signbit_test): Likewise.
15582         (sin_test): Likewise.
15583         (sin_test_tonearest): Likewise.
15584         (sin_test_towardzero): Likewise.
15585         (sin_test_downward): Likewise.
15586         (sin_test_upward): Likewise.
15587         (sincos_test): Likewise.
15588         (sinh_test): Likewise.
15589         (sinh_test_tonearest): Likewise.
15590         (sinh_test_towardzero): Likewise.
15591         (sinh_test_downward): Likewise.
15592         (sinh_test_upward): Likewise.
15593         (sqrt_test): Likewise.
15594         (sqrt_test_tonearest): Likewise.
15595         (sqrt_test_towardzero): Likewise.
15596         (sqrt_test_downward): Likewise.
15597         (sqrt_test_upward): Likewise.
15598         (tan_test): Likewise.
15599         (tan_test_tonearest): Likewise.
15600         (tan_test_towardzero): Likewise.
15601         (tan_test_downward): Likewise.
15602         (tan_test_upward): Likewise.
15603         (tanh_test): Likewise.
15604         (tgamma_test): Likewise.
15605         (trunc_test): Likewise.
15606         (y0_test): Likewise.
15607         (y1_test): Likewise.
15608         (yn_test): Likewise.
15609         (significand_test): Likewise.
15611         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15612         individual tests in comment.
15613         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15614         (prev_max_error): New variable.
15615         (prev_real_max_error): Likewise.
15616         (prev_imag_max_error): Likewise.
15617         (compare_ulp_data): Don't refer to test names in comment.
15618         (find_test_ulps): Remove function.
15619         (find_function_ulps): Likewise.
15620         (find_complex_function_ulps): Likewise.
15621         (init_max_error): Take function name as argument.  Look up ulps
15622         for that function.
15623         (print_ulps): Remove function.
15624         (print_max_error): Use prev_max_error instead of calling
15625         find_function_ulps.
15626         (print_complex_max_error): Use prev_real_max_error and
15627         prev_imag_max_error instead of calling find_complex_function_ulps.
15628         (check_float_internal): Take max_ulp parameter instead of calling
15629         find_test_ulps.  Don't call print_ulps.
15630         (check_float): Update call to check_float_internal.
15631         (check_complex): Update calls to check_float_internal.
15632         (START): Pass argument to init_max_error.
15633         * math/gen-libm-test.pl (%results): Don't include "kind"
15634         information.
15635         (parse_ulps): Don't handle ulps of individual tests.
15636         (print_ulps_file): Likewise.
15637         (output_ulps): Likewise.
15638         * math/README.libm-test: Update.
15639         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15640         individual tests.
15641         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15642         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15643         * sysdeps/arm/libm-test-ulps: Likewise.
15644         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15645         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15646         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15647         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15648         * sysdeps/microblaze/libm-test-ulps: Likewise.
15649         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15650         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15651         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15652         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15653         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15654         * sysdeps/sh/libm-test-ulps: Likewise.
15655         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15656         * sysdeps/tile/libm-test-ulps: Likewise.
15657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15659 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15661         * math/libm-test.inc (print_complex_max_error): Check separately
15662         whether real and imaginary errors are within allowed range and
15663         pass 0 to print_complex_function_ulps instead of value within
15664         allowed range.
15666 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15668         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15669         formatting.
15670         (get_handles_fopen): Likewise.
15671         (do_write_test): Likewise.
15673         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15675         * libio/fileops.c (do_ftell): Use cached offset when
15676         available.
15677         * libio/iofwide.c (do_ftell_wide): Likewise.
15678         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15679         _IO_file_attach.
15680         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15682         [BZ #16532]
15683         * libio/libioP.h (get_file_offset): New function.
15684         * libio/fileops.c (get_file_offset): Likewise.
15685         (do_ftell): Likewise.
15686         (_IO_new_file_seekoff): Split out ftell logic.
15687         * libio/wfileops.c (do_ftell_wide): Likewise.
15688         (_IO_wfile_seekoff): Split out ftell logic.
15689         * libio/tst-ftell-active-handler.c: New test case.
15690         * libio/Makefile (tests): Add it.
15692 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15694         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15695         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15697 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15699         [BZ #16639]
15700         * nscd/connections.c (nscd_init): Call do_exit.
15701         (start_threads): Call do_exit and notify_parent.
15702         (begin_drop_privileges): Call do_exit.
15703         (finish_drop_privileges): Likewise.
15704         * nscd/selinux.c (preserve_capabilities): Likewise.
15705         (install_real_capabilities): Likewise.
15706         (nscd_selinux_enabled): Likewise.
15707         (avc_create_thread): Likewise.
15708         (avc_alloc_lock): Likewise.
15709         (nscd_avc_init): Likewise.
15710         * nscd/nscd.c (parent_fd): New static variable.
15711         (main): Create a pipe between parent and child processes.
15712         Skip closing parent_fd.
15713         (monitor_child): New function.
15714         (do_exit): Likewise.
15715         (notify_parent): Likewise.
15716         * nscd/nscd.h (notify_parent): Likewise.
15717         (do_exit): Likewise.
15719 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15721         * malloc/malloc.c (__libc_calloc): Revert last change.
15723 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15727 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15729         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15731         implementation.
15732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15733         (__libc_ifunc_impl_list): Likewise.
15734         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15735         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15736         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15737         * string/strrchr.c: Define STRRCHR.
15739 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15741         * benchtest/bench-strtok.c (simple_strtok): Delete.
15742         (strtok_string): Use as benchmark.
15743         * string/strtok (STRTOK): New macro.
15745 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15747         * manual/threads.texi: Add header and standard comments to all
15748         functions.
15750         * elf/dl-lookup.c (check_match): New function.
15751         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15752         (do_lookup_x): Remove nested function check_match. Use non-nested
15753         function check_match.
15755 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15757         * csu/Makefile (generated, before-compile): Use += rather than =.
15758         * catgets/Makefile (generated, generated-dirs): Likewise.
15759         * debug/Makefile (generated): Likewise.
15760         * dlfcn/Makefile (generated): Likewise.
15761         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15762         * iconvdata/Makefile (before-compile, generated): Likewise.
15763         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15764         * libio/Makefile (generated): Likewise.
15765         * malloc/Makefile (generated): Likewise.
15766         * manual/Makefile (generated, generated-dirs): Likewise.
15767         * misc/Makefile (generated): Likewise.
15768         * posix/Makefile (generated): Likewise.
15769         * resolv/Makefile (generated): Likewise.
15770         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15771         * timezone/Makefile (generated, generated-dirs): Likewise.
15773         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15775 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15777         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15778         power8 implementation.
15779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15780         file: POWER8 llround ifunc implementation.
15781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15782         (__lllround): Add POWER8 implementation.
15783         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15784         POWER8 llround implementation.
15786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15787         power8 implementation.
15788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15789         file: POWER8 llrint ifunc implementation.
15790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15791         Add POWER8 implementation.
15792         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15793         POWER8 llrint implementation.
15795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15796         power8 implementation.
15797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15798         file: POWER8 finite ifunc implementation.
15799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15800         Add POWER8 implementation.
15801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15802         Likewise.
15803         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15804         POWER8 finite implementation.
15805         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15808         power8 implementation.
15809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15810         file: POWER8 isinf ifunc implementation.
15811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15812         POWER8 implementation.
15813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15814         Likewise.
15815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15816         isinf implementation.
15817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15819         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15820         (INIT_ARCH): Add hwcap2 initialization.
15821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15822         power8 implementation.
15823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15824         file: POWER8 isnan ifunc implementation.
15825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15826         POWER8 implementation.
15827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15828         Likewise.
15829         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15830         isnan implementation.
15831         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15833 2014-02-27  Joey Ye  <joey.ye@arm.com>
15835         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15836         (_FP_NANFRAC_Q): Set to zero.
15838 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15840         [BZ #16623]
15841         * math/auto-libm-test-in: New test inputs.
15842         * math/auto-libm-test-out: Regenerate.
15843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15844         and DA.
15845         (__cos): Likewise.
15846         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15848 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15850         * scripts/evaluate-test.sh: Take new argument indicating whether
15851         failure is expected.
15852         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15853         indicating whether failure is expected.
15854         * conform/Makefile (test-xfail-run-conformtest): New variable.
15855         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15856         level.
15857         * posix/Makefile (test-xfail-annexc): New variable.
15858         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15860 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15862         * argp/Makefile: Include Makeconfig immediately after defining
15863         subdir.
15864         * assert/Makefile: Likewise.
15865         * benchtests/Makefile: Likewise.
15866         * catgets/Makefile: Likewise.
15867         * conform/Makefile: Likewise.
15868         * crypt/Makefile: Likewise.
15869         * csu/Makefile: Likewise.
15870         (all): Remove target.
15871         * ctype/Makefile: Include Makeconfig immediately after defining
15872         subdir.
15873         * debug/Makefile: Likewise.
15874         * dirent/Makefile: Likewise.
15875         * dlfcn/Makefile: Likewise.
15876         * gmon/Makefile: Likewise.
15877         * gnulib/Makefile: Likewise.
15878         * grp/Makefile: Likewise.
15879         * gshadow/Makefile: Likewise.
15880         * hesiod/Makefile: Likewise.
15881         * hurd/Makefile: Likewise.
15882         (all): Remove target.
15883         * iconvdata/Makefile: Include Makeconfig immediately after
15884         defining subdir.
15885         * inet/Makefile: Likewise.
15886         * intl/Makefile: Likewise.
15887         * io/Makefile: Likewise.
15888         * libio/Makefile: Likewise.
15889         (all): Remove target.
15890         * locale/Makefile: Include Makeconfig immediately after defining
15891         subdir.
15892         * login/Makefile: Likewise.
15893         * mach/Makefile: Likewise.
15894         (all): Remove target.
15895         * malloc/Makefile: Include Makeconfig immediately after defining
15896         subdir.
15897         (all): Remove target.
15898         * manual/Makefile: Include Makeconfig immediately after defining
15899         subdir.
15900         * math/Makefile: Likewise.
15901         * misc/Makefile: Likewise.
15902         * nis/Makefile: Likewise.
15903         * nss/Makefile: Likewise.
15904         * po/Makefile: Likewise.
15905         (all): Remove target.
15906         * posix/Makefile: Include Makeconfig immediately after defining
15907         subdir.
15908         * pwd/Makefile: Likewise.
15909         * resolv/Makefile: Likewise.
15910         * resource/Makefile: Likewise.
15911         * rt/Makefile: Likewise.
15912         * setjmp/Makefile: Likewise.
15913         * shadow/Makefile: Likewise.
15914         * signal/Makefile: Likewise.
15915         * socket/Makefile: Likewise.
15916         * soft-fp/Makefile: Likewise.
15917         * stdio-common/Makefile: Likewise.
15918         * stdlib/Makefile: Likewise.
15919         * streams/Makefile: Likewise.
15920         * string/Makefile: Likewise.
15921         * sunrpc/Makefile: Likewise.
15922         (all): Remove target.
15923         * sysvipc/Makefile: Include Makeconfig immediately after defining
15924         subdir.
15925         * termios/Makefile: Likewise.
15926         * time/Makefile: Likewise.
15927         * timezone/Makefile: Likewise.
15928         (all): Remove target.
15929         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15930         subdir.
15931         * wctype/Makefile: Likewise.
15933 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15935         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15936         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15937         (libc_feholdexcept_setround_mips): Ditto.
15938         (libc_feholdsetround): New.
15939         (libc_feholdsetroundf): New.
15940         (libc_feholdsetroundl): New.
15941         (libc_feupdateenv_test_mips): New.
15942         (libc_feupdateenv_test): New.
15943         (libc_feupdateenv_testf): New.
15944         (libc_feupdateenv_testl): New.
15945         (libc_feresetround): New.
15946         (libc_feresetroundf): New.
15947         (libc_feresetroundl): New.
15948         (libc_fetestexcept_mips): New.
15949         (libc_fetestexcept): New.
15950         (libc_fetestexceptf): New.
15951         (libc_fetestexceptl): New.
15952         (HAVE_RM_CTX): New.
15953         (libc_feholdexcept_setround_mips_ctx): New.
15954         (libc_feholdexcept_setround_ctx): New.
15955         (libc_feholdexcept_setroundf_ctx): New.
15956         (libc_feholdexcept_setroundl_ctx): New.
15957         (libc_fesetenv_mips_ctx): New.
15958         (libc_fesetenv_ctx): New.
15959         (libc_fesetenv_ctxf): New.
15960         (libc_fesetenv_ctxl): New.
15961         (libc_feupdateenv_mips_ctx): New.
15962         (libc_feupdateenv_ctx): New.
15963         (libc_feupdateenvf_ctx): New.
15964         (libc_feupdateenvl_ctx): New.
15965         (libc_feholdsetround_mips_ctx): New.
15966         (libc_feholdsetround_ctx): New.
15967         (libc_feholdsetroundf_ctx): New.
15968         (libc_feholdsetroundl_ctx): New.
15969         (libc_feresetround_mips_ctx): New.
15970         (libc_feresetround_ctx): New.
15971         (libc_feresetroundf_ctx): New.
15972         (libc_feresetroundl_ctx): New.
15974 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15976         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15978         * manual/ipc.texi: New file.
15979         * manual/Makefile (chapters): Add ipc.
15980         * manual/job.texi: Add "Inter-Process Communication" to next.
15981         * manual/process.texi: Add "Inter-Process Communication" to prev.
15983 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15987 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15989         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15991         * manual/arith.texi: Fix spaces after sentences.
15992         * manual/charset.texi: Likewise.
15993         * manual/errno.texi: Likewise.
15994         * manual/install.texi: Likewise.
15995         * manual/llio.texi: Likewise.
15996         * manual/locale.texi: Likewise.
15997         * manual/maint.texi: Likewise.
15998         * manual/math.texi: Likewise.
15999         * manual/memory.texi: Likewise.
16000         * manual/message.texi: Likewise.
16001         * manual/probes.texi: Likewise.
16002         * manual/resource.texi: Likewise.
16003         * manual/signal.texi: Likewise.
16004         * manual/socket.texi: Likewise.
16005         * manual/stdio.texi: Likewise.
16006         * manual/string.texi: Likewise.
16007         * manual/time.texi: Likewise.
16008         * manual/users.texi: Likewise.
16010 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16012         [BZ #16632]
16013         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16014         _DEFAULT_SOURCE is defined.
16016 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16017             Carlos O'Donell  <carlos@redhat.com>
16019         [BZ #16613]
16020         * elf/dl-tls.c (_dl_count_modids): New function.
16021         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16022         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16023         audit library and increment generation counter.
16024         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16025         * elf/tst-audit9.c: New file.
16026         * elf/tst-auditmod9a.c: New file.
16027         * elf/tst-auditmod9b.c: New file.
16028         * elf/Makefile: Add rules to build and run tst-audit9.
16030 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16032         [BZ #15347]
16033         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16035 2014-02-25  Will Newton  <will.newton@linaro.org>
16037         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16038         (__longjmp): Restore sp and lr before restoring callee
16039         saved registers.  Add longjmp and longjmp_target
16040         SystemTap probe point.
16041         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16042         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16043         Define to zero to match jmpbuf layout.
16044         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16045         (__sigsetjmp): Save sp and lr before saving callee
16046         saved registers.  Add setjmp SystemTap probe point.
16048 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16050         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16052 2014-02-24  Andreas Schwab  <schwab@suse.de>
16054         [BZ #15804]
16055         * elf/pldd.c (wait_for_ptrace_stop): New function.
16056         (main): Call it after attaching.
16058 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16060         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16061         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16062         Versions files is now verboten.
16063         * hurd/Versions (libc: GLIBC_2.0):
16064         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16065         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16066         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16067         * mach/Versions: Likewise.
16069         * csu/Versions: Remove unused %include.
16070         * resolv/Versions: Likewise.
16072 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16074         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16075         ($(objpfx)check-local-headers.out): Likewise.
16076         ($(objpfx)begin-end-check.out): Likewise.
16077         * Makerules (check-abi-%.out): Likewise.
16078         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16079         ($(objpfx)test2.cat): Likewise.
16080         ($(objpfx)de/libc.cat): Likewise.
16081         ($(objpfx)test-gencat.out): Likewise.
16082         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16083         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16084         ($(objpfx)noload-mem): Likewise.
16085         ($(objpfx)tst-pathopt.out): Likewise.
16086         ($(objpfx)tst-rtld-load-self.out): Likewise.
16087         ($(objpfx)tst-array1-cmp.out): Likewise.
16088         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16089         ($(objpfx)tst-array2-cmp.out): Likewise.
16090         ($(objpfx)tst-array3-cmp.out): Likewise.
16091         ($(objpfx)tst-array4-cmp.out): Likewise.
16092         ($(objpfx)tst-array5-cmp.out): Likewise.
16093         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16094         ($(objpfx)check-textrel.out): Likewise.
16095         ($(objpfx)check-execstack.out): Likewise.
16096         ($(objpfx)check-localplt.out): Likewise.
16097         ($(objpfx)order2-cmp.out): Likewise.
16098         ($(objpfx)tst-leaks1-mem): Likewise.
16099         ($(objpfx)tst-leaks1-static-mem): Likewise.
16100         ($(objpfx)tst-initorder-cmp.out): Likewise.
16101         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16102         ($(objpfx)tst-unused-dep.out): Likewise.
16103         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16104         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16105         * iconv/Makefile (test-iconvconfig): Likewise.
16106         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16107         ($(objpfx)iconv-test.out): Likewise.
16108         ($(objpfx)tst-tables.out): Likewise.
16109         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16110         ($(objpfx)tst-gettext.out): Likewise.
16111         ($(objpfx)tst-translit.out): Likewise.
16112         ($(objpfx)tst-gettext2.out): Likewise.
16113         ($(objpfx)tst-gettext4.out): Likewise.
16114         ($(objpfx)tst-gettext6.out): Likewise.
16115         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16116         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16117         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16118         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16119         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16120         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16121         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16122         ($(objpfx)wordexp-tst.out): Likewise.
16123         ($(objpfx)annexc.out): Likewise.
16124         ($(objpfx)tst-fnmatch-mem): Likewise.
16125         ($(objpfx)bug-regex2-mem): Likewise.
16126         ($(objpfx)bug-regex14-mem): Likewise.
16127         ($(objpfx)bug-regex21-mem): Likewise.
16128         ($(objpfx)bug-regex31-mem): Likewise.
16129         ($(objpfx)tst-vfork3-mem): Likewise.
16130         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16131         ($(objpfx)tst-pcre-mem): Likewise.
16132         ($(objpfx)tst-boost-mem): Likewise.
16133         ($(objpfx)tst-getconf.out): Likewise.
16134         ($(objpfx)bug-ga2-mem): Likewise.
16135         ($(objpfx)bug-glob2-mem): Likewise.
16136         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16137         ($(objpfx)mtrace-tst-leaks2): Likewise.
16138         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16139         ($(objpfx)tst-printf.out): Likewise.
16140         ($(objpfx)tst-setvbuf1.out): Likewise.
16141         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16142         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16143         ($(objpfx)tst-fmtmsg.out): Likewise.
16144         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16145         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16147         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16148         * bits/sigaction.h [__USE_MISC]: Likewise.
16149         * bits/waitstatus.h: Update #endif comments.
16150         * ctype/ctype.h: Likewise.
16151         * dirent/dirent.h: Likewise.
16152         [__USE_MISC]: Remove redundant conditionals.
16153         * grp/grp.h: Update #endif comments.
16154         [__USE_GNU]: Remove redundant conditionals.
16155         [__USE_MISC]: Likewise.
16156         * inet/netinet/in.h [__USE_GNU]: Likewise.
16157         * io/sys/stat.h [__USE_MISC]: Likewise.
16158         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16159         * libio/bits/stdio.h: Update #endif comments.
16160         [__USE_MISC]: Remove redundant conditionals.
16161         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16162         * libio/stdio.h: Update #endif comments.
16163         [__USE_MISC]: Remove redundant conditionals.
16164         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16165         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16166         * math/math.h: Update #else and #endif comments.
16167         [__USE_MISC]: Remove redundant conditionals.
16168         * misc/sys/uio.h: Update #endif comments.
16169         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16170         * posix/glob.h [__USE_MISC]: Likewise.
16171         * posix/sys/types.h: Update #endif comments.
16172         [__USE_MISC]: Remove redundant conditionals.
16173         * posix/sys/wait.h: Update #endif comments.
16174         [__USE_MISC]: Remove redundant conditionals.
16175         * posix/unistd.h: Update #endif comments.
16176         [__USE_MISC]: Remove redundant conditionals.
16177         * pwd/pwd.h [__USE_GNU]: Likewise.
16178         [__USE_MISC]: Likewise.
16179         * resolv/netdb.h [__USE_GNU]: Likewise.
16180         * signal/signal.h: Update #endif comments.
16181         [__USE_MISC]: Remove redundant conditionals.
16182         * stdlib/stdlib.h: Update #else and #endif comments.
16183         [__USE_MISC]: Remove redundant conditionals.
16184         [__USE_GNU]: Likewise.
16185         * string/bits/string2.h [__USE_MISC]: Likewise.
16186         * string/string.h: Update #endif comments.
16187         [__USE_MISC]: Remove redundant conditionals.
16188         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16189         Likewise.
16190         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16191         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16192         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16193         Likewise.
16194         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16195         Likewise.
16196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16197         comments.
16198         [__USE_MISC]: Remove redundant conditionals.
16199         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16200         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16201         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16202         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16203         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16204         Likewise.
16205         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16206         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16207         Likewise.
16208         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16209         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16210         Likewise.
16211         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16212         Likewise.
16213         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16214         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16215         Likewise.
16216         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16217         Likewise.
16218         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16219         * sysdeps/x86/bits/string.h: Update #endif comments.
16220         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16221         conditionals.
16222         * time/sys/time.h: Update #endif comments.
16223         * time/time.h: Likewise.
16224         [__USE_MISC]: Remove redundant conditionals.
16226 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16228         [BZ #16600]
16229         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16231 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16233         * Versions.def (librt): Add GLIBC_2.17.
16235 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16237         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16238         synonym for _SYS_AUXV_H to allow direct inclusion.
16239         * sysdeps/sparc/bits/hwcap.h: Likewise.
16240         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16241         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16242         * sysdeps/sparc/sysdep.h: Likewise.
16244 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16246         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16248 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16250         * benchtests/bench-strrchr.c: Print length instead of position.
16252 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #16611]
16255         * sysdeps/unix/sysv/linux/kernel-features.h
16256         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16257         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16258         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16259         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16260         Likewise.
16261         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16262         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16263         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16264         (__ASSUME_SENDMMSG): Define instead of using previous
16265         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16266         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16267         (__ASSUME_SENDMMSG_SYSCALL): Define.
16268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16269         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16270         Likewise.
16271         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16272         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16273         Likewise.
16274         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16275         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16276         Likewise.
16277         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16278         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16279         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16280         [__ASSUME_SENDMMSG]: Change conditionals to
16281         [__ASSUME_SENDMMSG_SOCKETCALL].
16282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16283         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16284         Define.
16285         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16286         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16287         Likewise.
16288         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16289         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16290         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16291         [!__ASSUME_SENDMMSG]: Change conditional to
16292         [!__ASSUME_SENDMMSG_SOCKETCALL].
16293         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16294         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16295         Define.
16297         [BZ #16610]
16298         * sysdeps/unix/sysv/linux/kernel-features.h
16299         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16300         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16301         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16302         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16303         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16304         [__i386__ || __sparc__]
16305         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16306         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16307         (__ASSUME_RECVMMSG): Define instead of using previous
16308         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16309         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16310         (__ASSUME_RECVMMSG_SYSCALL): Define.
16311         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16313         Likewise.
16314         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16315         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16316         Likewise.
16317         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16318         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16319         Likewise.
16320         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16321         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16322         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16323         [__ASSUME_RECVMMSG]: Change condition to
16324         [__ASSUME_RECVMMSG_SOCKETCALL].
16325         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16327         Define.
16328         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16329         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16330         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16331         Likewise.
16332         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16333         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16334         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16335         [!__ASSUME_RECVMMSG]: Change condition to
16336         [!__ASSUME_RECVMMSG_SOCKETCALL].
16337         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16338         (__ASSUME_RECVMMSG_SYSCALL): Define.
16340         [BZ #16609]
16341         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16342         __powerpc__ || __s390__ || __sh__ || __sparc__]
16343         (__ASSUME_SOCKETCALL): Define.
16344         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16345         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16346         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16347         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16348         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16349         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16350         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16351         (__ASSUME_ACCEPT4): Define instead of using previous
16352         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16353         __powerpc__ || __sparc__ || __s390__)] condition.
16354         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16355         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16356         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16357         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16358         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16359         [!__ASSUME_ACCEPT4]: Change condition to
16360         [!__ASSUME_ACCEPT4_SOCKETCALL].
16361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16362         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16363         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16365         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16366         __ASSUME_ACCEPT4_SYSCALL.
16367         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16368         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16370         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16371         __ASSUME_ACCEPT4_SYSCALL.
16372         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16373         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16374         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16375         [__ASSUME_ACCEPT4]: Change condition to
16376         [__ASSUME_ACCEPT4_SOCKETCALL].
16377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16378         (__ASSUME_SOCKETCALL): Define.
16379         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16381         (__ASSUME_SOCKETCALL): Define.
16382         (__ASSUME_ACCEPT4): Remove.
16383         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16384         Define.
16385         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16386         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16387         Likewise.
16388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16389         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16391         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16392         macro.
16393         (HWCAP_ARM_LPAE): Likewise.
16394         (HWCAP_ARM_EVTSTRM): Likewise.
16395         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16396         Add vpfd32, lpae and evtstrm.
16397         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16398         Increase to 22.
16400 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16402         * math/auto-libm-test-in: Add tests of clog10.
16403         * math/auto-libm-test-out: Regenerated.
16404         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16405         * sysdeps/i386/fpu/libm-test-ulps: Update.
16406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408 2014-02-18  Andreas Schwab  <schwab@suse.de>
16410         [BZ #16574]
16411         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16412         Store non-zero if the second buffer was newly allocated.
16413         (send_dg): Likewise.
16414         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16415         to send_vc and send_dg.
16416         (res_nsend): Pass NULL for ansp2_malloced.
16417         * resolv/res_query.c (__libc_res_nquery): Add parameter
16418         answerp2_malloced and pass it down to __libc_res_nsend.
16419         (res_nquery): Pass additional NULL to __libc_res_nquery.
16420         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16421         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16422         second answer buffer if answerp2_malloced was set.
16423         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16424         (__libc_res_nquerydomain): Add parameter
16425         answerp2_malloced and pass it down to __libc_res_nquery.
16426         (res_nquerydomain): Pass additional NULL to
16427         __libc_res_nquerydomain.
16428         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16429         additional NULL to __libc_res_nsend and __libc_res_nquery.
16430         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16431         additional NULL to __libc_res_nsearch.
16432         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16433         parameter of __libc_res_nsearch to check for separately allocated
16434         second buffer.
16435         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16436         __libc_res_nquery.
16437         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16438         additional NULL to __libc_res_nquery.
16439         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16440         __libc_res_nsearch.
16441         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16442         * include/resolv.h: Update prototypes of __libc_res_nquery,
16443         __libc_res_nsearch, __libc_res_nsend.
16445 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16447         * math/auto-libm-test-in: Add tests of fma.
16448         * math/auto-libm-test-out: Regenerated.
16449         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16450         (fma_towardzero_test_data): Likewise.
16451         (fma_downward_test_data): Likewise.
16452         (fma_upward_test_data): Likewise.
16453         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16454         mpc_mode.
16455         (rounding_modes): Add values for new field.
16456         (func_calc_method): Add value mpfr_fff_f.
16457         (func_calc_desc): Add mpfr_fff_f union field.
16458         (test_function): Add field exact_args.
16459         (FUNC): Add macro argument EXACT_ARGS.
16460         (FUNC_mpfr_f_f): Update call to FUNC.
16461         (FUNC_mpfr_f_f): Likewise.
16462         (FUNC_mpfr_ff_f): Likewise.
16463         (FUNC_mpfr_if_f): Likewise.
16464         (FUNC_mpc_c_f): Likewise.
16465         (FUNC_mpc_c_c): Likewise.
16466         (test_functions): Add fma.  Update calls to FUNC.
16467         (handle_input_arg): Add argument exact_args.
16468         (add_test): Update call to handle_input_arg.
16469         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16470         (output_for_one_input_case): Update call to calc_generic_results.
16471         Recalculate exact zero results in each rounding mode.
16473         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16474         non-negative before setting low bit.
16475         * math/auto-libm-test-in: Mark one asin test possibly having
16476         spurious underflow.
16477         * math/auto-libm-test-out: Regenerated.
16478         * sysdeps/i386/fpu/libm-test-ulps: Update.
16479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16481 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16483         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16484         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16485         ports/sysdeps/unix/sysv/linux/microblaze.
16486         * README: Add missing listing for microblaze*-*-linux-gnu.
16488 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16490         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16491         duplicate code
16493 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16495         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16496         * sysdeps/unix/sysv/linux/ia64: Move directory from
16497         ports/sysdeps/unix/sysv/linux/ia64.
16498         * README: Update listing for ia64-*-linux-gnu.
16500 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16501             Joseph Myers  <joseph@codesourcery.com>
16503         * Makeconfig (test-name): New variable.
16504         (evaluate-test): Likewise.
16505         * Makerules (do-test-clean): Remove .test-result files.
16506         (common-mostlyclean): Likewise.
16507         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16508         * scripts/evaluate-test.sh: New file.
16510 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16512         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16513         separate $(objpfx)tst-fopenloc-cmp.out and
16514         $(objpfx)tst-fopenloc-mem.out targets.
16515         (tests): Update dependencies.
16516         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16517         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16518         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16519         (tst-rxspencer-no-utf8-ARGS): New variable.
16520         (tst-rxspencer-no-utf8-ENV): Likewise.
16521         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16522         instead of $(objpfx)tst-rxspencer-mem.
16523         ($(objpfx)tst-rxspencer-mem): Change target to
16524         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16525         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16526         * posix/tst-rxspencer-no-utf8.c: New file.
16528         * elf/Makefile ($(objpfx)order.out): Remove rule.
16529         [$(run-built-tests) = yes] (tests): Depend on
16530         $(objpfx)order-cmp.out.
16531         ($(objpfx)order-cmp.out): New rule.
16532         [$(run-built-tests) = yes] (tests): Depend on
16533         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16534         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16535         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16536         $(objpfx)tst-array5-static-cmp.out.
16537         ($(objpfx)tst-array1.out): Remove rule.
16538         ($(objpfx)tst-array1-cmp.out): New rule.
16539         ($(objpfx)tst-array1-static.out): Remove rule.
16540         ($(objpfx)tst-array1-static-cmp.out): New rule.
16541         ($(objpfx)tst-array2.out): Remove rule.
16542         ($(objpfx)tst-array2-cmp.out): New rule.
16543         ($(objpfx)tst-array3.out): Remove rule.
16544         ($(objpfx)tst-array3-cmp.out): New rule.
16545         ($(objpfx)tst-array4.out): Remove rule.
16546         ($(objpfx)tst-array4-cmp.out): New rule.
16547         ($(objpfx)tst-array5.out): Remove rule.
16548         ($(objpfx)tst-array5-cmp.out): New rule.
16549         ($(objpfx)tst-array5-static.out): Remove rule.
16550         ($(objpfx)tst-array5-static-cmp.out): New rule.
16551         [$(run-built-tests) = yes] (tests): Depend on
16552         $(objpfx)order2-cmp.out.
16553         ($(objpfx)order2.out): Remove rule.
16554         ($(objpfx)order2-cmp.out): New rule.
16555         ($(objpfx)tst-initorder.out): Remove rule.
16556         [$(run-built-tests) = yes] (tests): Depend on
16557         $(objpfx)tst-initorder-cmp.out.
16558         ($(objpfx)tst-initorder-cmp.out): New rule.
16559         ($(objpfx)tst-initorder2.out): Remove rule.
16560         [$(run-built-tests) = yes] (tests): Depend on
16561         $(objpfx)tst-initorder2-cmp.out.
16562         ($(objpfx)tst-initorder2-cmp.out): New rule.
16563         [$(run-built-tests) = yes] (tests): Depend on
16564         $(objpfx)tst-unused-dep-cmp.out.
16565         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16566         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16567         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16568         on $(objpfx)tst-setvbuf1-cmp.out.
16569         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16570         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16571         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16572         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16573         ($(objpfx)tst-svc.out): Remove rule.
16574         ($(objpfx)tst-svc-cmp.out): New rule.
16576 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16578         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16579         * ctype/ctype.h [__USE_MISC]: Likewise.
16580         * dirent/dirent.h [__USE_MISC]: Likewise.
16581         * grp/grp.h [__USE_MISC]: Likewise.
16582         * io/fcntl.h [__USE_MISC]: Likewise.
16583         * io/sys/stat.h [__USE_MISC]: Likewise.
16584         * libio/stdio.h [__USE_MISC]: Likewise.
16585         * posix/unistd.h [__USE_MISC]: Likewise.
16586         * pwd/pwd.h [__USE_MISC]: Likewise.
16587         * stdlib.h [__USE_MISC]: Likewise.
16588         * string/bits/string2.h [__USE_MISC]: Likewise.
16589         * string/string.h [__USE_MISC]: Likewise.
16590         * time/time.h [__USE_MISC]: Likewise.
16592 2014-02-13  Andreas Schwab  <schwab@suse.de>
16594         [BZ #16574]
16595         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16596         second answer buffer if it was separately allocated.
16598 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16600         * sysdeps/mips/math-tests.h: Include <features.h>.
16601         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16602         (ROUNDING_TESTS_long_double): Do not define.
16603         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16604         (EXCEPTION_TESTS_long_double): Likewise.
16605         * sysdeps/mips/mips64/libm-test-ulps: Update.
16607         * include/features.h (__USE_BSD): Remove macro definitions.
16608         (__USE_SVID): Likewise.
16609         (_BSD_SOURCE): Likewise.
16610         (_SVID_SOURCE): Likewise.
16611         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16612         from definition of _DEFAULT_SOURCE.
16613         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16614         [_DEFAULT_SOURCE].
16615         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16616         * bits/mman.h [__USE_BSD]: Likewise.
16617         * bits/termios.h [__USE_BSD]: Likewise.
16618         * bits/waitstatus.h [__USE_BSD]: Likewise.
16619         * ctype/ctype.h [__USE_SVID]: Likewise.
16620         * dirent/dirent.h [__USE_BSD]: Likewise.
16621         * grp/grp.h [__USE_SVID]: Likewise.
16622         [__USE_BSD]: Likewise.
16623         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16624         * io/fcntl.h [__USE_BSD]: Likewise.
16625         * io/ftw.h [__USE_BSD]: Likewise.
16626         * io/sys/stat.h [__USE_BSD]: Likewise.
16627         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16628         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16629         * libio/stdio.h [__USE_SVID]: Likewise.
16630         [__USE_BSD]: Likewise.
16631         * math/math.h [__USE_SVID]: Likewise.
16632         [__USE_BSD]: Likewise.
16633         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16634         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16635         * misc/search.h [__USE_SVID]: Likewise.
16636         * misc/sys/mman.h [__USE_BSD]: Likewise.
16637         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16638         * misc/sys/uio.h [__USE_BSD]: Likewise.
16639         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16640         * posix/glob.h [__USE_BSD]: Likewise.
16641         * posix/regex.h [__USE_BSD]: Likewise.
16642         * posix/sys/types.h [__USE_BSD]: Likewise.
16643         [__USE_SVID]: Likewise.
16644         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16645         * posix/sys/wait.h [__USE_BSD]: Likewise.
16646         [__USE_SVID]: Likewise.
16647         * posix/unistd.h [__USE_BSD]: Likewise.
16648         [__USE_SVID]: Likewise.
16649         * pwd/pwd.h [__USE_SVID]: Likewise.
16650         * resolv/netdb.h [__USE_BSD]: Likewise.
16651         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16652         * signal/signal.h [__USE_BSD]: Likewise.
16653         [__USE_SVID]: Likewise.
16654         * socket/sys/socket.h [__USE_BSD]: Likewise.
16655         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16656         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16657         [__USE_SVID]: Likewise.
16658         * string/bits/string2.h [__USE_BSD]: Likewise.
16659         [__USE_SVID]: Likewise.
16660         * string/bits/string3.h [__USE_BSD]: Likewise.
16661         * string/endian.h [__USE_BSD]: Likewise.
16662         * string/string.h [__USE_SVID]: Likewise.
16663         [__USE_BSD]: Likewise.
16664         * string/strings.h [__USE_BSD]: Likewise.
16665         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16666         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16667         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16668         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16669         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16670         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16671         Likewise.
16672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16673         Likewise.
16674         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16675         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16676         Likewise.
16677         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16678         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16679         Likewise.
16680         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16681         Likewise.
16682         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16683         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16684         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16685         Likewise.
16686         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16687         Likewise.
16688         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16689         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16690         * termios/termios.h [__USE_BSD]: Likewise.
16691         * time/sys/time.h [__USE_BSD]: Likewise.
16692         * time/time.h [__USE_BSD]: Likewise.
16693         [__USE_SVID]: Likewise.
16695         * Makefile (subdir_targets): Remove subdir_lint.out.
16697         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16698         (do-tst-printf): Likewise.
16699         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16700         $(objpfx)tst-printf.out.
16702         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16704         * Makerules (check-abi-%): Change target to
16705         $(objpfx)check-abi-%.out.
16706         (check-abi target): Update dependencies.
16707         (check-abi-pattern variable): Redirect output of diff to $@.
16708         (check-abi variable): Likewise.
16709         * elf/Makefile (check-abi): Update dependencies.
16711         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16712         unused.
16713         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16714         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16715         subnormal range.
16716         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16717         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16718         value has largest subnormal exponent.
16719         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16720         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16721         * sysdeps/aarch64/soft-fp/sfp-machine.h
16722         (_FP_TININESS_AFTER_ROUNDING): New macro.
16723         * sysdeps/alpha/soft-fp/sfp-machine.h
16724         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16725         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16726         Likewise.
16727         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16728         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16729         * sysdeps/mips/soft-fp/sfp-machine.h
16730         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16731         * sysdeps/powerpc/soft-fp/sfp-machine.h
16732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16733         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16734         Likewise.
16735         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16736         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16737         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16738         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16739         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16740         Likewise.
16742 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16744         [BZ #16545]
16745         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16746         model 1.
16748 2014-02-12  Richard Henderson  <rth@redhat.com>
16750         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16751         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16752         * sysdeps/unix/sysv/linux/alpha: Move directory from
16753         ports/sysdeps/unix/sysv/linux/alpha.
16754         * README: Update listing for alpha-*-linux-gnu.
16756 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16758         * include/features.h: Update comment documenting feature test
16759         macros.
16760         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16761         _DEFAULT_SOURCE.
16762         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16763         (_SVID_SOURCE): Likewise.
16764         (_DEFAULT_SOURCE): Update description of default features.
16765         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16766         with _GNU_SOURCE.
16767         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16768         (S_ISVTX): Likewise.
16769         * manual/math.texi (Mathematical Constants): Likewise.
16770         * manual/signal.texi (Interrupted Primitives): Likewise.
16771         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16772         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16773         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16774         Don't refer to _SVID_SOURCE in warning text.
16776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16778         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16779         already defined.
16780         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16781         * sysdeps/mips/dl-lookup.c: Remove.
16782         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16784 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16786         [BZ #16447]
16787         * math/auto-libm-test-in: Add testcase for expl.
16788         * math/auto-libm-test-out: Regenerate.
16789         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16790         calculation of unsafe.
16791         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16793 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16795         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16796         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16797         ports/sysdeps/unix/sysv/linux/aarch64.
16798         * README: Update listing for aarch64*-*-linux-gnu.
16800 2014-02-11  Will Newton  <will.newton@linaro.org>
16802         * manual/probes.texi (Mathematical Function Probes): Use
16803         "triggered" instead of "hit".
16805         * manual/probes.texi (Internal Probes): Add documentation
16806         of setjmp, longjmp and longjmp_target probes.
16808         * include/stap-probe.h: Add comment about probe argument
16809         format.
16811         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16812         definition.  (tr_where, tr_freehook, tr_mallochook,
16813         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16815 2014-02-11  David S. Miller  <davem@davemloft.net>
16817         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16818         processing int_tests.
16820 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16822         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16823         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16824         * sysdeps/unix/sysv/linux/mips: Move directory from
16825         ports/sysdeps/unix/sysv/linux/mips.
16826         * README: Update listing for mips-*-linux-gnu and
16827         mips64-*-linux-gnu.
16829 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16831         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16832         * sysdeps/unix/sysv/linux/m68k: Move directory from
16833         ports/sysdeps/unix/sysv/linux/m68k.
16834         * README: Update listing for m68k-*-linux-gnu.
16836 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16838         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16839         * sysdeps/unix/sysv/linux/generic: Move directory from
16840         ports/sysdeps/unix/sysv/linux/generic.
16841         * sysdeps/unix/sysv/linux/tile: Move directory from
16842         ports/sysdeps/unix/sysv/linux/tile.
16843         * README: Update listing for tile*-*-linux-gnu.
16845 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16847         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16848         __builtin_expect.
16849         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16850         * catgets/open_catalog.c (__open_catalog): Likewise.
16851         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16852         * debug/confstr_chk.c: Likewise.
16853         * debug/fread_chk.c (__fread_chk): Likewise.
16854         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16855         * debug/getgroups_chk.c: Likewise.
16856         * debug/mbsnrtowcs_chk.c: Likewise.
16857         * debug/mbsrtowcs_chk.c: Likewise.
16858         * debug/mbstowcs_chk.c: Likewise.
16859         * debug/memcpy_chk.c: Likewise.
16860         * debug/memmove_chk.c: Likewise.
16861         * debug/mempcpy_chk.c: Likewise.
16862         * debug/memset_chk.c: Likewise.
16863         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16864         * debug/strcat_chk.c (__strcat_chk): Likewise.
16865         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16866         * debug/strncat_chk.c (__strncat_chk): Likewise.
16867         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16868         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16869         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16870         * debug/wcpncpy_chk.c: Likewise.
16871         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16872         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16873         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16874         * debug/wcsncpy_chk.c: Likewise.
16875         * debug/wcsnrtombs_chk.c: Likewise.
16876         * debug/wcsrtombs_chk.c: Likewise.
16877         * debug/wcstombs_chk.c: Likewise.
16878         * debug/wmemcpy_chk.c: Likewise.
16879         * debug/wmemmove_chk.c: Likewise.
16880         * debug/wmempcpy_chk.c: Likewise.
16881         * debug/wmemset_chk.c: Likewise.
16882         * dirent/scandirat.c (SCANDIRAT): Likewise.
16883         * dlfcn/dladdr1.c (dladdr1): Likewise.
16884         * dlfcn/dladdr.c (dladdr): Likewise.
16885         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16886         * dlfcn/dlerror.c (__dlerror): Likewise.
16887         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16888         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16889         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16890         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16891         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16892         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16893         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16894         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16895         Likewise.
16896         * elf/dl-conflict.c: Likewise.
16897         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16898         * elf/dl-dst.h: Likewise.
16899         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16900         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16901         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16902         * elf/dl-init.c (call_init, _dl_init): Likewise.
16903         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16904         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16905         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16906         Likewise.
16907         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16908         Likewise.
16909         * elf/dl-minimal.c (__libc_memalign): Likewise.
16910         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16911         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16912         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16913         * elf/dl-sym.c (do_sym): Likewise.
16914         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16915         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16916         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16917         * elf/dl-writev.h (_dl_writev): Likewise.
16918         * elf/ldconfig.c (search_dir): Likewise.
16919         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16920         (dl_main): Likewise.
16921         * elf/setup-vdso.h (setup_vdso): Likewise.
16922         * grp/compat-initgroups.c (compat_call): Likewise.
16923         * grp/fgetgrent.c (fgetgrent): Likewise.
16924         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16925         * grp/putgrent.c (putgrent): Likewise.
16926         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16927         Likewise.
16928         * hurd/hurdinit.c: Likewise.
16929         * iconvdata/8bit-gap.c (struct): Likewise.
16930         * iconvdata/ansi_x3.110.c : Likewise.
16931         * iconvdata/big5.c : Likewise.
16932         * iconvdata/big5hkscs.c : Likewise.
16933         * iconvdata/cp1255.c: Likewise.
16934         * iconvdata/cp1258.c : Likewise.
16935         * iconvdata/cp932.c : Likewise.
16936         * iconvdata/euc-cn.c: Likewise.
16937         * iconvdata/euc-jisx0213.c : Likewise.
16938         * iconvdata/euc-jp.c: Likewise.
16939         * iconvdata/euc-jp-ms.c : Likewise.
16940         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16941         * iconvdata/gb18030.c : Likewise.
16942         * iconvdata/gbbig5.c (const): Likewise.
16943         * iconvdata/gbgbk.c: Likewise.
16944         * iconvdata/gbk.c : Likewise.
16945         * iconvdata/ibm1364.c : Likewise.
16946         * iconvdata/ibm930.c : Likewise.
16947         * iconvdata/ibm932.c: Likewise.
16948         * iconvdata/ibm933.c : Likewise.
16949         * iconvdata/ibm935.c : Likewise.
16950         * iconvdata/ibm937.c : Likewise.
16951         * iconvdata/ibm939.c : Likewise.
16952         * iconvdata/ibm943.c: Likewise.
16953         * iconvdata/iso_11548-1.c: Likewise.
16954         * iconvdata/iso-2022-cn.c : Likewise.
16955         * iconvdata/iso-2022-cn-ext.c : Likewise.
16956         * iconvdata/iso-2022-jp-3.c: Likewise.
16957         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16958         * iconvdata/iso-2022-kr.c : Likewise.
16959         * iconvdata/iso646.c (gconv_end): Likewise.
16960         * iconvdata/iso_6937-2.c : Likewise.
16961         * iconvdata/iso_6937.c : Likewise.
16962         * iconvdata/iso8859-1.c: Likewise.
16963         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16964         * iconvdata/shift_jisx0213.c : Likewise.
16965         * iconvdata/sjis.c : Likewise.
16966         * iconvdata/t.61.c : Likewise.
16967         * iconvdata/tcvn5712-1.c : Likewise.
16968         * iconvdata/tscii.c: Likewise.
16969         * iconvdata/uhc.c : Likewise.
16970         * iconvdata/unicode.c (gconv_end): Likewise.
16971         * iconvdata/utf-16.c (gconv_end): Likewise.
16972         * iconvdata/utf-32.c (gconv_end): Likewise.
16973         * iconvdata/utf-7.c (base64): Likewise.
16974         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16975         * iconv/gconv_close.c (__gconv_close): Likewise.
16976         * iconv/gconv_open.c (__gconv_open): Likewise.
16977         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16978         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16979         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16980         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16981         (ucs4le_internal_loop_single): Likewise.
16982         * iconv/iconv.c (iconv): Likewise.
16983         * iconv/iconv_close.c: Likewise.
16984         * iconv/loop.c (SINGLE): Likewise.
16985         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16986         * include/atomic.h: Likewise.
16987         * inet/inet6_option.c (option_alloc): Likewise.
16988         * intl/bindtextdom.c (set_binding_values): Likewise.
16989         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16990         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16991         * intl/localealias.c (read_alias_file): Likewise.
16992         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16993         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16994         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16995         * libio/fmemopen.c (fmemopen): Likewise.
16996         * libio/iofgets.c (_IO_fgets): Likewise.
16997         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16998         * libio/iofgetws.c (fgetws): Likewise.
16999         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17000         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17001         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17002         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17003         * locale/findlocale.c (_nl_find_locale): Likewise.
17004         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17005         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17006         Likewise.
17007         * locale/setlocale.c (setlocale): Likewise.
17008         * login/programs/pt_chown.c (main): Likewise.
17009         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17010         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17011         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17012         (mmap, mmap64, mremap, munmap): Likewise.
17013         * math/e_exp2l.c: Likewise.
17014         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17015         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17016         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17017         * math/s_catan.c (__catan): Likewise.
17018         * math/s_catanf.c (__catanf): Likewise.
17019         * math/s_catanh.c (__catanh): Likewise.
17020         * math/s_catanhf.c (__catanhf): Likewise.
17021         * math/s_catanhl.c (__catanhl): Likewise.
17022         * math/s_catanl.c (__catanl): Likewise.
17023         * math/s_ccosh.c (__ccosh): Likewise.
17024         * math/s_ccoshf.c (__ccoshf): Likewise.
17025         * math/s_ccoshl.c (__ccoshl): Likewise.
17026         * math/s_cexp.c (__cexp): Likewise.
17027         * math/s_cexpf.c (__cexpf): Likewise.
17028         * math/s_cexpl.c (__cexpl): Likewise.
17029         * math/s_clog10.c (__clog10): Likewise.
17030         * math/s_clog10f.c (__clog10f): Likewise.
17031         * math/s_clog10l.c (__clog10l): Likewise.
17032         * math/s_clog.c (__clog): Likewise.
17033         * math/s_clogf.c (__clogf): Likewise.
17034         * math/s_clogl.c (__clogl): Likewise.
17035         * math/s_csin.c (__csin): Likewise.
17036         * math/s_csinf.c (__csinf): Likewise.
17037         * math/s_csinh.c (__csinh): Likewise.
17038         * math/s_csinhf.c (__csinhf): Likewise.
17039         * math/s_csinhl.c (__csinhl): Likewise.
17040         * math/s_csinl.c (__csinl): Likewise.
17041         * math/s_csqrt.c (__csqrt): Likewise.
17042         * math/s_csqrtf.c (__csqrtf): Likewise.
17043         * math/s_csqrtl.c (__csqrtl): Likewise.
17044         * math/s_ctan.c (__ctan): Likewise.
17045         * math/s_ctanf.c (__ctanf): Likewise.
17046         * math/s_ctanh.c (__ctanh): Likewise.
17047         * math/s_ctanhf.c (__ctanhf): Likewise.
17048         * math/s_ctanhl.c (__ctanhl): Likewise.
17049         * math/s_ctanl.c (__ctanl): Likewise.
17050         * math/w_pow.c: Likewise.
17051         * math/w_powf.c: Likewise.
17052         * math/w_powl.c: Likewise.
17053         * math/w_scalb.c (sysv_scalb): Likewise.
17054         * math/w_scalbf.c (sysv_scalbf): Likewise.
17055         * math/w_scalbl.c (sysv_scalbl): Likewise.
17056         * misc/error.c (error_tail): Likewise.
17057         * misc/pselect.c (__pselect): Likewise.
17058         * nis/nis_callback.c (__nis_create_callback): Likewise.
17059         * nis/nis_call.c (__nisfind_server): Likewise.
17060         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17061         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17062         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17063         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17064         * nis/nis_lookup.c (nis_lookup): Likewise.
17065         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17066         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17067         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17068         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17069         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17070         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17071         * nis/nss_compat/compat-initgroups.c (add_group)
17072         (internal_getgrent_r): Likewise.
17073         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17074         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17075         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17076         (internal_getspnam_r): Likewise.
17077         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17078         (_nss_nis_getaliasbyname_r): Likewise.
17079         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17080         (_nss_nis_getntohost_r): Likewise.
17081         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17082         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17083         (_nss_nis_getgrgid_r): Likewise.
17084         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17085         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17086         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17087         (_nss_nis_gethostbyname4_r): Likewise.
17088         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17089         (initgroups_netid): Likewise.
17090         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17091         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17092         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17093         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17094         (_nss_nis_getprotobynumber_r): Likewise.
17095         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17096         (_nss_nis_getsecretkey): Likewise.
17097         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17098         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17099         (_nss_nis_getpwuid_r): Likewise.
17100         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17101         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17102         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17103         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17104         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17105         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17106         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17107         Likewise.
17108         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17109         (_nss_nisplus_getntohost_r): Likewise.
17110         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17111         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17112         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17113         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17114         Likewise.
17115         * nis/nss_nisplus/nisplus-initgroups.c
17116         (_nss_nisplus_initgroups_dyn): Likewise.
17117         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17118         (_nss_nisplus_getnetbyaddr_r): Likewise.
17119         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17120         (_nss_nisplus_getprotobynumber_r): Likewise.
17121         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17122         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17123         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17124         Likewise.
17125         * nis/nss_nisplus/nisplus-service.c
17126         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17127         (_nss_nisplus_getservbyport_r): Likewise.
17128         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17129         (_nss_nisplus_getspnam_r): Likewise.
17130         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17131         Likewise.
17132         * nscd/aicache.c (addhstaiX): Likewise.
17133         * nscd/cache.c (cache_search, prune_cache): Likewise.
17134         * nscd/connections.c (register_traced_file, send_ro_fd)
17135         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17136         (main_loop_epoll): Likewise.
17137         * nscd/grpcache.c (addgrbyX): Likewise.
17138         * nscd/hstcache.c (addhstbyX): Likewise.
17139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17140         * nscd/mem.c (gc, mempool_alloc): Likewise.
17141         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17142         (addinnetgrX): Likewise.
17143         * nscd/nscd-client.h (__nscd_acquire_maplock)
17144         (__nscd_drop_map_ref): Likewise.
17145         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17146         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17147         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17148         Likewise.
17149         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17150         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17151         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17152         (__nscd_get_map_ref): Likewise.
17153         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17154         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17155         Likewise.
17156         * nscd/pwdcache.c (addpwbyX): Likewise.
17157         * nscd/selinux.c (preserve_capabilities): Likewise.
17158         * nscd/servicescache.c (addservbyX): Likewise.
17159         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17160         * posix/fnmatch.c (fnmatch): Likewise.
17161         * posix/getopt.c (_getopt_internal_r): Likewise.
17162         * posix/glob.c (glob, glob_in_dir): Likewise.
17163         * posix/wordexp.c (exec_comm_child): Likewise.
17164         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17165         (getanswer_r, gaih_getanswer_slice): Likewise.
17166         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17167         * resolv/res_init.c: Likewise.
17168         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17169         * resolv/res_query.c (__libc_res_nquery): Likewise.
17170         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17171         Likewise.
17172         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17173         * stdio-common/perror.c (perror): Likewise.
17174         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17175         * stdio-common/tmpnam.c (tmpnam): Likewise.
17176         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17177         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17178         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17179         Likewise.
17180         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17181         * stdlib/putenv.c (putenv): Likewise.
17182         * stdlib/setenv.c (__add_to_environ): Likewise.
17183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17184         * stdlib/strtol_l.c (INTERNAL): Likewise.
17185         * string/memmem.c (memmem): Likewise.
17186         * string/strerror.c (strerror): Likewise.
17187         * string/strnlen.c (__strnlen): Likewise.
17188         * string/test-memmem.c (simple_memmem): Likewise.
17189         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17190         * sunrpc/pm_getport.c (__get_socket): Likewise.
17191         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17192         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17193         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17194         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17195         Likewise.
17196         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17197         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17198         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17199         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17200         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17201         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17202         Likewise.
17203         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17204         Likewise.
17205         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17206         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17207         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17208         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17209         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17210         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17211         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17212         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17213         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17214         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17215         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17216         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17217         Likewise.
17218         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17219         Likewise.
17220         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17221         Likewise.
17222         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17224         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17225         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17226         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17227         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17228         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17231         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17232         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17233         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17234         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17235         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17237         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17238         Likewise.
17239         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17240         Likewise.
17241         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17242         Likewise.
17243         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17244         Likewise.
17245         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17247         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17248         Likewise.
17249         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17250         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17251         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17252         * sysdeps/posix/sleep.c: Likewise.
17253         * sysdeps/posix/tempname.c: Likewise.
17254         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17255         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17256         Likewise.
17257         * sysdeps/powerpc/powerpc32/dl-machine.h
17258         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17259         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17261         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17262         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17263         Likewise.
17264         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17265         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17266         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17267         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17268         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17269         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17270         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17271         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17272         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17273         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17274         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17275         (elf_machine_lazy_rel): Likewise.
17276         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17277         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17278         (elf_machine_lazy_rel): Likewise.
17279         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17280         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17281         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17282         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17283         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17284         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17285         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17286         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17287         Likewise.
17288         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17289         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17290         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17291         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17292         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17293         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17294         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17295         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17296         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17297         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17298         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17301         (__posix_fallocate64_l64): Likewise.
17302         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17303         (posix_fallocate): Likewise.
17304         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17305         Likewise.
17306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17307         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17308         (getifaddrs_internal): Likewise.
17309         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17310         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17311         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17312         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17313         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17314         (__posix_fallocate64_l64): Likewise.
17315         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17316         Likewise.
17317         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17318         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17319         (__get_clockfreq): Likewise.
17320         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17321         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17322         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17323         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17324         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17325         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17326         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17327         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17328         Likewise.
17329         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17330         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17331         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17332         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17333         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17334         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17335         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17336         Likewise.
17337         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17338         (posix_fallocate): Likewise.
17339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17340         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17341         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17342         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17343         (elf_machine_rela, elf_machine_rela_relative)
17344         (elf_machine_lazy_rel): Likewise.
17345         * time/asctime.c (asctime_internal): Likewise.
17346         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17347         * time/tzset.c (__tzset_parse_tz): Likewise.
17348         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17349         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17350         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17351         * wcsmbs/wcsmbsload.h: Likewise.
17353         [BZ #15894]
17354         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17356         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17357         (arena_get2): Remove THREAD_STATS conditionals.
17358         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17359         (__malloc_stats, int): Likewise.
17361 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17363         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17364         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17366         * manual/setjmp.texi: Fix typos/grammar errors.
17368         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17369         Only return early when n is <= 0.  Delete unused return statement.
17371         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17372         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17373         * debug/tst-longjmp_chk3.c: New file.
17375         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17376         (test_main): Replace code with set_fortify_handler call.
17377         * debug/test-strcpy_chk.c: Likewise.
17378         * debug/tst-chk1.c: Likewise.
17379         * debug/tst-longjmp_chk.c: Likewise.
17380         * test-skeleton.c: Include fcntl.h & paths.h
17381         (set_fortify_handler): Define.
17383         * debug/tst-longjmp_chk.c: Add header comment and include
17384         ../test-skeleton.c.
17385         (do_test): Mark static.
17386         (TEST_FUNCTION): Define.
17388         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17389         (IP_PMTUDISC_INTERFACE): Likewise.
17390         (IP_MULTICAST_IF): Likewise.
17391         (IP_MULTICAST_TTL): Likewise.
17392         (IP_MULTICAST_LOOP): Likewise.
17393         (IP_ADD_MEMBERSHIP): Likewise.
17394         (IP_DROP_MEMBERSHIP): Likewise.
17395         (IP_UNBLOCK_SOURCE): Likewise.
17396         (IP_BLOCK_SOURCE): Likewise.
17397         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17398         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17399         (IP_MSFILTER): Likewise.
17400         (MCAST_JOIN_GROUP): Likewise.
17401         (MCAST_BLOCK_SOURCE): Likewise.
17402         (MCAST_UNBLOCK_SOURCE): Likewise.
17403         (MCAST_LEAVE_GROUP): Likewise.
17404         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17405         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17406         (MCAST_MSFILTER): Likewise.
17407         (IP_MULTICAST_ALL): Likewise.
17408         (IP_UNICAST_IF): Likewise.
17410         * timezone/Makefile: Delete $(have-ksh) check.
17411         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17412         * timezone/tzselect.ksh: Add +x mode bits.
17414         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17415         (ANON_INODE_FS_MAGIC): Likewise.
17416         (BDEVFS_MAGIC): Likewise.
17417         (BINFMTFS_MAGIC): Likewise.
17418         (BTRFS_TEST_MAGIC): Likewise.
17419         (CRAMFS_MAGIC_WEND): Likewise.
17420         (DEBUGFS_MAGIC): Likewise.
17421         (ECRYPTFS_SUPER_MAGIC): Likewise.
17422         (EXT3_SUPER_MAGIC): Likewise.
17423         (EXT4_SUPER_MAGIC): Likewise.
17424         (FUTEXFS_SUPER_MAGIC): Likewise.
17425         (HOSTFS_SUPER_MAGIC): Likewise.
17426         (HUGETLBFS_MAGIC): Likewise.
17427         (MINIX3_SUPER_MAGIC): Likewise.
17428         (MTD_INODE_FS_MAGIC): Likewise.
17429         (NILFS_SUPER_MAGIC): Likewise.
17430         (OPENPROM_SUPER_MAGIC): Likewise.
17431         (PIPEFS_MAGIC): Likewise.
17432         (PSTOREFS_MAGIC): Likewise.
17433         (QNX6_SUPER_MAGIC): Likewise.
17434         (RAMFS_MAGIC): Likewise.
17435         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17436         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17437         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17438         (SECURITYFS_MAGIC): Likewise.
17439         (SELINUX_MAGIC): Likewise.
17440         (SMACK_MAGIC): Likewise.
17441         (SOCKFS_MAGIC): Likewise.
17442         (SQUASHFS_MAGIC): Likewise.
17443         (STACK_END_MAGIC): Likewise.
17444         (TMPFS_MAGIC): Likewise.
17445         (USBDEVICE_SUPER_MAGIC): Likewise.
17446         (V9FS_MAGIC): Likewise.
17447         (XENFS_SUPER_MAGIC): Likewise.
17448         (CRAMFS_MAGIC): Fix typo in comment.
17449         (EXT2_SUPER_MAGIC): Update comment.
17450         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17452 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17454         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17455         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17456         * sysdeps/unix/sysv/linux/arm: Move directory from
17457         ports/sysdeps/unix/sysv/linux/arm.
17458         * README: Update listing for arm-*-linux-gnueabi.
17460         * README: Remove mention of am33.
17462 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17464         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17465         than the comma operator, to avoid "rhs of comma has no effect"
17466         compiler warnings.
17467         (__sigfillset, __sigandset, __sigorset): Likewise.
17468         * include/signal.h (__sigemptyset): Likewise.
17469         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17471 2014-02-07  Allan McRae  <allan@archlinux.org>
17473         * version.h (RELEASE): Set to "development".
17474         (VERSION): Set to "2.19.90"
17475         * NEWS: Add 2.20 section.
17477 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17479         [BZ #16529]
17480         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17482 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17484         * manual/contrib.texi: Update entry for Carlos O'Donell,
17485         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17487 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17489         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17491         * sysdeps/unix/sysv/linux/kernel-features.h
17492         [__LINUX_KERNEL_VERSION >= 0x020621]
17493         (__ASSUME_PROC_PID_TASK_COMM): Define.
17495 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17497         [BZ #16398]
17498         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17499         conversion when destination buffer does not have enough space.
17500         * libio/tst-ftell-partial-wide.c: New test case.
17501         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17503         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17504         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17505         Leonard and Allan McRae.
17507 2014-02-04  David S. Miller  <davem@davemloft.net>
17509         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17510         32-bit.
17512 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17515         New file
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17517         New file
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17519         New file.
17520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17521         New file.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17523         New file.
17524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17525         New file.
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17527         New file.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17529         New file.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17531         New file.
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17533         New file.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17535         New file.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17537         New file.
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17539         New file.
17541 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17543         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17544         * shlib-versions: Likewise.
17546 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17547             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17549         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17550         (abilist-pattern): New variable, set to %-le.abilist.
17552         * Makerules (abilist-pattern): New variable.
17553         (vpath): Use $(abilist-pattern) in place of %.abilist.
17554         (check-abi-% pattern rule): Likewise.
17555         (check-abi, update-abi): Likewise.
17557 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17561 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17563         * manual/startup.texi: Add next, previous, and top entries for
17564         the `Program Arguments' and `Environment Variables' nodes.
17566 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17568         * manual/macros.texi: Add comments before MTASC-safety macros.
17570         * manual/users.texi: Document MTASC-safety properties.
17572         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17573         (pthread_getspecific, pthread_setspecific): Format with
17574         @deftypefun, and add @safety note.
17575         * manual/signal.texi: Move comments that analyze the above
17576         functions to their home place.
17578 2014-02-03  Allan McRae  <allan@archlinux.org>
17580         * po/sl.po: Update Slovenian translation from translation project.
17582 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17584         * manual/time.texi (timegm): Add missing blank after @c.
17585         Reported by Joseph Myers <joseph@codesourcery.com>.
17587 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17589         * manual/check-safety.sh: New.
17590         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17592         * manual/terminal.texi: Document MTASC-safety properties.
17594         * manual/filesys.texi: Document MTASC-safety properties.
17596         * manual/errno.texi: Document MTASC-safety properties.
17598         * manual/intro.texi: Document safety identifiers and
17599         conditionals.
17601         * manual/string.texi (wcstok): Fix prototype.
17602         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17604         * manual/time.texi: Document MTASC-safety properties.
17606         * manual/string.texi: Document MTASC-safety properties.
17608         * manual/threads.texi: Document MTASC-safety properties.
17610         * manual/stdio.texi: Document MTASC-safety properties.
17612         * manual/syslog.texi: Document MTASC-safety properties.
17614         * manual/sysinfo.texi: Document MTASC-safety properties.
17616         * manual/startup.texi: Document MTASC-safety properties.
17618         * manual/socket.texi: Document MTASC-safety properties.
17620         * manual/signal.texi: Document MTASC-safety properties.
17622 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17624         * manual/setjmp.texi: Document MTASC-safety properties.
17626         * manual/search.texi: Document MTASC-safety properties.
17628         * manual/resource.texi: Document MTASC-safety properties.
17630         * manual/process.texi: Document MTASC-safety properties.
17632         * manual/platform.texi: Document MTASC-safety properties.
17634         * manual/pipe.texi: Document MTASC-safety properties.
17636         * manual/pattern.texi: Document MTASC-safety properties.
17638         * manual/message.texi: Document MTASC-safety properties.
17640         [BZ #12751]
17641         * manual/memory.texi: Document MTASC-safety properties.
17643         * manual/math.texi: Document MTASC-safety properties.
17645         * manual/locale.texi: Document MTASC-safety properties.
17647         * manual/llio.texi: Document MTASC-safety properties.
17649         * manual/libdl.texi: New.
17651         * manual/lang.texi: Document MTASC-safety properties.
17653         * manual/job.texi: Document MTASC-safety properties.
17655         * manual/getopt.texi: Document MTASC-safety properties.
17657         * manual/ctype.texi: Document MTASC-safety properties.
17659 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17661         [BZ #16046]
17662         * csu/libc-tls.c (static_map): Remove variable.
17663         (__libc_setup_tls): Use main executable's link map for TLS data.
17664         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17665         casing for LM_ID_BASE and GL(dl_nns).
17666         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17667         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17668         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17669         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17670         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17671         member.
17672         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17673         l_phnum members.
17675 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17677         * manual/debug.texi: Document MTASC-safety properties.
17679 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17681         [BZ #16510]
17682         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17683         of __x86_64__ when disabling x87 inline functions.
17685 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17687         * manual/charset.texi: Document MTASC-safety properties.
17689         * manual/crypt.texi: Document MTASC-safety properties.
17691         * manual/conf.texi: Document MTASC-safety properties.
17693         * manual/arith.texi: Document MTASC-safety properties.
17695         * manual/argp.texi: Document MTASC-safety properties.
17697         * manual/macros.texi: Introduce macros to document multi
17698         thread, asynchronous signal and asynchronous cancellation
17699         safety properties.
17700         * manual/intro.texi: Introduce the properties themselves.
17702 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17704         * sysdeps/sh/sh4/Makefile: New file.
17706 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17708         * math/gen-libm-test.pl ($srcdir): New variable.
17709         ($auto_input): Use it.
17711 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17713         [BZ #16506]
17714         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17715         access beyond array bounds when parsing netgroups file.
17717         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17718         the old buffer before realloc.
17720 2014-01-27  Allan McRae  <allan@archlinux.org>
17722         * po/fr.po: Update French translation from translation project.
17724 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17726         * sysdeps/sh/libm-test-ulps: Regenerate.
17728 2014-01-24  David S. Miller  <davem@davemloft.net>
17730         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17732 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17734         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17735         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17737 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17739         [BZ #16474]
17740         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17741         string pointers after reallocation.
17743 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17745         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17746         __SH4A__ instead of __SH_FPU_ANY__.
17748 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17750         * sysdeps/sh/fpu_control.h: New file.
17751         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17752         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17753         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17754         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17755         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17756         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17757         * sysdeps/sh/sys/ucontext.h: Remove.
17758         * sysdeps/sh/sys: Remove directory.
17760 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17762         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17763         s390/sys/ucontext.h.
17764         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17765         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17767 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17769         [BZ #15605]
17770         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17772 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17774         [BZ#16431]
17775         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17776         Adjust the vDSO correctly for internal calls.
17777         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17779 2014-01-20  Allan McRae  <allan@archlinux.org>
17781         * po/ca.po: Update Catalan translation from translation project.
17783 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17785         * sysdeps/s390/sotruss-lib.c: New file.
17787 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17789         [BZ#16430]
17790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17791         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17792         local calls issues by not having a PLT stub required for IFUNC calls.
17793         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17795 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17797         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17798         * math/test-fpucw-static.c: Likewise.
17800 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17802         [BZ #16453]
17803         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17805 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17807         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17808         implementation for powerpc.
17810 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17812         [BZ #14782]
17813         * sysdeps/posix/system.c (__libc_system): Do not enable
17814         asynchronous cancellation.
17816 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17818         [BZ #16427]
17819         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17820         handling only for numbers special also in the IEEE case.
17822 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17824         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17826 2014-01-11  Allan McRae  <allan@archlinux.org>
17828         * po/bg.po: Update Bulgarian translation from translation project.
17830         * po/de.po: Update German translation from translation project.
17832 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17834         * sysdeps/generic/gcc-compat.h: New file.
17836 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17838         * benchtests/asin-inputs: Correct slow inputs.
17839         * benchtests/acos-inputs: Likewise.
17841 2014-01-10  Allan McRae  <allan@archlinux.org>
17843         * po:sv.po: Update Swedish translation from translation project.
17845         * po/vi.po: Update Vietnamese translation from translation project.
17847         * po/eo.po: Update Esperanto translation from translation project.
17849         * po/cs.po: Update Czech translation from translation project.
17851         * po/nl.po: Update Dutch translation from translation project.
17853         * po/pl.po: Update Polish translation from translation project.
17855         * po/ru.po: Update Russian translation from translation project.
17857         * po/uk.po: Update Ukrainian translation from translation project.
17859 2014-01-08  Brooks Moses  <bmoses@google.com>
17861         * elf/dl-load.c: Fix comment typo.
17863 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17865         * po/header.pot: Rename to...
17866         * po/pot.header: ... this.
17867         * po/Makefile: Use pot.header.
17869 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17870             Maxim Kuvyrkov  <maxim@kugelworks.com>
17872         [BZ #16394]
17873         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17874         SRC and DEST against LEN.
17876 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17878         [BZ #16414]
17879         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17880         implementation.
17881         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17883 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17887 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17889         [BZ #16408]
17890         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17891         for large positive arguments.
17893 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17895         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17897         * math/auto-libm-test-in: Mark various tests with
17898         xfail-rounding:ldbl-128ibm.
17899         * math/auto-libm-test-out: Regenerated.
17901         [BZ #16407]
17902         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17903         Increase overflow threshold.
17905 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17907         [BZ #14286]
17908         * stdio-common/vfprintf.c: Check for integer overflow.
17910 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17912         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17913         the first argument and return value of __tls_get_addr_internal.
17915 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17917         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17918         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17920 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17922         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17923         * sysdeps/s390/rtld-global-offsets.sym: New file.
17924         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17925         GLIBC_2.19 symbol.
17926         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17928         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17929         ... this.
17930         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17931         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17932         ... this.
17933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17934         Regenerate.
17935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17936         Regenerate.
17937         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17938         halfs of GPRs for high_gprs contexts.
17939         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17940         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17941         field.
17942         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17943         uc_flags field.
17944         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17945         64 bit versions:
17946         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17947         for high GPRs (uc_high_gprs) and for future extensions
17948         (__reserved).
17949         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17950         for future extensions (__reserved).
17951         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17952         64 bit versions:
17953         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17954         SC_HIGHGPRS offset definition.
17955         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17956         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17958         * Versions.def: Add GLIBC_2.19 for libpthread.
17959         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17960         siglongjmp for libpthread with GLIBC_2.19 symver.
17961         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17962         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17963         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17964         * sysdeps/s390/__longjmp.c: New file.
17965         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17966         * sysdeps/s390/longjmp.c: New file.
17967         * sysdeps/s390/setjmp.S: New file.
17968         * sysdeps/s390/sigjmp.S: New file.
17969         * sysdeps/s390/v1-longjmp.c: New file.
17970         * sysdeps/s390/v1-setjmp.h: New file.
17971         * sysdeps/s390/v1-sigjmp.c: New file.
17972         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17973         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17974         GLIBC_2.19 version.
17975         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17976         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17977         versioned symbols for ____longjmp_chk.
17978         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17979         Likewise.
17980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17981         Regenerate.
17982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17983         Regenerate.
17984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17985         Regenerate.
17986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17987         Regenerate.
17988         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17989         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17990         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17991         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17992         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17993         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17994         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17995         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17996         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17997         * sysdeps/s390/rtld-__longjmp.c: New file.
17998         * sysdeps/s390/rtld-setjmp.S: New file.
18000 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18002         [BZ #16400]
18003         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18004         Return -__logl (x) for small positive arguments without evaluating
18005         a polynomial.
18007 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18009         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18010         Rename to ...
18011         (__ptrace_peeksiginfo_args): ... this.
18012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18016 2014-01-06  Allan McRae  <allan@archlinux.org>
18018         * inet/netinet/in.h: Fix typo in comment.
18020 2014-01-05  Andreas Jaeger  <aj@suse.de>
18022         * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 2014-01-05  Allan McRae  <allan@archlinux.org>
18026         * po/libc.pot: Regenerated.
18028         * malloc/memusagestat.c: Fix gettext call formatting.
18030 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18032         * nscd/nscd.c: Improve usage() output.
18034 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18036         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18037         * sysdeps/unix/sysv/linux/configure: Regenerated.
18038         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18039         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18041 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18043         [BZ #16390]
18044         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18045         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18047 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18050         extra tokens at end of #undef directive.
18051         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18052         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18053         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18055 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18057         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18059         * math/auto-libm-test-in: Mark various tests with
18060         xfail-rounding:ldbl-128ibm.
18061         * math/auto-libm-test-out: Regenerated.
18063 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18065         [BZ #16386]
18066         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18067         numbers with subnormal high part when calculating exponent.
18069         [BZ #16385]
18070         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18071         fabs.
18073         [BZ #16384]
18074         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18075         M_LN2l.
18076         (__ieee754_acoshl): Use __log1pl not __log1p.
18078 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18080         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18081         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18082         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18083         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18084         (reused_arena, arena_get2): Convert to GNU style.
18085         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18086         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18087         (memalign_check, __malloc_set_state): Likewise.
18088         * malloc/mallocbug.c (main): Likewise.
18089         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18090         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18091         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18092         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18093         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18094         (__posix_memalign, malloc_info): Likewise.
18095         * malloc/malloc.h: Likewise.
18096         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18097         (mallochook, memalignhook, reallochook, mabort): Likewise.
18098         * malloc/mcheck.h: Likewise.
18099         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18100         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18101         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18102         * malloc/morecore.c (__default_morecore): Likewise.
18103         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18104         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18105         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18106         (print_and_abort): Likewise.
18107         * malloc/obstack.h: Likewise.
18108         * malloc/set-freeres.c (__libc_freeres): Likewise.
18109         * malloc/tst-mallocstate.c (main): Likewise.
18110         * malloc/tst-mtrace.c (main): Likewise.
18111         * malloc/tst-realloc.c (do_test): Likewise.
18113 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18115         [BZ #16366]
18116         * nscd/netgroupcache.c (do_notfound): New function.
18117         (addgetnetgrentX): Use it.
18119         [BZ # 16365]
18120         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18121         NSS_STATUS_NOTFOUND.
18123 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18125         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18128 2014-01-01  Allan McRae  <allan@archlinux.org>
18130         * scripts/update-copyrights: Update configure input file suffix.
18132         * NEWS: Update copyright year.
18133         * catgets/gencat.c: Likewise.
18134         * csu/version.c: Likewise.
18135         * debug/catchsegv.sh: Likewise.
18136         * debug/pcprofiledump.c: Likewise.
18137         * debug/xtrace.sh: Likewise.
18138         * elf/ldconfig.c: Likewise.
18139         * elf/ldd.bash.in: Likewise.
18140         * elf/pldd.c: Likewise.
18141         * elf/sotruss.ksh: Likewise.
18142         * elf/sprof.c: Likewise.
18143         * iconv/iconv_prog.c: Likewise.
18144         * iconv/iconvconfig.c: Likewise.
18145         * locale/programs/locale.c: Likewise.
18146         * locale/programs/localedef.c: Likewise.
18147         * login/programs/pt_chown.c: Likewise.
18148         * malloc/memusage.sh: Likewise.
18149         * malloc/memusagestat.c: Likewise.
18150         * malloc/mtrace.pl: Likewise.
18151         * manual/libc.texinfo: Likewise.
18152         * nscd/nscd.c: Likewise.
18153         * nss/getent.c: Likewise.
18154         * nss/makedb.c: Likewise.
18155         * posix/getconf.c: Likewise.
18156         * scripts/test-installation.pl: Likewise.
18158         * All files with FSF copyright notices: Update copyright dates
18159         using scripts/update-copyrights.
18160         * intl/plural.c: Regenerated.
18161         * locale/programs/charmap-kw.h: Likewise.
18162         * locale/programs/locfile-kw.h: Likewise.
18164 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18166         * sysdeps/unix/sysv/linux/configure: Regenerated.
18167         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18168         the linux/fanotify.h header.
18169         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18170         HAVE_LINUX_FANOTIFY_H is defined.
18172 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18174         * benchtests/cos-inputs: New inputs.
18175         * benchtests/sin-inputs: Likewise.
18177         * benchtests/atan-inputs: New inputs. Fix name of multiple
18178         precision fallback inputs.
18180         * benchtests/atanh-inputs: New inputs.
18181         * benchtests/tanh-inputs: Likewise.
18183         * benchtests/acosh-inputs: New inputs.
18184         * benchtests/asinh-inputs: Likewise.
18186         * benchtests/cosh-inputs: New inputs.
18187         * benchtests/sinh-inputs: Likewise.
18189         * benchtests/acos-inputs: Add more inputs.
18190         * benchtests/asin-inputs: Likewise.
18192 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18194         [BZ #16375]
18195         * manual/arith.texi: Fix spelling.
18196         * manual/charset.texi: Likewise.
18197         * manual/errno.texi: Likewise.
18198         * manual/filesys.texi: Likewise.
18199         * manual/lang.texi: Likewise.
18200         * manual/llio.texi: Likewise.
18201         * manual/locale.texi: Likewise.
18202         * manual/message.texi: Likewise.
18203         * manual/resource.texi: Likewise.
18204         * manual/search.texi: Likewise.
18205         * manual/setjmp.texi: Likewise.
18206         * manual/stdio.texi: Likewise.
18207         * manual/string.texi: Likewise.
18208         * manual/sysinfo.texi: Likewise.
18209         * manual/time.texi: Likewise.
18211 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18213         * po/sl.po: New file.
18215 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18217         * .gitignore: Add core/.gdbinit/.gdb_history.
18219 2013-12-27  Allan McRae  <allan@archlinux.org>
18221         [BZ #16369]
18222         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18223         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18225 2013-12-24  Brooks Moses  <bmoses@google.com>
18227         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18228         all compilers that claim C++98 compliance, not just GCC.
18229         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18230         Likewise.
18232 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18234         * NEWS: Restore accidentally deleted bug-fix entries.
18236 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18237             Ondřej Bílka  <neleai@seznam.cz>
18239         [BZ #15073]
18240         * malloc/malloc.c (_int_free): Perform sanity check only if we
18241         have_lock.
18243 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18245         [BZ #12986]
18246         * manual/stdio.texi (String Input Conversions): Clarify that character
18247         classes are not supported.
18249 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18253 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18255         [BZ #16337]
18256         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18257         Calculate results for small negative arguments directly rather
18258         than using reflection formula with special underflow handling.
18260         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18261         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18262         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18263         (fchflags): Likewise.
18264         (revoke): Likewise.
18265         (setlogin): Likewise.
18266         (sigaltstack): Likewise.
18267         (wait4): Likewise.
18268         (sigblock): Remove.
18269         (sigsetmask): Likewise.
18270         (wait3): Likewise.
18271         (waitpid): Likewise.
18272         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18273         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18274         file.
18275         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18276         * sysdeps/unix/bsd/Makefile: ... here.
18277         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18278         * sysdeps/unix/bsd/Versions: ... here.
18279         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18280         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18281         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18282         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18283         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18284         * sysdeps/unix/bsd/sigblock.c: ... here.
18285         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18286         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18287         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18288         * sysdeps/unix/bsd/sigvec.c: ... here.
18289         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18290         * sysdeps/unix/bsd/tcdrain.c: ... here.
18291         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18292         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18293         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18294         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18295         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18296         * sysdeps/unix/bsd/wait.c: ... here.
18297         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18298         * sysdeps/unix/bsd/wait3.c: ... here.
18299         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18300         * sysdeps/unix/bsd/waitpid.c: ... here.
18302 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18304         [BZ #16356]
18305         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18306         round-to-nearest for [!USE_AS_EXPM1L].
18307         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18308         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18309         more tests of exp and exp10.  Expect some exp10 tests to miss
18310         exceptions or fail in directed rounding modes.
18311         * math/auto-libm-test-out: Regenerated.
18312         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18313         (exp10_test_tonearest): New function.
18314         (exp10_towardzero_test_data): New array.
18315         (exp10_test_towardzero): New function.
18316         (exp10_downward_test_data): New array.
18317         (exp10_test_downward): New function.
18318         (exp10_upward_test_data): New array.
18319         (exp10_test_upward): New function.
18320         (main): Call the new functions.
18321         * sysdeps/i386/fpu/libm-test-ulps: Update.
18322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18324 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18326         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18327         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18328         * math/auto-libm-test-out: Regenerated.
18329         * math/libm-test.inc (acosh_test_data): Add more tests.
18330         (atanh_test_data): Likewise.
18331         (ceil_test_data): Likewise.
18332         (copysign_test_data): Likewise.
18333         * sysdeps/i386/fpu/libm-test-ulps: Update.
18334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18336         * timezone/checktab.awk: Update from tzcode 2013i.
18337         * timezone/private.h: Likewise.
18338         * timezone/scheck.c: Likewise.
18339         * timezone/tzfile.h: Likewise.
18340         * timezone/tzselect.ksh: Likewise.
18341         * timezone/zdump.c: Likewise.
18342         * timezone/zic.c: Likewise.
18344         * math/auto-libm-test-in: Add tests of cpow.
18345         * math/auto-libm-test-out: Regenerated.
18346         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18348         mpc_cc_c.
18349         (func_calc_desc): Add mpc_cc_c union field.
18350         (test_functions): Add cpow.
18351         (special_fill_2pi): New function.
18352         (special_real_inputs): Add 2pi.
18353         (calc_generic_results): Handle mpc_cc_c.
18354         * sysdeps/i386/fpu/libm-test-ulps: Update.
18355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18357         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18358         csqrt, ctan and ctanh.
18359         * math/auto-libm-test-out: Regenerated.
18360         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18361         (TEST_COND_x86): Likewise.
18362         (ccos_test_data): Use AUTO_TESTS_c_c.
18363         (ccosh_test_data): Likewise.
18364         (cexp_test_data): Likewise.
18365         (clog_test_data): Likewise.
18366         (csqrt_test_data): Likewise.
18367         (ctan_test_data): Likewise.
18368         (ctan_tonearest_test_data): Likewise.
18369         (ctan_towardzero_test_data): Likewise.
18370         (ctan_downward_test_data): Likewise.
18371         (ctan_upward_test_data): Likewise.
18372         (ctanh_test_data): Likewise.
18373         (ctanh_tonearest_test_data): Likewise.
18374         (ctanh_towardzero_test_data): Likewise.
18375         (ctanh_downward_test_data): Likewise.
18376         (ctanh_upward_test_data): Likewise.
18377         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18378         mpc_c_c.
18379         (func_calc_desc): Add mpc_c_c union field.
18380         (FUNC_mpc_c_c): New macro.
18381         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18382         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18383         ctanh.
18384         (special_fill_min_subnorm_p120): New function.
18385         (special_real_inputs): Add min_subnorm_p120.
18386         (calc_generic_results): Handle mpc_c_c.
18387         * sysdeps/i386/fpu/libm-test-ulps: Update.
18388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18390 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18393         (do_sin_slow): New functions.
18394         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18395         (cslow2, csloww1, csloww2): Use the new functions.
18397         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18398         Use M to change sign of result instead of X.  Assume X is
18399         positive.
18400         (csloww1): Likewise.
18401         (__sin): Adjust.
18402         (__cos): Adjust.
18404         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18405         arguments A and DA.
18406         (__sin): Adjust.
18407         (__cos): Likewise.
18409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18410         (__cos): Likewise.
18411         (sloww1): Don't adjust sign of DX.
18412         (csloww1): Likewise.
18413         (sloww2): Use X directly and don't adjust sign of DX.
18414         (csloww2): Likewise.
18416 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18418         * math/auto-libm-test-in: Add tests of cabs and carg.
18419         * math/auto-libm-test-out: Regenerated.
18420         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18421         (carg_test_data): Likewise.
18422         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18423         mpc_c_f.
18424         (func_calc_desc): Add mpc_c_f union field.
18425         (test_functions): Add cabs and carg.
18426         (calc_generic_results): Handle mpc_c_f.
18428         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18429         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18430         as a macro and a compat symbol.
18431         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18432         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18433         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18434         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18435         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18436         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18437         not use .hidden.
18438         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18439         Likewise.
18440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18441         Likewise.
18442         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18443         Likewise.
18444         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18445         Likewise.
18446         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18447         Likewise.
18448         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18449         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18450         from GLIBC_2.3.2.
18452 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18456 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18458         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18459         trailing whitespace removed.
18460         * scripts/config.guess: Update to version 2013-11-29.
18461         * scripts/config.sub: Update to version 2013-10-01.
18463         * math/auto-libm-test-in: Add tests of sincos.
18464         * math/auto-libm-test-out: Regenerated.
18465         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18467         mpfr_f_11.
18468         (func_calc_desc): Add mpfr_f_11 union field.
18469         (test_functions): Add sincos.
18470         (calc_generic_results): Handle mpfr_f_11.
18471         * sysdeps/i386/fpu/libm-test-ulps: Update.
18472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18474 2013-12-19  Andreas Schwab  <schwab@suse.de>
18476         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18477         CALL_MCOUNT.
18478         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18479         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18480         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18482 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18484         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18485         * sysdeps/i386/fpu/libm-test-ulps: Update.
18486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18488         [BZ #16293]
18489         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18490         round-to-nearest mode when using frndint.
18491         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18492         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18494         Likewise.
18495         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18496         sinh test to fail.
18497         * math/auto-libm-test-out: Regenerated.
18498         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18499         (TEST_COND_x86): Likewise.
18500         (expm1_tonearest_test_data): New array.
18501         (expm1_test_tonearest): New function.
18502         (expm1_towardzero_test_data): New array.
18503         (expm1_test_towardzero): New function.
18504         (expm1_downward_test_data): New array.
18505         (expm1_test_downward): New function.
18506         (expm1_upward_test_data): New array.
18507         (expm1_test_upward): New function.
18508         (main): Run the new test functions.
18509         * sysdeps/i386/fpu/libm-test-ulps: Update.
18510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512         * include/features.h: Update comment documenting feature test
18513         macros.  Mention _DEFAULT_SOURCE in comment.
18514         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18515         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18516         _BSD_SOURCE and _SVID_SOURCE.
18517         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18518         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18519         !_SVID_SOURCE]: Likewise.
18520         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18521         (__USE_POSIX_IMPLICITLY): Define.
18522         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18523         (_POSIX_SOURCE): Undefine and redefine.
18524         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18525         (_POSIX_C_SOURCE): Likewise.
18526         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18527         (Feature Test Macros): Update documentation of default features.
18529 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18531         * benchtests/Makefile: Add bench-strtok.
18532         * benchtests/bench-strtok.c: New file: strtok benchtest.
18534 2013-12-19  Allan McRae  <allan@archlinux.org>
18536         * manual/install.texi: Suppress menu for plain text output.
18537         * INSTALL: Regenerated.
18539 2013-12-18  Brooks Moses  <bmoses@google.com>
18541         [BZ #15846]
18542         * misc/getauxval.c: Include errno.h.
18543         (__getauxval): Set errno to ENOENT if the requested type is not
18544         found.
18545         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18546         don't declare with __attribute_const__.
18547         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18548         * manual/startup.texi: Document that getauxval sets errno.
18550 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18552         * math/auto-libm-test-in: Add tests of jn and yn.
18553         * math/auto-libm-test-out: Regenerated.
18554         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18555         (yn_test_data): Likewise.
18556         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18557         mpfr_if_f.
18558         (func_calc_desc): Add mpfr_if_f union field.
18559         (FUNC_mpfr_if_f): New macro.
18560         (test_functions): Add jn and yn.
18561         (calc_generic_results): Assert type of second input for
18562         mpfr_ff_f.  Handle mpfr_if_f.
18563         (output_for_one_input_case): Disable all checking for arguments
18564         fitting floating-point types in case of an integer argument.
18565         * sysdeps/i386/fpu/libm-test-ulps: Update.
18566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18569         Don't expect fegetround reference in libm.so.
18571 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18573         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18574         $(config-cflags-nofma).
18576 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18578         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18579         * math/auto-libm-test-out: Regenerated.
18581         [BZ #16338]
18582         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18583         to determine exponent and adjust argument to have exponent of -1.
18584         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18585         log2.
18586         * math/auto-libm-test-out: Regenerated.
18587         * sysdeps/i386/fpu/libm-test-ulps: Update.
18588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18592         * manual/probes.texi: Remove cases when per-thread arenas are
18593         disabled.
18595 2013-12-18  Andreas Schwab  <schwab@suse.de>
18597         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18598         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18599         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18600         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18601         * sysdeps/i386/i686/multiarch/Makefile: Update.
18602         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18604 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18606         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18607         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18609 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18611         [BZ #15968]
18612         Support TZ transition times < 00:00:00.
18613         This is needed for version-3 tz-format files; it supports time
18614         stamps past 2037 for America/Godthab (the only entry in the tz
18615         database for which this change is relevant).
18616         * manual/time.texi (TZ Variable): Document transition times
18617         from -167:59:59 through -00:00:01.
18618         * time/tzset.c (tz_rule): Time of day is now signed.
18619         (__tzset_parse_tz): Parse negative time of day.
18621         Document TZ transition times >= 25:00:00.
18622         * manual/time.texi (TZ Variable): Document transition times from
18623         25:00:00 through 167:59:59.  These are already supported, and this
18624         support will help with version-3 tz-format files.
18626         * manual/time.texi (TZ Variable): Modernize North America example
18627         to reflect current (i.e., 2007-and-later) daylight saving rules.
18629         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18631 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18633         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18634         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18636         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18637         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18638         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18639         * sysdeps/unix/bsd/clock.c: Likewise.
18640         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18641         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18642         * sysdeps/unix/bsd/init-posix.c: Likewise.
18643         * sysdeps/unix/bsd/poll.c: Likewise.
18644         * sysdeps/unix/bsd/ptsname.c: Likewise.
18645         * sysdeps/unix/bsd/seekdir.c: Likewise.
18646         * sysdeps/unix/bsd/setegid.c: Likewise.
18647         * sysdeps/unix/bsd/seteuid.c: Likewise.
18648         * sysdeps/unix/bsd/setgid.c: Likewise.
18649         * sysdeps/unix/bsd/setrgid.c: Likewise.
18650         * sysdeps/unix/bsd/setruid.c: Likewise.
18651         * sysdeps/unix/bsd/setsid.c: Likewise.
18652         * sysdeps/unix/bsd/setuid.c: Likewise.
18653         * sysdeps/unix/bsd/sigaction.c: Likewise.
18654         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18655         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18656         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18657         * sysdeps/unix/bsd/telldir.c: Likewise.
18658         * sysdeps/unix/bsd/times.c: Likewise.
18659         * sysdeps/unix/bsd/usleep.c: Likewise.
18661         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18662         ($(objpfx)libbsd-compat.a): Remove rule.
18664         * include/features.h (__FAVOR_BSD): Do not define.
18665         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18666         features conflicting with POSIX.
18667         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18668         (_BSD_SOURCE): Remove description of not being a subset of other
18669         feature test macros.
18670         * manual/job.texi (getpgrp): Do not document BSD version.
18671         (getpgid): Do not document by reference to BSD getpgrp.
18672         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18673         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18674         * signal/signal.h [__FAVOR_BSD]: Likewise.
18675         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18676         instead of making contents conditional on [__FAVOR_BSD].
18677         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18679 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18683 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18685         [BZ #16314]
18686         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18687         values below 2**-450, not 2**-500.
18688         * math/auto-libm-test-in: Don't allow spurious underflow from
18689         hypot.
18690         * math/auto-libm-test-out: Regenerated.
18692         [BZ #16316]
18693         [BZ #16330]
18694         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18695         values of ha and hb and sort them after adjusting subnormal
18696         arguments.
18697         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18698         Likewise.
18699         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18700         values of ea and eb and sort them after adjusting subnormal
18701         arguments.
18702         * math/auto-libm-test-in: Do not expect some hypot tests of
18703         subnormals to fail.  Add more hypot tests.
18704         * math/auto-libm-test-out: Regenerated.
18706 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18708         [BZ #13304]
18709         * sysdeps/sh/s_fma.c: New file.
18710         * sysdeps/sh/s_fmaf.c: New file.
18711         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18712         version.
18713         * sysdeps/sh/Implies: Add sh/soft-fp.
18715 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18717         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18718         level of indirection to members `objname', `errstring', `malloced'.
18719         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18720         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18721         it as the __longjmp argument (just pass 1 instead).
18722         (_dl_catch_error): Initialize C with argument pointers and address of
18723         volatile local ERRCODE rather than copying values out of C at return.
18725 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18727         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18728         * math/auto-libm-test-out: Regenerated.
18729         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18730         (hypot_test_data): Likewise.
18731         (pow_test_data): Likewise.
18732         (pow_tonearest_test_data): Likewise.
18733         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18734         mpfr_ff_f.
18735         (func_calc_desc): Add mpfr_ff_f union field.
18736         (FUNC_mpfr_ff_f): New macro.
18737         (test_functions): Add atan2, hypot and pow.
18738         (special_fill_min): New function.
18739         (special_fill_minus_min): Likewise.
18740         (special_fill_min_subnorm): Likewise.
18741         (special_fill_minus_min_subnorm): Likewise.
18742         (special_real_inputs): Add min, -min, min_subnorm and
18743         -min_subnorm.
18744         (calc_generic_results): Handle mpfr_ff_f.
18745         * sysdeps/i386/fpu/libm-test-ulps: Update.
18746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18748 2013-12-16  Will Newton  <will.newton@linaro.org>
18750         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18751         (Aligned Memory Blocks): Add documentation for aligned_alloc
18752         and suggest it as an alternative to posix_memalign.
18753         (Hooks for Malloc): Document __memalign_hook is also called
18754         for aligned_alloc.  (Summary of Malloc): Add summary for
18755         aligned alloc.  Document __memalign_hook is also called
18756         for aligned_alloc.
18758 2013-12-16  Will Newton  <will.newton@linaro.org>
18760         * manual/memory.texi (Malloc Examples): Clarify default
18761         alignment documentation.  Suggest posix_memalign rather
18762         than memalign or valloc.
18763         (Aligned Memory Blocks): Remove suggestion to use memalign
18764         or valloc.  Remove obsolete comment about BSD.
18765         Document memalign errno values and mark the function obsolete.
18766         Document posix_memalign returned error codes.  Mark valloc
18767         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18768         called for posix_memalign and valloc.
18769         (Summary of Malloc): Add posix_memalign to function summary.
18770         __memalign_hook is also called for posix_memalign and valloc.
18772 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18774         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18775         TAYLOR_SIN.
18776         (__sin): Adjust.
18777         (__cos): Likewise.
18778         (sloww): Use mynumber union.  Expand ternary operator into
18779         if-else statements.
18780         (cslow): use mynumber union.
18782 2013-12-16  Allan McRae  <allan@archlinux.org>
18784         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18785         * configure: Regenerated.
18787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18789         [BZ #14120]
18790         * configure.ac: Added --enable-maintainer-mode. Check for
18791         autoconf when enabled.
18792         * configure: Regenerated.
18794         * nscd/nscd.service: New file.
18795         * nscd/nscd.tmpfiles: New file.
18797 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18799         [BZ #12100]
18800         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18801         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18802         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18803         (strstr): Add __strstr_sse2_unaligned ifunc.
18804         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18805         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18806         (strcasestr): Remove __strcasestr_sse42 ifunc.
18807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18811 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18813         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18814         * sysdeps/sh/bits/fenv.h: ... here.
18815         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18817 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18819         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18822         hypotf multiarch implementations.
18823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18826         multiarch hypot for PPC64.
18827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18828         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18830         multiarch hypotf for PPC64.
18832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18833         modff multiarch implementations.
18834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18837         multiarch modf for PPC64.
18838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18841         multiarch modff for PPC64.
18843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18844         and logl multiarch implementations.
18845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18848         multiarch logb for PPC64.
18849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18852         multiarch logb for PPC64.
18853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18856         multiarch logb for PPC64.
18858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18859         isinff multiarch implementation.
18860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18861         file.
18862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18864         multiarch isinf for PPC64.
18865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18866         file.
18867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18868         multiarch isinff for PPC64.
18870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18871         finitef multiarch implementation.
18872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18873         file.
18874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18876         multiarch finite for PPC64.
18877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18878         file.
18879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18880         multiarch finitef for PPC64.
18882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18883         lrint multiarch implementation.
18884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18885         file.
18886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18888         multiarch llrint for PPC64.
18889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18890         multiarch lrint for PPC64.
18892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18893         copysignf multiarch implementation.
18894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18895         file.
18896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18897         file.
18898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18899         multiarch copysign for PPC64.
18900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18901         multiarch copysignf for PPC64.
18903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18904         multiarch implementation.
18905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18906         file.
18907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18908         file.
18909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18910         file.
18911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18912         file.
18913         multiarch llround for PPC64.
18914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18915         multiarch trunc for PPC64.
18916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18917         multiarch truncf for PPC64.
18919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18920         multiarch implementation.
18921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18922         file.
18923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18924         file.
18925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18926         file.
18927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18928         file.
18929         multiarch llround for PPC64.
18930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18931         multiarch round for PPC64.
18932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18933         multiarch roundf for PPC64.
18935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18936         multiarch implementation.
18937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18938         file.
18939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18940         file.
18941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18942         file.
18943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18944         file.
18945         multiarch llround for PPC64.
18946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18947         multiarch floor for PPC64.
18948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18949         multiarch floorf for PPC64.
18951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18952         multiarch implementation.
18953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18954         file.
18955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18956         file.
18957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18958         file.
18959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18960         file.
18961         multiarch llround for PPC64.
18962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18963         multiarch ceil for PPC64.
18964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18965         multiarch ceilf for PPC64.
18967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18968         multiarch implementation.
18969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18970         file.
18971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18972         file.
18973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18974         file.
18975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18976         multiarch llround for PPC64.
18977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18978         multiarch lround for PPC64.
18980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18981         multiarch implementation.
18982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18985         file.
18986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18989         multiarch isnan for PPC64.
18990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18991         multiarch isnanf for PPC64.
18993         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18994         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18995         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18996         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18997         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19000         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19001         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19006         multiarch implementations.
19007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19008         (__libc_ifunc_impl_list): Likewise.
19009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19012         multiarch stpcpy for PPC64.
19014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19015         multiarch implementations.
19016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19017         (__libc_ifunc_impl_list): Likewise.
19018         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19020         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19021         multiarch strcpy for PPC64.
19023         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19024         redefine function name.
19025         (_wordcopy_fwd_dest_aligned): Likewise.
19026         (_wordcopy_bwd_aligned): Likewise.
19027         (_wordcopy_bwd_dest_aligned): Likewise.
19028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19029         multiarch implementations.
19030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19031         (__libc_ifunc_impl_list): Likewise.
19032         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19035         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19036         multiarch wcscpy for PPC64.
19038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19039         multiarch implementations.
19040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19041         (__libc_ifunc_impl_list): Likewise.
19042         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19043         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19044         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19045         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19046         multiarch wcscpy for PPC64.
19048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19049         multiarch implementations.
19050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19051         (__libc_ifunc_impl_list): Likewise.
19052         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19053         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19054         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19055         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19056         multiarch wcsrchr for PPC64.
19058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19059         multiarch implementations.
19060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19061         (__libc_ifunc_impl_list): Likewise.
19062         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19063         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19064         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19065         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19066         multiarch wcschr for PPC64.
19068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19069         multiarch implementations.
19070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19071         (__libc_ifunc_impl_list): Likewise.
19072         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19073         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19074         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19075         multiarch strchrnul for PPC64.
19077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19078         implementations.
19079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19080         (__libc_ifunc_impl_list): Likewise.
19081         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19082         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19083         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19084         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19085         strchr for PPC64.
19087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19088         implementations.
19089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19090         (__libc_ifunc_impl_list): Likewise.
19091         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19092         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19094         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19095         strncmp for PPC64.
19097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19098         multiarch implementations.
19099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19100         (__libc_ifunc_impl_list): Likewise.
19101         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19102         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19103         strncasecmp for PPC64.
19104         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19105         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19106         multiarch strncasecmp_l for PPC64.
19108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19109         multiarch implementations.
19110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19111         (__libc_ifunc_impl_list): Likewise.
19112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19114         multiarch strcasecmp for PPC64.
19115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19116         file.
19117         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19118         multiarch strcasecmp_l for PPC64.
19120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19121         implementations.
19122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19123         (__libc_ifunc_impl_list): Likewise.
19124         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19125         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19126         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19127         strnlen for PPC64.
19129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19130         implementations.
19131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19132         (__libc_ifunc_impl_list): Likewise.
19133         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19134         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19135         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19136         strlen for PPC64.
19138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19139         implementations.
19140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19141         (__libc_ifunc_impl_list): Likewise.
19142         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19143         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19144         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19145         rawmemrchr for PPC64.
19147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19148         implementation.
19149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19150         (__libc_ifunc_impl_list): Likewise.
19151         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19152         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19153         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19154         memrchr for PPC64.
19156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19157         implementation.
19158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19159         (__libc_ifunc_impl_list): Likewise.
19160         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19161         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19162         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19163         memchr for PPC64.
19165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19166         implementation.
19167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19168         (__libc_ifunc_impl_list): Likewise.
19169         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19170         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19171         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19172         mempcpy for PPC64.
19174         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19175         avoid cretion of __bzero symbol.
19176         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19177         Likewise.
19178         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19179         Likewise.
19180         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19181         Likewise.
19182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19183         multiarch implementations.
19184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19185         (__libc_ifunc_impl_list): Likewise.
19186         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19187         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19188         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19189         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19190         bzero for PPC32.
19191         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19192         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19193         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19194         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19195         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19196         memset for PPC64.
19197         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19199         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19201         implementations.
19202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19203         (__libc_ifunc_impl_list): Likewise.
19204         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19205         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19206         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19207         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19208         memcmp for PPC64.
19210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19211         multiarch for POWER/PPC64.
19212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19213         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19218         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19219         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19220         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19221         memcpy for PPC64.
19223         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19224         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19225         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19226         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19227         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19228         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19229         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19230         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19231         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19232         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19233         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19234         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19235         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19236         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19237         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19246 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19250 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19252         * benchtests/Makefile (bench): Add exp2 and log2.
19253         (LDLIBS-bench-exp2): Add -lm.
19254         (LDLIBS-bench-log2): Likewise.
19255         * benchtests/exp2-inputs: New inputs file.
19256         * benchtests/log2-inputs: New inputs file.
19257         * benchtests/log-inputs: Add new inputs.
19258         * benchtests/tan-inputs: Likewise.
19260 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19262         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19263         definition...
19264         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19265         (csloww2): ... from here.
19267         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19268         instead of structures.
19269         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19270         (POLYNOMIAL): Likewise.
19271         (TAYLOR_SLOW): Likewise.
19272         (__sin): Likewise.
19273         (__cos): Likewise.
19274         (slow1): Likewise.
19275         (slow2): Likewise.
19276         (sloww): Likewise.
19277         (sloww1); Likewise.
19278         (sloww2): Likewise.
19279         (bsloww1): Likewise.
19280         (bsloww2): Likewise.
19281         (cslow2): Likewise.
19282         (csloww): Likewise.
19283         (csloww1): Likewise.
19284         (csloww2): Likewise.
19286 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19288         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19289         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19290         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19291         * malloc/hooks.c (realloc_check): Likewise.
19293         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19294         * malloc/arena.c: Remove PER_THREAD conditional.
19295         [!PER_THREAD]: Remove code.
19296         (ptmalloc_unlock_all2): Likewise.
19297         (ptmalloc_init): Likewise.
19298         (_int_new_arena): Likewise.
19299         (arena_get2): Likewise.
19300         * malloc/hooks.c (__malloc_get_state): Likewise.
19301         (__malloc_set_state): Likewise.
19302         * malloc/malloc.c: Likewise.
19303         (struct malloc_state): Likewise.
19304         (struct malloc_par): Likewise.
19305         (__libc_realloc): Likewise.
19306         (__libc_mallopt): Likewise.
19308 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19310         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19312 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19314         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19315         macro to a function.  Check for zero perturb_byte.
19316         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19318         * malloc/malloc.c: (force_reg): Remove.
19319         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19320         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19321         force_reg by atomic_forced_read.
19322         * malloc/arena.c (ptmalloc_init): Likewise.
19323         * malloc/hooks.c (top_check): Likewise.
19325 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19329 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19333 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19335         * math/auto-libm-test-in: Add tests of lgamma.
19336         * math/auto-libm-test-out: Regenerated.
19337         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19338         (M_LOG_2_SQRT_PIl): Likewise.
19339         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19340         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19341         mpfr_f_f1.
19342         (func_calc_desc): Add mpfr_f_f1 union field.
19343         (ARGS1): New macro.
19344         (ARGS2): Likewise.
19345         (ARGS3): Likewise.
19346         (ARGS4): Likewise.
19347         (RET1): Likewise.
19348         (RET2): Likewise.
19349         (CALC): Likewise.
19350         (FUNC): Likewise.
19351         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19352         (test_functions): Add lgamma.
19353         (calc_generic_results): Handle mpfr_f_f1.
19354         * sysdeps/i386/fpu/libm-test-ulps: Update.
19355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19359         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19360         __mpn_add_n for PowerPC64/POWER7.
19361         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19362         __mpn_sub_n for PowerPC64/POWER7.
19364         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19365         __mpn_addmul_1 for PowerPC64.
19366         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19367         __mpn_submul_1 for PowerPC64.
19368         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19369         for PowerPC64.
19370         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19371         for PowerPC64.
19373 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19375         [BZ #15089]
19376         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19378 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19380         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19382         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19383         add multiarch folders.
19384         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19385         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19386         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19387         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19388         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19389         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19390         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19391         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19392         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19393         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19394         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19403         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19405         New file.
19406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19407         New file.
19408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19409         multiarch __ieee754_hypot for PowerPC32.
19410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19411         New file.
19412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19413         New file.
19414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19415         multiarch __ieee754_hypotf for PowerPC32.
19417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19418         long_double_symbol only if __logbl is defined.
19419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19420         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19422         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19424         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19425         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19426         path for implementation.
19427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19428         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19430         logb, and logbl multiarch implementations for PowerPC32.
19431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19432         file.
19433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19434         file.
19435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19436         multiarch logb for PowerPC32.
19437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19438         file.
19439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19440         file.
19441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19442         multiarch logbf for PowerPC32.
19443         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19445         file.
19446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19447         multiarch logbl implementation for PowerPC32.
19449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19450         and modff multiarch implementations.
19451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19452         New file.
19453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19454         New file.
19455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19456         multiarch modf for PowerPC32.
19457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19458         New file.
19459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19460         New file.
19461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19462         multiarch modff for PowerPC32.
19464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19465         and lrintf multiarch implementations.
19466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19467         New file.
19468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19469         New file.
19470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19471         multiarch lrint for PowerPC32.
19472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19473         file: multiarch lrintf for PowerPC32.
19475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19476         and lroundf multiarch implementations.
19477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19478         New file.
19479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19480         New file.
19481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19482         New file.
19483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19484         multiarch lround for PowerPC32.
19485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19486         file: multiarch lroundf for PowerPC32.
19488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19489         copysign and copysignf multiarch implementations.
19490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19491         New file.
19492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19493         New file.
19494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19495         file: multiarch copysign for PowerPC32.
19496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19497         file: multiarch copysignf for PowerPC32.
19499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19500         and truncf multiarch implementations.
19501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19502         New file.
19503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19504         file.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19506         multiarch trunc for PowerPC32.
19507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19508         New file.
19509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19510         New file.
19511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19512         multiarch truncf for PowerPC32.
19514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19515         and roundf multiarch implementations.
19516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19517         New file.
19518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19519         file.
19520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19521         multiarch round for PowerPC32.
19522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19523         New file.
19524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19525         New file.
19526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19527         multiarch roundf for PowerPC32.
19529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19530         and floorf multiarch implementations.
19531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19532         New file.
19533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19534         file.
19535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19536         multiarch floor for PowerPC32.
19537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19538         New file.
19539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19540         New file.
19541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19542         multiarch floorf for PowerPC32.
19544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19545         and ceilf multiarch implementations.
19546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19547         New file.
19548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19549         file.
19550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19551         multiarch ceil for PowerPC32.
19552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19553         New file.
19554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19555         file.
19556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19557         multiarch ceilf for PowerPC32.
19559         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19560         is defined.
19561         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19562         FINITEF is defined.
19563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19564         and finitef multiarch implementations.
19565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19566         New file.
19567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19568         file.
19569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19570         multiarch finite for PowerPC32.
19571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19572         New file.
19573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19574         file: multiarch finitef for PowerPC32.
19576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19577         and isinff multiarch implementations.
19578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19579         file.
19580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19581         file.
19582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19583         multiarch isinf for PowerPC32.
19584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19585         New file.
19586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19587         multiarch isinff for PowerPC32.
19589         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19590         alias when __isnan is defined.
19591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19592         and isnanf multiarch implementations.
19593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19594         file.
19595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19596         file.
19597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19598         file.
19599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19600         file.
19601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19602         multiarch isnan for PowerPC32.
19603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19604         New file.
19605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19606         New file.
19607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19608         multiarch isnanf for PowerPC32.
19610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19611         and sqrtf multiarch implementations.
19612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19613         file.
19614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19615         file.
19616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19617         multiarch sqrt for PowerPC32.
19618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19619         file.
19620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19621         file.
19622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19623         multiarch sqrtf for PowerPC32.
19625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19626         and llroundf multiarch implementations.
19627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19628         New file.
19629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19630         New file.
19631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19632         New file.
19633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19634         file: multiarch llround for PowerPC32.
19635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19636         file: multiarch llroundf for PowerPC32.
19638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19639         multiarch PowerPC32 fpu implementations.
19640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19641         New file.
19642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19643         New file.
19644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19645         multiarch llrint for PowerPC32.
19646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19647         New file.
19648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19649         New file.
19650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19651         file.
19653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19656         file.
19657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19658         file.
19659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19660         file.
19661         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19662         multiarch wordcopy for PPC32.
19663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19664         wordcopy objects.
19665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19666         (__libc_ifunc_impl_list): Likewise.
19667         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19668         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19669         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19670         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19671         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19672         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19674         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19676         file.
19677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19678         file.
19679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19680         file.
19681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19682         multiarch wcscpy for PPC32.
19683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19684         multiarch objects.
19685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19686         (__libc_ifunc_impl_list): Likewise.
19687         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19688         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19689         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19690         sysdeps/powerpc/power6/wcscpy.c.
19692         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19694         file.
19695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19696         file.
19697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19698         file.
19699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19700         multiarch wcsrchr for PPC32.
19701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19702         multiarch objects.
19703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19704         (__libc_ifunc_impl_list): Likewise.
19705         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19706         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19707         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19708         sysdeps/powerpc/power6/wcsrchr.c.
19710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19711         file.
19712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19713         file.
19714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19716         multiarch wcschr for PPc32.
19717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19718         multiarch objects.
19719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19720         (__libc_ifunc_impl_list): Likewise.
19721         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19722         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19723         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19724         sysdeps/powerpc/power6/wcschr.c.
19726         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19727         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19728         file.
19729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19730         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19731         file: multiarch strchr for PPC32.
19732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19733         multiarch objects.
19734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19735         (__libc_ifunc_impl_list): Likewise.
19737         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19738         name.
19739         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19740         file.
19741         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19742         file.
19743         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19744         multiarch strchrnul for PPC32.
19745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19746         multiarch objects.
19747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19748         (__libc_ifunc_impl_list): Likewise.
19750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19751         file.
19752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19753         multiarch strncasecmp for PPC32.
19754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19755         file.
19756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19757         multiarch strncasecmp_l for PPC32.
19758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19759         strncasecmp multiarch objects.
19760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19761         (__libc_ifunc_impl_list): Likewise.
19763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19764         file.
19765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19766         multiarch strncasecmp for PPC32.
19767         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19768         New file.
19769         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19770         multiarch strcasecmp_l for PPC32.
19771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19772         multiarch objects.
19773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19774         (__libc_ifunc_impl_list): Likewise.
19776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19777         file.
19778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19779         file.
19780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19781         multiarch strncmp for PPC32.
19782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19783         multiarch objects.
19784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19785         (__libc_ifunc_impl_list): Likewise.
19787         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19788         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19789         file.
19790         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19791         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19793         multiarch objects.
19794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19795         (__libc_ifunc_impl_list): Likewise.
19797         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19798         file.
19799         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19800         file.
19801         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19803         multiarch objects.
19804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19805         (__libc_ifunc_impl_list): Likewise.
19807         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19808         file.
19809         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19810         file.
19811         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19812         multiarch rawmemchr for PPC32.
19813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19814         multiarch objects.
19815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19816         (__libc_ifunc_impl_list): Likewise.
19818         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19819         file.
19820         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19821         file.
19822         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19823         file: memrchr multiarch for PPC32.
19824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19825         multiarch objects.
19826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19827         (__libc_ifunc_impl_list): Likewise.
19829         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19830         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19831         file.
19832         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19834         multiarch memchr for PPC32.
19835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19836         multiarch objects.
19837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19838         (__libc_ifunc_impl_list): Likewise.
19840         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19841         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19842         file.
19843         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19844         file.
19845         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19846         file: multiarch mempcpy for PPC32.
19847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19848         multiarch objects.
19849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19850         (__libc_ifunc_impl_list): Likewise.
19852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19853         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19855         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19856         multiarch bzero for PPC32.
19857         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19858         file.
19859         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19860         file.
19861         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19862         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19863         file: multiarch memset for PPC32.
19864         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19866         memset multiarch objects.
19867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19868         (__libc_ifunc_impl_list): Likewise.
19870         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19871         file.
19872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19874         memcmp for PPC32.
19875         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19877         multiarch objects.
19878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19879         (__libc_ifunc_impl_list): Likewise.
19881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19884         file.
19885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19886         file.
19887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19888         file.
19889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19890         multiarch memcpy for PPC32.
19891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19892         multiarch objects.
19893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19894         (__libc_ifunc_impl_list): Likewise.
19896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19897         support multiarch for POWER/PPC32.
19898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19899         Likewise.
19900         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19902         Implies file to make multiarch folder appers before the fpu and
19903         default folder for power4 configuration.
19905 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19907         * scripts/bench.pl: Append volatile keyword to type.
19909 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19911         * sysdeps/sh/sotruss-lib.c: New file.
19912         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19914 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19918 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19920         [BZ #6810]
19921         * math/w_tgamma.c: Include <errno.h>.
19922         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19923         * math/w_tgammaf.c: Include <errno.h>.
19924         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19925         * math/w_tgammal.c: Include <errno.h>.
19926         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19927         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19928         underflow.  Add more tgamma tests.
19929         * math/auto-libm-test-out: Regenerated.
19930         * sysdeps/i386/fpu/libm-test-ulps: Update.
19931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19934         sin, sinh, tan, tanh, tgamma, y0 and y1.
19935         * math/auto-libm-test-out: Regenerated.
19936         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19937         (TEST_COND_x86): Likewise.
19938         (M_E2l): Remove macro.
19939         (M_E3l): Likewise.
19940         (M_2_SQRT_PIl): Likewise.
19941         (M_SQRT_PIl): Likewise.
19942         (M_1_DIV_El): Likewise.
19943         (log_test_data): Use AUTO_TESTS_f_f.
19944         (log10_test_data): Likewise.
19945         (log1p_test_data): Likewise.
19946         (log2_test_data): Likewise.
19947         (sin_test_data): Likewise.
19948         (sin_tonearest_test_data): Likewise.
19949         (sin_towardzero_test_data): Likewise.
19950         (sin_downward_test_data): Likewise.
19951         (sin_upward_test_data): Likewise.
19952         (sinh_test_data): Likewise.
19953         (sinh_tonearest_test_data): Likewise.
19954         (sinh_towardzero_test_data): Likewise.
19955         (sinh_downward_test_data): Likewise.
19956         (sinh_upward_test_data): Likewise.
19957         (tan_test_data): Likewise.
19958         (tan_tonearest_test_data): Likewise.
19959         (tan_towardzero_test_data): Likewise.
19960         (tan_downward_test_data): Likewise.
19961         (tan_upward_test_data): Likewise.
19962         (tanh_test_data): Likewise.
19963         (tgamma_test_data): Likewise.
19964         (y0_test_data): Likewise.
19965         (y1_test_data): Likewise.
19966         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19967         (special_real_inputs): Add pi/4.
19968         * sysdeps/i386/fpu/libm-test-ulps: Update.
19969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19971 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19973         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19974         "longjmp_target" static probes.
19975         (__longjmp): Rename to __longjmp_symbol.
19976         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19977         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19978         on which longjmp to generate.
19979         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19980         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19981         probe.
19982         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19983         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19984         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19985         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19986         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19987         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19989         __longjmp_symbol based on which __longjmp to generate.
19990         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19991         probe.
19992         (setjmp): Rename to setjmp_symbol.
19993         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19994         (_setjmp): Rename to _setjmp_symbol.
19995         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19996         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19997         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19998         which setjmp to generate.
19999         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20000         "longjmp_target" static probes.
20002 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20004         * benchtests/README: Add note about output arguments.
20005         * benchtests/bench-sincos.c: Remove file.
20006         * benchtests/sincos-inputs: New file.
20007         * scripts/bench.pl: Identify output arguments and define
20008         static variables for them.
20010         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20012         [BZ #15941]
20013         * Makefile (INSTALL): Add install-plain.texi as the primary
20014         dependency.
20015         * manual/install-plain.texi: New file.
20016         * manual/install.texi: Include node directive only for
20017         non-plaintext output.
20019 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20021         * stdlib/longlong.h: Update from GCC.
20023         [BZ #6807]
20024         [BZ #15901]
20025         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20026         * math/w_j0f.c (y0f): Likewise.
20027         * math/w_j0l.c (__y0l): Likewise.
20028         * math/w_j1.c (y1): Likewise.
20029         * math/w_j1f.c (y1f): Likewise.
20030         * math/w_j1l.c (__y1l): Likewise
20031         * math/w_jn.c (yn): Likewise.
20032         * math/w_jnf.c (ynf): Likewise.
20033         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20034         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20035         value for Bessel function domain errors outside _SVID_ mode.
20036         Adjust sign of return value for yn (negative integer, 0).
20037         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20038         by zero in return for negative x and set sign appropriately for
20039         negative n.
20040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20041         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20042         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20043         expectations in error cases.
20044         (y1_test_data): Likewise.
20045         (yn_test_data): Likewise.
20046         * sysdeps/i386/fpu/libm-test-ulps: Update.
20047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20049 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20051         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20052         "64" to "64-v1".  Add "64-v2".
20053         (abi-64-options): Rename to ...
20054         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20055         (abi-64-condition): Rename to ...
20056         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20057         (abi-64-ld-soname): Rename to ...
20058         (abi-64-v1-ld-soname): ... this.
20059         (abi-64-v2-options): Define.
20060         (abi-64-v2-condition): Likewise.
20061         (abi-64-v2-ld-soname): Likewise.
20062         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20063         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20068 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20069             Alan Modra  <amodra@gmail.com>
20071         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20072         New versions for use with the ELFv2 ABI.
20073         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20074         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20075         declaration.
20076         (struct La_ppc64v2_retval): Likewise.
20077         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20078         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20079         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20080         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20081         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20082         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20083         Do not save or restore CR.
20084         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20085         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20086         return values for ELFv2 ABI.  Fix location of FPR return registers.
20087         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20088         updated values for _CALL_ELF == 2.
20089         (La_regs, La_retval, int_retval): Likewise.
20091 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20093         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20094         (FRAME_MIN_SIZE_PARM): Likewise.
20095         (FRAME_BACKCHAIN): Likewise.
20096         (FRAME_CR_SAVE): Likewise.
20097         (FRAME_LR_SAVE): Likewise.
20098         (FRAME_TOC_SAVE): Likewise.
20099         (FRAME_PARM_SAVE): Likewise.
20100         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20101         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20102         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20103         (call_mcount_parm_offset): New macro.
20104         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20105         (PROF): Use symbolic stack frame offsets.
20106         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20107         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20108         Redefine in terms of FRAME_MIN_SIZE.
20109         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20110         (_dl_profile_resolve): Likewise.  Update comment.
20111         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20112         symbols stack frame offsets.
20113         (__sigsetjmp): Likewise.
20114         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20115         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20116         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20117         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20120         (FRAME_BACKCHAIN): Remove.
20121         (FRAME_CR_SAVE): Likewise.
20122         (FRAME_LR_SAVE): Likewise.
20123         (FRAME_COMPILER_DW): Likewise.
20124         (FRAME_LINKER_DW): Likewise.
20125         (FRAME_TOC_SAVE): Likewise.
20126         (FRAME_PARM_SAVE): Likewise.
20127         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20128         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20129         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20131         (CHECK_SP): Use symbolic stack frame offsets.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20133         zone" instead of caller's parameter save area for temp storage.
20134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20135         Likewise.  Also, use symbolic stack frame offsets.
20136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20137         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20138         our own stack frame instead of the caller's.
20139         (__socket): Use symbolic stack frame offsets.
20141 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20142             Alan Modra  <amodra@gmail.com>
20144         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20145         Define.
20146         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20147         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20148         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20149         New function.
20150         (elf_machine_fixup_plt): Call it.
20151         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20152         reloc arguments.
20153         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20154         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20155         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20156         r2 before calling target.
20158 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20159             Alan Modra  <amodra@gmail.com>
20161         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20162         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20163         versions of macros to support ELFv2 ABI.
20164         (LOCALENTRY): New macro.
20165         (ENTRY, EALIGN): Use it.
20166         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20167         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20168         fall through into ENTRY entry point.
20169         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20170         Only define if _CALL_ELF != 2.
20172         (elf_machine_matches_host): Verify ABI version matches.
20173         (RTLD_START): Use LOCALENTRY.
20174         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20175         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20176         (PLT_ENTRY_WORDS): New macro.
20177         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20178         (elf_machine_runtime_setup): Support ELFv2 ABI.
20179         (elf_machine_fixup_plt): Likewise.
20180         (elf_machine_plt_conflict): Likewise.
20181         (resolve_ifunc): Likewise.
20182         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20184         Likewise.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20186         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20188         (makecontext): Support ELFv2 ABI.
20189         * elf/elf.h (EF_PPC64_ABI): Define.
20191 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20193         * sysdeps/powerpc/powerpc64/sysdep.h
20194         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20195         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20196         (ENTRY) [ASSEMBLER]: ... but instead here ...
20197         (EALIGN) [ASSEMBLER]: ... and here.
20198         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20199         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20200         (ENTRY_2) [!ASSEMBLER]: Use it.
20201         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20202         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20203         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20204         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20205         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20207         Use PPC64_LOAD_FUNCPTR.
20209         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20211 2013-12-04  Alan Modra  <amodra@gmail.com>
20213         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20214         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20215         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20216         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20219         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20220         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20221         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20222         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20223         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20228         (__makecontext): Fix incorrect CFI when backtracing out of
20229         context created via makecontext.
20230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20231         (__setcontext): Fix incorrect CFI during switch to new context.
20232         (__novec_setcontext): Likewise.
20234 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20236         [BZ #4772]
20237         * time/strptime_l.c (__strptime_internal): Allow modifiers
20238         in strptime.
20239         * time/tst-strptime.c (day_tests): Add testcase.
20241 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20243         * scripts/bench.pl: Skip over blank lines.
20245 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20247         [BZ #926]
20248         * manual/time.texi (Calendar Time): Clarify what timezone functions
20249         use.
20251 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20255 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20257         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20258         implementation.
20259         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20260         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20261         * debug/memset_chk.c (__memset_chk): Likewise.
20262         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20263         * debug/strncpy_chk.c: Likewise.
20265 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #15268]
20268         [BZ #15425]
20269         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20270         (__ieee754_exp): For possibly underflowing results, check size of
20271         result and force underflow exception if required.
20272         * math/auto-libm-test-in: Add more tests of exp.
20273         * math/auto-libm-test-out: Regenerated.
20274         * sysdeps/i386/fpu/libm-test-ulps: Update.
20275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20277         [BZ #16283]
20278         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20279         * math/w_exp2f.c (__exp2f): Likewise.
20280         * math/w_exp2l.c (__exp2l): Likewise.
20281         * math/auto-libm-test-in: Do not allow missing errno on exp2
20282         underflow.
20283         * math/auto-libm-test-out: Regenerated.
20285 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20287         [BZ #16274]
20288         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20289         handle filename validation.
20290         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20291         (do_open): Delete.
20293 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20295         [BZ #6786]
20296         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20297         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20298         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20299         <float.h>.
20300         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20301         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20302         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20304         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20306         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20307         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20308         Add more erfc tests.
20309         * math/auto-libm-test-out: Regenerated.
20310         * sysdeps/i386/fpu/libm-test-ulps: Update.
20311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20314         exp2, expm1, j0 and j1.
20315         * math/auto-libm-test-out: Regenerated.
20316         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20317         (erfc_test_data): Likewise.
20318         (exp_test_data): Likewise.
20319         (exp_tonearest_test_data): Likewise.
20320         (exp_towardzero_test_data): Likewise.
20321         (exp_downward_test_data): Likewise.
20322         (exp_upward_test_data): Likewise.
20323         (exp10_test_data): Likewise.
20324         (exp2_test_data): Likewise.
20325         (expm1_test_data): Likewise.
20326         (j0_test_data): Likewise.
20327         (j1_test_data): Likewise.
20328         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20329         (input_flag_type): Add flag_xfail_rounding.
20330         (input_flags): Add xfail-rounding.
20331         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20332         (output_for_one_input_case): Handle flag_xfail_rounding.
20333         * sysdeps/i386/fpu/libm-test-ulps: Update.
20334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20336 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20338         [BZ #16289]
20339         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20340         division by 0.
20342 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20344         [BZ #16195]
20345         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20346         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20347         (STAP_PROBE0): New macro.
20348         (STAP_PROBE1): Likewise.
20349         (STAP_PROBE2): Likewise.
20350         (STAP_PROBE3): Likewise.
20351         (STAP_PROBE4): Likewise.
20353 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20355         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20357 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20359         * benchtests/Makefile (bench): Add sqrt.
20360         (LDLIBS-bench-sqrt): New.
20361         * benchtests/sqrt-input: New.
20363 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20365         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20366         (GAIH_EAI): Likewise.
20367         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20368         (gaih_inet): Likewise.
20369         (getaddrinfo): Don't use GAIH_EAI.
20371         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20372         (struct gaih): Remove definition.
20374 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20376         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20377         Use HERRNOP directly.
20379 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20383 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20385         * math/gen-auto-libm-tests.c (test_functions): Add more
20386         single-argument functions.
20387         (special_fill_pi_2): New function.
20388         (special_fill_minus_pi_2): Likewise.
20389         (special_fill_pi_6): Likewise.
20390         (special_fill_minus_pi_6): Likewise.
20391         (special_fill_pi_3): Likewise.
20392         (special_fill_2pi_3): Likewise.
20393         (special_fill_e): Likewise.
20394         (special_fill_1_e): Likewise.
20395         (special_fill_e_minus_1): Likewise.
20396         (special_real_inputs): Add more special inputs.
20397         (output_for_one_input_case): Do not require ERANGE on underflow to
20398         zero if round-to-nearest result does not underflow to zero, unless
20399         exact results required.
20400         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20401         atan, atanh, cbrt, cos and cosh.
20402         * math/auto-libm-test-out: Regenerated.
20403         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20404         (acos_tonearest_test_data): Likewise.
20405         (acos_towardzero_test_data): Likewise.
20406         (acos_downward_test_data): Likewise.
20407         (acos_upward_test_data): Likewise.
20408         (acosh_test_data): Likewise.
20409         (asin_test_data): Likewise.
20410         (asin_tonearest_test_data): Likewise.
20411         (asin_towardzero_test_data): Likewise.
20412         (asin_upward_test_data): Likewise.
20413         (asinh_test_data): Likewise.
20414         (atan_test_data): Likewise.
20415         (atanh_test_data): Likewise.
20416         (cbrt_test_data): Likewise.
20417         (cos_test_data): Likewise.
20418         (cos_tonearest_test_data): Likewise.
20419         (cos_towardzero_test_data): Likewise.
20420         (cos_downward_test_data): Likewise.
20421         (cos_upward_test_data): Likewise.
20422         (cosh_test_data): Likewise.
20423         (cosh_tonearest_test_data): Likewise.
20424         (cosh_towardzero_test_data): Likewise.
20425         (cosh_downward_test_data): Likewise.
20426         (cosh_upward_test_data): Likewise.
20427         * sysdeps/i386/fpu/libm-test-ulps: Update.
20428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20430 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20432         [BZ #6787]
20433         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20434         * math/w_exp10f.c (__exp10f): Likewise.
20435         * math/w_exp10l.c (__exp10l): Likewise.
20436         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20437         errno settings in existing tests.
20439         [BZ #14032]
20440         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20441         precision control set to double precision.
20442         * sysdeps/i386/fpu/w_sqrt.c: New file.
20443         * math/auto-libm-test-in: Add more tests.
20444         * math/auto-libm-test-out: Update.
20446         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20447         (sqrt_test_tonearest): New function.
20448         (sqrt_towardzero_test_data): New variable.
20449         (sqrt_test_towardzero): New function.
20450         (sqrt_downward_test_data): New variable.
20451         (sqrt_test_downward): New function.
20452         (sqrt_upward_test_data): New variable.
20453         (sqrt_test_upward): New function.
20454         (main): Call the new functions.
20456         * math/gen-auto-libm-tests.c: New file.
20457         * math/auto-libm-test-in: Likewise.
20458         * math/auto-libm-test-out: New generated file.
20459         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20460         variables.
20461         (%beautify): Add generated representations of zero.
20462         (top level): Set $auto_input and call parse_auto_input.
20463         (beautify): Remove trailing "f" from hex float constants.
20464         (parse_args): Handle XFAIL_TEST.
20465         (convert_condition): New function.
20466         (or_value): Likewise.
20467         (or_cond_value): Likewise.
20468         (generate_testfile): Handle AUTO_TESTS_* lines.
20469         (parse_auto_input): New function.
20470         * math/libm-test.inc (XFAIL_TEST): New macro.
20471         (ERRNO_UNCHANGED): Update value.
20472         (ERRNO_EDOM): Likewise.
20473         (ERRNO_ERANGE): Likewise.
20474         (IGNORE_RESULT): Likewise.
20475         (TEST_COND_flt_32): New macro.
20476         (TEST_COND_dbl_64): Likewise.
20477         (TEST_COND_ldbl_96_intel): Likewise.
20478         (TEST_COND_ldbl_96_m68k): Likewise.
20479         (TEST_COND_ldbl_128): Likewise.
20480         (TEST_COND_ldbl_128ibm): Likewise.
20481         (TEST_COND_long32): Likewise.
20482         (TEST_COND_long64): Likewise.
20483         (TEST_COND_before_rounding): Likewise.
20484         (TEST_COND_after_rounding): Likewise.
20485         (enable_test): Handle XFAIL_TEST flag.
20486         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20487         with finite results.
20488         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20489         auto-libm-test-out.
20491 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20492             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20494         [BZ #16214]
20495         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20496         __tls_get_addr_internal instead of __tls_get_offset in order to
20497         avoid GOT pointer dependency.  Make rtld export
20498         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20499         __tls_get_addr since we are a __tls_get_offset platform.
20500         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20501         GOT pointer being set up before.
20502         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20504 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20506         * manual/math.texi (Errors in Math Functions): Document accuracy
20507         goals.
20509         [BZ #15004]
20510         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20511         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20514         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20515         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20516         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20517         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20518         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20521         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20522         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20523         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20524         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20525         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20527         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20528         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20529         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20530         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20531         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20532         Likewise.
20533         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20534         Likewise.
20535         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20536         Likewise.
20537         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20538         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20539         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20540         atomic-feupdateenv and flt-rounds.
20541         * sysdeps/powerpc/nofpu/Versions (libc): Add
20542         __atomic_feholdexcept, __atomic_feclearexcept,
20543         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20544         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20545         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20546         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20547         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20548         here.
20549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20550         Update.
20552         * manual/arith.texi (FP Exceptions): Document that exceptions may
20553         not be raised when matherr is used.
20554         (Math Error Reporting): Document overflow in directed rounding
20555         modes.  Document that errno may not be set when finite values are
20556         returned on overflow.  Document intent to set errno on underflow
20557         only for underflow to zero.
20559         [BZ #16271]
20560         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20561         round-to-nearest then adjust result for other rounding modes.
20562         * include/fenv.h (fegetround): Use libm_hidden_proto.
20563         * math/fegetround.c (fegetround): Use libm_hidden_def.
20564         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20565         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20566         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20568         Likewise.
20569         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20570         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20571         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20572         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20574 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20576         [BZ #16077]
20577         * nss/Versions (libnss_files): Add
20578         _nss_files_gethostbyname3_r.
20579         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20580         New function.
20581         (HOST_DB_LOOKUP): Remove macro.
20582         (_nss_files_gethostbyname_r): Implement function without the
20583         HOST_DB_LOOKUP macro.
20584         (_nss_files_gethostbyname2_r): Likewise.
20586 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20588         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20590 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20592         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20593         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20594         warning.
20596 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20598         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20599         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20600         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20601         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20602         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20603         __fe_nomask_env_priv and attribute_hidden.
20604         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20605         (libc_feupdateenv_test_ppc): Likewise.
20606         (libc_feresetround_ppc): Likewise.
20607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20608         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20609         compat_symbol macro.
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20611         (__fe_nomask_env): Likewise.
20612         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20614 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20616         * string/Makefile: Remove ifunc tests.
20617         * string/test-string.h: Define TEST_IFUNC.
20618         * string/test-bcopy-ifunc.c: Remove.
20619         * string/test-bzero-ifunc.c: Likewise.
20620         * string/test-memccpy-ifunc.c: Likewise.
20621         * string/test-memchr-ifunc.c: Likewise.
20622         * string/test-memcmp-ifunc.c: Likewise.
20623         * string/test-memcpy-ifunc.c: Likewise.
20624         * string/test-memmem-ifunc.c: Likewise.
20625         * string/test-memmove-ifunc.c: Likewise.
20626         * string/test-mempcpy-ifunc.c: Likewise.
20627         * string/test-memrchr-ifunc.c: Likewise.
20628         * string/test-memset-ifunc.c: Likewise.
20629         * string/test-rawmemchr-ifunc.c: Likewise.
20630         * string/test-stpcpy-ifunc.c: Likewise.
20631         * string/test-stpncpy-ifunc.c: Likewise.
20632         * string/test-strcasecmp-ifunc.c: Likewise.
20633         * string/test-strcasestr-ifunc.c: Likewise.
20634         * string/test-strcat-ifunc.c: Likewise.
20635         * string/test-strchr-ifunc.c: Likewise.
20636         * string/test-strchrnul-ifunc.c: Likewise.
20637         * string/test-strcmp-ifunc.c: Likewise.
20638         * string/test-strcpy-ifunc.c: Likewise.
20639         * string/test-strcspn-ifunc.c: Likewise.
20640         * string/test-strlen-ifunc.c: Likewise.
20641         * string/test-strncasecmp-ifunc.c: Likewise.
20642         * string/test-strncat-ifunc.c: Likewise.
20643         * string/test-strncmp-ifunc.c: Likewise.
20644         * string/test-strncpy-ifunc.c: Likewise.
20645         * string/test-strnlen-ifunc.c: Likewise.
20646         * string/test-strpbrk-ifunc.c: Likewise.
20647         * string/test-strrchr-ifunc.c: Likewise.
20648         * string/test-strspn-ifunc.c: Likewise.
20649         * string/test-strstr-ifunc.c: Likewise.
20651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20653         * benchtests/Makefile: Remove ifunc tests.
20654         * benchtests/bench-string.h: Define TEST_IFUNC.
20655         * benchtests/bench-bcopy-ifunc.c: Remove.
20656         * benchtests/bench-bzero-ifunc.c: Likewise.
20657         * benchtests/bench-memccpy-ifunc.c: Likewise.
20658         * benchtests/bench-memchr-ifunc.c: Likewise.
20659         * benchtests/bench-memcmp-ifunc.c: Likewise.
20660         * benchtests/bench-memcpy-ifunc.c: Likewise.
20661         * benchtests/bench-memmem-ifunc.c: Likewise.
20662         * benchtests/bench-memmove-ifunc.c: Likewise.
20663         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20664         * benchtests/bench-memrchr-ifunc.c: Likewise.
20665         * benchtests/bench-memset-ifunc.c: Likewise.
20666         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20667         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20668         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20669         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20670         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20671         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20672         * benchtests/bench-strcat-ifunc.c: Likewise.
20673         * benchtests/bench-strchr-ifunc.c: Likewise.
20674         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20675         * benchtests/bench-strcmp-ifunc.c: Likewise.
20676         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20677         * benchtests/bench-strcpy-ifunc.c: Likewise.
20678         * benchtests/bench-strcspn-ifunc.c: Likewise.
20679         * benchtests/bench-strlen-ifunc.c: Likewise.
20680         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20681         * benchtests/bench-strncat-ifunc.c: Likewise.
20682         * benchtests/bench-strncmp-ifunc.c: Likewise.
20683         * benchtests/bench-strncpy-ifunc.c: Likewise.
20684         * benchtests/bench-strnlen-ifunc.c: Likewise.
20685         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20686         * benchtests/bench-strrchr-ifunc.c: Likewise.
20687         * benchtests/bench-strsep-ifunc.c: Likewise.
20688         * benchtests/bench-strspn-ifunc.c: Likewise.
20689         * benchtests/bench-strstr-ifunc.c: Likewise.
20691 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20693         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20695 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20697         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20698         * rt/aio.h: Likewise.
20699         * sysdeps/gnu/bits/utmp.h: Likewise.
20700         * sysdeps/gnu/bits/utmpx.h: Likewise.
20701         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20702         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20703         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20704         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20705         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20706         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20707         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20708         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20709         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20710         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20711         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20713         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20715         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20716         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20717         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20718         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20719         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20720         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20721         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20722         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20723         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20724         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20725         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20727         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20728         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20729         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20730         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20731         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20732         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20733         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20734         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20735         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20736         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20737         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20738         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20739         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20740         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20741         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20742         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20744 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20746         [BZ #16245]
20747         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20748         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20750 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20752         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20753         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20754         Likewise.
20756 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20759         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20760         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20761         (__fesetround): Remove define.
20762         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20763         rounding and exceptions handling.
20764         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20765         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20766         (__fe_nomask_env): Likewise.
20767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20768         __fegetround instead of fegetround.
20769         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20770         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20772 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20774         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20775         it's there.
20777         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20779 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20781         [BZ #11157]
20782         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20783         (encrypt_r): Likewise.
20784         * malloc/obstack.h (obstack_free): Likewise.
20785         * posix/unistd.h (encrypt): Likewise.
20787 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20789         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20790         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20791         DL_CALL_DT_FINI() that call the functions directly.
20792         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20793         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20794         * elf/dl-fini.c: Likewise.
20796 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20798         * malloc/hooks.c (memalign_check): Add alignment rounding.
20799         * malloc/malloc.c (_mid_memalign): New function.
20800         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20801         Implement by calling _mid_memalign.
20802         * manual/probes.texi (Memory Allocation Probes): Remove
20803         memory_valloc_retry and memory_pvalloc_retry.
20805 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20807         * locale/programs/locarchive.c (open_archive): Add const
20808         qualifier to ARCHIVEFNAME and copy default fname to
20809         DEFAULT_FNAME.
20811         [BZ #15601]
20812         * libio/tst-widetext.input: Rename Oriya to Odia.
20813         * locale/iso-639.def: Likewise.
20815         * manual/probes.texi (Mathematical Function Probes): Add
20816         documentation for sin, cos, asin and acos probes.
20817         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20818         (__sin32): Add slowasin probe.
20819         (__cos32): Add slowacos probe.
20820         (__mpsin): Add slowsin probe.
20821         (__mpcos): Add slowcos probe.
20823 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20825         [BZ #15483]
20826         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20827         thread-local __sim_exceptions_thread and global
20828         __sim_exceptions_global.
20829         (__sim_disabled_exceptions): Change to thread-local
20830         __sim_disabled_exceptions_thread and global
20831         __sim_disabled_exceptions_global.
20832         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20833         and global __sim_round_mode_global.
20834         (__simulate_exceptions): Use thread-local floating-point state and
20835         set global state from it as needed.
20836         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20837         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20838         __sim_round_mode_thread.
20839         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20840         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20841         and global __sim_exceptions_global.
20842         (__sim_disabled_exceptions): Change to thread-local
20843         __sim_disabled_exceptions_thread and global
20844         __sim_disabled_exceptions_global.
20845         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20846         and global __sim_round_mode_global.
20847         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20848         (SIM_SET_GLOBAL): Likewise.
20849         * sysdeps/powerpc/soft-fp/sfp-machine.h
20850         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20851         __sim_round_mode_thread.
20852         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20853         __sim_disabled_exceptions_thread.
20854         (__sim_exceptions): Change to __sim_exceptions_thread.
20855         (__sim_disabled_exceptions): Change to
20856         __sim_disabled_exceptions_thread.
20857         (__sim_round_mode): Change to __sim_round_mode_thread.
20858         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20859         thread-local floating-point state and set global state from it as
20860         needed.
20861         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20862         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20863         (__sim_disabled_exceptions): Remove extern declaration.
20864         (feenableexcept): Use thread-local floating-point state and set
20865         global state from it as needed.
20866         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20867         extern declaration.
20868         (__sim_disabled_exceptions): Likewise.
20869         (__sim_round_mode): Likewise.
20870         (__fegetenv): Use thread-local floating-point state.
20871         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20872         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20873         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20874         floating-point state and set global state from it as needed.
20875         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20876         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20877         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20878         Likewise.
20879         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20880         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20881         Likewise.
20882         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20883         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20884         Use __sim_round_mode_thread.
20885         * math/test-fenv-tls.c: New file.
20886         * math/Makefile (tests): Add test-fenv-tls.
20887         ($(objpfx)test-fenv-tls): Depend on
20888         $(common-objpfx)nptl/libpthread.so.
20890 2013-11-19  Andreas Schwab  <schwab@suse.de>
20892         * locale/programs/locale.c (show_info): Decode wordarray elements.
20893         * locale/categories.def (LC_MONETARY): Add element for
20894         _NL_MONETARY_CRNCYSTR.
20895         * locale/C-monetary.c (conversion_rate): New variable.
20896         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20897         element.
20899 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20901         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20902         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20904 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20906         * elf/Makefile (tst-auxv): New test.
20907         * elf/tst-auxv.c: New
20908         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20910 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20912         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20913         (hidden_proto): Caller changed.
20914         (hidden_tls_proto): New macro.
20915         (libc_hidden_tls_proto): Likewise.
20916         (rtld_hidden_tls_proto): Likewise.
20917         (libm_hidden_tls_proto): Likewise.
20918         (libresolv_hidden_tls_proto): Likewise.
20919         (librt_hidden_tls_proto): Likewise.
20920         (libdl_hidden_tls_proto): Likewise.
20921         (libnss_files_hidden_tls_proto): Likewise.
20922         (libnsl_hidden_tls_proto): Likewise.
20923         (libnss_nisplus_hidden_tls_proto): Likewise.
20924         (libutil_hidden_tls_proto): Likewise.
20926 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20928         [BZ #10253]
20929         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20930         (decompose_rpath): Defer expansion to fillin_rpath.
20931         (_dl_init_paths): Pass linkmap to fillin_rpath.
20933 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20935         * benchtests/Makefile: Add strsep.
20936         * benchtests/bench-strsep.c: New file: strsep benchtest.
20937         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20939 2013-11-18  Andreas Schwab  <schwab@suse.de>
20941         * locale/programs/locale.c (show_info) [case byte]: Check for
20942         '\377' instead of '\177'.
20943         * locale/C-monetary.c (not_available): Always use "\377".
20944         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20945         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20946         detect unavailable sign_posn locale elements.
20947         * locale/localeconv.c (__localeconv): For grouping and
20948         mon_grouping handle "\177" and "\377" like no grouping.
20949         (INT_ELEM): New macro.  Use it to set all numeric members.
20950         * locale/programs/ld-monetary.c (monetary_read)
20951         <tok_mon_grouping>: Normalize single -1 to the empty string.
20952         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20953         Likewise.
20955 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20957         [BZ #16055]
20958         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20959         when we match (nil).
20960         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20962 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20964         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20965         (NO_TEST_INLINE): Update value.
20966         (ERRNO_UNCHANGED): Likewise.
20967         (ERRNO_EDOM): Likewise.
20968         (ERRNO_ERANGE): Likewise.
20969         (IGNORE_RESULT): Likewise.
20970         (check_float_internal): Check signs of NaN results if
20971         TEST_NAN_SIGN used.
20972         (check_complex): Pass TEST_NAN_SIGN flag through to second
20973         check_float_internal call.
20974         (copysign_test_data): Add tests with quiet NaNs as second
20975         argument.  Use TEST_NAN_SIGN.
20976         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20977         TEST_NAN_SIGN.
20978         (signbit_test_data): Add tests of quiet NaN argument.
20979         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20981         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20982         $ignore_result.
20983         (parse_args): Handle function results specified as IGNORE.
20984         * math/libm-test.inc (IGNORE_RESULT): New macro.
20985         (check_float_internal): Do not check numerical result if flag
20986         IGNORE_RESULT set.
20987         (check_complex): Pass through IGNORE_RESULT to second
20988         check_float_internal call.
20989         (check_int): Do not check numerical result if flag IGNORE_RESULT
20990         set.
20991         (check_long): Likewise.
20992         (check_bool): Likewise.
20993         (check_longlong): Likewise.
20994         (lrint_test_data): Add tests of infinite and NaN arguments.
20995         (lrint_tonearest_test_data): Likewise.
20996         (lrint_towardzero_test_data): Likewise.
20997         (lrint_downward_test_data): Likewise.
20998         (lrint_upward_test_data): Likewise.
20999         (llrint_test_data): Likewise.
21000         (llrint_tonearest_test_data): Likewise.
21001         (llrint_towardzero_test_data): Likewise.
21002         (llrint_downward_test_data): Likewise.
21003         (llrint_upward_test_data): Likewise.
21004         (lround_test_data): Likewise.
21005         (llround_test_data): Likewise.
21007         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21008         (ERRNO_UNCHANGED): Update value.
21009         (ERRNO_EDOM): Likewise.
21010         (ERRNO_ERANGE): Likewise.
21011         (NO_TEST_INLINE_FLOAT): New macro.
21012         (NO_TEST_INLINE_DOUBLE): Likewise.
21013         (enable_test): New function.
21014         (RUN_TEST_f_f): Check enable_test before running test.
21015         (RUN_TEST_2_f): Likewise.
21016         (RUN_TEST_fff_f): Likewise.
21017         (RUN_TEST_c_f): Likewise.
21018         (RUN_TEST_f_f1): Likewise.
21019         (RUN_TEST_fF_f1): Likewise.
21020         (RUN_TEST_fI_f1): Likewise.
21021         (RUN_TEST_ffI_f1): Likewise.
21022         (RUN_TEST_c_c): Likewise.
21023         (RUN_TEST_cc_c): Likewise.
21024         (RUN_TEST_f_i): Likewise.
21025         (RUN_TEST_f_i_tg): Likewise.
21026         (RUN_TEST_ff_i_tg): Likewise.
21027         (RUN_TEST_f_b): Likewise.
21028         (RUN_TEST_f_b_tg): Likewise.
21029         (RUN_TEST_f_l): Likewise.
21030         (RUN_TEST_f_L): Likewise.
21031         (RUN_TEST_fFF_11): Likewise.
21032         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21033         conditionals.
21034         (cosh_test_data): Likewise.
21035         (exp_test_data): Likewise.
21036         (expm1_test_data): Likewise.
21037         (hypot_test_data): Likewise.
21038         (pow_test_data): Likewise.
21039         (sinh_test_data): Likewise.
21040         (tanh_test_data): Likewise.
21041         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21042         flags argument.
21044         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21045         tests with quiet NaN input and output.
21046         (acosh_test_data): Likewise.
21047         (asin_test_data): Likewise.
21048         (asinh_test_data): Likewise.
21049         (atan_test_data): Likewise.
21050         (atanh_test_data): Likewise.
21051         (atan2_test_data): Likewise.
21052         (cbrt_test_data): Likewise.
21053         (cos_test_data): Likewise.
21054         (cosh_test_data): Likewise.
21055         (erf_test_data): Likewise.
21056         (erfc_test_data): Likewise.
21057         (exp_test_data): Likewise.
21058         (exp10_test_data): Likewise.
21059         (exp2_test_data): Likewise.
21060         (expm1_test_data): Likewise.
21061         (hypot_test_data): Likewise.
21062         (j0_test_data): Likewise.
21063         (j1_test_data): Likewise.
21064         (jn_test_data): Likewise.
21065         (lgamma_test_data): Likewise.
21066         (log_test_data): Likewise.
21067         (log10_test_data): Likewise.
21068         (log1p_test_data): Likewise.
21069         (log2_test_data): Likewise.
21070         (pow_test_data): Likewise.
21071         (scalb_test_data): Likewise.
21072         (sin_test_data): Likewise.
21073         (sincos_test_data): Likewise.
21074         (sinh_test_data): Likewise.
21075         (tan_test_data): Likewise.
21076         (tanh_test_data): Likewise.
21077         (tgamma_test_data): Likewise.
21078         (y0_test_data): Likewise.
21079         (y1_test_data): Likewise.
21080         (yn_test_data): Likewise.
21082         [BZ #16167]
21083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21084         argument being NaN and avoid computations with second argument in
21085         that case.
21086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21087         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21088         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21090 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21092         * locale/iso-639.def: Add Chitwani Tharu (the).
21094 2013-11-14  Andreas Schwab  <schwab@suse.de>
21096         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21097         word instead of empty string.
21099 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21102         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21104         (__fe_nomask_env): Likewise.
21106 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21108         * benchtests/bench-timing.h: Include time.h.
21110 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21112         [BZ #15997]
21113         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21114         to 3.4.0 for x32.
21115         * sysdeps/unix/sysv/linux/configure: Regenerated.
21117 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21119         [BZ #16151]
21120         * stdlib/strtod_l.c (round_and_return): Do not consider
21121         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21122         exponent one less than half the least subnormal exponent.
21123         * stdlib/test-strtod-round-data: Add more tests.
21124         * stdlib/tst-strtod-round.c (tests): Regenerated.
21126 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21128         [BZ #14143]
21129         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21130         (__fe_mask_env): Likewise.
21131         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21132         libm_hidden_proto and add function prototype.
21133         (__fe_mask_env): Add function prototype.
21134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21135         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21137         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21139         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21141 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21143         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21144         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21146 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21148         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21149         of htab_find_slot().
21151 2013-11-11  David S. Miller  <davem@davemloft.net>
21153         [BZ #16150]
21154         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21155         symbol in the non-vis3 case in static builds.
21156         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21157         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21158         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21159         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21161 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21163         [BZ #387]
21164         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21165         it is empty.
21167 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21169         * benchtests/Makefile: Add bench-strtod.
21170         * benchtests/bench-strtod.c: New file: strtod benchtest
21172 2013-11-11  Andreas Schwab  <schwab@suse.de>
21174         [BZ #16153]
21175         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21176         terminating NUL in key length.
21178 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21181         Add artificial ODP entry for vDSO symbol for PPC64.
21182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21183         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21185 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21187         [BZ #15374]
21188         * nss/getent.c (services_keys): Recognize services starting with digit.
21190 2013-11-06  David S. Miller  <davem@davemloft.net>
21192         [BZ #15985]
21193         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21194         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21196 2013-11-06  Will Newton  <will.newton@linaro.org>
21198         * manual/memory.texi (Malloc Examples): Remove register
21199         keyword from examples.
21201 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21203         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21205 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21207         [BZ #6981]
21208         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21209         depending on [__GCC_IEC_559 > 0].
21210         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21211         depending on [__GCC_IEC_559_COMPLEX > 0].
21213 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21215         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21216         to iso-639.def.
21218 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21220         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21222 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21224         [BZ #16112]
21225         * malloc/malloc (malloc_info): Do not handle first bin as
21226         special case.
21228 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21230         * locale/iso-639.def: Add Central Nahuatl (nhn).
21232 2013-11-01  Bruno Haible  <bruno@clisp.org>
21234         [BZ #7003]
21235         * manual/math.texi (BSD Random): Specify range upper bound as
21236         in POSIX.
21238 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21240         * locale/iso-639.def: Add Meadow Mari (mhr).
21242 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21244         [BZ #14752], [BZ #15763]
21245         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21246         Validate name.
21247         * rt/tst_shm.c: Add test for escaping directory.
21249 2013-10-31  Andreas Schwab  <schwab@suse.de>
21251         [BZ #15917]
21252         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21253         followed by 'x' as part of digit sequence.
21254         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21256 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21258         [BZ #16037]
21259         * configure.ac: allow GNU Make 4.0 and greater.
21260         * configure: Regenerated.
21262 2013-10-30  Will Newton  <will.newton@linaro.org>
21264         [BZ #16038]
21265         * malloc/hooks.c (memalign_check): Limit alignment to the
21266         maximum representable power of two.
21267         * malloc/malloc.c (__libc_memalign): Likewise.
21268         * malloc/tst-memalign.c (do_test): Add test for very
21269         large alignment values.
21270         * malloc/tst-posix_memalign.c (do_test): Likewise.
21272 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21274         [BZ #11087]
21275         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21276         (munmap_chunk): Likewise.
21277         (mremap_chunk): Likewise.
21279 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21281         [BZ #15799]
21282         * stdlib/div.c (div): Remove obsolete code.
21283         * stdlib/ldiv.c (ldiv): Likewise.
21284         * stdlib/lldiv.c (lldiv): Likewise.
21286 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21288         [BZ #16071]
21289         * nss/nss_files/files-XXX.c (get_contents_ret): New
21290         enumerator.
21291         (get_contents): New function.
21292         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21294 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21296         * configure.in: Moved to ...
21297         * configure.ac: ... here. Change reference to configure.in
21298         to configure.ac.
21299         * sysdeps/arm/preconfigure.ac: ... here.
21300         configure.in to configure.ac.
21301         * sysdeps/gnu/configure.in: Moved to ...
21302         * sysdeps/gnu/configure.ac: ... here.
21303         * sysdeps/i386/configure.in: Moved to ...
21304         * sysdeps/i386/configure.ac: ... here.
21305         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21306         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21307         * sysdeps/mach/configure.in: Moved to ...
21308         * sysdeps/mach/configure.ac: ... here.
21309         * sysdeps/mach/hurd/configure.in: Moved to ...
21310         * sysdeps/mach/hurd/configure.ac: ... here.
21311         * sysdeps/powerpc/configure.in: Moved to ...
21312         * sysdeps/powerpc/configure.ac: ... here.
21313         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21314         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21315         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21316         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21317         * sysdeps/s390/s390-32/configure.in: Moved to ...
21318         * sysdeps/s390/s390-32/configure.ac: ... here.
21319         * sysdeps/s390/s390-64/configure.in: Moved to ...
21320         * sysdeps/s390/s390-64/configure.ac: ... here.
21321         * sysdeps/sh/configure.in: Moved to ...
21322         * sysdeps/sh/configure.ac: ... here.
21323         * sysdeps/sparc/configure.in: Moved to ...
21324         * sysdeps/sparc/configure.ac: ... here.
21325         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21326         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21327         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21328         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21329         * sysdeps/x86_64/configure.in: Moved to ...
21330         * sysdeps/x86_64/configure.ac: ... here.
21331         * sysdeps/x86_64/preconfigure.in: Moved to ...
21332         * sysdeps/x86_64/preconfigure.ac: ... here.
21333         * aclocal.m4: Change reference to configure.in to configure.ac.
21334         * config.h.in: Likewise.
21335         * manual/install.texi: Likewise.
21336         * manual/maint.texi: Likewise.
21337         * Makefile: Likewise.
21338         * malloc/Makefile: Likewise.
21339         * nscd/Makefile: Likewise.
21340         * Makeconfig: Change reference to configure.in and
21341         preconfigure.in to configure.ac and preconfigure.ac
21342         respectively.
21343         * INSTALL: Regenerated.
21344         * configure: Likewise.
21345         * sysdeps/gnu/configure: Likewise.
21346         * sysdeps/i386/configure: Likewise.
21347         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21348         * sysdeps/mach/configure: Likewise.
21349         * sysdeps/mach/hurd/configure: Likewise.
21350         * sysdeps/powerpc/configure: Likewise.
21351         * sysdeps/powerpc/powerpc32/configure: Likewise.
21352         * sysdeps/powerpc/powerpc64/configure: Likewise.
21353         * sysdeps/s390/s390-32/configure: Likewise.
21354         * sysdeps/s390/s390-64/configure: Likewise.
21355         * sysdeps/sh/configure: Likewise.
21356         * sysdeps/sparc/configure: Likewise.
21357         * sysdeps/unix/sysv/linux/configure: Likewise.
21358         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21359         * sysdeps/x86_64/configure: Likewise.
21360         * sysdeps/x86_64/preconfigure: Likewise.
21362 2013-10-29  Andreas Schwab  <schwab@suse.de>
21364         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21366 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21368         * benchtests/pow-inputs: Add new inputs.
21370         * benchtests/exp-inputs: Add new inputs.
21372         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21373         conditional check for return value.
21374         (__cos32): Likewise.
21376 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21378         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21379         to provide a boost for large inputs with word alignment.
21380         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21381         implementation based on optimized PPC64 strcpy.
21382         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21383         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21384         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21385         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21387 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21389         [BZ #2801]
21390         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21392 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21394         [BZ #14876]
21395         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21396         * time/tst-strptime.c (day_tests): Add testcase.
21398 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21400         [BZ #14029]
21401         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21403 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21405         [BZ #16074]
21406         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21407         MAP_FAILED on error.
21409 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21411         [BZ #16072]
21412         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21413         heap for large requests.
21415 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21417         [BZ #9954]
21418         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21419         result if the result has no associated interface.
21420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21421         interface for all 127.X.Y.Z addresses.
21423 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21425         * locale/iso-639.def: Add Ligurian (lij)
21427 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21429         [BZ #15825]
21430         * sunrpc/rpc_main.c: Document rpcgen -5.
21432 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21434         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21436 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21438         [BZ #10278]
21439         * posix/glob.c: Match only directories when trailing slash is present.
21440         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21441         (main): Add testcase.
21443 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21445         [BZ #15670]
21446         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21448 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21450         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21451         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21452         AUTH_DES and cindex for FIPS 140-2.
21453         (DES Encryption): Add cindex FIPS 46-3.
21455         * locale/locarchive.h (struct locarhandle): Add fname.
21456         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21457         if an optional argument was specified to --list-archive,
21458         otherwise NULL.
21459         * locale/programs/locarchive.c (show_archive_content): Take new
21460         argument fname and pass it via ah.fname to open_archive.
21461         * locale/programs/localedef.h: Update decl.
21462         (open_archive): If AH->fname is non-null, open that file
21463         rather than the default file name, and don't ignore ENOENT.
21464         (create_archive): Set AH.fname to NULL.
21465         (delete_locales_from_archive): Likewise.
21466         (add_locales_to_archive): Likewise.
21467         * locale/programs/locfile.c (write_all_categories): Likewise.
21469 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21470             Aldy Hernandez  <aldyh@redhat.com>
21472         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21473         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21474         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21475         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21476         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21480         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21482         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21483         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21484         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21485         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21486         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21487         Likewise.
21488         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21489         Likewise.
21490         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21491         Likewise.
21492         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21493         Likewise.
21494         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21495         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21496         Likewise.
21497         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21498         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21499         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21500         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21501         Likewise.
21502         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21503         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21504         * sysdeps/powerpc/preconfigure: Likewise.
21505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21506         Likewise.
21507         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21508         Replace contents of file by #include of <fenv_libc.h>.
21509         * sysdeps/powerpc/soft-fp/sfp-machine.h
21510         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21511         and <sys/prctl.h>.
21512         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21525         Allow copysignl PLT reference to be missing.
21527 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21528             Joseph Myers  <joseph@codesourcery.com
21530         [BZ #15948]
21531         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21532         single character.
21533         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21535 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21537         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21538         * elf/tst-tls1.c: Likewise.
21539         * elf/tst-tls10.h: Likewise.
21540         * elf/tst-tls14.c: Likewise.
21541         * elf/tst-tls2.c: Likewise.
21542         * elf/tst-tls3.c: Likewise.
21543         * elf/tst-tls4.c: Likewise.
21544         * elf/tst-tls5.c: Likewise.
21545         * elf/tst-tls6.c: Likewise.
21546         * elf/tst-tls7.c: Likewise.
21547         * elf/tst-tls8.c: Likewise.
21548         * elf/tst-tls9.c: Likewise.
21549         * elf/tst-tlsmod1.c: Likewise.
21550         * elf/tst-tlsmod13.c: Likewise.
21551         * elf/tst-tlsmod13a.c: Likewise.
21552         * elf/tst-tlsmod14a.c: Likewise.
21553         * elf/tst-tlsmod16a.c: Likewise.
21554         * elf/tst-tlsmod16b.c: Likewise.
21555         * elf/tst-tlsmod2.c: Likewise.
21556         * elf/tst-tlsmod3.c: Likewise.
21557         * elf/tst-tlsmod4.c: Likewise.
21558         * elf/tst-tlsmod5.c: Likewise.
21559         * elf/tst-tlsmod6.c: Likewise.
21561 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21563         [BZ #12486]
21564         * malloc/malloc.c: remove checks for statistics.
21566 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21568         [BZ #15277]
21569         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21570         * inet/tst-network.c: Add testcase.
21572 2013-10-17  Andreas Schwab  <schwab@suse.de>
21574         [BZ #15218]
21575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21576         to determine canonical name.
21578 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21580         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21581         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21583         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21585         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21586         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21587         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21588         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21589         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21590         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21593         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21594         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21595         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21597         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21598         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21603         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21604         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21605         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21606         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21607         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21608         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21609         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21610         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21611         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21612         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21613         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21614         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21616         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21617         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21620         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21621         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21622         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21623         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21628         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21629         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21630         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21631         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21633         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21635         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21637         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21639 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21641         [BZ #16041]
21642         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21643         make result into a quiet NaN.
21645 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21647         * soft-fp/adddf3.c: Fix horizontal whitespace.
21648         * soft-fp/addsf3.c: Likewise.
21649         * soft-fp/addtf3.c: Likewise.
21650         * soft-fp/divdf3.c: Likewise.
21651         * soft-fp/divsf3.c: Likewise.
21652         * soft-fp/divtf3.c: Likewise.
21653         * soft-fp/double.h: Likewise.
21654         * soft-fp/eqdf2.c: Likewise.
21655         * soft-fp/eqsf2.c: Likewise.
21656         * soft-fp/eqtf2.c: Likewise.
21657         * soft-fp/extenddftf2.c: Likewise.
21658         * soft-fp/extended.h: Likewise.
21659         * soft-fp/extendsfdf2.c: Likewise.
21660         * soft-fp/extendsftf2.c: Likewise.
21661         * soft-fp/extendxftf2.c: Likewise.
21662         * soft-fp/fixdfdi.c: Likewise.
21663         * soft-fp/fixdfsi.c: Likewise.
21664         * soft-fp/fixdfti.c: Likewise.
21665         * soft-fp/fixsfdi.c: Likewise.
21666         * soft-fp/fixsfsi.c: Likewise.
21667         * soft-fp/fixsfti.c: Likewise.
21668         * soft-fp/fixtfdi.c: Likewise.
21669         * soft-fp/fixtfsi.c: Likewise.
21670         * soft-fp/fixtfti.c: Likewise.
21671         * soft-fp/fixunsdfdi.c: Likewise.
21672         * soft-fp/fixunsdfsi.c: Likewise.
21673         * soft-fp/fixunsdfti.c: Likewise.
21674         * soft-fp/fixunssfdi.c: Likewise.
21675         * soft-fp/fixunssfsi.c: Likewise.
21676         * soft-fp/fixunssfti.c: Likewise.
21677         * soft-fp/fixunstfdi.c: Likewise.
21678         * soft-fp/fixunstfsi.c: Likewise.
21679         * soft-fp/fixunstfti.c: Likewise.
21680         * soft-fp/floatdidf.c: Likewise.
21681         * soft-fp/floatdisf.c: Likewise.
21682         * soft-fp/floatditf.c: Likewise.
21683         * soft-fp/floatsidf.c: Likewise.
21684         * soft-fp/floatsisf.c: Likewise.
21685         * soft-fp/floatsitf.c: Likewise.
21686         * soft-fp/floattidf.c: Likewise.
21687         * soft-fp/floattisf.c: Likewise.
21688         * soft-fp/floattitf.c: Likewise.
21689         * soft-fp/floatundidf.c: Likewise.
21690         * soft-fp/floatundisf.c: Likewise.
21691         * soft-fp/floatunditf.c: Likewise.
21692         * soft-fp/floatunsidf.c: Likewise.
21693         * soft-fp/floatunsisf.c: Likewise.
21694         * soft-fp/floatunsitf.c: Likewise.
21695         * soft-fp/floatuntidf.c: Likewise.
21696         * soft-fp/floatuntisf.c: Likewise.
21697         * soft-fp/floatuntitf.c: Likewise.
21698         * soft-fp/fmadf4.c: Likewise.
21699         * soft-fp/fmasf4.c: Likewise.
21700         * soft-fp/fmatf4.c: Likewise.
21701         * soft-fp/gedf2.c: Likewise.
21702         * soft-fp/gesf2.c: Likewise.
21703         * soft-fp/getf2.c: Likewise.
21704         * soft-fp/ledf2.c: Likewise.
21705         * soft-fp/lesf2.c: Likewise.
21706         * soft-fp/letf2.c: Likewise.
21707         * soft-fp/muldf3.c: Likewise.
21708         * soft-fp/mulsf3.c: Likewise.
21709         * soft-fp/multf3.c: Likewise.
21710         * soft-fp/negdf2.c: Likewise.
21711         * soft-fp/negsf2.c: Likewise.
21712         * soft-fp/negtf2.c: Likewise.
21713         * soft-fp/op-1.h: Likewise.
21714         * soft-fp/op-2.h: Likewise.
21715         * soft-fp/op-4.h: Likewise.
21716         * soft-fp/op-8.h: Likewise.
21717         * soft-fp/op-common.h: Likewise.
21718         * soft-fp/quad.h: Likewise.
21719         * soft-fp/single.h: Likewise.
21720         * soft-fp/soft-fp.h: Likewise.
21721         * soft-fp/sqrtdf2.c: Likewise.
21722         * soft-fp/sqrtsf2.c: Likewise.
21723         * soft-fp/sqrttf2.c: Likewise.
21724         * soft-fp/subdf3.c: Likewise.
21725         * soft-fp/subsf3.c: Likewise.
21726         * soft-fp/subtf3.c: Likewise.
21727         * soft-fp/truncdfsf2.c: Likewise.
21728         * soft-fp/trunctfdf2.c: Likewise.
21729         * soft-fp/trunctfsf2.c: Likewise.
21730         * soft-fp/trunctfxf2.c: Likewise.
21731         * soft-fp/unorddf2.c: Likewise.
21732         * soft-fp/unordsf2.c: Likewise.
21733         * soft-fp/unordtf2.c: Likewise.
21735 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21737         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21738         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21740 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21742         * elf/dl-libc.c: Clear initfini list after freeing.
21744 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21746         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21747         * soft-fp/addsf3.c: Likewise.
21748         * soft-fp/addtf3.c: Likewise.
21749         * soft-fp/divdf3.c: Likewise.
21750         * soft-fp/divsf3.c: Likewise.
21751         * soft-fp/divtf3.c: Likewise.
21752         * soft-fp/double.h: Likewise.
21753         * soft-fp/eqdf2.c: Likewise.
21754         * soft-fp/eqsf2.c: Likewise.
21755         * soft-fp/eqtf2.c: Likewise.
21756         * soft-fp/extenddftf2.c: Likewise.
21757         * soft-fp/extended.h: Likewise.
21758         * soft-fp/extendsfdf2.c: Likewise.
21759         * soft-fp/extendsftf2.c: Likewise.
21760         * soft-fp/extendxftf2.c: Likewise.
21761         * soft-fp/fixdfdi.c: Likewise.
21762         * soft-fp/fixdfsi.c: Likewise.
21763         * soft-fp/fixdfti.c: Likewise.
21764         * soft-fp/fixsfdi.c: Likewise.
21765         * soft-fp/fixsfsi.c: Likewise.
21766         * soft-fp/fixsfti.c: Likewise.
21767         * soft-fp/fixtfdi.c: Likewise.
21768         * soft-fp/fixtfsi.c: Likewise.
21769         * soft-fp/fixtfti.c: Likewise.
21770         * soft-fp/fixunsdfdi.c: Likewise.
21771         * soft-fp/fixunsdfsi.c: Likewise.
21772         * soft-fp/fixunsdfti.c: Likewise.
21773         * soft-fp/fixunssfdi.c: Likewise.
21774         * soft-fp/fixunssfsi.c: Likewise.
21775         * soft-fp/fixunssfti.c: Likewise.
21776         * soft-fp/fixunstfdi.c: Likewise.
21777         * soft-fp/fixunstfsi.c: Likewise.
21778         * soft-fp/fixunstfti.c: Likewise.
21779         * soft-fp/floatdidf.c: Likewise.
21780         * soft-fp/floatdisf.c: Likewise.
21781         * soft-fp/floatditf.c: Likewise.
21782         * soft-fp/floatsidf.c: Likewise.
21783         * soft-fp/floatsisf.c: Likewise.
21784         * soft-fp/floatsitf.c: Likewise.
21785         * soft-fp/floattidf.c: Likewise.
21786         * soft-fp/floattisf.c: Likewise.
21787         * soft-fp/floattitf.c: Likewise.
21788         * soft-fp/floatundidf.c: Likewise.
21789         * soft-fp/floatundisf.c: Likewise.
21790         * soft-fp/floatunsidf.c: Likewise.
21791         * soft-fp/floatunsisf.c: Likewise.
21792         * soft-fp/floatuntidf.c: Likewise.
21793         * soft-fp/floatuntisf.c: Likewise.
21794         * soft-fp/floatuntitf.c: Likewise.
21795         * soft-fp/fmadf4.c: Likewise.
21796         * soft-fp/fmasf4.c: Likewise.
21797         * soft-fp/fmatf4.c: Likewise.
21798         * soft-fp/gedf2.c: Likewise.
21799         * soft-fp/gesf2.c: Likewise.
21800         * soft-fp/getf2.c: Likewise.
21801         * soft-fp/ledf2.c: Likewise.
21802         * soft-fp/lesf2.c: Likewise.
21803         * soft-fp/letf2.c: Likewise.
21804         * soft-fp/muldf3.c: Likewise.
21805         * soft-fp/mulsf3.c: Likewise.
21806         * soft-fp/multf3.c: Likewise.
21807         * soft-fp/negdf2.c: Likewise.
21808         * soft-fp/negsf2.c: Likewise.
21809         * soft-fp/negtf2.c: Likewise.
21810         * soft-fp/op-1.h: Likewise.
21811         * soft-fp/op-2.h: Likewise.
21812         * soft-fp/op-4.h: Likewise.
21813         * soft-fp/op-8.h: Likewise.
21814         * soft-fp/op-common.h: Likewise.
21815         * soft-fp/quad.h: Likewise.
21816         * soft-fp/single.h: Likewise.
21817         * soft-fp/soft-fp.h: Likewise.
21818         * soft-fp/sqrtdf2.c: Likewise.
21819         * soft-fp/sqrtsf2.c: Likewise.
21820         * soft-fp/sqrttf2.c: Likewise.
21821         * soft-fp/subdf3.c: Likewise.
21822         * soft-fp/subsf3.c: Likewise.
21823         * soft-fp/subtf3.c: Likewise.
21824         * soft-fp/truncdfsf2.c: Likewise.
21825         * soft-fp/trunctfdf2.c: Likewise.
21826         * soft-fp/trunctfsf2.c: Likewise.
21827         * soft-fp/trunctfxf2.c: Likewise.
21828         * soft-fp/unorddf2.c: Likewise.
21829         * soft-fp/unordsf2.c: Likewise.
21830         * soft-fp/unordtf2.c: Likewise.
21832 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21834         [BZ #15672]
21835         * misc/error.c (error_tail): Fix possible buffer overflow.
21837 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21839         [BZ #13028]
21840         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21841         address.
21843 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21845         [BZ #832]
21846         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21847         testing pipefail option.
21849 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21851         * soft-fp/double.h: Indent preprocessor directives inside #if.
21852         * soft-fp/extended.h: Likewise.
21853         * soft-fp/op-2.h: Likewise.
21854         * soft-fp/op-4.h: Likewise.
21855         * soft-fp/op-common.h: Likewise.
21856         * soft-fp/quad.h: Likewise.
21857         * soft-fp/single.h: Likewise.
21858         * soft-fp/soft-fp.h: Likewise.
21860 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21862         * iconv/iconv_prog.c: Fix typos.
21863         * stdio-common/psiginfo-data.h: Likewise.
21865 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21867         [BZ #15764]
21868         * locale/setlocale.c: Fix typo.
21870 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21872         [BZ #16036]
21873         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21874         signaling NaN arguments.
21875         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21876         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21878         [BZ #14910]
21879         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21880         unordered operands.
21881         * soft-fp/gesf2.c (__gesf2): Likewise.
21882         * soft-fp/getf2.c (__getf2): Likewise.
21883         * soft-fp/ledf2.c (__ledf2): Likewise.
21884         * soft-fp/lesf2.c (__lesf2): Likewise.
21885         * soft-fp/letf2.c (__letf2): Likewise.
21887         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21888         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21889         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21890         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21891         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21892         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21893         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21894         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21895         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21896         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21897         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21898         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21899         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21900         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21901         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21902         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21903         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21904         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21905         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21906         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21907         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21908         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21909         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21910         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21911         * soft-fp/floattidf.c (__floattidf): Likewise.
21912         * soft-fp/floattisf.c (__floattisf): Likewise.
21913         * soft-fp/floattitf.c (__floattitf): Likewise.
21914         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21915         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21916         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21917         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21918         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21919         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21920         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21921         * soft-fp/gesf2.c (__gesf2): Likewise.
21922         * soft-fp/getf2.c (__getf2): Likewise.
21923         * soft-fp/ledf2.c (__ledf2): Likewise.
21924         * soft-fp/lesf2.c (__lesf2): Likewise.
21925         * soft-fp/letf2.c (__letf2): Likewise.
21927         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21928         Undefine and redefine.
21929         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21930         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21931         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21932         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21933         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21934         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21935         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21936         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21937         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21938         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21939         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21940         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21941         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21942         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21943         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21945         [BZ #16032]
21946         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21947         without decrementing exponent if mantissa >= that for the
21948         denominator, not >.
21949         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21950         denominator, not >.  Decrement exponent in < case instead of
21951         incrementing in >= case.
21952         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21953         without decrementing exponent if mantissa >= that for the
21954         denominator, not >.
21956         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21957         computing saturated result for unsigned overflow.
21959 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21960             Jeff Law  <law@redhat.com>
21962         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21963         (atan2Mp): Add systemtap probe marker.
21964         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21965         (__ieee754_log): Add systemtap probe marker.
21966         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21967         (atanMp): Add systemtap probe marker.
21968         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21969         (tanMp): Add systemtap probe marker.
21970         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21971         (__slowexp): Add systemtap probe marker.
21972         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21973         (__slowpow): Add systemtap probe marker.
21974         * manual/probes.texi: Document probes.
21976 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21978         [BZ #15362]
21979         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21980         written.
21981         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21982         written.
21983         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21984         written to buffer but not flushed.
21985         * libio/iofwrite_u.c:  Likewise.
21986         * libio/iopadn.c:  Return bytes returned even if EOF was
21987         encountered.
21988         * libio/iowpadn.c:  Likewise.
21989         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21990         if _IO_padn does not write the whole buffer.
21991         [!COMPILE_WPRINTF] (PAD): Likewise.
21993 2013-10-10  David S. Miller  <davem@davemloft.net>
21995         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21996         directory block.
21998 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22000         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22001         instead of FSF address.
22002         * soft-fp/fixdfti.c: Likewise.
22003         * soft-fp/fixsfti.c: Likewise.
22004         * soft-fp/fixtfti.c: Likewise.
22005         * soft-fp/fixunsdfti.c: Likewise.
22006         * soft-fp/fixunssfti.c: Likewise.
22007         * soft-fp/fixunstfti.c: Likewise.
22008         * soft-fp/floattidf.c: Likewise.
22009         * soft-fp/floattisf.c: Likewise.
22010         * soft-fp/floattitf.c: Likewise.
22011         * soft-fp/floatuntidf.c: Likewise.
22012         * soft-fp/floatuntisf.c: Likewise.
22013         * soft-fp/floatuntitf.c: Likewise.
22014         * soft-fp/trunctfxf2.c: Likewise.
22016         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22017         * soft-fp/fixdfti.c: Likewise.
22018         * soft-fp/fixsfti.c: Likewise.
22019         * soft-fp/fixtfti.c: Likewise.
22020         * soft-fp/fixunsdfti.c: Likewise.
22021         * soft-fp/fixunssfti.c: Likewise.
22022         * soft-fp/fixunstfti.c: Likewise.
22023         * soft-fp/floattidf.c: Likewise.
22024         * soft-fp/floattisf.c: Likewise.
22025         * soft-fp/floattitf.c: Likewise.
22026         * soft-fp/floatuntidf.c: Likewise.
22027         * soft-fp/floatuntisf.c: Likewise.
22028         * soft-fp/floatuntitf.c: Likewise.
22029         * soft-fp/trunctfxf2.c: Likewise.
22031 2013-10-10  David S. Miller  <davem@davemloft.net>
22033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22035 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22037         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22038         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22039         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22040         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22041         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22042         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22043         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22045         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22046         for NaNs before doing comparisons on argument.
22047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22048         Likewise.
22050 2013-10-10  Will Newton  <will.newton@linaro.org>
22052         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22053         passed to _int_memalign does not overflow.
22055 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22057         * scripts/bench.pl: Add include-sources directive.
22058         * benchtests/README: Update documentation.
22060 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22062         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22063         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22064         instead of FP_INIT_ROUNDMODE.
22065         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22066         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22068         [BZ #16034]
22069         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22070         copy class of input value.
22071         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22072         not handle exceptions.
22073         * soft-fp/negsf2.c (__negsf2): Likewise.
22074         * soft-fp/negtf2.c (__negtf2): Likewise.
22075         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22077 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22079         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22080         semicolon.  From Linux kernel.
22082 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22084         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22086 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22088         [BZ #156]
22089         * manual/socket.texi: Added statement about buffer
22090         for gethostbyname2_r.
22092 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22094         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22095         Use .p2align directive instead, throughout.
22096         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22097         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22098         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22101         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22102         * sysdeps/x86_64/strchr.S: Likewise.
22103         * sysdeps/x86_64/strrchr.S: Likewise.
22105 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22107         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22109         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22111         * sysdeps/generic/math_private.h (__mpsin1): Remove
22112         declaration.
22113         (__mpcos1): Likewise.
22114         (__mpsin): New argument __range_reduce.
22115         (__mpcos): Likewise.
22116         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22117         (slow): Use __mpsin and __mpcos.
22118         (slow1): Likewise.
22119         (slow2): Likewise.
22120         (sloww): Likewise.
22121         (sloww1): Likewise.
22122         (sloww2): Likewise.
22123         (bsloww): Likewise.
22124         (bsloww1): Likewise.
22125         (bsloww2): Likewise.
22126         (cslow2): Likewise.
22127         (csloww): Likewise.
22128         (csloww1): Likewise.
22129         (csloww2): Likewise.
22130         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22131         range_reduce.  Merge in __mpsin1.
22132         (__mpcos): Likewise.
22133         (__mpsin1): Remove.
22134         (__mpcos1): Likewise.
22136 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22138         * locale/loadlocale.c (_nl_intern_locale_data): Use
22139         LOCFILE_ALIGNED_P.
22140         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22141         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22142         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22143         obstack data is appropriately aligned.
22144         (obstack_int32_grow_fast): Likewise.
22145         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22146         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22147         (add_locale_uint32_array): Likewise.
22149 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22151         * benchtests/Makefile: Remove ARGLIST and RET variables.
22152         ($(objpfx)bench-%.c): Pass only function name to the script.
22153         * benchtests/README: Update documentation.
22154         * benchtests/acos-inputs: Add new directives.
22155         * benchtests/acosh-inputs: Likewise.
22156         * benchtests/asin-inputs: Likewise.
22157         * benchtests/asinh-inputs: Likewise.
22158         * benchtests/atan-inputs: Likewise.
22159         * benchtests/atanh-inputs: Likewise.
22160         * benchtests/cos-inputs: Likewise.
22161         * benchtests/cosh-inputs: Likewise.
22162         * benchtests/exp-inputs: Likewise.
22163         * benchtests/log-inputs: Likewise.
22164         * benchtests/pow-inputs: Likewise.
22165         * benchtests/rint-inputs: Likewise.
22166         * benchtests/sin-inputs: Likewise.
22167         * benchtests/sinh-inputs: Likewise.
22168         * benchtests/tan-inputs: Likewise.
22169         * benchtests/tanh-inputs: Likewise.
22170         * scripts/bench.pl: Add support for new directives.
22172 2013-10-07  Alan Modra  <amodra@gmail.com>
22174         * README: Fix careless merge.
22176 2013-10-05  Alan Modra  <amodra@gmail.com>
22178         * NEWS: Mention powerpc64le support and bugs fixed.
22179         * README: Both big-endian and little-endian powerpc64 supported.
22181 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22183         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22184         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22185         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22186         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22188 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22190         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22191         match prototype.
22193 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22195         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22196         Move -mhard-float appending from
22197         ports/sysdeps/powerpc/powerpc32/Makefile.
22198         [$(with-fp) = yes] (ASFLAGS): Likewise.
22199         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22200         * sysdeps/powerpc/nofpu: Move directory from
22201         ports/sysdeps/powerpc/nofpu.
22202         * sysdeps/powerpc/soft-fp: Move directory from
22203         ports/sysdeps/powerpc/soft-fp.
22204         * sysdeps/powerpc/powerpc32/405: Move directory from
22205         ports/sysdeps/powerpc/powerpc32/405.
22206         * sysdeps/powerpc/powerpc32/440: Move directory from
22207         ports/sysdeps/powerpc/powerpc32/440.
22208         * sysdeps/powerpc/powerpc32/464: Move directory from
22209         ports/sysdeps/powerpc/powerpc32/464.
22210         * sysdeps/powerpc/powerpc32/476: Move directory from
22211         ports/sysdeps/powerpc/powerpc32/476.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22213         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22219         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22222         * README: Update for powerpc-*-linux-gnu software floating point
22223         support in libc.
22225         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22226         case to powerpc/powerpc32*.
22227         * sysdeps/unix/sysv/linux/configure: Regenerated.
22229         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22230         (_FPU_MASK_OM): Define as 0x04.
22231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22233         0x00c10080.
22234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22235         0x0000003c.
22236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22239         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22240         getcontext_e500.
22241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22242         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22243         setcontext_e500.
22244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22245         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22246         and setcontext_e500.
22248 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22250         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22252 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22254         * manual/threads.texi (Default Thread Attributes): Fix typo.
22256 2013-10-04  Will Newton  <will.newton@linaro.org>
22258         * malloc/Makefile: Add tst-memalign.
22259         * malloc/tst-memalign.c: New file.
22261         * malloc/tst-posix_memalign.c: Add comments.
22262         (do_test): Add comments and call free on all potentially
22263         allocated pointers. Add space after cast.
22265         * malloc/tst-pvalloc.c: Add comments.
22266         (do_test): Add comments and call free on all potentially
22267         allocated pointers. Remove duplicate check for NULL pointer.
22268         Add space after cast.
22270         * malloc/tst-valloc.c: Add comments.
22271         (do_test): Add comments and call free on all potentially
22272         allocated pointers. Remove duplicate check for NULL pointer.
22273         Add space after cast.
22275 2013-10-04  Alan Modra  <amodra@gmail.com>
22277         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22278         Use stdint types in rather than __attribute__((mode())).
22279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22281 2013-10-04  Alan Modra  <amodra@gmail.com>
22283         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22284         Correct handling of unaligned relocs for little-endian.
22285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22287 2013-10-04  Alan Modra  <amodra@gmail.com>
22289         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22290         * configure: Regenerate.
22291         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22292         * shlib-versions: Likewise.
22294 2013-10-04  Alan Modra  <amodra@gmail.com>
22296         * string/tester.c (test_memrchr): Increment reported test cycle.
22298 2013-10-04  Alan Modra  <amodra@gmail.com>
22300         * string/test-memcpy.c (do_one_test): When reporting errors, print
22301         string address and don't overrun end of string.
22303 2013-10-04  Alan Modra  <amodra@gmail.com>
22305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22306         insrdi.  Make better use of reg selection to speed exit slightly.
22307         Schedule entry path a little better.  Remove useless "are we done"
22308         checks on entry to main loop.  Handle wrapping around zero address.
22309         Correct main loop count.  Handle single left-over word from main
22310         loop inline rather than by using loop_small.  Remove extra word
22311         case in loop_small caused by wrong loop count.  Add little-endian
22312         support.
22313         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22315         cache hint.
22316         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22317         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22318         support.  Avoid rlwimi.
22319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22321 2013-10-04  Alan Modra  <amodra@gmail.com>
22323         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22324         insrdi.  Formatting.
22325         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22326         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22327         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22328         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22329         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22330         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22332 2013-10-04  Alan Modra  <amodra@gmail.com>
22334         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22335         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22336         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22337         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22338         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22339         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22340         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22341         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22342         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22343         use of regs.  Use power7 mtocrf.  Tidy function tails.
22345 2013-10-04  Alan Modra  <amodra@gmail.com>
22347         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22348         Formatting.  Consistently use rXXX register defines or rN defines.
22349         Use early exit labels that avoid restoring unused non-volatile regs.
22350         Make cr field use more consistent with rWORDn compares.  Rename
22351         regs used as shift registers for unaligned loop, using rN defines
22352         for short lifetime/multiple use regs.
22353         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22355         addi 1,1,64 to pop stack frame.  Simplify return value code.
22356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22358 2013-10-04  Alan Modra  <amodra@gmail.com>
22360         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22361         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22362         rather than rlwimi.
22363         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22364         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22365         little-endian support.  Correct typos.
22366         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22367         rather than rlwimi.
22368         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22369         in loop and entry code to keep "and." results.
22370         (strchr): Add little-endian support.  Comment.  Move cntlzd
22371         earlier in tail.
22372         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22374 2013-10-04  Alan Modra  <amodra@gmail.com>
22376         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22377         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22378         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22379         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22381 2013-10-04  Alan Modra  <amodra@gmail.com>
22383         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22384         (rTMP): Define as r11.
22385         (strcmp): Add little-endian support.  Optimise tail.
22386         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22387         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22388         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22390         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22392         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22394 2013-10-04  Alan Modra  <amodra@gmail.com>
22396         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22397         little-endian support.  Remove unnecessary "are we done" tests.
22398         Handle "s" wrapping around zero and extremely large "size".
22399         Correct main loop count.  Handle single left-over word from main
22400         loop inline rather than by using small_loop.  Correct comments.
22401         Delete "zero" tail, use "end_max" instead.
22402         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22404 2013-10-04  Alan Modra  <amodra@gmail.com>
22406         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22407         support.  Don't branch over align.
22408         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22409         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22410         support.  Rearrange tmp reg use to suit.  Comment.
22411         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22413 2013-10-04  Alan Modra  <amodra@gmail.com>
22415         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22417 2013-10-04  Alan Modra  <amodra@gmail.com>
22419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22420         conditional form of branch and link when obtaining pc.
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22423 2013-10-04  Alan Modra  <amodra@gmail.com>
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22426         HIWORD/LOWORD.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22430 2013-10-04  Alan Modra  <amodra@gmail.com>
22432         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22433         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22434         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22435         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22436         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22437         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22438         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22439         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22440         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22441         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22443 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22444             Alistair Popple <alistair@ozlabs.au.ibm.com>
22445             Alan Modra <amodra@gmail.com>
22447         [BZ #15723]
22448         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22449         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22450         _dl_hwcap access for little-endian.
22451         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22452         destroy vmx regs when saving unaligned.
22453         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22454         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22455         destroy vmx regs when saving unaligned.
22457 2013-10-04  Alan Modra  <amodra@gmail.com>
22459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22460         Don't use a union to pack hi/low value.
22462 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22464         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22465         for little-endian.
22466         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22467         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22468         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22469         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22470         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22472 2013-10-04  Alan Modra  <amodra@gmail.com>
22474         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22475         constants to usual value for .cst8 section, and remove redundant
22476         high address load.
22477         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22478         constant for 0x1p52.  Load little-endian words of double from
22479         correct stack offsets.
22481 2013-10-04  Alan Modra  <amodra@gmail.com>
22483         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22484         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22485         words of double from correct stack offsets.
22486         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22487         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22488         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22494         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22498         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22501         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22502         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22504 2013-10-04  Alan Modra  <amodra@gmail.com>
22506         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22507         64-bit int/double union.
22508         (_FPU_SETCW): Likewise.
22509         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22510         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22512 2013-10-04  Alan Modra  <amodra@gmail.com>
22514         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22515         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22517 2013-10-04  Alan Modra  <amodra@gmail.com>
22519         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22520         use vector int constants.
22521         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22523 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22525         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22526         array with long long.
22527         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22528         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22529         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22530         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22531         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22532         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22533         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22534         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22535         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22536         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22537         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22538         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22539         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22541 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22543         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22544         (__signbit): Likewise.  Correct for little-endian.
22545         (__signbitl): Call __signbit.
22546         (lrint): Correct for little-endian.
22547         (lrintf): Call lrint.
22549 2013-10-04  Alan Modra  <amodra@gmail.com>
22551         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22552         union 32-bit int array member with 64-bit int array.
22553         (t515, tm256): Double rather than long double.
22554         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22556 2013-10-04  Alan Modra  <amodra@gmail.com>
22558         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22559         Delete.
22560         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22562         version of math_ldbl.h.
22564 2013-10-04  Alan Modra  <amodra@gmail.com>
22566         [BZ #15734], [BZ #15735]
22567         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22568         all uses of ieee875 long double macros and unions.  Simplify test
22569         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22570         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22571         normalize after ldbl_extract_mantissa, and don't add hidden bit
22572         already handled.  Don't treat low word of ieee854 mantissa like
22573         low word of IBM long double and mask off bit when testing for
22574         zero.
22575         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22576         all uses of ieee875 long double macros and unions.  Simplify tests
22577         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22578         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22579         two1022, instead use their values.  Recognise that tests for large
22580         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22581         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22582         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22583         test for 0.0L and nan.  Correct negation.
22584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22585         ieee875 long double macros and unions.  Correct output for large
22586         magnitude x.  Correct absolute value calculation.
22587         (__erfcl): Likewise.
22588         * math/libm-test.inc: Add tests for errors discovered in IBM long
22589         double versions of fmodl, remainderl, erfl and erfcl.
22591 2013-10-04  Alan Modra  <amodra@gmail.com>
22593         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22594         all uses of ieee854 long double macros and unions.  Simplify tests
22595         for long doubles that are fully specified by the high double.
22596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22597         Likewise.
22598         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22599         Remove dead code too.
22600         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22601         (__ieee754_ynl): Likewise.
22602         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22603         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22604         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22605         Remove dead code too.
22606         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22607         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22608         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22609         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22610         Simplify.
22611         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22612         Simplify.
22613         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22616         Comment on variable precision.
22617         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22619         Likewise.
22620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22624         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22626 2013-10-04  Alan Modra  <amodra@gmail.com>
22628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22629         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22630         all uses of ieee854 long double macros and unions.
22631         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22635         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22637         Likewise.
22638         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22640         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22641         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22642         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22644         Simplify sign and nan test too.
22645         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22646         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22647         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22649         Likewise.
22650         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22651         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22652         Likewise.
22653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22654         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22655         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22660 2013-10-04  Alan Modra  <amodra@gmail.com>
22662         * stdio-common/printf_size.c (__printf_size): Don't use
22663         union ieee854_long_double in fpnum union.
22664         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22665         signbit macro to retrieve sign from long double.
22666         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22667         retrieve sign from long double.
22668         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22669         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22670         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22671         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22672         * math/test-misc.c (main): Don't use union ieee854_long_double.
22674 2013-10-04  Alan Modra  <amodra@gmail.com>
22676         [BZ #15680]
22677         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22678         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22679         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22680         calculation.  Remove unnecessary test for denormal exponent.
22681         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22682         Correct handling of denormals.  Avoid undefined shift behaviour.
22683         Correct normalisation of low mantissa when low double is denormal.
22684         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22685         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22686         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22687         Correct normalisation of low mantissa.  Test for overflow of high
22688         mantissa and normalise.
22689         (ldbl_nearbyint): Use more readable constant for two52.
22690         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22691         (__mpn_construct_long_double): Fix test for overflow of high
22692         mantissa and correct normalisation.  Avoid undefined shift.
22694 2013-10-04  Alan Modra  <amodra@gmail.com>
22696         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22697         (union ibm_extended_long_double): Define as an array of ieee754_double.
22698         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22699         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22700         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22701         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22703         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22705         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22708         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22710 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22712         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22713         page size instead of calling getpagesize.
22715         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22716         (LOCFILE_ALIGN_MASK): Likewise.
22717         (LOCFILE_ALIGN_UP): Likewise.
22718         (LOCFILE_ALIGNED_P): Likewise.
22719         * locale/programs/ld-collate.c (collate_output): Use the new
22720         macros instead of __alignof__ (int32_t).
22721         * locale/weight.h (findidx): Likewise.
22723 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22725         [BZ #431]
22726         * manual/string.texi: Fix strncat and wcsncat.
22728 2013-10-03  Brooks Moses  <bmoses@google.com>
22730         [BZ #15915]
22731         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22732         * Makerules: ...here, and adjust associated comments.
22734 2013-10-02  Will Newton  <will.newton@linaro.org>
22736         * malloc/Makefile: Add tst-pvalloc.
22737         * malloc/tst-pvalloc.c: New file.
22739 2013-10-02  Will Newton  <will.newton@linaro.org>
22741         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22742         improve test coverage.
22744 2013-10-02  Will Newton  <will.newton@linaro.org>
22746         * malloc/Makefile: Add tst-posix_memalign.
22747         * malloc/tst-posix_memalign.c: New file.
22749 2013-10-01  Eric Blake  <eblake@redhat.com>
22751         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22752         Use __THROWNL rather than __THROW on static functions.
22754 2013-09-30  Petr Machata  <pmachata@redhat.com>
22756         * elf/elf.h (R_AARCH64_ABS16): New macro.
22757         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22758         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22759         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22760         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22761         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22762         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22763         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22764         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22765         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22766         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22767         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22768         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22769         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22770         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22771         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22772         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22773         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22774         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22775         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22776         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22777         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22778         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22779         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22780         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22781         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22782         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22783         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22784         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22785         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22786         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22787         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22788         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22789         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22790         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22791         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22792         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22793         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22794         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22795         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22796         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22797         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22798         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22799         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22800         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22801         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22802         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22803         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22804         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22805         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22806         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22807         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22808         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22809         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22810         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22811         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22812         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22813         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22814         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22815         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22816         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22817         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22818         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22819         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22820         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22821         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22822         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22823         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22824         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22825         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22826         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22827         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22828         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22829         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22830         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22831         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22832         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22833         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22834         (R_AARCH64_TLSDESC_LDR): Likewise.
22835         (R_AARCH64_TLSDESC_ADD): Likewise.
22836         (R_AARCH64_TLSDESC_CALL): Likewise.
22838 2013-09-30  Andreas Schwab  <schwab@suse.de>
22840         [BZ #15048]
22841         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22842         the nss database lookup.
22843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22846 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22848         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22850 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22853         ${Bash-specific parameter/pattern/string} parameter expansion.
22854         * sysdeps/unix/make-syscalls.sh: Likewise.
22856 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22858         * sysdeps/sh/stackguard-macros.h: New file.
22860 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22864         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22865         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22866         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22867         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22869 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22871         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22872         Fix thread ID register.
22874 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22876         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22877         [POSIX || UNIX98]: Require rather than permitting all symbols from
22878         <time.h>.
22879         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22880         element of struct sched_param.
22881         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22882         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22883         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22884         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22885         constant.
22887 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22889         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22890         argument calculation.
22892 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22894         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22895         Expect macro.
22896         [POSIX] (pthread_attr_t): Do not require type.
22897         [POSIX] (pthread_cond_t): Likewise.
22898         [POSIX] (pthread_condattr_t): Likewise.
22899         [POSIX] (pthread_key_t): Likewise.
22900         [POSIX] (pthread_mutex_t): Likewise.
22901         [POSIX] (pthread_mutexattr_t): Likewise.
22902         [POSIX] (pthread_once_t): Likewise.
22903         [POSIX] (pthread_t): Likewise.
22904         [POSIX-based standards] (pthread_atfork): Expect function.
22906 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22907             Richard Sandiford  <richard@codesourcery.com>
22909         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22910         (swap_endianness_p): New extern variable.
22911         (set_big_endian): New inline function.
22912         (maybe_swap_uint32): Likewise.
22913         (maybe_swap_uint32_array): Likewise.
22914         (maybe_swap_uint32_obstack): Likewise.
22915         * locale/programs/locfile.c: Include <stdbool.h>.
22916         (swap_endianness_p): New variable.
22917         (add_locale_uint32): Call maybe_swap_uint32.
22918         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22919         (write_locale_data): Call maybe_swap_uint32_array.
22920         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22921         maybe_swap_uint32.
22922         (obstack_int32_grow_fast): Likewise.
22923         (output_weightwc): Call maybe_swap_uint32_obstack.
22924         (collate_output): Likewise.
22925         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22926         (OPT_LITTLE_ENDIAN): Likewise.
22927         (options): Add --little-endian and --big-endian options.
22928         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22929         * locale/programs/locarchive.c: Include "locfile.h".
22930         (GET): New macro.
22931         (SET): Likewise.
22932         (INC): Likewise.
22933         (create_archive): Use the new macros to access fields of
22934         structures directly mapped from or written to locale archives.
22935         (oldlocrecentcmp): Likewise.
22936         (enlarge_archive): Likewise.
22937         (insert_name): Likewise.
22938         (add_alias): Likewise.
22939         (add_locale): Likewise.
22940         (delete_locales_from_archive): Likewise.
22941         (show_archive_content): Likewise.
22942         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22943         locale data.
22945 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22947         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22948         http://www.gnu.org/doc/freemanuals.texi.
22949         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22951 2013-09-24  Will Newton  <will.newton@linaro.org>
22953         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22954         macro.
22956 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22958         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22959         unsigned char.
22961 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22963         * manual/threads.texi (POSIX Threads): Fix a typo.
22965 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22967         [BZ #14547]
22968         * string/tst-strcoll-overflow.c: New test case.
22969         * string/Makefile (xtests): Add tst-strcoll-overflow.
22970         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22971         cache if string sizes may cause integer overflow.
22973         [BZ #14547]
22974         * string/strcoll_l.c (coll_seq): New members rule, idx,
22975         save_idx and back_us.
22976         (get_next_seq_nocache): New function.
22977         (do_compare_nocache): New function.
22978         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22979         when malloc fails.
22981 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22983         [BZ #15754]
22984         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22985         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22986         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22988         [BZ #15754]
22989         * elf/Makefile (tests): Add tst-ptrguard1.
22990         (tests-static): Add tst-ptrguard1-static.
22991         (tst-ptrguard1-ARGS): Define.
22992         (tst-ptrguard1-static-ARGS): Define.
22993         * elf/tst-ptrguard1.c: New file.
22994         * elf/tst-ptrguard1-static.c: New file.
22995         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22996         * sysdeps/i386/stackguard-macros.h: Likewise.
22997         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22998         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22999         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23000         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23001         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23002         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23004 2013-09-23  Hector Marco  <hecmargi@upv.es>
23005             Ismael Ripoll  <iripoll@disca.upv.es>
23006             Carlos O'Donell  <carlos@redhat.com>
23008         [BZ #15754]
23009         * sysdeps/generic/stackguard-macros.h: Define
23010         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23011         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23012         Define __pointer_chk_guard_local.
23013         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23014         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23016 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23018         [BZ #15859]
23019         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23021 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23023         * include/string.h (__ffs): Declare as hidden.
23024         * string/ffs.c (__ffs): Define as hidden.
23025         * sysdeps/i386/ffs.c (__ffs): Likewise.
23026         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23027         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23028         * sysdeps/s390/ffs.c (__ffs): Likewise.
23029         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23031 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23033         * NEWS: Mention malloc probes.
23035         * malloc/arena.c (new_heap): New memory_heap_new probe.
23036         (grow_heap): New memory_heap_more probe.
23037         (shrink_heap): New memory_heap_less probe.
23038         (heap_trim): New memory_heap_free probe.
23039         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23040         (systrim): New memory_sbrk_less probe.
23041         * manual/probes.texi: Document them.
23043         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23044         * manual/probes.texi: Document it.
23046         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23047         (__libc_realloc): Add memory_realloc_retry probe.
23048         (__libc_memalign): Add memory_memalign_retry probe.
23049         (__libc_valloc): Add memory_valloc_retry probe.
23050         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23051         (__libc_calloc): Add memory_calloc_retry probe.
23052         * manual/probes.texi: Document them.
23054         * malloc/arena.c (get_free_list): Add probe
23055         memory_arena_reuse_free_list.
23056         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23057         and memory_arena_reuse.
23058         (arena_get2) [!PER_THREAD]: Likewise.
23059         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23060         memory_arena_reuse_realloc.
23061         * manual/probes.texi: Document them.
23063         * malloc/malloc.c (__libc_free): Add
23064         memory_mallopt_free_dyn_thresholds probe.
23065         (__libc_mallopt): Add multiple memory_mallopt probes.
23066         * manual/probes.texi: Document them.
23068         * malloc/malloc.c: Include stap-probe.h.
23069         (__libc_mallopt): Add memory_mallopt probe.
23070         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23071         * manual/probes.texi: New.
23072         * manual/Makefile (chapters): Add probes.
23073         * manual/threads.texi: Set next node.
23075 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23077         [BZ #15963, #13985]
23078         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23079         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23080         Add `Chinese' to `nan' entry name.
23082 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23084         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23085         (POLYNOMIAL): Likewise.
23086         (TAYLOR_SINCOS): Likewise.
23087         (TAYLOR_SLOW): Likewise.
23088         (__sin): Use TAYLOR_SINCOS.
23089         (__cos): Likewise.
23090         (slow): Use TAYLOR_SLOW.
23091         (sloww): Likewise.
23092         (bsloww): Likewise.
23093         (csloww): Likewise.
23095 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23097         * stdlib/strtod_l.c: Fix buffer overrun.
23099 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23101         * benchtests/Makefile (bench): Add sincos.
23102         * benchtests/bench-sincos.c: New file.
23104         * math/libm-test.inc (cos_test_data): New test inputs.
23105         (sin_test_data): Likewise.
23107         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23108         macro.
23109         (__sin): Use it.
23110         (__cos): Likewise.
23111         (slow1): Likewise.
23112         (slow2): Likewise.
23113         (sloww1): Likewise.
23114         (sloww2): Likewise.
23115         (bsloww1): Likewise.
23116         (bsloww2): Likewise.
23117         (cslow2): Likewise.
23118         (csloww1): Likewise.
23119         (csloww2): Likewise.
23121         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23122         function.
23123         (__sin): Use it.
23124         (__cos): Likewise.
23126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23127         gotos.
23128         (__cos): Likewise.
23130 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23132         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23133         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23134         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23135         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23136         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23137         * elf/cache.c (print_entry): Handle the new cache flags.
23139 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23140             Aldy Hernandez  <aldyh@redhat.com>
23142         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23143         Change condition to [_SOFT_FLOAT].
23144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23156         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23159         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23160         declaration.
23162 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23164         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23165         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23166         (__longjmp): Use LOAD_GP to load saved GPRs.
23167         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23168         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23169         (__sigsetjmp): Use SAVE_GP to save GPRs.
23171         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23172         Do not append -msoft-float.
23173         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23175 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23177         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23179 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23181         [BZ #15966]
23182         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23183         (_FPU_GETCW): Use initial "__" on variable and field names but not
23184         on macro parameter name.
23185         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23186         parentheses around reference to macro parameter.
23188 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23190         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23191         prototype.
23192         (ctype_startup): Use uint32_t in cast and sizeof for
23193         ctype->charnames.
23195 2013-09-11  Jia Liu  <proljc@gmail.com>
23197         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23198         __daddr_t_defined.
23199         [__FreeBSD__]: Likewise.
23201 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23204         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23205         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23206         (strchr): Remove __strchr_sse42 ifunc selection.
23207         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23208         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23210 2013-09-11  Will Newton  <will.newton@linaro.org>
23212         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23213         parameter to RES. Remove hardcoded 1000 value.
23214         * benchtests/bench-skeleton.c (main): Pass RES parameter
23215         to TIMING_INIT and multiply result by 1000.
23217 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23221 2013-09-11  Andreas Schwab  <schwab@suse.de>
23223         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23224         if not defined.
23225         (O_TMPFILE) [__USE_GNU]: Define.
23226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23227         Define.
23229 2013-09-11  Will Newton  <will.newton@linaro.org>
23231         [BZ #15857]
23232         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23233         does not overflow.
23235 2013-09-11  Will Newton  <will.newton@linaro.org>
23237         [BZ #15856]
23238         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23239         does not overflow.
23241 2013-09-11  Will Newton  <will.newton@linaro.org>
23243         [BZ #15855]
23244         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23245         does not overflow.
23247 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23249         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23250         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23251         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23252         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23255 2013-09-10  Allan McRae  <allan@archlinux.org>
23257         [BZ #15748]
23258         * manual/arith.texi (Parsing of Floats): Clarify
23259         cross-reference.
23261         [BZ #15849]
23262         * manual/install.texi (Running make install): Mention
23263         --enable-pt-chown.
23264         * INSTALL: Regenerated.
23266 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23268         * csu/init-first.c (_init): Remove the !SHARED condition around
23269         FPU control word initialization.
23270         * elf/dl-support.c (_dl_fpu_control): New variable.
23271         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23272         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23273         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23274         * math/test-fpucw-static.c: New file.
23275         * math/test-fpucw-ieee.c: New file.
23276         * math/test-fpucw-ieee-static.c: New file.
23277         * math/Makefile (tests): Add `test-fpucw-ieee' and
23278         `$(tests-static)'.
23279         (tests-static): New variable.
23280         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23281         dependency to...
23282         [($(build-shared),yes)]
23283         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23284         ... this.
23285         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23286         New dependency.
23288 2013-09-09  Allan McRae  <allan@archlinux.org>
23290         [BZ #15939]
23291         * manual/string.texi (Collation Functions): Fix typo in
23292         strcoll example.
23293         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23295         [BZ #15893]
23296         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23298         [BZ #15892]
23299         * libio/memstream.c (open_memstream): Fix memory leak.
23300         * libio/wmemstream.c (open_wmemstream): Likewise.
23302         [BZ #15895]
23303         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23305 2013-09-09  Will Newton  <will.newton@linaro.org>
23307         * malloc/Makefile: Add tst-realloc to tests.
23308         * malloc/tst-realloc.c: New file.
23310 2013-09-09  Allan McRae  <allan@archlinux.org>
23312         [BZ #15844]
23313         * COPYING: Update from GNU website to fix FSF address.
23314         * COPYING.LIB: Likewise.
23316 2013-09-06  David S. Miller  <davem@davemloft.net>
23318         * po/zh_TW.po: Update Chinese (traditional) translation from
23319         translation project.
23321 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23322             Joseph Myers  <joseph@codesourcery.com>
23324         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23325         "localeinfo.h".
23326         (obstack_chunk_alloc): New macro.
23327         (obstack_chunk_free): Likewise.
23328         (record_offset): New function.
23329         (init_locale_data): Likewise.
23330         (align_locale_data): Likewise.
23331         (add_locale_empty): Likewise.
23332         (add_locale_raw_data): Likewise.
23333         (add_locale_raw_obstack): Likewise.
23334         (add_locale_string): Likewise.
23335         (add_locale_wstring): Likewise.
23336         (add_locale_uint32): Likewise.
23337         (add_locale_uint32_array): Likewise.
23338         (add_locale_char): Likewise.
23339         (start_locale_structure): Likewise.
23340         (end_locale_structure): Likewise.
23341         (start_locale_prelude): Likewise.
23342         (end_locale_prelude): Likewise.
23343         (write_locale_data): Take locale_file structure rather than an
23344         iovec.
23345         * locale/programs/locfile.h: Include "obstack.h".
23346         (struct locale_file): Change to store locale file contents instead
23347         of header.
23348         (init_locale_data): New prototype.
23349         (align_locale_data): Likewise.
23350         (add_locale_empty): Likewise.
23351         (add_locale_raw_data): Likewise.
23352         (add_locale_raw_obstack): Likewise.
23353         (add_locale_string): Likewise.
23354         (add_locale_wstring): Likewise.
23355         (add_locale_uint32): Likewise.
23356         (add_locale_uint32_array): Likewise.
23357         (add_locale_char): Likewise.
23358         (start_locale_structure): Likewise.
23359         (end_locale_structure): Likewise.
23360         (start_locale_prelude): Likewise.
23361         (end_locale_prelude): Likewise.
23362         (write_locale_data): Update prototype.
23363         * locale/programs/3level.h (struct TABLE): Remove result field.
23364         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23365         Use new locale_file interface.
23366         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23367         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23368         * locale/programs/ld-address.c (address_output): Use new
23369         locale_file interface.
23370         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23371         NO_ADD_LOCALE.
23372         (collate_finish): Don't call collseq_table_finalize.
23373         (collate_output): Use new locale_file interface.
23374         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23375         in file.
23376         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23377         (TABLE): Move defines earlier in file.
23378         (ELEMENT): Likewise.
23379         (DEFAULT): Likewise.
23380         (wctrans_table_add): Move macro and inline function earlier in
23381         file.
23382         (struct wctype_table): Move type earlier in file.
23383         (add_locale_wctype_table): New static prototype.
23384         (struct locale_ctype_t): Use logical types instead of struct iovec
23385         pointers for members.
23386         (ctype_output): Use new locale_file interface.
23387         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23388         new locale_file interface.
23389         (allocate_arrays): Update for use of new locale_file interface.
23390         * locale/programs/ld-identification.c (identification_output): Use
23391         new locale_file interface.
23392         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23393         * locale/programs/ld-messages.c (messages_output): Likewise.
23394         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23395         * locale/programs/ld-name.c (name_output): Likewise.
23396         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23397         * locale/programs/ld-paper.c (paper_output): Likewise.
23398         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23399         * locale/programs/ld-time.c (time_output): Likewise.
23401 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23403         * benchtests/Makefile: Add memrchr benchmark.
23404         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23405         benchmark as memrchr.
23406         * benchtests/bench-memrchr-ifunc.c: New file.
23407         * benchtests/bench-memrchr.c: New file.
23409 2013-09-06   Will Newton  <will.newton@linaro.org>
23411         * benchtests/Makefile (string-bench): Add memcpy.
23413 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23414             Cong Wang  <amwang@redhat.com>
23416         [BZ #15850]
23417         * sysdeps/unix/sysv/linux/bits/in.h
23418         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23419         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23420         before __USE_KERNEL_IPV6_DEFS uses.
23421         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23422         IPPROTO_BEETPH.
23423         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23424         sockaddr_in6, or ipv6_mreq.
23426 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23428         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23429         memory access for final bytes in some large inputs.
23430         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23432 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23434         * string/test-memrchr.c: New file.
23435         * string/test-memrchr-ifunc.c: New file.
23436         * string/Makefile: Add new memrchr testcase.
23438 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23440         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23441         fanotify_init returns EPERM.
23443 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23445         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23446         errors.
23447         (top level): Treat second token from macro or constant entries for
23448         allowed headers as allowed.
23449         * include/complex.h: Condition internal declarations on
23450         [!_ISOMAC].
23451         * include/fenv.h: Condition include of <stdbool.h> and internal
23452         declarations on [!_ISOMAC].
23454 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23456         [BZ #15923]
23457         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23459 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23461         * configure.in (--enable-versioning): Remove configure option.
23462         (libc_cv_asm_symver_directive): Remove configure test.
23463         (libc_cv_ld_version_script_option): Likewise.
23464         (VERSIONING): Remove variable and AC_SUBST.
23465         (DO_VERSIONING): Remove AC_DEFINE.
23466         * configure: Regenerated.
23467         * config.h.in (DO_VERSIONING): Remove macro.
23468         * Makerules [$(versioning) = yes]: Change conditionals to
23469         [$(build-shared) = yes].
23470         * config.make.in (versioning): Remove variable.
23471         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23472         [$(build-shared) = yes].
23473         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23474         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23475         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23476         [$(build-shared) = yes].
23477         * extra-lib.mk [$(versioning) = yes]: Likewise.
23478         * hurd/Makefile [$(versioning) = yes]: Likewise.
23479         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23480         [SHARED].
23481         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23482         [SHARED].
23483         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23484         [SHARED && !NO_HIDDEN].
23485         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23486         [SHARED].
23487         [SHARED && DO_VERSIONING]: Likewise..
23488         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23489         [$(build-shared) = yes].
23490         * manual/install.texi (--disable-versioning): Remove
23491         documentation.
23492         * INSTALL: Regenerated.
23493         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23494         to [SHARED].
23495         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23496         [$(build-shared) = yes].
23497         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23498         * sysdeps/i386/i686/multiarch/strstr-c.c
23499         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23500         [SHARED && !NO_HIDDEN].
23501         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23502         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23503         * sysdeps/powerpc/powerpc32/dl-machine.c
23504         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23505         * sysdeps/powerpc/powerpc32/sysdep.h
23506         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23507         to [SHARED && PIC && !NO_HIDDEN].
23508         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23509         conditional to [SHARED].
23511 2013-09-04   Will Newton  <will.newton@linaro.org>
23513         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23514         * benchtests/bench-string.h: Include bench-timing.h instead
23515         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23516         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23517         call to HP_TIMING_DIFF_INIT.
23518         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23519         instead of hp-timing.h macros.
23520         * benchtests/bench-memchr.c: Likewise.
23521         * benchtests/bench-memcmp.c: Likewise.
23522         * benchtests/bench-memcpy.c: Likewise.
23523         * benchtests/bench-memmem.c: Likewise.
23524         * benchtests/bench-memmove.c: Likewise.
23525         * benchtests/bench-memset.c: Likewise.
23526         * benchtests/bench-rawmemchr.c: Likewise.
23527         * benchtests/bench-strcasecmp.c: Likewise.
23528         * benchtests/bench-strcasestr.c: Likewise.
23529         * benchtests/bench-strcat.c: Likewise.
23530         * benchtests/bench-strchr.c: Likewise.
23531         * benchtests/bench-strcmp.c: Likewise.
23532         * benchtests/bench-strcpy.c: Likewise.
23533         * benchtests/bench-strcpy_chk.c: Likewise.
23534         * benchtests/bench-strlen.c: Likewise.
23535         * benchtests/bench-strncasecmp.c: Likewise.
23536         * benchtests/bench-strncat.c: Likewise.
23537         * benchtests/bench-strncmp.c: Likewise.
23538         * benchtests/bench-strncpy.c: Likewise.
23539         * benchtests/bench-strnlen.c: Likewise.
23540         * benchtests/bench-strpbrk.c: Likewise.
23541         * benchtests/bench-strrchr.c: Likewise.
23542         * benchtests/bench-strspn.c: Likewise.
23543         * benchtests/bench-strstr.c: Likewise.
23545 2013-09-04  Will Newton  <will.newton@linaro.org>
23547         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23549 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23551         [BZ #15427]
23552         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23553         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23554         * math/libm-test.inc (lgamma_test_data): Add more tests.
23555         * sysdeps/i386/fpu/libm-test-ulps: Update.
23556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23558 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23560         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23562         Add ifunc.
23563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23564         Add strcmp-sse2-unaligned
23565         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23567 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23569         * Versions.def (libc): Add GLIBC_2.19.
23571 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23573         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23574         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23576 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23578         [BZ #14155]
23579         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23580         intermediate calculations in recurrence.
23581         (__ieee754_ynf): Likewise.
23582         * math/libm-test.inc (jn_test_data): Do not allow spurious
23583         underflow exception.  Add more tests.
23584         (yn_test_data): Add more tests.
23585         * sysdeps/i386/fpu/libm-test-ulps: Update.
23586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23588 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23590         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23592 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23594         * csu/init-first.c: Fix then/than typos.
23595         * locale/programs/ld-collate.c: Likewise.
23596         * locale/programs/linereader.h: Likewise.
23597         * manual/charset.texi: Likewise.
23598         * manual/filesys.texi: Likewise.
23599         * manual/stdio.texi: Likewise.
23600         * manual/string.texi: Likewise.
23601         * stdlib/fmtmsg.c: Likewise.
23602         * sysdeps/i386/stpncpy.S: Likewise.
23603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23604         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23605         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23606         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23608 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23610         * elf/dl-open.c: Fix typos.
23611         * iconvdata/gbbig5.c: Likewise.
23612         * iconvdata/iso-2022-jp.c: Likewise.
23613         * iconv/gconv_int.h: Likewise.
23614         * iconv/loop.c: Likewise.
23615         * nis/rpcsvc/nis.h: Likewise.
23616         * resolv/ns_name.c: Likewise.
23617         * stdio-common/vfscanf.c: Likewise.
23618         * streams/stropts.h: Likewise.
23619         * sunrpc/rpc_thread.c: Likewise.
23620         * sysdeps/i386/strpbrk.S: Likewise.
23621         * sysdeps/ieee754/k_standard.c: Likewise.
23622         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23624         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23625         * sysdeps/mach/hurd/profil.c: Likewise.
23626         * sysdeps/s390/dl-procinfo.h: Likewise.
23627         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23628         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23629         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23630         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23631         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23633 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23635         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23638 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23640         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23641         aix specific files.
23642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23643         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23646         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23647         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23648         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23649         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23651 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23652             Roland McGrath  <roland@hack.frob.com>
23654         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23655         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23657 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23659         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23660         __executable_start symbol instead of _start.
23662 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23664         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23665         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23666         Move macros to...
23667         * sysdeps/gnu/ldsodefs.h: ... this new file.
23669         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23670         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23671         instead of ELFOSABI_LINUX.
23673         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23674         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23675         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23676         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23677         Likewise.
23678         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23679         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23680         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23681         Likewise.
23682         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23683         (ibm_extended_long_double): Add ieee_nan member.
23684         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23685         (do_test): New function.
23687         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23688         TEST_TRUNC.
23689         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23690         functions, renamed from truncdfsf_test, trunctfsf_test,
23691         trunctfdf_test.
23692         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23693         functions.
23694         (do_test): Run all these.
23696 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23698         * argp/argp-help.c: Fix typos.
23699         * argp/argp-parse.c: Likewise.
23700         * debug/backtracesyms.c: Likewise.
23701         * elf/elf.h: Likewise.
23702         * malloc/malloc.c: Likewise.
23703         * nis/nis_print.c: Likewise.
23704         * resolv/res_comp.c: Likewise.
23705         * stdlib/stdlib.h: Likewise.
23706         * sunrpc/clnt_tcp.c: Likewise.
23707         * sunrpc/clnt_udp.c: Likewise.
23708         * sunrpc/clnt_unix.c: Likewise.
23709         * sysdeps/unix/bsd/ptsname.c: Likewise.
23710         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23711         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23713         Likewise.
23714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23715         Likewise.
23716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23717         Likewise.
23718         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23720 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23722         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23725 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23727         [BZ #15897]
23728         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23729         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23730         ($(objpfx)bug-dl-leaf): New rule.
23731         ($(objpfx)bug-dl-leaf.so): Likewise.
23732         ($(objpfx)bug-dl-leaf.out): Likewise.
23733         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23734         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23735         * dlfcn/bug-dl-leaf.c: New test.
23736         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23737         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23738         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23739         (dlclose): Likewise.
23740         (dlmopen): Likewise.
23742 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23744         * include/netdb.h [!_ISOMAC]:
23745         Don't include <tls.h>.
23746         (h_errno, __libc_h_errno): Move declaration and macros out of
23747         [_LIBC_REENTRANT].
23749         * include/resolv.h [_RESOLV_H_]:
23750         Don't include <tls.h>.
23751         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23752         * resolv/res_libc.c: Don't include <tls.h>.
23753         (_res): Use __attribute__ ((nocommon)) in place of
23754         __attribute__ ((section (".bss"))).
23756         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23757         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23759         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23761         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23762         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23764         * resolv/res_mkquery.c: Include <sys/time.h>.
23766         * inet/ifreq.c: Moved to ...
23767         * sysdeps/unix/ifreq.c: ... here.
23768         * inet/ifreq.c: New file, true stub version.
23770         * socket/sa_len.c: New file.
23771         * socket/Makefile (aux): Add it.
23772         * sysdeps/unix/sysv/linux/Makefile
23773         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23774         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23775         and #include <socket/sa_len.c>.
23776         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23777         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23779         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23780         * bits/socket.h: ... here.
23782         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23783         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23784         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23786 2013-08-27  Andreas Schwab  <schwab@suse.de>
23788         [BZ #15736]
23789         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23790         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23791         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23792         * string/test-strcasecmp.c (test_main): Run tests in several
23793         locales.
23794         * string/test-strncasecmp.c (test_main): Likewise.
23796         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23797         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23798         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23800         (__strncasecmp_ssse3) [PIC]: Likewise.
23802 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23804         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23806         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23807         instead of explicitly declaring xdecrypt.
23808         * nis/nss_nis/nis-publickey.c: Likewise.
23810 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23812         [BZ #15890]
23813         * nscd/aicache.c: Include res_hconf.h.
23814         (addhstaiX): Initialize res_hconf.
23816 2013-08-26  Andreas Schwab  <schwab@suse.de>
23818         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23819         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23821 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23823         * nscd/aicache.c (addhstaiX): Fix indentation.
23825 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23827         * configure.ac: Quote $build_pt_chown test.
23828         * configure: Regenerated.
23830 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23832         [BZ #15532]
23833         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23834         * math/s_cexpf.c (__cexpf): Likewise.
23835         * math/s_cexpl.c (__cexpl): Likewise.
23836         * math/libm-test.inc (cexp_test_data): Correct expected return
23837         value for NaN + i0.  Add another test.
23839 2013-08-22  David S. Miller  <davem@davemloft.net>
23841         * po/ca.po: Update Catalan translation from translation project.
23842         * po/uk.po: Add Ukrainian translations from translation project.
23844 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23846         [BZ #15797]
23847         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23848         is infinite, not alongside NaN test.
23849         * math/s_fdimf.c (__fdimf): Likewise.
23850         * math/s_fdiml.c (__fdiml): Likewise.
23851         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23852         errno is unchanged.
23854 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23856         * argp/argp-help.c: Fix typos.
23857         * crypt/speeds.c: Likewise.
23858         * csu/check_fds.c: Likewise.
23859         * elf/dl-load.c: Likewise.
23860         * elf/dl-open.c: Likewise.
23861         * elf/reldep3.c: Likewise.
23862         * elf/reldep.c: Likewise.
23863         * elf/sprof.c: Likewise.
23864         * iconv/iconv_charmap.c: Likewise.
23865         * iconv/skeleton.c: Likewise.
23866         * iconv/strtab.c: Likewise.
23867         * io/lockf64.c: Likewise.
23868         * libio/libioP.h: Likewise.
23869         * resolv/gai_notify.c: Likewise.
23870         * resolv/ns_name.c: Likewise.
23871         * resolv/ns_samedomain.c: Likewise.
23872         * resolv/res_send.c: Likewise.
23873         * stdlib/random.c: Likewise.
23874         * sunrpc/rpc/xdr.h: Likewise.
23875         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23876         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23877         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23878         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23879         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23882         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23883         * sysdeps/mach/hurd/check_fds.c: Likewise.
23884         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23885         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23886         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23888         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23889         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23890         * sysdeps/pthread/aio_notify.c: Likewise.
23891         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23892         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23893         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23895         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23897 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23899         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23900         version if bit_Slow_SSE4_2 is set.
23901         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23902         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23904 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23906         [BZ #15867]
23907         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23908         trampoline stack frame information.
23909         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23911         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23912         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23913         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23914         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23915         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23916         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23917         sa_flags value.
23918         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23919         interrupting a syscall and set with option SA_SIGINFO.
23921 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23923         [BZ #15531]
23924         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23925         argument is infinite.
23926         * math/s_cprojf.c (__cprojf): Likewise.
23927         * math/s_cprojl.c (__cprojl): Likewise.
23928         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23929         * math/libm-test.inc (cproj_test_data): Add more tests.
23931         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23933         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23934         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23935         size.  Use __ffs to determine corresponding shift.
23937 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23938             Roland McGrath  <roland@hack.frob.com>
23940         * Makefile (INSTALL): Remove trailing blank lines from output of
23941         makeinfo.
23943 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23945         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23946         Align 32 bit compat elf_greg to 8 bytes.
23948 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23950         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23952 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23954         * string/strcoll_l.c (coll_seq): New structure.
23955         (get_next_seq_cached): New function.
23956         (get_next_seq): New function.
23957         (do_compare): New function.
23958         (STRCOLL): Use GNU style definition.  Simplify implementation
23959         by using get_next_seq, get_next_seq_cached and do_compare.
23961 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23963         [BZ #14699]
23964         CVE-2013-4237
23965         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23966         member.
23967         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23968         member.
23969         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23970         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23971         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23972         conditional.
23973         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23974         GETDENTS_64BIT_ALIGNED.
23975         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23976         * manual/filesys.texi (Reading/Closing Directory): Document
23977         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23978         strongly.
23979         * manual/conf.texi (Limits for Files): Add portability note to
23980         NAME_MAX, PATH_MAX.
23981         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23983 2013-08-13  Andreas Schwab  <schwab@suse.de>
23985         [BZ #15749]
23986         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23987         of fabs.
23988         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23989         LDBL_MAX_EXP >= 16384]: Add tests for it.
23991 2013-08-12  David S. Miller  <davem@davemloft.net>
23993         * version.h (RELEASE): Set to "development".
23994         (VERSION): Set to "2.18.90".
23995         * NEWS: Add 2.19 section.
23997 2013-08-03  David S. Miller  <davem@davemloft.net>
23999         * po/ko.po: Update Korean translation from translation project.
24001 2013-08-01  David S. Miller  <davem@davemloft.net>
24003         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24004         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24005         Bilka.
24007 2013-07-30  David S. Miller  <davem@davemloft.net>
24009         * po/fr.po: Update French translation from translation project.
24011 2013-07-28  David S. Miller  <davem@davemloft.net>
24013         * po/cs.po: Update Czech translation from translation project.
24015         * po/sv.po: Update Swedish translation from translation project.
24017 2013-07-27  David S. Miller  <davem@davemloft.net>
24019         * po/eo.po: Update Esperanto translation from translation project.
24021         * po/vi.po: Update Vietnamese translation from translation project.
24023         * po/de.po: Update German translation from translation project.
24025 2013-07-26  David S. Miller  <davem@davemloft.net>
24027         * po/bg.po: Update Bulgarian translation from translation project.
24029         * po/nl.po: Update Dutch translation from translation project.
24030         * po/pl.po: Update Polish translation from translation project.
24031         * po/ru.po: Update Russian translation from translation project.
24033 2013-07-24  David S. Miller  <davem@davemloft.net>
24035         * po/libc.pot: Update.
24037 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24039         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24040         variable page size.
24041         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24042         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24043         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24045 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24047         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24049 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24050             Andreas Schwab  <schwab@suse.de>
24051             Roland McGrath  <roland@hack.frob.com>
24052             Joseph Myers  <joseph@codesourcery.com>
24053             Carlos O'Donell  <carlos@redhat.com>
24055         [BZ #15755]
24056         * config.h.in: Define HAVE_PT_CHOWN.
24057         * config.make.in (build-pt-chown): New variable.
24058         * configure.in (--enable-pt_chown): New configure option.
24059         * configure: Regenerate.
24060         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24061         build-pt-chown is enabled.
24062         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24063         pt_chown to fix pty ownership.
24064         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24065         CLOSE_ALL_FDS.
24066         * manual/install.texi (Configuring and compiling): Mention
24067         --enable-pt_chown. Add @findex for grantpt.
24068         * INSTALL: Regenerate.
24070 2013-07-20  David S. Miller  <davem@davemloft.net>
24072         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24073         difference between 32-bit and 64-bit.
24075 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24077         [BZ #15711]
24078         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24079         Avoid system header dependency with -ffreestanding.
24080         ($(objpfx)bits/syscall%d): Likewise.
24082 2013-07-13  David S. Miller  <davem@davemloft.net>
24084         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24085         underflows from atanl/atan2l due to bug 15319.
24086         (casinh_test_data): Likewise.
24088 2013-07-07  David S. Miller  <davem@davemloft.net>
24090         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24092 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24094         * sysdeps/i386/fpu/libm-test-ulps: Update.
24095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24097 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099         * configure.in (--enable-lock-elision): Fix message text.
24100         * INSTALL: Regenerate.
24101         * configure: Regenerate.
24103 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24107 2013-07-03  Andreas Jaeger  <aj@suse.de>
24109         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24110         define.
24111         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24112         (ptrace_peeksiginfo_args): Add.
24113         (__ptrace_peeksiginfo_flags): Add.
24114         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24116         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24118 2013-07-03  Allan McRae  <allan@archlinux.org>
24120         * sysdeps/i386/fpu/libm-test-ulps: Update.
24122 2013-07-02  David S. Miller  <davem@davemloft.net>
24124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24126 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24130 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24135 2013-07-02  Andi Kleen <ak@linux.intel.com>
24137         * config.h.in (ENABLE_LOCK_ELISION): Add.
24138         * configure.in (--enable-lock-elision): Add option.
24139         * manual/install.texi: Document --enable lock elision.
24140         * configure: Regenerate
24141         * INSTALL: Regenerate.
24143 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24145         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24146         SSE4.2 strcasecmp for libc.a.
24147         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24149 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24151         [BZ #13304]
24152         * soft-fp/op-common.h (_FP_FMA): New macro.
24153         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24154         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24155         (_FP_MUL_MEAT_1_imm): ... here.
24156         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24157         (_FP_MUL_MEAT_1_wide): ... here.
24158         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24159         (_FP_MUL_MEAT_1_hard): ... here.
24160         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24161         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24162         (_FP_MUL_MEAT_2_wide): ... here.
24163         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24164         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24165         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24166         (_FP_MUL_MEAT_2_gmp): ... here.
24167         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24168         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24169         (_FP_MUL_MEAT_4_wide): ... here.
24170         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24171         (_FP_MUL_MEAT_4_gmp): ... here.
24172         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24173         (_FP_WFRACBITS_DW_S): Likewise.
24174         (_FP_WFRACXBITS_DW_S): Likewise.
24175         (_FP_HIGHBIT_DW_S): Likewise.
24176         (FP_FMA_S): Likewise.
24177         (_FP_FRAC_HIGH_DW_S): Likewise.
24178         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24179         (_FP_WFRACBITS_DW_D): Likewise.
24180         (_FP_WFRACXBITS_DW_D): Likewise.
24181         (_FP_HIGHBIT_DW_D): Likewise.
24182         (FP_FMA_D): Likewise.
24183         (_FP_FRAC_HIGH_DW_D): Likewise.
24184         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24185         (_FP_WFRACBITS_DW_E): Likewise.
24186         (_FP_WFRACXBITS_DW_E): Likewise.
24187         (_FP_HIGHBIT_DW_E): Likewise.
24188         (FP_FMA_E): Likewise.
24189         (_FP_FRAC_HIGH_DW_E): Likewise.
24190         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24191         (_FP_WFRACBITS_DW_Q): Likewise.
24192         (_FP_WFRACXBITS_DW_Q): Likewise.
24193         (_FP_HIGHBIT_DW_Q): Likewise.
24194         (FP_FMA_Q): Likewise.
24195         (_FP_FRAC_HIGH_DW_Q): Likewise.
24196         * soft-fp/fmasf4.c: New file.
24197         * soft-fp/fmadf4.c: Likewise.
24198         * soft-fp/fmatf4.c: Likewise.
24200 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24203         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24204         Silvermont.
24205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24206         macro.
24207         (index_Slow_SSE4_2): Likewise.
24208         (index_Prefer_PMINUB_for_stringop): Likewise.
24209         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24210         bit_Slow_SSE4_2 is set.
24211         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24214 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24216         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24217         rtld_global._dl_hwcap2.
24218         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24219         POWER8.
24220         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24221         POWER8 feature descriptions defined in _dl_hwcap2.
24222         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24223         string handling for POWER8 feature bits.
24224         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24225         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24226         _dl_powerpc_cap_flags.
24227         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24228         * sysdeps/powerpc/rtld-global-offsets.sym
24229         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24230         _dl_hwcap2 in the rtld_global_ro structure.
24232 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24234         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24235         hardware capabilities in support of AT_HWCAP2.
24236         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24237         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24238         GLRO(dl_hwcap2).
24239         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24240         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24241         explicitly the unknown a_type display mechanism is used.
24242         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24243         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24244         struct member.
24245         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24246         to macro prototype for AT_HWCAP2 support.
24247         * sysdeps/i386/dl-procinfo.h: Likewise.
24248         * sysdeps/s390/dl-procinfo.h: Likewise.
24249         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24250         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24251         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24252         return -1 for unknown a_type display fallback.
24253         * sysdeps/sparc/dl-procinfo.h: Likewise.
24254         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24255         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24257 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24260         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24262 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24264         [BZ #12492]
24265         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24266         mprotect making __stack_prot writable.
24268 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24269             Joseph Myers  <joseph@codesourcery.com>
24271         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24272         as being properly aligned.
24274 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24276         * dlfcn/modstatic5.c: New file.
24277         * dlfcn/tststatic5.c: New file.
24278         * dlfcn/Makefile (tests): Add tststatic5.
24279         (tests-static): Likewise.
24280         (modules-names): Add modstatic5.
24281         (tststatic5-ENV): New variable.
24282         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24284         [BZ #15022]
24285         * elf/dl-support.c (_dl_main_map): New variable.
24286         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24287         (_dl_nns, _dl_load_adds): Set to 1.
24288         (_dl_initial_searchlist): Refer to _dl_main_map.
24289         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24290         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24291         call to _dl_get_origin.
24292         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24293         around call_map.
24294         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24295         * dlfcn/modstatic3.c: New file.
24296         * dlfcn/tststatic3.c: New file.
24297         * dlfcn/tststatic4.c: New file.
24298         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24299         (tests-static): Likewise.
24300         (modules-names): Add modstatic3.
24301         (tststatic3-ENV, tststatic4-ENV): New variables.
24302         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24303         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24305 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24307         * configure.in (CC): Require GCC version 4.4 or later.
24308         * configure: Regenerated.
24309         * manual/install.texi (Tools for Compilation): Update GCC version
24310         requirement.
24311         * INSTALL: Regenerated.
24313 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24315         [BZ #15674]
24316         * string/test-memcmp.c (check2): New.
24317         (main): Call check2.
24319         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24321 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24323         [BZ #15022]
24324         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24325         over to...
24326         (dl_open_worker) [!SHARED]: ... here.
24328 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24330         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24332 2013-06-25  Richard Henderson  <rth@redhat.com>
24334         * locale/programs/locarchive.c: Include <libc-internal.h>
24336 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24338         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24339         trailing whitespace removed.
24341 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24343         [BZ #10283]
24344         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24345         * locale/programs/locarchive.c: Include libc-mmap.h.
24346         (prepare_address_space): Take two new outputs (the mmap base and len).
24347         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24348         values.
24349         (create_archive): Declare new mmap base and len values for
24350         prepare_address_space, and store the result in ah.
24351         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24352         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24353         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24354         Declare new mmap base and len values for
24355         prepare_address_space, and store the result in new_ah.
24356         (open_archive): Declare new mmap base and len values for
24357         prepare_address_space, and store the result in ah.
24358         (close_archive): If ah->mmap_base is not NULL, use that and
24359         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24360         * sysdeps/generic/libc-mmap.h: New file.
24362 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24364         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24365         (ALIGN_UP): Likewise.
24366         (PTR_ALIGN_DOWN): Likewise.
24367         (PTR_ALIGN_UP): Likewise.
24369 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24371         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24372         entry mapped to PPC_PLATFORM_POWER8.
24373         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24374         POWER8.
24375         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24376         (_dl_string_platform): Add case for exporting platform position for
24377         POWER8.
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24379         search path to sysdeps/powerpc/powerpc32/power8 directory.
24380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24381         search path to sysdeps/powerpc/powerpc64/power8 directory.
24382         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24383         power7 directories.
24384         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24385         power7 directories.
24387 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24389         * INSTALL: Regenerate.
24391         * nscd/connections.c (nscd_init): Fix comment.
24393 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24395         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24397         [BZ #15667]
24398         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24399         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24401 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24403         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24404         DL_DST_REQ_STATIC.
24405         (DL_DST_REQ_STATIC): Remove macro.
24407 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24409         [BZ #7006]
24410         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24411         with a shift of 0 bits.
24413 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24415         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24416         $(tststatic-ENV).
24418 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24420         [BZ #15655]
24421         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24423 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24425         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24426         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24427         accepts -fno-tree-loop-distribute-patterns.
24428         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24429         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24430         recursive call.
24431         * string/memset.c (memset): Likewise.
24432         * string/test-memmove.c (simple_memmove): Disable loop transformation
24433         to library calls.
24434         * string/test-memset.c (simple_memset): Likewise.
24435         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24436         * benchtests/bench-memset.c (simple_memset): Likewise.
24437         * configure: Regenerated.
24439 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24441         * math/test-misc.c (main): Ignore fesetround failure when failures
24442         of subsequent rounding tests would be ignored.
24444         [BZ #15654]
24445         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24446         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24447         * math/fegetenv.c (__fegetenv): Return 0.
24448         * math/fegetexcept.c (fegetexcept): Return 0.
24449         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24450         FE_TONEAREST.
24451         * math/feholdexcpt.c (feholdexcept): Return 0.
24452         * math/fesetenv.c (__fesetenv): Return 0.
24453         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24454         argument FE_TONEAREST.
24455         * math/feupdateenv.c (__feupdateenv): Return 0.
24456         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24458 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24460         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24461         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24462         ($(objpfx)rtld-%.os rules): Use them.
24464 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24466         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24467         fields.
24469 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24471         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24472         length of target pattern, then descending length of dependency pattern.
24473         * configure.in (AWK): Require gawk 3.1.2 or newer.
24474         * manual/install.texi (Tools for Compilation): Say that we do.
24475         * configure: Regenerated.
24477         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24478         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24479         * scripts/sysd-rules.awk: ... this new script.
24480         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24481         than a glob-style pattern.
24483 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24485         * math/test-misc.c (main): Do not treat incorrectly rounded
24486         conversions as failure unless ROUNDING_TESTS passes.
24488 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24490         [BZ #15631]
24491         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24492         restore exception state around main square root computation, then
24493         check for inexactness explicitly.
24495         * math/libm-test.inc (fma_test_data): Add another test.
24497 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24499         * manual/threads.texi (Non-POSIX Extensions): New document
24500         node.  Document pthread_getattr_default_np and
24501         pthread_setattr_default_np.
24503         * Versions.def (libpthread): Add GLIBC_2.18.
24504         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24506         Likewise.
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24508         Likewise.
24509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24510         Likewise.
24511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24512         Likewise.
24513         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24516         Likewise.
24517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24518         Likewise.
24519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24520         Likewise.
24521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24522         Likewise.
24524 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24527         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24529 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24530             H.J. Lu  <hjl.tools@gmail.com>
24532         [BZ #15627]
24533         * sysdeps/x86_64/rtld-memset.c: Remove file.
24534         * sysdeps/x86_64/rtld-memset.S: New file.
24536 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24538         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24539         (test_in_one_mode): Take arguments for whether the rounding mode
24540         is supported for each floating-point type.
24541         (do_test): Pass new arguments to test_in_one_mode using
24542         ROUNDING_TESTS.
24544 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24546         * posix/tst-waitid.c (do_test): Distinguish different instances of
24547         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24548         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24549         before entering the kernel for waitpid.
24551 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24553         * NEWS: Fix note on clock function precision.  Text by Roland
24554         McGrath.
24556 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24558         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24559         it into place only when and if the sanity check passes.
24561 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24563         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24564         output for whether conversion result is exact.  Take argument
24565         indicating whether type is IBM long double.
24566         (round_for_all): Change need_exact field to ibm_ld.
24567         * stdlib/tst-strtod-round.c (struct exactness): New type.
24568         (struct test): Change bool ld_ok field to struct exactness exact.
24569         (TEST): Update all definitions for change to field.
24570         (tests): Regenerate array contents.
24571         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24572         field value.  Check for IBM long double here.
24573         (do_test): Update calls to test_in_one_mode.
24575 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24577         [BZ #12515]
24578         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24579         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24581 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24583         [BZ #15605]
24584         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24585         generated by the compiler on loop optimizations.
24586         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24587         general definitions.
24589 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24591         * math/bug-nextafter.c: Include <math-tests.h>.
24592         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24593         the relevant type.
24594         * math/bug-nexttoward.c: Include <math-tests.h>.
24595         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24596         the relevant type.
24597         * math/test-misc.c: Include <math-tests.h>.
24598         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24599         the relevant type.
24601 2013-06-12  Andreas Jaeger  <aj@suse.de>
24603         * po/ia.po: Update Interlingua translation from translation
24604         project.
24606 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24608         * include/fenv.h: Include stdbool.h.
24609         (struct rm_ctx): New structure.
24610         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24611         Define macro.
24612         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24613         (SET_RESTORE_ROUNDF): Likewise.
24614         (SET_RESTORE_ROUNDL): Likewise.
24615         (SET_RESTORE_ROUND_NOEX): Likewise.
24616         (SET_RESTORE_ROUND_NOEXF): Likewise.
24617         (SET_RESTORE_ROUND_NOEXL): Likewise.
24618         (SET_RESTORE_ROUND_53BIT): Likewise.
24619         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24620         (libc_feresetround_noexf_ctx): Likewise.
24621         (libc_feresetround_noexl_ctx): Likewise.
24622         (libc_feholdsetround_53bit_ctx): Likewise.
24623         (libc_feresetround_53bit_ctx): Likewise.
24624         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24625         (libc_feholdexcept_setround_sse_ctx): New function.
24626         (libc_fesetenv_sse_ctx): Likewise.
24627         (libc_feupdateenv_sse_ctx): Likewise.
24628         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24629         (libc_feholdexcept_setround_387_ctx): Likewise.
24630         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24631         (libc_feholdsetround_387_prec_ctx): Likewise.
24632         (libc_feholdsetround_387_ctx): Likewise.
24633         (libc_feholdsetround_387_53bit_ctx): Likewise.
24634         (libc_feholdsetround_sse_ctx): Likewise.
24635         (libc_feresetround_sse_ctx): Likewise.
24636         (libc_feresetround_387_ctx): Likewise.
24637         (libc_feupdateenv_387_ctx): Likewise.
24638         (libc_feholdexcept_setroundf_ctx): Define macro.
24639         (libc_fesetenvf_ctx): Likewise.
24640         (libc_feupdateenvf_ctx): Likewise.
24641         (libc_feholdsetroundf_ctx): Likewise.
24642         (libc_feresetroundf_ctx): Likewise.
24643         (libc_feholdexcept_setround_ctx): Likewise.
24644         (libc_fesetenv_ctx): Likewise.
24645         (libc_feupdateenv_ctx): Likewise.
24646         (libc_feholdsetround_ctx): Likewise.
24647         (libc_feresetround_ctx): Likewise.
24648         (libc_feholdexcept_setroundl_ctx): Likewise.
24649         (libc_feupdateenvl_ctx): Likewise.
24650         (libc_feholdsetroundl_ctx): Likewise.
24651         (libc_feresetroundl_ctx): Likewise.
24652         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24653         (libc_feresetround_53bit_ctx): Likewise.
24655 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24657         * locale/iso-639.def: Convert to UTF-8.
24659 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24661         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24662         (EXCEPTION_TESTS_double): Likewise.
24663         (EXCEPTION_TESTS_long_double): Likewise.
24664         (EXCEPTION_TESTS): Likewise.
24665         * math/libm-test.inc (test_exceptions): Only test exceptions if
24666         EXCEPTION_TESTS (FLOAT).
24668 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24670         * benchtests/Makefile (string-bench): Add strcpy_chk and
24671         stpcpy_chk.
24672         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24673         * benchtests/bench-stpcpy_chk.c: New file.
24674         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24675         * benchtests/bench-strcpy_chk.c: New file.
24676         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24677         code.
24678         (do_test): Likewise.
24680 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24683         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24684         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24685         with tabs where appropriate.
24686         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24687         dl-procinfo.h.
24688         [PPC_PLATFORM_PPC440]: Likewise.
24689         [PPC_PLATFORM_PPC464]: Likewise.
24690         [PPC_PLATFORM_PPC476]: Likewise.
24691         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24692         ppc464, and ppc476 platform strings merging from ports/
24693         dl-procinfo.h.
24695 2013-06-11  Andreas Schwab  <schwab@suse.de>
24697         [BZ #14991]
24698         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24699         (from_ucs4_idx): Regenerate.
24700         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24701         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24702         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24703         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24704         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24705         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24706         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24707         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24708         from FROM_LOOP and TO_LOOP specific macros.
24709         (BODY): Handle combining characters.
24710         * iconvdata/BIG5HKSCS.irreversible: Update.
24711         * iconvdata/BIG5HKSCS.precomposed: New file.
24712         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24713         characters.
24714         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24718         * include/sys/time.h: Fix indentation and add copyright header.
24720         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24721         (do_test): Likewise.
24722         * string/test-memchr.c (do_one_test): Likewise.
24723         (do_test): Likewise.
24724         * string/test-memcmp.c (do_one_test): Likewise.
24725         (do_test): Likewise.
24726         * string/test-memcpy.c (do_one_test): Likewise.
24727         (do_test): Likewise.
24728         * string/test-memmem.c (do_one_test): Likewise.
24729         (do_test): Likewise.
24730         (do_random_tests): Likewise.
24731         * string/test-memmove.c (do_one_test): Likewise.
24732         (do_test): Likewise.
24733         * string/test-memset.c (do_one_test): Likewise.
24734         (do_test): Likewise.
24735         * string/test-rawmemchr.c (do_one_test): Likewise.
24736         (do_test): Likewise.
24737         * string/test-strcasecmp.c (do_one_test): Likewise.
24738         (do_test): Likewise.
24739         * string/test-strcasestr.c (do_one_test): Likewise.
24740         (do_test): Likewise.
24741         * string/test-strcat.c (do_one_test): Likewise.
24742         (do_test): Likewise.
24743         * string/test-strchr.c (do_one_test): Likewise.
24744         (do_test): Likewise.
24745         * string/test-strcmp.c (do_one_test): Likewise.
24746         (do_test): Likewise.
24747         * string/test-strcpy.c (do_one_test): Likewise.
24748         (do_test): Likewise.
24749         * string/test-string.h: Likewise.
24750         (test_init): Likewise.
24751         * string/test-strlen.c (do_one_test): Likewise.
24752         (do_test): Likewise.
24753         * string/test-strncasecmp.c (do_one_test): Likewise.
24754         (do_test): Likewise.
24755         * string/test-strncat.c (do_one_test): Likewise.
24756         (do_test): Likewise.
24757         * string/test-strncmp.c (do_one_test): Likewise.
24758         (do_test_limit): Likewise.
24759         (do_test): Likewise.
24760         * string/test-strncpy.c (do_one_test): Likewise.
24761         (do_test): Likewise.
24762         * string/test-strnlen.c (do_one_test): Likewise.
24763         (do_test): Likewise.
24764         * string/test-strpbrk.c (do_one_test): Likewise.
24765         (do_test): Likewise.
24766         * string/test-strrchr.c (do_one_test): Likewise.
24767         (do_test): Likewise.
24768         * string/test-strspn.c (do_one_test): Likewise.
24769         (do_test): Likewise.
24770         * string/test-strstr.c (do_one_test): Likewise.
24771         (do_test): Likewise.
24773         * benchtests/Makefile (string-bench): Add string benchmarks.
24774         * benchtests/bench-bcopy-ifunc.c: New file.
24775         * benchtests/bench-bcopy.c: New file.
24776         * benchtests/bench-bzero-ifunc.c: New file.
24777         * benchtests/bench-bzero.c: New file.
24778         * benchtests/bench-memccpy-ifunc.c: New file.
24779         * benchtests/bench-memccpy.c: New file.
24780         * benchtests/bench-memchr-ifunc.c: New file.
24781         * benchtests/bench-memchr.c: New file.
24782         * benchtests/bench-memcmp-ifunc.c: New file.
24783         * benchtests/bench-memcmp.c: New file.
24784         * benchtests/bench-memmem-ifunc.c: New file.
24785         * benchtests/bench-memmem.c: New file.
24786         * benchtests/bench-memmove-ifunc.c: New file.
24787         * benchtests/bench-memmove.c: New file.
24788         * benchtests/bench-mempcpy-ifunc.c: New file.
24789         * benchtests/bench-mempcpy.c: New file.
24790         * benchtests/bench-memset-ifunc.c: New file.
24791         * benchtests/bench-memset.c: New file.
24792         * benchtests/bench-rawmemchr-ifunc.c: New file.
24793         * benchtests/bench-rawmemchr.c: New file.
24794         * benchtests/bench-stpcpy-ifunc.c: New file.
24795         * benchtests/bench-stpcpy.c: New file.
24796         * benchtests/bench-stpncpy-ifunc.c: New file.
24797         * benchtests/bench-stpncpy.c: New file.
24798         * benchtests/bench-strcasecmp-ifunc.c: New file.
24799         * benchtests/bench-strcasecmp.c: New file.
24800         * benchtests/bench-strcasestr-ifunc.c: New file.
24801         * benchtests/bench-strcasestr.c: New file.
24802         * benchtests/bench-strcat-ifunc.c: New file.
24803         * benchtests/bench-strcat.c: New file.
24804         * benchtests/bench-strchr-ifunc.c: New file.
24805         * benchtests/bench-strchr.c: New file.
24806         * benchtests/bench-strchrnul-ifunc.c: New file.
24807         * benchtests/bench-strchrnul.c: New file.
24808         * benchtests/bench-strcmp-ifunc.c: New file.
24809         * benchtests/bench-strcmp.c: New file.
24810         * benchtests/bench-strcpy-ifunc.c: New file.
24811         * benchtests/bench-strcpy.c: New file.
24812         * benchtests/bench-strcspn-ifunc.c: New file.
24813         * benchtests/bench-strcspn.c: New file.
24814         * benchtests/bench-strlen-ifunc.c: New file.
24815         * benchtests/bench-strlen.c: New file.
24816         * benchtests/bench-strncasecmp-ifunc.c: New file.
24817         * benchtests/bench-strncasecmp.c: New file.
24818         * benchtests/bench-strncat-ifunc.c: New file.
24819         * benchtests/bench-strncat.c: New file.
24820         * benchtests/bench-strncmp-ifunc.c: New file.
24821         * benchtests/bench-strncmp.c: New file.
24822         * benchtests/bench-strncpy-ifunc.c: New file.
24823         * benchtests/bench-strncpy.c: New file.
24824         * benchtests/bench-strnlen-ifunc.c: New file.
24825         * benchtests/bench-strnlen.c: New file.
24826         * benchtests/bench-strpbrk-ifunc.c: New file.
24827         * benchtests/bench-strpbrk.c: New file.
24828         * benchtests/bench-strrchr-ifunc.c: New file.
24829         * benchtests/bench-strrchr.c: New file.
24830         * benchtests/bench-strspn-ifunc.c: New file.
24831         * benchtests/bench-strspn.c: New file.
24832         * benchtests/bench-strstr-ifunc.c: New file.
24833         * benchtests/bench-strstr.c: New file.
24835         * benchtests/Makefile: Disable parallel execution of targets.
24836         (string-bench): Add memcpy.
24837         (benchset): New variable to store a list of benchmark sets.
24838         (bench-func): Renamed from bench.
24839         (bench-set): New target.
24840         (bench): Depend on bench-func and bench-set.
24841         * benchtests/README: Add section on benchmark sets.
24842         * benchtests/bench-memcpy-ifunc.c: New file.
24843         * benchtests/bench-memcpy.c: New file.
24844         * benchtests/bench-string.h: New file.
24846 2013-06-11  Andreas Schwab  <schwab@suse.de>
24848         [BZ #15577]
24849         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24850         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24851         values in the triple.
24852         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24853         terminator in the group key.
24855 2013-06-11  Andreas Jaeger  <aj@suse.de>
24857         * po/zh_TW.po: Update Chinese (traditional) translation from
24858         translation project.
24860 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24862         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24863         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24864         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24865         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24866         (clock_getcpuclockid): Likewise.
24867         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24868         Add weak_alias and libc_hidden_def.
24869         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24870         * rt/clock_gettime.c (clock_gettime): Rename to
24871         __clock_gettime.  Add weak_alias and libc_hidden_def.
24872         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24873         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24874         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24875         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24876         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24877         Likewise.
24878         * rt/clock_settime.c (clock_settime): Rename to
24879         __clock_settime.  Add weak_alias and libc_hidden_def.
24880         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24882 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24884         * mach/err_boot.sub: Remove trailing whitespace.
24885         * mach/err_ipc.sub: Likewise.
24886         * mach/err_mach.sub: Likewise.
24888         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24889         (ROUNDING_TESTS_double): Likewise.
24890         (ROUNDING_TESTS_long_double): Likewise.
24891         (ROUNDING_TESTS): Likewise.
24892         * math/libm-test.inc: Include <math-tests.h>.
24893         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24894         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24895         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24896         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24898 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24900         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24901         of assigning.
24903 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24905         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24906         otherwise empty TRANS lines.
24907         * sysdeps/gnu/errlist.c: Regenerated.
24909         * catgets/gencat.c (error_print): Use (void) in function
24910         definition.
24911         * crypt/crypt_util.c (__init_des): Likewise.
24912         * crypt/speeds.c (Stop): Likewise.
24913         (main): Likewise.
24914         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24915         * inet/ruserpass.c (token): Likewise.
24916         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24917         * intl/localealias.c (extend_alias_table): Likewise.
24918         * intl/plural-exp.c (init_germanic_plural): Likewise.
24919         * libio/fcloseall.c (__fcloseall): Likewise.
24920         * libio/genops.c (_IO_flush_all): Likewise.
24921         (_IO_flush_all_linebuffered): Likewise.
24922         (_IO_cleanup): Likewise.
24923         (_IO_iter_begin): Likewise.
24924         (_IO_iter_end): Likewise.
24925         (_IO_list_lock): Likewise.
24926         (_IO_list_unlock): Likewise.
24927         (_IO_list_resetlock): Likewise.
24928         * libio/getchar.c (getchar): Likewise.
24929         * libio/getchar_u.c (getchar_unlocked): Likewise.
24930         * libio/getwchar.c (getwchar): Likewise.
24931         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24932         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24933         * login/getpt.c (__getpt): Likewise.
24934         * login/tst-utmp.c (main): Likewise.
24935         * malloc/hooks.c (__malloc_check_init): Likewise.
24936         * malloc/malloc.c (__malloc_stats): Likewise.
24937         * malloc/mtrace.c (tr_break): Likewise.
24938         (mtrace): Likewise.
24939         (muntrace): Likewise.
24940         * misc/fstab.c (endfsent): Likewise.
24941         * misc/getclktck.c (__getclktck): Likewise.
24942         * misc/getdtsz.c (__getdtablesize): Likewise.
24943         * misc/gethostid.c (gethostid): Likewise.
24944         * misc/getpagesize.c (__getpagesize): Likewise.
24945         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24946         (__get_nprocs): Likewise.
24947         (__get_phys_pages): Likewise.
24948         (__get_avphys_pages): Likewise.
24949         * misc/getttyent.c (getttyent): Likewise.
24950         (setttyent): Likewise.
24951         (endttyent): Likewise.
24952         * misc/getusershell.c (getusershell): Likewise.
24953         (endusershell): Likewise.
24954         (setusershell): Likewise.
24955         (initshells): Likewise.
24956         * misc/hsearch.c (__hdestroy): Likewise.
24957         * misc/sync.c (sync): Likewise.
24958         * misc/syslog.c (closelog_internal): Likewise.
24959         (closelog): Likewise.
24960         * misc/ttyslot.c (ttyslot): Likewise.
24961         * misc/vhangup.c (vhangup): Likewise.
24962         * posix/fork.c (__fork): Likewise.
24963         * posix/getegid.c (__getegid): Likewise.
24964         * posix/geteuid.c (__geteuid): Likewise.
24965         * posix/getgid.c (__getgid): Likewise.
24966         * posix/getpid.c (__getpid): Likewise.
24967         * posix/getppid.c (__getppid): Likewise.
24968         * posix/getuid.c (__getuid): Likewise.
24969         * posix/pause.c (pause): Likewise.
24970         * posix/setpgrp.c (setpgrp): Likewise.
24971         * posix/setsid.c (__setsid): Likewise.
24972         * posix/test-vfork.c (noop): Likewise.
24973         * resolv/gethnamaddr.c (_endhtent): Likewise.
24974         (_gethtent): Likewise.
24975         (ht_endhostent): Likewise.
24976         (gethostent): Likewise.
24977         (dns_service): Likewise.
24978         * stdlib/drand48.c (drand48): Likewise.
24979         * stdlib/lrand48.c (lrand48): Likewise.
24980         * stdlib/mrand48.c (mrand48): Likewise.
24981         * stdlib/rand.c (rand): Likewise.
24982         * stdlib/random.c (__random): Likewise.
24983         * stdlib/setenv.c (clearenv): Likewise.
24984         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24985         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24986         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24987         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24988         (__get_nprocs): Likewise.
24989         (__get_phys_pages): Likewise.
24990         (__get_avphys_pages): Likewise.
24991         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24992         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24993         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24994         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24995         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24996         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24997         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24998         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24999         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25000         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25001         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25002         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25003         * sysdeps/posix/clock.c (clock): Likewise.
25004         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25005         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25006         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25007         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25008         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25010         (__get_nprocs_conf): Likewise.
25011         (__get_phys_pages): Likewise.
25012         (__get_avphys_pages): Likewise.
25013         * time/clock.c (clock): Likewise.
25014         * time/tzset.c (__tzname_max): Likewise.
25016 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25018         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25019         (__bswap_32): Do not use "register".
25020         * crypt/crypt.c (_ufc_doit_r): Likewise.
25021         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25022         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25023         * gmon/gmon.c (__monstartup): Likewise.
25024         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25025         * hurd/hurdmalloc.c (more_memory): Likewise.
25026         (malloc): Likewise.
25027         (free): Likewise.
25028         (realloc): Likewise.
25029         (malloc_fork_prepare): Likewise.
25030         (malloc_fork_parent): Likewise.
25031         (malloc_fork_child): Likewise.
25032         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25033         (_svcauth_des): Likewise.
25034         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25035         * inet/inet_net.c (inet_network): Likewise.
25036         * inet/inet_netof.c (inet_netof): Likewise.
25037         * inet/rcmd.c (__validuser2_sa): Likewise.
25038         * io/fts.c (fts_open): Likewise.
25039         (fts_load): Likewise.
25040         (fts_close): Likewise.
25041         (fts_read): Likewise.
25042         (fts_children): Likewise.
25043         (fts_build): Likewise.
25044         (fts_stat): Likewise.
25045         (fts_sort): Likewise.
25046         (fts_alloc): Likewise.
25047         (fts_lfree): Likewise.
25048         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25049         (_IO_file_xsgetn): Likewise.
25050         (_IO_file_xsgetn_mmap): Likewise.
25051         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25052         (_IO_cookie_write): Likewise.
25053         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25054         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25055         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25056         * malloc/obstack.c (_obstack_begin): Likewise.
25057         (_obstack_begin_1): Likewise.
25058         (_obstack_newchunk): Likewise.
25059         (_obstack_allocated_p): Likewise.
25060         (obstack_free): Likewise.
25061         (_obstack_memory_used): Likewise.
25062         * misc/getttyent.c (getttynam): Likewise.
25063         (getttyent): Likewise.
25064         (skip): Likewise.
25065         (value): Likewise.
25066         * misc/getusershell.c (initshells): Likewise.
25067         * misc/syslog.c (__vsyslog_chk): Likewise.
25068         * misc/ttyslot.c (ttyslot): Likewise.
25069         * nis/nis_hash.c (__nis_hash): Likewise.
25070         * posix/fnmatch_loop.c (FCT): Likewise.
25071         * posix/getconf.c (print_all): Likewise.
25072         (main): Likewise.
25073         * posix/getopt.c (exchange): Likewise.
25074         * posix/glob.c (globfree): Likewise.
25075         (prefix_array): Likewise.
25076         (__glob_pattern_type): Likewise.
25077         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25078         (NS_GET32): Likewise.
25079         (NS_PUT16): Likewise.
25080         (NS_PUT32): Likewise.
25081         * resolv/gethnamaddr.c (getanswer): Likewise.
25082         (gethostbyname2): Likewise.
25083         (gethostbyaddr): Likewise.
25084         (_gethtent): Likewise.
25085         (_gethtbyname2): Likewise.
25086         (_gethtbyaddr): Likewise.
25087         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25088         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25089         * resolv/res_init.c (__res_vinit): Likewise.
25090         (net_mask): Likewise.
25091         * resolv/res_mkquery.c (outchar): Likewise.
25092         (PRINT): Likewise.
25093         * stdio-common/printf_fp.c (outchar): Likewise.
25094         (PRINT): Likewise.
25095         * stdio-common/printf_fphex.c (outchar): Likewise.
25096         (PRINT): Likewise.
25097         * stdio-common/printf_size.c (outchar): Likewise.
25098         (PRINT): Likewise.
25099         * stdio-common/test_rdwr.c (main): Likewise.
25100         * stdio-common/tfformat.c (matches): Likewise.
25101         * stdio-common/vfprintf.c (outchar): Likewise.
25102         (printf_unknown): Likewise.
25103         (buffered_vfprintf): Likewise.
25104         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25105         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25106         (ReadFile): Likewise.
25107         * stdlib/qsort.c (SWAP): Likewise.
25108         (_quicksort): Likewise.
25109         * stdlib/setenv.c (__add_to_environ): Likewise.
25110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25111         * stdlib/strtol_l.c (__strtol_l): Likewise.
25112         * stdlib/tst-strtod.c (main): Likewise.
25113         * stdlib/tst-strtol.c (main): Likewise.
25114         * stdlib/tst-strtoll.c (main): Likewise.
25115         * string/bits/string2.h (__strcmp_cc): Likewise.
25116         (__strcmp_cg): Likewise.
25117         (__strcspn_c1): Likewise.
25118         (__strcspn_c2): Likewise.
25119         (__strcspn_c3): Likewise.
25120         (__strspn_c1): Likewise.
25121         (__strspn_c2): Likewise.
25122         (__strspn_c3): Likewise.
25123         (__strsep_1c): Likewise.
25124         (__strsep_2c): Likewise.
25125         (__strsep_3c): Likewise.
25126         * string/memccpy.c (__memccpy): Likewise.
25127         * string/stpcpy.c (__stpcpy): Likewise.
25128         * string/strcmp.c (strcmp): Likewise.
25129         * string/strrchr.c (strrchr): Likewise.
25130         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25131         Likewise.
25132         * sysdeps/mach/hurd/getcwd.c
25133         (_hurd_canonicalize_directory_name_internal): Likewise.
25134         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25135         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25136         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25137         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25138         Likewise, in both definitions.
25139         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25140         definitions.
25141         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25142         64] (__bswap_64): Likewise.
25143         * time/test_time.c (main): Likewise.
25144         * time/tzfile.c (__tzfile_read): Likewise.
25145         (__tzfile_compute): Likewise.
25146         * time/tzset.c (__tzset_parse_tz): Likewise.
25147         (tzset_internal): Likewise.
25148         (compute_change): Likewise.
25149         * wcsmbs/wcscat.c (__wcscat): Likewise.
25150         * wcsmbs/wcschr.c (wcschr): Likewise.
25151         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25152         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25153         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25154         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25155         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25156         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25157         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25158         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25159         * wcsmbs/wmemset.c (wmemset): Likewise.
25161 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25163         * scripts/config.guess: Update to version 2013-05-16.
25164         * scripts/config.sub: Update to version 2013-04-24.
25165         * scripts/install-sh: Update to version 2011-11-20.07.
25166         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25167         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25169 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25171         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25172         * elf/sln.c: Likewise.
25173         * hurd/hurd/ioctl.h: Likewise.
25174         * hurd/hurdmalloc.c: Likewise.
25175         * hurd/xattr.c: Likewise.
25176         * include/shlib-compat.h: Likewise.
25177         * inet/ruserpass.c: Likewise.
25178         * libio/iofgets_u.c: Likewise.
25179         * libio/iofgetws_u.c: Likewise.
25180         * locale/programs/ld-identification.c: Likewise.
25181         * locale/programs/ld-time.c: Likewise.
25182         * mach/msg-destroy.c: Likewise.
25183         * nss/nss_files/files-netgrp.c: Likewise.
25184         * resolv/res_data.c: Likewise.
25185         * soft-fp/op-1.h: Likewise.
25186         * soft-fp/op-2.h: Likewise.
25187         * soft-fp/op-4.h: Likewise.
25188         * soft-fp/op-common.h: Likewise.
25189         * stdio-common/printf_fphex.c: Likewise.
25190         * stdlib/strtod_l.c: Likewise.
25191         * sunrpc/rpc/clnt.h: Likewise.
25192         * sysdeps/generic/framestate.c: Likewise.
25193         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25194         * sysdeps/i386/bsd-setjmp.S: Likewise.
25195         * sysdeps/i386/__longjmp.S: Likewise.
25196         * sysdeps/i386/setjmp.S: Likewise.
25197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25198         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25199         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25200         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25202         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25203         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25206         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25207         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25208         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25209         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25210         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25211         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25212         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25213         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25214         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25215         * sysdeps/ieee754/support.c: Likewise.
25216         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25217         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25218         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25219         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25220         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25221         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25222         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25223         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25224         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25225         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25226         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25227         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25229         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25230         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25231         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25232         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25235 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25237         * posix/transbug.c: Remove executable mode.
25239 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25241         * crypt/speeds.c: Remove trailing whitespace.
25242         * dlfcn/default.c: Likewise.
25243         * elf/ifuncdep2.c: Likewise.
25244         * elf/ifuncmain1.c: Likewise.
25245         * elf/ifuncmain1vis.c: Likewise.
25246         * elf/testobj.h: Likewise.
25247         * elf/tst-stackguard1.c: Likewise.
25248         * gmon/sys/gmon.h: Likewise.
25249         * hurd/hurdmsg.c: Likewise.
25250         * hurd/new-fd.c: Likewise.
25251         * hurd/ports-get.c: Likewise.
25252         * iconvdata/ibm1008_420.c: Likewise.
25253         * inet/tst-getni1.c: Likewise.
25254         * inet/tst-getni2.c: Likewise.
25255         * libio/ioungetc.c: Likewise.
25256         * libio/wfiledoalloc.c: Likewise.
25257         * manual/libm-err-tab.pl: Likewise.
25258         * math/w_dremf.c: Likewise.
25259         * misc/ftruncate.c: Likewise.
25260         * posix/bug-glob2.c: Likewise.
25261         * posix/tst-pcre.c: Likewise.
25262         * posix/wait4.c: Likewise.
25263         * resolv/README: Likewise.
25264         * resolv/res_debug.h: Likewise.
25265         * resolv/tst-inet_ntop.c: Likewise.
25266         * setjmp/bug269-setjmp.c: Likewise.
25267         * soft-fp/extended.h: Likewise.
25268         * soft-fp/op-1.h: Likewise.
25269         * soft-fp/op-2.h: Likewise.
25270         * soft-fp/op-4.h: Likewise.
25271         * soft-fp/op-8.h: Likewise.
25272         * soft-fp/testit.c: Likewise.
25273         * stdio-common/bug16.c: Likewise.
25274         * stdlib/random.c: Likewise.
25275         * sunrpc/rpcsvc/rquota.x: Likewise.
25276         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25277         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25279         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25280         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25281         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25283         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25284         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25285         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25286         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25287         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25288         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25289         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25290         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25292         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25293         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25294         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25295         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25296         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25297         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25298         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25299         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25300         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25301         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25304         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25305         * sysdeps/ieee754/s_lib_version.c: Likewise.
25306         * sysdeps/mach/hurd/check_fds.c: Likewise.
25307         * sysdeps/mach/hurd/getsockname.c: Likewise.
25308         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25309         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25310         * sysdeps/powerpc/bits/link.h: Likewise.
25311         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25312         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25313         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25314         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25315         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25316         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25317         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25318         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25319         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25320         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25321         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25322         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25323         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25324         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25325         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25326         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25329         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25331         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25332         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25333         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25334         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25335         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25336         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25337         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25338         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25339         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25342         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25344         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25345         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25346         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25347         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25348         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25349         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25350         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25351         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25352         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25353         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25354         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25355         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25356         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25357         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25358         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25359         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25360         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25363         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25364         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25365         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25366         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25367         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25368         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25369         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25371         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25372         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25373         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25374         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25375         * sysdeps/powerpc/sysdep.h: Likewise.
25376         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25377         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25378         * sysdeps/sh/dl-trampoline.S: Likewise.
25379         * sysdeps/sh/memset.S: Likewise.
25380         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25381         * sysdeps/sh/strlen.S: Likewise.
25382         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25383         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25384         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25385         * sysdeps/sparc/sparc32/rem.S: Likewise.
25386         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25387         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25388         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25389         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25390         * sysdeps/sparc/sparc32/urem.S: Likewise.
25391         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25392         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25393         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25394         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25396         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25397         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25398         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25399         * sysdeps/unix/bsd/times.c: Likewise.
25400         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25401         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25405         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25406         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25407         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25409         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25410         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25411         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25412         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25413         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25414         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25415         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25416         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25417         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25418         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25419         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25420         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25421         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25422         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25423         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25424         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25425         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25426         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25427         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25428         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25429         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25430         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25431         * sysdeps/x86_64/strcspn.S: Likewise.
25433 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25435         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25436         generated file.  Regenerate properly from gen-translit.pl.
25437         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25438         locale/C-translit.h.
25440 2013-06-05  Andreas Schwab  <schwab@suse.de>
25442         [BZ #15100]
25443         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25444         week as 6 instead of -1.
25445         * time/tst-strptime.c (day_tests): Add test case.
25447 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25449         * sysdeps/generic/math_private.h
25450         (libc_feholdexcept_setround_53bit): Replace with
25451         libc_feholdsetround_53bit.
25452         (libc_feupdateenv_53bit): Replace with
25453         libc_feresetround_53bit.
25454         (SET_RESTORE_ROUND_53BIT): Adjust.
25456 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25458         * string/test-strchrnul.c: Add copyright header.
25460         * posix/tst-getaddrinfo4.c: Increase test timeout.
25462 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25464         [BZ #15536]
25465         * math/libm-test.inc (MAX_EXP): Remove
25466         (MIN_EXP): Define.
25467         (ulp): Use MIN_EXP - MANT_DIG.
25468         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25470 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25472         * po/be.po: Revert last change.
25473         * po/zh_CN.po: Likewise.
25474         * po/header.pot: Likewise.
25476 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25478         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25479         link-libc-deps to empty as target-specific variable.
25480         * Makerules (link-libc-args): New variable.
25481         (libc-for-link): Likewise.
25482         (link-libc-deps): Likewise.
25483         (lib%.so): Depend on $(link-libc-deps).  Link with
25484         $(link-libc-args).
25485         (build-module): Link with $(link-libc-args).
25486         (build-module-asneeded): Likewise.
25487         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25488         list of objects.
25489         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25490         target-specific variable.
25491         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25492         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25493         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25494         libc.
25495         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25496         libc and ld.so.
25497         ($(objpfx)libpcprofile.so): Likewise.
25498         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25499         libc_nonshared.a.
25500         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25501         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25502         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25503         $(link-libc-deps).
25504         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25505         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25506         * login/Makefile ($(objpfx)libutil.so): Likewise.
25507         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25508         * math/Makefile ($(objpfx)libm.so): Likewise.
25509         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25510         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25511         variable instead of depending directly on libc.
25512         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25513         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25514         $(link-libc-deps).
25515         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25516         libc.
25517         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25518         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25519         ($(objpfx)libanl.so): Likewise.
25520         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25521         ld.so.
25522         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25523         $(link-libc-deps).
25524         * sysdeps/i386/fpu/Makefile: Remove file.
25525         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25526         ($(objpfx)libm.so): Remove dependency on ld.so.
25528 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25530         [BZ # 15553]
25531         * nis/yp_xdr.c (XDRMAXNAME): Define.
25532         (XDRMAXRECORD): Define.
25533         (xdr_domainname): Use XDRMAXNAME.
25534         (xdr_mapname): Likewise.
25535         (xdr_peername): Likewise.
25536         (xdr_keydat): Use XDRMAXRECORD.
25537         (xdr_valdat): Likewise.
25539 2013-05-30  Jeff Law  <law@redhat.com>
25541         [BZ #14256]
25542         * manual/errno.texi (ESTALE): Update to account for more than
25543         just NFS file systems.
25544         * sysdeps/gnu/errlist.c: Regenerated.
25546 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25548         [BZ #15465]
25549         * elf/Makefile (tests): Add tst-null-argv.
25550         (modules-names):  Add tst-null-argv-lib.
25551         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25552         (tst-null-argv-ENV): Set environment for tst-null-argv.
25553         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25554         (RTLD_PROGNAME): New macro.
25555         * elf/tst-null-argv.c: New test case.
25556         * elf/tst-null-argv-lib.c: Library for test case.
25557         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25558         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25559         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25560         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25561         * elf/dl-init.c (call_init): Likewise.
25562         (_dl_init): Likewise.
25563         * elf/dl-load.c (print_search_path): Likewise.
25564         (_dl_map_object): Likewise.
25565         * elf/dl-lookup.c (do_lookup_x): Likewise.
25566         (add_dependency): Likewise.
25567         (_dl_lookup_symbol_x): Likewise.
25568         (_dl_debug_bindings): Likewise.
25569         * elf/dl-open.c (_dl_show_scope): Likewise.
25570         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25571         * elf/dl-version.c (match_symbol): Likewise.
25572         (_dl_check_map_versions): Likewise.
25573         * elf/rtld.c (dl_main): Likewise.
25574         (print_unresolved): Use RTLD_PROGNAME.
25575         (print_missing_version): Likewise.
25576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25577         (elf_machine_rela): Likewise.
25578         * sysdeps/powerpc/powerpc32/dl-machine.c
25579         (__process_machine_rela): Likewise.
25580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25581         Likewise.
25582         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25583         Likewise.
25584         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25585         Likewise.
25586         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25588         Likewise.
25589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25590         Likewise.
25591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25593 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25595         * po/be.po: Add descriptive title.
25596         * po/zh_CN.po: Likewise.
25597         * po/header.pot: Likewise.
25599 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25601         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25602         error message.
25603         (enlarge_archive): Likewise.
25605 2013-05-28  Ben North  <ben@redfrontdoor.org>
25607         * manual/arith.texi (frexp): It is the magnitude of the return
25608         value which lies in [0.5, 1), not the return value itself.
25610 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25614 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25616         * stdio-common/bug26.c (main): Correct fscanf template.
25618         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25619         declare _dl_skip_args.
25621         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25622         Don't declare.
25624         * manual/platform.texi: Add missing @end deftypefun.
25626 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25628         [BZ #15529]
25629         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25630         bit of mantissa of 2^16382.
25631         * math/libm-test.inc (hypot_test_data): Add more tests.
25633         * math/libm-test.inc: Add drem and pow10 to list of tested
25634         functions.
25635         (pow10_test): New function.
25636         (drem_test): Likewise.
25637         (drem_test_tonearest): Likewise.
25638         (drem_test_towardzero): Likewise.
25639         (drem_test_downward): Likewise.
25640         (drem_test_upward): Likewise.
25641         (main): Call the new functions.
25643         * math/libm-test.inc (finite_test_data): Remove.
25644         (finite_test): Run tests from isfinite_test_data.
25645         (gamma_test_data): Remove.
25646         (gamma_test): Run tests from lgamma_test_data.
25647         * sysdeps/i386/fpu/libm-test-ulps: Update.
25648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25650 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25652         * manual/platform.texi: Add PowerPC PPR function set documentation.
25653         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25654         implementation.
25656 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25658         * math/libm-test.inc (MAX_EXP): Define.
25659         (ULPDIFF): Define.
25660         (ulp): New function.
25661         (check_float_internal): Use ULPDIFF.
25662         (cpow_test): Disable failing test.
25663         (check_ulp): Test ulp() implemetnation.
25664         (main): Call check_ulp before starting tests.
25666 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25668         * math/gen-libm-test.pl (generate_testfile): Do not handle
25669         START_DATA and END_DATA.
25670         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25671         END_DATA.
25672         (acos_tonearest_test_data): Likewise.
25673         (acos_towardzero_test_data): Likewise.
25674         (acos_downward_test_data): Likewise.
25675         (acos_upward_test_data): Likewise.
25676         (acosh_test_data): Likewise.
25677         (asin_test_data): Likewise.
25678         (asin_tonearest_test_data): Likewise.
25679         (asin_towardzero_test_data): Likewise.
25680         (asin_downward_test_data): Likewise.
25681         (asin_upward_test_data): Likewise.
25682         (asinh_test_data): Likewise.
25683         (atan_test_data): Likewise.
25684         (atanh_test_data): Likewise.
25685         (atan2_test_data): Likewise.
25686         (cabs_test_data): Likewise.
25687         (cacos_test_data): Likewise.
25688         (cacosh_test_data): Likewise.
25689         (carg_test_data): Likewise.
25690         (casin_test_data): Likewise.
25691         (casinh_test_data): Likewise.
25692         (catan_test_data): Likewise.
25693         (catanh_test_data): Likewise.
25694         (cbrt_test_data): Likewise.
25695         (ccos_test_data): Likewise.
25696         (ccosh_test_data): Likewise.
25697         (ceil_test_data): Likewise.
25698         (cexp_test_data): Likewise.
25699         (cimag_test_data): Likewise.
25700         (clog_test_data): Likewise.
25701         (clog10_test_data): Likewise.
25702         (conj_test_data): Likewise.
25703         (copysign_test_data): Likewise.
25704         (cos_test_data): Likewise.
25705         (cos_tonearest_test_data): Likewise.
25706         (cos_towardzero_test_data): Likewise.
25707         (cos_downward_test_data): Likewise.
25708         (cos_upward_test_data): Likewise.
25709         (cosh_test_data): Likewise.
25710         (cosh_tonearest_test_data): Likewise.
25711         (cosh_towardzero_test_data): Likewise.
25712         (cosh_downward_test_data): Likewise.
25713         (cosh_upward_test_data): Likewise.
25714         (cpow_test_data): Likewise.
25715         (cproj_test_data): Likewise.
25716         (creal_test_data): Likewise.
25717         (csin_test_data): Likewise.
25718         (csinh_test_data): Likewise.
25719         (csqrt_test_data): Likewise.
25720         (ctan_test_data): Likewise.
25721         (ctan_tonearest_test_data): Likewise.
25722         (ctan_towardzero_test_data): Likewise.
25723         (ctan_downward_test_data): Likewise.
25724         (ctan_upward_test_data): Likewise.
25725         (ctanh_test_data): Likewise.
25726         (ctanh_tonearest_test_data): Likewise.
25727         (ctanh_towardzero_test_data): Likewise.
25728         (ctanh_downward_test_data): Likewise.
25729         (ctanh_upward_test_data): Likewise.
25730         (erf_test_data): Likewise.
25731         (erfc_test_data): Likewise.
25732         (exp_test_data): Likewise.
25733         (exp_tonearest_test_data): Likewise.
25734         (exp_towardzero_test_data): Likewise.
25735         (exp_downward_test_data): Likewise.
25736         (exp_upward_test_data): Likewise.
25737         (exp10_test_data): Likewise.
25738         (exp2_test_data): Likewise.
25739         (expm1_test_data): Likewise.
25740         (fabs_test_data): Likewise.
25741         (fdim_test_data): Likewise.
25742         (finite_test_data): Likewise.
25743         (floor_test_data): Likewise.
25744         (fma_test_data): Likewise.
25745         (fma_towardzero_test_data): Likewise.
25746         (fma_downward_test_data): Likewise.
25747         (fma_upward_test_data): Likewise.
25748         (fmax_test_data): Likewise.
25749         (fmin_test_data): Likewise.
25750         (fmod_test_data): Likewise.
25751         (fpclassify_test_data): Likewise.
25752         (frexp_test_data): Likewise.
25753         (gamma_test_data): Likewise.
25754         (hypot_test_data): Likewise.
25755         (ilogb_test_data): Likewise.
25756         (isfinite_test_data): Likewise.
25757         (isgreater_test_data): Likewise.
25758         (isgreaterequal_test_data): Likewise.
25759         (isinf_test_data): Likewise.
25760         (isless_test_data): Likewise.
25761         (islessequal_test_data): Likewise.
25762         (islessgreater_test_data): Likewise.
25763         (isnan_test_data): Likewise.
25764         (isnormal_test_data): Likewise.
25765         (issignaling_test_data): Likewise.
25766         (isunordered_test_data): Likewise.
25767         (j0_test_data): Likewise.
25768         (j1_test_data): Likewise.
25769         (jn_test_data): Likewise.
25770         (ldexp_test_data): Likewise.
25771         (lgamma_test_data): Likewise.
25772         (lrint_test_data): Likewise.
25773         (lrint_tonearest_test_data): Likewise.
25774         (lrint_towardzero_test_data): Likewise.
25775         (lrint_downward_test_data): Likewise.
25776         (lrint_upward_test_data): Likewise.
25777         (llrint_test_data): Likewise.
25778         (llrint_tonearest_test_data): Likewise.
25779         (llrint_towardzero_test_data): Likewise.
25780         (llrint_downward_test_data): Likewise.
25781         (llrint_upward_test_data): Likewise.
25782         (log_test_data): Likewise.
25783         (log10_test_data): Likewise.
25784         (log1p_test_data): Likewise.
25785         (log2_test_data): Likewise.
25786         (logb_test_data): Likewise.
25787         (logb_downward_test_data): Likewise.
25788         (lround_test_data): Likewise.
25789         (llround_test_data): Likewise.
25790         (modf_test_data): Likewise.
25791         (nearbyint_test_data): Likewise.
25792         (nextafter_test_data): Likewise.
25793         (nexttoward_test_data): Likewise.
25794         (pow_test_data): Likewise.
25795         (pow_tonearest_test_data): Likewise.
25796         (pow_towardzero_test_data): Likewise.
25797         (pow_downward_test_data): Likewise.
25798         (pow_upward_test_data): Likewise.
25799         (remainder_test_data): Likewise.
25800         (remainder_tonearest_test_data): Likewise.
25801         (remainder_towardzero_test_data): Likewise.
25802         (remainder_downward_test_data): Likewise.
25803         (remainder_upward_test_data): Likewise.
25804         (remquo_test_data): Likewise.
25805         (rint_test_data): Likewise.
25806         (rint_tonearest_test_data): Likewise.
25807         (rint_towardzero_test_data): Likewise.
25808         (rint_downward_test_data): Likewise.
25809         (rint_upward_test_data): Likewise.
25810         (round_test_data): Likewise.
25811         (scalb_test_data): Likewise.
25812         (scalbn_test_data): Likewise.
25813         (scalbln_test_data): Likewise.
25814         (signbit_test_data): Likewise.
25815         (sin_test_data): Likewise.
25816         (sin_tonearest_test_data): Likewise.
25817         (sin_towardzero_test_data): Likewise.
25818         (sin_downward_test_data): Likewise.
25819         (sin_upward_test_data): Likewise.
25820         (sincos_test_data): Likewise.
25821         (sinh_test_data): Likewise.
25822         (sinh_tonearest_test_data): Likewise.
25823         (sinh_towardzero_test_data): Likewise.
25824         (sinh_downward_test_data): Likewise.
25825         (sinh_upward_test_data): Likewise.
25826         (sqrt_test_data): Likewise.
25827         (tan_test_data): Likewise.
25828         (tan_tonearest_test_data): Likewise.
25829         (tan_towardzero_test_data): Likewise.
25830         (tan_downward_test_data): Likewise.
25831         (tan_upward_test_data): Likewise.
25832         (tanh_test_data): Likewise.
25833         (tgamma_test_data): Likewise.
25834         (trunc_test_data): Likewise.
25835         (y0_test_data): Likewise.
25836         (y1_test_data): Likewise.
25837         (yn_test_data): Likewise.
25838         (significand_test_data): Likewise.
25840         * math/gen-libm-test.pl (@functions): Remove variable.
25841         (generate_testfile): Don't handle START and END lines.
25842         * math/libm-test.inc (START): New macro.
25843         (END): Likewise.
25844         (END_COMPLEX): Likewise.
25845         (acos_test): Use END macro without arguments.
25846         (acos_test_tonearest): Likewise.
25847         (acos_test_towardzero): Likewise.
25848         (acos_test_downward): Likewise.
25849         (acos_test_upward): Likewise.
25850         (acosh_test): Likewise.
25851         (asin_test): Likewise.
25852         (asin_test_tonearest): Likewise.
25853         (asin_test_towardzero): Likewise.
25854         (asin_test_downward): Likewise.
25855         (asin_test_upward): Likewise.
25856         (asinh_test): Likewise.
25857         (atan_test): Likewise.
25858         (atanh_test): Likewise.
25859         (atan2_test): Likewise.
25860         (cabs_test): Likewise.
25861         (cacos_test): Use END_COMPLEX macro without arguments.
25862         (cacosh_test): Likewise.
25863         (carg_test): Use END macro without arguments.
25864         (casin_test): Use END_COMPLEX macro without arguments.
25865         (casinh_test): Likewise.
25866         (catan_test): Likewise.
25867         (catanh_test): Likewise.
25868         (cbrt_test): Use END macro without arguments.
25869         (ccos_test): Use END_COMPLEX macro without arguments.
25870         (ccosh_test): Likewise.
25871         (ceil_test): Use END macro without arguments.
25872         (cexp_test): Use END_COMPLEX macro without arguments.
25873         (cimag_test): Use END macro without arguments.
25874         (clog_test): Use END_COMPLEX macro without arguments.
25875         (clog10_test): Likewise.
25876         (conj_test): Likewise.
25877         (copysign_test): Use END macro without arguments.
25878         (cos_test): Likewise.
25879         (cos_test_tonearest): Likewise.
25880         (cos_test_towardzero): Likewise.
25881         (cos_test_downward): Likewise.
25882         (cos_test_upward): Likewise.
25883         (cosh_test): Likewise.
25884         (cosh_test_tonearest): Likewise.
25885         (cosh_test_towardzero): Likewise.
25886         (cosh_test_downward): Likewise.
25887         (cosh_test_upward): Likewise.
25888         (cpow_test): Use END_COMPLEX macro without arguments.
25889         (cproj_test): Likewise.
25890         (creal_test): Use END macro without arguments.
25891         (csin_test): Use END_COMPLEX macro without arguments.
25892         (csinh_test): Likewise.
25893         (csqrt_test): Likewise.
25894         (ctan_test): Likewise.
25895         (ctan_test_tonearest): Likewise.
25896         (ctan_test_towardzero): Likewise.
25897         (ctan_test_downward): Likewise.
25898         (ctan_test_upward): Likewise.
25899         (ctanh_test): Likewise.
25900         (ctanh_test_tonearest): Likewise.
25901         (ctanh_test_towardzero): Likewise.
25902         (ctanh_test_downward): Likewise.
25903         (ctanh_test_upward): Likewise.
25904         (erf_test): Use END macro without arguments.
25905         (erfc_test): Likewise.
25906         (exp_test): Likewise.
25907         (exp_test_tonearest): Likewise.
25908         (exp_test_towardzero): Likewise.
25909         (exp_test_downward): Likewise.
25910         (exp_test_upward): Likewise.
25911         (exp10_test): Likewise.
25912         (exp2_test): Likewise.
25913         (expm1_test): Likewise.
25914         (fabs_test): Likewise.
25915         (fdim_test): Likewise.
25916         (finite_test): Likewise.
25917         (floor_test): Likewise.
25918         (fma_test): Likewise.
25919         (fma_test_towardzero): Likewise.
25920         (fma_test_downward): Likewise.
25921         (fma_test_upward): Likewise.
25922         (fmax_test): Likewise.
25923         (fmin_test): Likewise.
25924         (fmod_test): Likewise.
25925         (fpclassify_test): Likewise.
25926         (frexp_test): Likewise.
25927         (gamma_test): Likewise.
25928         (hypot_test): Likewise.
25929         (ilogb_test): Likewise.
25930         (isfinite_test): Likewise.
25931         (isgreater_test): Likewise.
25932         (isgreaterequal_test): Likewise.
25933         (isinf_test): Likewise.
25934         (isless_test): Likewise.
25935         (islessequal_test): Likewise.
25936         (islessgreater_test): Likewise.
25937         (isnan_test): Likewise.
25938         (isnormal_test): Likewise.
25939         (issignaling_test): Likewise.
25940         (isunordered_test): Likewise.
25941         (j0_test): Likewise.
25942         (j1_test): Likewise.
25943         (jn_test): Likewise.
25944         (ldexp_test): Likewise.
25945         (lgamma_test): Likewise.
25946         (lrint_test): Likewise.
25947         (lrint_test_tonearest): Likewise.
25948         (lrint_test_towardzero): Likewise.
25949         (lrint_test_downward): Likewise.
25950         (lrint_test_upward): Likewise.
25951         (llrint_test): Likewise.
25952         (llrint_test_tonearest): Likewise.
25953         (llrint_test_towardzero): Likewise.
25954         (llrint_test_downward): Likewise.
25955         (llrint_test_upward): Likewise.
25956         (log_test): Likewise.
25957         (log10_test): Likewise.
25958         (log1p_test): Likewise.
25959         (log2_test): Likewise.
25960         (logb_test): Likewise.
25961         (logb_test_downward): Likewise.
25962         (lround_test): Likewise.
25963         (llround_test): Likewise.
25964         (modf_test): Likewise.
25965         (nearbyint_test): Likewise.
25966         (nextafter_test): Likewise.
25967         (nexttoward_test): Likewise.
25968         (pow_test): Likewise.
25969         (pow_test_tonearest): Likewise.
25970         (pow_test_towardzero): Likewise.
25971         (pow_test_downward): Likewise.
25972         (pow_test_upward): Likewise.
25973         (remainder_test): Likewise.
25974         (remainder_test_tonearest): Likewise.
25975         (remainder_test_towardzero): Likewise.
25976         (remainder_test_downward): Likewise.
25977         (remainder_test_upward): Likewise.
25978         (remquo_test): Likewise.
25979         (rint_test): Likewise.
25980         (rint_test_tonearest): Likewise.
25981         (rint_test_towardzero): Likewise.
25982         (rint_test_downward): Likewise.
25983         (rint_test_upward): Likewise.
25984         (round_test): Likewise.
25985         (scalb_test): Likewise.
25986         (scalbn_test): Likewise.
25987         (scalbln_test): Likewise.
25988         (signbit_test): Likewise.
25989         (sin_test): Likewise.
25990         (sin_test_tonearest): Likewise.
25991         (sin_test_towardzero): Likewise.
25992         (sin_test_downward): Likewise.
25993         (sin_test_upward): Likewise.
25994         (sincos_test): Likewise.
25995         (sinh_test): Likewise.
25996         (sinh_test_tonearest): Likewise.
25997         (sinh_test_towardzero): Likewise.
25998         (sinh_test_downward): Likewise.
25999         (sinh_test_upward): Likewise.
26000         (sqrt_test): Likewise.
26001         (tan_test): Likewise.
26002         (tan_test_tonearest): Likewise.
26003         (tan_test_towardzero): Likewise.
26004         (tan_test_downward): Likewise.
26005         (tan_test_upward): Likewise.
26006         (tanh_test): Likewise.
26007         (tgamma_test): Likewise.
26008         (trunc_test): Likewise.
26009         (y0_test): Likewise.
26010         (y1_test): Likewise.
26011         (yn_test): Likewise.
26012         (significand_test): Likewise.
26014 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26016         [BZ #15381]
26017         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26019 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26021         [BZ #14894]
26022         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26023         __ppc_mdoio and __ppc_mdoom.
26024         * manual/platform.texi: Document new functions __ppc_yield,
26025         __ppc_mdoio and __ppc_mdoom.
26027 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26029         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26030         (main): Mention "tls" pseudo-hwcap is legacy.
26031         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26033 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26035         * math/gen-libm-test.pl (parse_args): Output only string of
26036         arguments as text for test name, not full call or descriptions of
26037         tests for extra outputs.
26038         (generate_testfile): Do not pass function name to parse_args.
26039         Generate this_func variable from START.
26040         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26041         field to arg_str.
26042         (struct test_ff_f_data): Likewise.
26043         (test_ff_f_data_nexttoward): Likewise.
26044         (struct test_fi_f_data): Likewise.
26045         (struct test_fl_f_data): Likewise.
26046         (struct test_if_f_data): Likewise.
26047         (struct test_fff_f_data): Likewise.
26048         (struct test_c_f_data): Likewise.
26049         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26050         (struct test_fF_f1_data): Likewise.
26051         (struct test_ffI_f1_data): Likewise.
26052         (struct test_c_c_data): Rename test_name field to arg_str.
26053         (struct test_cc_c_data): Likewise.
26054         (struct test_f_i_data): Likewise.
26055         (struct test_ff_i_data): Likewise.
26056         (struct test_f_l_data): Likewise.
26057         (struct test_f_L_data): Likewise.
26058         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26059         and extra2_name.
26060         (COMMON_TEST_SETUP): New macro.
26061         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26062         (COMMON_TEST_CLEANUP): Likewise.
26063         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26064         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26065         macros.
26066         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26067         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26068         macros.
26069         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26070         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26071         cleanup macros.
26072         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26073         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26074         macros.
26075         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26076         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26077         macros.
26078         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26079         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26080         cleanup macros.
26081         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26082         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26083         cleanup macros.
26084         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26085         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26086         cleanup macros.
26087         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26088         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26089         macros.
26090         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26091         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26092         macros.
26093         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26094         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26095         macros.
26096         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26097         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26098         cleanup macros.
26099         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26100         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26101         cleanup macros.
26102         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26103         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26104         macros.
26105         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26106         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26107         cleanup macros.
26108         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26109         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26110         macros.
26111         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26112         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26113         macros.
26114         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26115         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26116         cleanup macros.
26117         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26119 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26121         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26122         to _sifields.sigfault.
26123         (si_addr_lsb): Define new macro.
26124         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26128 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26130         [BZ #15441]
26131         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26132         returns -1.
26133         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26134         null return -1.
26135         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26136         loading the domain.
26138 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26140         * math/gen-libm-test.pl (parse_args): Do not include expected
26141         result in test name.
26142         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26143         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26144         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26145         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26146         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26149 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26151         * benchtests/Makefile: Sort function entries.
26153         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26154         tanh, asinh, acosh, atanh.
26155         * benchtests/acos-inputs: New file.
26156         * benchtests/acosh-inputs: New file.
26157         * benchtests/asin-inputs: New file.
26158         * benchtests/asinh-inputs: New file.
26159         * benchtests/atanh-inputs: New file.
26160         * benchtests/cosh-inputs: New file.
26161         * benchtests/log-inputs: New file.
26162         * benchtests/sinh-inputs: New file.
26163         * benchtests/tanh-inputs: New file.
26165 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26167         [BZ #15339]
26168         * posix/tst-getaddrinfo4.c: New test.
26169         * posix/Makefile (tests): Add it.
26171 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26173         [BZ #15339]
26174         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26175         when no services were used.
26176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26177         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26179 2013-05-21  Andreas Schwab  <schwab@suse.de>
26181         [BZ #15014]
26182         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26183         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26184         successful.
26185         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26186         redundant variable declarations and reallocation of buffer when
26187         parsing as IPv6 address.  Always set NSS status when called from
26188         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26189         buffer too small.  Correct computation of needed size.
26190         * nss/Makefile (tests): Add test-digits-dots.
26191         * nss/test-digits-dots.c: New test.
26193 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26195         * benchtests/Makefile: Remove instructions for adding
26196         benchmark tests.
26197         * benchtests/README: New file to explain how to execute and
26198         enhance the benchmark tests.
26200 2013-05-21  Andreas Schwab  <schwab@suse.de>
26202         [BZ #15493]
26203         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26204         * setjmp/tst-sigsetjmp.c: New test.
26206 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26208         * sysdeps/x86_64/memset.S (memset): New implementation.
26209         (__bzero): Likewise.
26210         (__memset_tail): New function.
26212 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26214         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26215         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26216         __memcpy_sse2_unaligned ifunc selection.
26217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26218         Add memcpy-sse2-unaligned.S.
26219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26220         Add: __memcpy_sse2_unaligned.
26222 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26224         [BZ #15490]
26225         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26226         math_force_eval before restoring floating-point envrionment.
26227         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26229         Likewise.
26230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26231         <math_private.h>.
26232         (__nearbyintl): Use math_force_eval before restoring
26233         floating-point environment.
26234         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26236         * math/gen-libm-test.pl (special_functions): Remove.
26237         (parse_args): Don't handle TEST_extra.  Handle functions with no
26238         return value.
26239         * math/libm-test.inc (struct test_sincos_data): Replace with
26240         struct test_fFF_11_data.
26241         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26242         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26243         (sincos_test_data): Change element type to struct
26244         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26245         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26246         RUN_TEST_LOOP_sincos.
26247         * math/README.libm-test: Don't mention special handling of
26248         individual functions.
26249         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26250         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26251         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256         * math/gen-libm-test.pl (get_variable): Remove function.
26257         (parse_args): Don't show pointer parameters to call in test
26258         names.  Use "extra output N" in test names for extra outputs
26259         rather than naming variables.
26261 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26263         [BZ #15488]
26264         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26265         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26266         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26267         double tests.
26268         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26269         disable.
26270         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26271         check_long_double.
26273         * math/gen-libm-test.pl (@tests): Remove variable.
26274         ($count): Likewise.
26275         (new_test): Remove function.
26276         (show_exceptions): New function.
26277         (special_functions): Use show_exceptions instead of new_test.
26278         (parse_args): Likewise.
26279         (generate_testfile): Pass only function name in generated call to
26280         print_max_error or print_complex_max_error.
26281         (get_ulps): Do not handle complex tests specially.
26282         (output_test): Rename to ...
26283         (get_all_ulps_for_test): ... this.  Return a string rather than
26284         printing to a file.  Require ulps to be present.
26285         (output_ulps): Generate arrays rather than #defines.
26286         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26287         (struct ulp_data): New type.
26288         (BUILD_COMPLEX_ULP): Remove macro.
26289         (compare_ulp_data): New function.
26290         (find_ulps): Likewise.
26291         (find_test_ulps): Likewise.
26292         (find_function_ulps): Likewise.
26293         (find_complex_function_ulps): Likewise.
26294         (print_max_error): Determine allowed ulps using
26295         find_function_ulps.
26296         (print_complex_max_error): Determine allowed ulps using
26297         find_complex_function_ulps.
26298         (check_float_internal): Determine max ulps using find_test_ulps.
26299         (check_float): Do not take max_ulp parameter.  Update call to
26300         check_float_internal.
26301         (check_complex): Likewise.
26302         (check_int): Do not take max_ulp parameter.
26303         (check_long): Likewise.
26304         (check_bool): Likewise.
26305         (check_longlong): Likewise.
26306         (struct test_f_f_data): Remove max_ulp field.
26307         (struct test_ff_f_data): Likewise.
26308         (struct test_ff_f_data_nexttoward): Likewise.
26309         (struct test_fi_f_data): Likewise.
26310         (struct test_fl_f_data): Likewise.
26311         (struct test_if_f_data): Likewise.
26312         (struct test_fff_f_data): Likewise.
26313         (struct test_c_f_data): Likewise.
26314         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26315         (struct test_fF_f1_data): Likewise.
26316         (struct test_ffI_f1_data): Likewise.
26317         (struct test_c_c_data): Remove max_ulp field.
26318         (struct test_cc_c_data): Likewise.
26319         (struct test_f_i_data): Likewise.
26320         (struct test_ff_i_data): Likewise.
26321         (struct test_f_l_data): Likewise.
26322         (struct test_f_L_data): Likewise.
26323         (struct test_sincos_data): Likewise.
26324         (RUN_TEST_f_f): Do not handle ulps.
26325         (RUN_TEST_LOOP_f_f): Likewise.
26326         (RUN_TEST_2_f): Likewise.
26327         (RUN_TEST_LOOP_2_f): Likewise.
26328         (RUN_TEST_fff_f): Likewise.
26329         (RUN_TEST_LOOP_fff_f): Likewise.
26330         (RUN_TEST_c_f): Likewise.
26331         (RUN_TEST_LOOP_c_f): Likewise.
26332         (RUN_TEST_f_f1): Likewise.
26333         (RUN_TEST_LOOP_f_f1): Likewise.
26334         (RUN_TEST_fF_f1): Likewise.
26335         (RUN_TEST_LOOP_fF_f1): Likewise.
26336         (RUN_TEST_fI_f1): Likewise.
26337         (RUN_TEST_LOOP_fI_f1): Likewise.
26338         (RUN_TEST_ffI_f1): Likewise.
26339         (RUN_TEST_LOOP_ffI_f1): Likewise.
26340         (RUN_TEST_c_c): Likewise.
26341         (RUN_TEST_LOOP_c_c): Likewise.
26342         (RUN_TEST_cc_c): Likewise.
26343         (RUN_TEST_LOOP_cc_c): Likewise.
26344         (RUN_TEST_f_i): Likewise.
26345         (RUN_TEST_LOOP_f_i): Likewise.
26346         (RUN_TEST_f_i_tg): Likewise.
26347         (RUN_TEST_LOOP_f_i_tg): Likewise.
26348         (RUN_TEST_ff_i_tg): Likewise.
26349         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26350         (RUN_TEST_f_b): Likewise.
26351         (RUN_TEST_LOOP_f_b): Likewise.
26352         (RUN_TEST_f_b_tg): Likewise.
26353         (RUN_TEST_LOOP_f_b_tg): Likewise.
26354         (RUN_TEST_f_l): Likewise.
26355         (RUN_TEST_LOOP_f_l): Likewise.
26356         (RUN_TEST_f_L): Likewise.
26357         (RUN_TEST_LOOP_f_L): Likewise.
26358         (RUN_TEST_sincos): Likewise.
26359         (RUN_TEST_LOOP_sincos): Likewise.
26361 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26363         [BZ #15480]
26364         [BZ #15485]
26365         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26366         main case of finite arguments, set rounding mode to FE_TONEAREST
26367         and discard exceptions.
26368         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26369         exceptions.
26370         (remainder_tonearest_test_data): New variable.
26371         (remainder_test_tonearest): New function.
26372         (remainder_towardzero_test_data): New variable.
26373         (remainder_test_towardzero): New function.
26374         (remainder_downward_test_data): New variable.
26375         (remainder_test_downward): New function.
26376         (remainder_upward_test_data): New variable.
26377         (remainder_test_upward): New function.
26378         (main): Call the new test functions.
26380         * math/libm-test.inc (struct test_f_f1_data): Remove field
26381         extra_init.
26382         (struct test_fF_f1_data): Likewise.
26383         (struct test_ffI_f1_data): Likewise.
26384         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26385         based on value of EXTRA_EXPECTED.
26386         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26387         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26388         EXTRA_VAR based on value of EXTRA_EXPECTED.
26389         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26390         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26391         EXTRA_VAR based on value of EXTRA_EXPECTED.
26392         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26393         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26394         EXTRA_VAR based on value of EXTRA_EXPECTED.
26395         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26396         * math/gen-libm-test.pl (parse_args): Don't output initializers
26397         for extra output values.
26399         * math/libm-test.inc (check_int): Expect result to be exactly
26400         equal to expected value and do not handle ulps.
26401         (check_long): Likewise.
26402         (check_longlong): Likewise.
26404         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26405         exceptions.
26406         (cimag_test_data): Likewise.
26407         (conj_test_data): Likewise.
26408         (copysign_test_data): Likewise.
26409         (cproj_test_data): Likewise.
26410         (creal_test_data): Likewise.
26411         (fabs_test_data): Likewise.
26412         (fdim_test_data): Likewise.
26413         (finite_test_data): Likewise.
26414         (floor_test_data): Likewise.
26415         (fmax_test_data): Likewise.
26416         (fmin_test_data): Likewise.
26417         (fmod_test_data): Likewise.
26418         (fpclassify_test_data): Likewise.
26419         (frexp_test_data): Likewise.
26420         (ilogb_test_data): Likewise.
26421         (isfinite_test_data): Likewise.
26422         (isgreater_test_data): Likewise.
26423         (isgreaterequal_test_data): Likewise.
26424         (isinf_test_data): Likewise.
26425         (isless_test_data): Likewise.
26426         (islessequal_test_data): Likewise.
26427         (islessgreater_test_data): Likewise.
26428         (isnan_test_data): Likewise.
26429         (isnormal_test_data): Likewise.
26430         (issignaling_test_data): Likewise.
26431         (isunordered_test_data): Likewise.
26432         (ldexp_test_data): Likewise.
26433         (lrint_test_data): Likewise.
26434         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26435         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26436         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26437         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26438         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26439         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26440         test input.
26441         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26442         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26443         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26444         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26445         that test input.
26446         (lrint_downward_test_data): Test for "inexact" exceptions.
26447         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26448         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26449         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26450         test input.
26451         (lrint_upward_test_data): Test for "inexact" exceptions.
26452         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26453         test input.
26454         (llrint_test_data): Test for "inexact" exceptions.
26455         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26456         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26457         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26458         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26459         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26460         (llrint_downward_test_data): Test for "inexact" exceptions.
26461         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26462         (llrint_upward_test_data): Test for "inexact" exceptions.
26463         (logb_test_data): Likewise.
26464         (logb_downward_test_data): Likewise.
26465         (nextafter_test_data): Likewise.
26466         (nexttoward_test_data): Likewise.
26467         (remainder_test_data): Likewise.
26468         (remquo_test_data): Likewise.
26469         (scalbn_test_data): Likewise.
26470         (scalbln_test_data): Likewise.
26471         (signbit_test_data): Likewise.
26472         (sqrt_test_data): Likewise.
26473         (significand_test_data): Likewise.
26475 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26477         [BZ #15424]
26478         * benchtests/bench-modf.c (struct args): Mark arg0 as
26479         volatile.
26480         * scripts/bench.pl: Mark members of struct args as volatile.
26482 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26484         [BZ # 15497]
26485         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26486         negative infinity on POWER6 or lower.
26487         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26489 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26491         [BZ #15442]
26492         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26493         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26494         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26495         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26496         (_FP_SETQNAN): New macro.
26497         (_FP_SETQNAN_SEMIRAW): Likewise.
26498         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26499         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26500         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26501         (FP_EXTEND): Use _FP_FRAC_SNANP.
26502         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26503         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26504         into account.
26505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26506         New macro.
26507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26508         Likewise.
26510 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26512         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26513         with DIVIDE_BY_ZERO_EXCEPTION.
26514         (gamma_test_data): Likewise.
26515         (lgamma_test_data): Likewise.
26516         (log_test_data): Likewise.
26517         (log10_test_data): Likewise.
26518         (log2_test_data): Likewise.
26519         (tgamma_test_data): Likewise.
26521         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26522         (acos_test_tonearest): Likewise.
26523         (acos_test_towardzero): Likewise.
26524         (acos_test_downward): Likewise.
26525         (acos_test_upward): Likewise.
26526         (acosh_test): Likewise.
26527         (asin_test): Likewise.
26528         (asin_test_tonearest): Likewise.
26529         (asin_test_towardzero): Likewise.
26530         (asin_test_downward): Likewise.
26531         (asin_test_upward): Likewise.
26532         (asinh_test): Likewise.
26533         (atan_test): Likewise.
26534         (atanh_test): Likewise.
26535         (atan2_test): Likewise.
26536         (cabs_test): Likewise.
26537         (cacos_test): Likewise.
26538         (cacosh_test): Likewise.
26539         (casin_test): Likewise.
26540         (casinh_test): Likewise.
26541         (catan_test): Likewise.
26542         (catanh_test): Likewise.
26543         (cbrt_test): Likewise.
26544         (ccos_test): Likewise.
26545         (ccosh_test): Likewise.
26546         (cexp_test): Likewise.
26547         (clog_test): Likewise.
26548         (clog10_test): Likewise.
26549         (cos_test): Likewise.
26550         (cos_test_tonearest): Likewise.
26551         (cos_test_towardzero): Likewise.
26552         (cos_test_downward): Likewise.
26553         (cos_test_upward): Likewise.
26554         (cosh_test): Likewise.
26555         (cosh_test_tonearest): Likewise.
26556         (cosh_test_towardzero): Likewise.
26557         (cosh_test_downward): Likewise.
26558         (cosh_test_upward): Likewise.
26559         (cpow_test): Likewise.
26560         (csin_test): Likewise.
26561         (csinh_test): Likewise.
26562         (csqrt_test): Likewise.
26563         (ctan_test): Likewise.
26564         (ctan_test_tonearest): Likewise.
26565         (ctan_test_towardzero): Likewise.
26566         (ctan_test_downward): Likewise.
26567         (ctan_test_upward): Likewise.
26568         (ctanh_test): Likewise.
26569         (ctanh_test_tonearest): Likewise.
26570         (ctanh_test_towardzero): Likewise.
26571         (ctanh_test_downward): Likewise.
26572         (ctanh_test_upward): Likewise.
26573         (erf_test): Likewise.
26574         (erfc_test): Likewise.
26575         (exp_test): Likewise.
26576         (exp_test_tonearest): Likewise.
26577         (exp_test_towardzero): Likewise.
26578         (exp_test_downward): Likewise.
26579         (exp_test_upward): Likewise.
26580         (exp10_test): Likewise.
26581         (exp2_test): Likewise.
26582         (expm1_test): Likewise.
26583         (fmod_test): Likewise.
26584         (gamma_test): Likewise.
26585         (hypot_test): Likewise.
26586         (j0_test): Likewise.
26587         (j1_test): Likewise.
26588         (jn_test): Likewise.
26589         (lgamma_test): Likewise.
26590         (log_test): Likewise.
26591         (log10_test): Likewise.
26592         (log1p_test): Likewise.
26593         (log2_test): Likewise.
26594         (logb_test_downward): Likewise.
26595         (pow_test): Likewise.
26596         (pow_test_tonearest): Likewise.
26597         (pow_test_towardzero): Likewise.
26598         (pow_test_downward): Likewise.
26599         (pow_test_upward): Likewise.
26600         (remainder_test): Likewise.
26601         (remquo_test): Likewise.
26602         (sin_test): Likewise.
26603         (sin_test_tonearest): Likewise.
26604         (sin_test_towardzero): Likewise.
26605         (sin_test_downward): Likewise.
26606         (sin_test_upward): Likewise.
26607         (sincos_test): Likewise.
26608         (sinh_test): Likewise.
26609         (sinh_test_tonearest): Likewise.
26610         (sinh_test_towardzero): Likewise.
26611         (sinh_test_downward): Likewise.
26612         (sinh_test_upward): Likewise.
26613         (sqrt_test): Likewise.
26614         (tan_test): Likewise.
26615         (tan_test_tonearest): Likewise.
26616         (tan_test_towardzero): Likewise.
26617         (tan_test_downward): Likewise.
26618         (tan_test_upward): Likewise.
26619         (tanh_test): Likewise.
26620         (tgamma_test): Likewise.
26621         (y0_test): Likewise.
26622         (y1_test): Likewise.
26623         (yn_test): Likewise.
26625         * math/gen-libm-test.pl (adjust_arg): Remove function.
26626         (special_function): Remove argument $in_func.  Only handle
26627         generating output for tables of tests, not inside functions.
26628         (parse_args): Likewise.
26629         (generate_testfile): Remove variable $in_func.  Update call to
26630         parse_args.
26631         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26632         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26633         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26634         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26635         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26636         (MAX_VALUE_INIT): Rename macro to max_value.
26637         (MIN_VALUE_INIT): Rename macro to min_value.
26638         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26639         (plus_zero): Remove variable.
26640         (minus_zero): Likewise.
26641         (plus_infty): Likewise.
26642         (minus_infty): Likewise.
26643         (qnan_value): Likewise.
26644         (max_value): Likewise.
26645         (min_value): Likewise.
26646         (min_subnorm_value): Likewise.
26648 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26650         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26651         uint64_t or uint32_t usage.
26652         * crypt/sha256-block.c: Likewise.
26653         * crypt/sha256-crypt.c: Likewise.
26654         * crypt/sha256.c: Likewise.
26655         * crypt/sha512-block.c: Likewise.
26656         * crypt/sha512-crypt.c: Likewise.
26657         * crypt/sha512.c: Likewise.
26658         * debug/backtrace-tst.c: Likewise.
26659         * debug/pcprofiledump.c: Likewise.
26660         * elf/cache.c: Likewise.
26661         * elf/dl-cache.c: Likewise.
26662         * elf/dl-misc.c: Likewise.
26663         * elf/dl-profile.c: Likewise.
26664         * elf/dl-support.c: Likewise.
26665         * elf/ldconfig.c: Likewise.
26666         * elf/sprof.c: Likewise.
26667         * iconv/dummy-repertoire.c: Likewise.
26668         * iconv/iconv_charmap.c: Likewise.
26669         * iconv/skeleton.c: Likewise.
26670         * iconvdata/8bit-generic.c: Likewise.
26671         * iconvdata/cp737.h: Likewise.
26672         * iconvdata/cp775.h: Likewise.
26673         * iconvdata/ibm1008.h: Likewise.
26674         * iconvdata/ibm1025.h: Likewise.
26675         * iconvdata/ibm1046.h: Likewise.
26676         * iconvdata/ibm1097.h: Likewise.
26677         * iconvdata/ibm1112.h: Likewise.
26678         * iconvdata/ibm1122.h: Likewise.
26679         * iconvdata/ibm1123.h: Likewise.
26680         * iconvdata/ibm1124.h: Likewise.
26681         * iconvdata/ibm1129.h: Likewise.
26682         * iconvdata/ibm1130.h: Likewise.
26683         * iconvdata/ibm1132.h: Likewise.
26684         * iconvdata/ibm1133.h: Likewise.
26685         * iconvdata/ibm1137.h: Likewise.
26686         * iconvdata/ibm1140.h: Likewise.
26687         * iconvdata/ibm1141.h: Likewise.
26688         * iconvdata/ibm1142.h: Likewise.
26689         * iconvdata/ibm1143.h: Likewise.
26690         * iconvdata/ibm1144.h: Likewise.
26691         * iconvdata/ibm1145.h: Likewise.
26692         * iconvdata/ibm1146.h: Likewise.
26693         * iconvdata/ibm1147.h: Likewise.
26694         * iconvdata/ibm1148.h: Likewise.
26695         * iconvdata/ibm1149.h: Likewise.
26696         * iconvdata/ibm1153.h: Likewise.
26697         * iconvdata/ibm1154.h: Likewise.
26698         * iconvdata/ibm1155.h: Likewise.
26699         * iconvdata/ibm1156.h: Likewise.
26700         * iconvdata/ibm1157.h: Likewise.
26701         * iconvdata/ibm1158.h: Likewise.
26702         * iconvdata/ibm1160.h: Likewise.
26703         * iconvdata/ibm1161.h: Likewise.
26704         * iconvdata/ibm1162.h: Likewise.
26705         * iconvdata/ibm1163.h: Likewise.
26706         * iconvdata/ibm1164.h: Likewise.
26707         * iconvdata/ibm1166.h: Likewise.
26708         * iconvdata/ibm1167.h: Likewise.
26709         * iconvdata/ibm12712.h: Likewise.
26710         * iconvdata/ibm1390.h: Likewise.
26711         * iconvdata/ibm1399.h: Likewise.
26712         * iconvdata/ibm16804.h: Likewise.
26713         * iconvdata/ibm4517.h: Likewise.
26714         * iconvdata/ibm4899.h: Likewise.
26715         * iconvdata/ibm4909.h: Likewise.
26716         * iconvdata/ibm4971.h: Likewise.
26717         * iconvdata/ibm5347.h: Likewise.
26718         * iconvdata/ibm803.h: Likewise.
26719         * iconvdata/ibm856.h: Likewise.
26720         * iconvdata/ibm901.h: Likewise.
26721         * iconvdata/ibm902.h: Likewise.
26722         * iconvdata/ibm9030.h: Likewise.
26723         * iconvdata/ibm9066.h: Likewise.
26724         * iconvdata/ibm921.h: Likewise.
26725         * iconvdata/ibm922.h: Likewise.
26726         * iconvdata/ibm9448.h: Likewise.
26727         * iconvdata/isiri-3342.h: Likewise.
26728         * iconvdata/jis0201.h: Likewise.
26729         * include/link.h: Likewise.
26730         * include/netdb.h: Likewise.
26731         * inet/check_native.c: Likewise.
26732         * inet/check_pf.c: Likewise.
26733         * inet/getipv4sourcefilter.c: Likewise.
26734         * inet/getnameinfo.c: Likewise.
26735         * inet/getsourcefilter.c: Likewise.
26736         * inet/htonl.c: Likewise.
26737         * inet/setipv4sourcefilter.c: Likewise.
26738         * inet/setsourcefilter.c: Likewise.
26739         * inet/test-inet6_opt.c: Likewise.
26740         * inet/tst-network.c: Likewise.
26741         * locale/C-collate.c: Likewise.
26742         * locale/C-ctype.c: Likewise.
26743         * locale/C-time.c: Likewise.
26744         * locale/C-translit.h: Likewise.
26745         * locale/loadarchive.c: Likewise.
26746         * locale/programs/3level.h: Likewise.
26747         * locale/programs/charmap.c: Likewise.
26748         * locale/programs/charmap.h: Likewise.
26749         * locale/programs/ld-address.c: Likewise.
26750         * locale/programs/ld-collate.c: Likewise.
26751         * locale/programs/ld-ctype.c: Likewise.
26752         * locale/programs/ld-identification.c: Likewise.
26753         * locale/programs/ld-measurement.c: Likewise.
26754         * locale/programs/ld-messages.c: Likewise.
26755         * locale/programs/ld-monetary.c: Likewise.
26756         * locale/programs/ld-name.c: Likewise.
26757         * locale/programs/ld-numeric.c: Likewise.
26758         * locale/programs/ld-paper.c: Likewise.
26759         * locale/programs/ld-telephone.c: Likewise.
26760         * locale/programs/ld-time.c: Likewise.
26761         * locale/programs/linereader.c: Likewise.
26762         * locale/programs/locale.c: Likewise.
26763         * locale/programs/locarchive.c: Likewise.
26764         * locale/programs/locfile.h: Likewise.
26765         * locale/programs/repertoire.c: Likewise.
26766         * locale/programs/simple-hash.c: Likewise.
26767         * locale/programs/simple-hash.h: Likewise.
26768         * malloc/memusage.c: Likewise.
26769         * malloc/memusagestat.c: Likewise.
26770         * nis/nis_defaults.c: Likewise.
26771         * nis/nis_hash.c: Likewise.
26772         * nis/nis_print.c: Likewise.
26773         * nis/nis_xdr.c: Likewise.
26774         * nscd/connections.c: Likewise.
26775         * nscd/hstcache.c: Likewise.
26776         * nscd/nscd_gethst_r.c: Likewise.
26777         * nscd/nscd_getserv_r.c: Likewise.
26778         * nscd/nscd_helper.c: Likewise.
26779         * nscd/servicescache.c: Likewise.
26780         * nss/makedb.c: Likewise.
26781         * nss/nss_db/db-XXX.c: Likewise.
26782         * nss/nss_db/db-initgroups.c: Likewise.
26783         * nss/nss_db/db-netgrp.c: Likewise.
26784         * nss/nss_files/files-network.c: Likewise.
26785         * nss/nss_files/files-parse.c: Likewise.
26786         * posix/bug-regex5.c: Likewise.
26787         * posix/fnmatch_loop.c: Likewise.
26788         * posix/regcomp.c: Likewise.
26789         * posix/regexec.c: Likewise.
26790         * posix/tst-rfc3484-2.c: Likewise.
26791         * posix/tst-rfc3484-3.c: Likewise.
26792         * posix/tst-rfc3484.c: Likewise.
26793         * resolv/nss_dns/dns-canon.c: Likewise.
26794         * resolv/nss_dns/dns-network.c: Likewise.
26795         * resolv/res_init.c: Likewise.
26796         * resolv/res_mkquery.c: Likewise.
26797         * resolv/tst-aton.c: Likewise.
26798         * stdlib/cxa_atexit.c: Likewise.
26799         * stdlib/cxa_finalize.c: Likewise.
26800         * stdlib/gen-fpioconst.c: Likewise.
26801         * stdlib/strtol_l.c: Likewise.
26802         * string/tst-endian.c: Likewise.
26803         * sunrpc/auth_des.c: Likewise.
26804         * sunrpc/clnt_udp.c: Likewise.
26805         * sunrpc/rtime.c: Likewise.
26806         * sunrpc/svcauth_des.c: Likewise.
26807         * sunrpc/xdr.c: Likewise.
26808         * sunrpc/xdr_intXX_t.c: Likewise.
26809         * sunrpc/xdr_rec.c: Likewise.
26810         * sysdeps/generic/ldconfig.h: Likewise.
26811         * sysdeps/generic/ldsodefs.h: Likewise.
26812         * sysdeps/generic/memusage.h: Likewise.
26813         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26814         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26815         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26816         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26817         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26819         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26820         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26821         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26823         * sysdeps/posix/getaddrinfo.c: Likewise.
26824         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26825         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26826         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26827         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26828         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26829         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26830         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26831         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26832         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26833         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26834         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26835         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26836         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26837         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26838         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26839         * sysdeps/x86_64/dl-tls.h: Likewise.
26840         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26841         * time/alt_digit.c: Likewise.
26842         * time/era.c: Likewise.
26843         * wcsmbs/tst-c16c32-1.c: Likewise.
26845 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26847         * math/libm-test.inc (struct test_sincos_data): New type.
26848         (RUN_TEST_LOOP_sincos): New macro.
26849         (sincos_test_data): New variable.
26850         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26852 2013-05-16  Richard Henderson  <rth@redhat.com>
26854         * math/atest-exp2.c (LIMB64): New macro.
26855         (CONSTSZ): New macro.
26856         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26857         (hexdig): Move ...
26858         (print_mpn_fp): ... to function scope.
26859         (read_mpn_hex): Remove.
26860         (get_log2): Remove.
26861         (exp2_mpn): Use mp_log2.
26862         (main): Use mp_exp1.
26864 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26866         * math/libm-test.inc: Remove comment about not testing "inexact"
26867         exceptions.
26868         (INEXACT_EXCEPTION): New macro.
26869         (NO_INEXACT_EXCEPTION): Likewise.
26870         (INVALID_EXCEPTION_OK): Update value.
26871         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26872         (OVERFLOW_EXCEPTION_OK): Likewise.
26873         (UNDERFLOW_EXCEPTION_OK): Likewise.
26874         (IGNORE_ZERO_INF_SIGN): Likewise.
26875         (ERRNO_UNCHANGED): Likewise.
26876         (ERRNO_EDOM): Likewise.
26877         (ERRNO_ERANGE): Likewise.
26878         (test_exceptions): Handle testing "inexact" exceptions.
26879         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26880         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26881         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26882         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26883         INEXACT_EXCEPTION.
26884         (rint_towardzero_test_data): Likewise.
26885         (rint_downward_test_data): Likewise.
26886         (rint_upward_test_data): Likewise.
26888         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26889         with OVERFLOW_EXCEPTION.
26890         (exp10_test_data): Likewise.
26891         (exp2_test_data): Likewise.
26892         (expm1_test_data): Likewise.
26893         (lgamma_test_data): Likewise.
26894         (pow_test_data): Likewise.
26895         (tgamma_test_data): Likewise.
26896         (yn_test_data): Remove duplicate test of overflow.
26898         * math/libm-test.inc (struct test_cc_c_data): New type.
26899         (RUN_TEST_LOOP_cc_c): New macro.
26900         (cpow_test_data): New variable.
26901         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26903         * math/libm-test.inc (struct test_f_L_data): New type.
26904         (RUN_TEST_LOOP_f_L): New macro.
26905         (llrint_test_data): New variable.
26906         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26907         (llrint_tonearest_test_data): New variable.
26908         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26909         (llrint_towardzero_test_data): New variable.
26910         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26911         (llrint_downward_test_data): New variable.
26912         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26913         (llrint_upward_test_data): New variable.
26914         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26915         (llround_test_data): New variable.
26916         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26918 2013-05-13  Peter Collingbourne  <pcc@google.com>
26920         * math/atest-exp2.c (get_log2): Remove const attribute.
26922 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26924         * math/libm-test.inc (struct test_f_l_data): New type.
26925         (RUN_TEST_LOOP_f_l): New macro.
26926         (lrint_test_data): New variable.
26927         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26928         (lrint_tonearest_test_data): New variable.
26929         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26930         (lrint_towardzero_test_data): New variable.
26931         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26932         (lrint_downward_test_data): New variable.
26933         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26934         (lrint_upward_test_data): New variable.
26935         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26936         (lround_test_data): New variable.
26937         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26939 2013-05-15  Peter Collingbourne  <pcc@google.com>
26941         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26942         (EXTRACT_WORDS64) Use where appropriate.
26943         (INSERT_WORDS64) Likewise.
26945         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26946         constraints with x constraints.
26947         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26949         * malloc/obstack.c (_obstack_compat): Add initializer.
26951 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26954         si_trapno and add si_addr_lsb to _sifields.sigfault.
26955         (si_trapno): Remove macro.
26956         (si_addr_lsb): Define new macro.
26957         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26959 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26961         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26962         instead of TEST_f_l.
26963         (llrint_test_tonearest): Likewise.
26964         (llrint_test_towardzero): Likewise.
26965         (llrint_test_downward): Likewise.
26966         (llrint_test_upward): Likewise.
26967         (llround_test): Likewise.
26969         * math/libm-test.inc (struct test_f_i_data): Add comment.
26970         (RUN_TEST_LOOP_f_b): New macro.
26971         (RUN_TEST_LOOP_f_b_tg): Likewise.
26972         (finite_test_data): New variable.
26973         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26974         (isfinite_test_data): New variable.
26975         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26976         (isinf_test_data): New variable.
26977         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26978         (isnan_test_data): New variable.
26979         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26980         (isnormal_test_data): New variable.
26981         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26982         (issignaling_test_data): New variable.
26983         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26984         (signbit_test_data): New variable.
26985         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26987         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26988         with INVALID_EXCEPTION.
26989         (acosh_test_data): Likewise.
26990         (asin_test_data): Likewise.
26991         (atanh_test_data): Likewise.
26992         (fmod_test_data): Likewise.
26993         (log_test_data): Likewise.
26994         (log10_test_data): Likewise.
26995         (log2_test_data): Likewise.
26996         (pow_test_data): Likewise.
26997         (sqrt_test_data): Likewise.
26998         (y0_test_data): Likewise.
26999         (y1_test_data): Likewise.
27000         (yn_test_data): Likewise.
27002         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27003         function contents.
27005         * math/libm-test.inc (struct test_ff_i_data): New type.
27006         (RUN_TEST_LOOP_ff_i_tg): New macro.
27007         (isgreater_test_data): New variable.
27008         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27009         (isgreaterequal_test_data): New variable.
27010         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27011         (isless_test_data): New variable.
27012         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27013         (islessequal_test_data): New variable.
27014         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27015         (islessgreater_test_data): New variable.
27016         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27017         (isunordered_test_data): New variable.
27018         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27020 2013-05-14  David S. Miller  <davem@davemloft.net>
27022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27024 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27026         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27028         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27029         extra_test to int.
27030         (struct test_f_i_data): Change type of max_ulp to int.
27032         * math/libm-test.inc (test_ffI_f1_data): New type.
27033         (RUN_TEST_LOOP_ffI_f1): New macro.
27034         (remquo_test_data): New variable.
27035         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27037         * setjmp/tst-setjmp-fp.c: New file.
27038         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27039         (link-libm): New variable.
27040         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27042         * math/libm-test.inc (struct test_f_i_data): New type.
27043         (RUN_TEST_LOOP_f_i): New macro.
27044         (RUN_TEST_LOOP_f_i_tg): Likewise.
27045         (fpclassify_test_data): New variable.
27046         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27047         (ilogb_test_data): New variable.
27048         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27050         * math/libm-test.inc (scalbln_test): Correct function name in END
27051         call.
27053         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27054         (RUN_TEST_LOOP_fI_f1): New macro.
27055         (frexp_test_data): New variable.
27056         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27058         * math/libm-test.inc (struct test_fF_f1_data): New type.
27059         (RUN_TEST_LOOP_fF_f1): New macro.
27060         (modf_test_data): New variable.
27061         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27063         * math/libm-test.inc (struct test_f_f1_data): New type.
27064         (RUN_TEST_LOOP_f_f1): New macro.
27065         (gamma_test_data): New variable.
27066         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27067         (lgamma_test_data): New variable.
27068         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27070 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27072         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27073         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27074         (main): Comment "tls" pseudo-hwcap.
27076 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27078         * math/libm-test.inc (struct test_fl_f_data): New type.
27079         (RUN_TEST_LOOP_fl_f): New variable.
27080         (scalbln_test_data): New variable.
27081         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27083         * math/libm-test.inc (struct test_fi_f_data): New type.
27084         (RUN_TEST_LOOP_fi_f): New macro.
27085         (ldexp_test_data): New variable.
27086         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27087         (scalbn_test_data): New variable.
27088         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27090         * math/libm-test.inc (struct test_c_f_data): New type.
27091         (RUN_TEST_LOOP_c_f): New macro.
27092         (cabs_test_data): New variable.
27093         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27094         (carg_test_data): New variable.
27095         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27096         (cimag_test_data): New variable.
27097         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27098         (creal_test_data): New variable.
27099         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27101         * math/libm-test.inc (struct test_if_f_data): New type.
27102         (RUN_TEST_LOOP_if_f): New macro.
27103         (jn_test_data): New variable.
27104         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27105         (yn_test_data): New variable.
27106         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27108         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27110 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27112         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27113         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27115 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27117         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27118         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27119         (bench-deps): Add bench-timing.h.
27120         * benchtests-bench-skeleton.c: Include bench-timing.h.
27121         (main): Use TIMING_* macros instead of clock_gettime.
27122         * benchtests/bench-timing.h: New file.
27124         [BZ #14582]
27125         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27126         Renamed from _LIB_VERSION.
27127         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27129 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27131         * math/libm-test.inc (struct test_fff_f_data): New type.
27132         (RUN_TEST_LOOP_fff_f): New macro.
27133         (fma_test_data): New variable.
27134         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27135         (fma_towardzero_test_data): New variable.
27136         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27137         (fma_downward_test_data): New variable.
27138         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27139         (fma_upward_test_data): New variable.
27140         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27142         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27143         (struct test_c_c_data): New type.
27144         (RUN_TEST_LOOP_c_c): New macro.
27145         (cacos_test_data): New variable.
27146         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27147         (cacosh_test_data): New variable.
27148         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27149         (casin_test_data): New variable.
27150         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27151         (casinh_test_data): New variable.
27152         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27153         (catan_test_data): New variable.
27154         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27155         (catanh_test_data): New variable.
27156         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27157         (ccos_test_data): New variable.
27158         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27159         (ccosh_test_data): New variable.
27160         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27161         (cexp_test_data): New variable.
27162         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27163         (clog_test_data): New variable.
27164         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27165         (clog10_test_data): New variable.
27166         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27167         (conj_test_data): New variable.
27168         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27169         (cproj_test_data): New variable.
27170         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27171         (csin_test_data): New variable.
27172         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27173         (csinh_test_data): New variable.
27174         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27175         (csqrt_test_data): New variable.
27176         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27177         (ctan_test_data): New variable.
27178         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27179         (ctan_tonearest_test_data): New variable.
27180         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27181         (ctan_towardzero_test_data): New variable.
27182         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27183         (ctan_downward_test_data): New variable.
27184         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27185         (ctan_upward_test_data): New variable.
27186         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27187         (ctanh_test_data): New variable.
27188         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27189         (ctanh_tonearest_test_data): New variable.
27190         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27191         (ctanh_towardzero_test_data): New variable.
27192         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27193         (ctanh_downward_test_data): New variable.
27194         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27195         (ctanh_upward_test_data): New variable.
27196         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27197         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27198         of BUILD_COMPLEX.
27200         * math/libm-test.inc (struct test_ff_f_data): New type.
27201         (struct test_ff_f_data_nexttoward): Likewise.
27202         (RUN_TEST_LOOP_2_f): New macro.
27203         (RUN_TEST_LOOP_ff_f): Likewise.
27204         (atan2_test_data): New variable.
27205         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27206         (copysign_test_data): New variable.
27207         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27208         (fdim_test_data): New variable.
27209         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27210         (fmax_test_data): New variable.
27211         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27212         (fmin_test_data): New variable.
27213         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27214         (fmod_test_data): New variable.
27215         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27216         (hypot_test_data): New variable.
27217         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27218         (nextafter_test_data): New variable.
27219         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27220         (nexttoward_test_data): New variable.
27221         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27222         (pow_test_data): New variable.
27223         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27224         (pow_tonearest_test_data): New variable.
27225         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27226         (pow_towardzero_test_data): New variable.
27227         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27228         (pow_downward_test_data): New variable.
27229         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27230         (pow_upward_test_data): New variable.
27231         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27232         (remainder_test_data): New variable.
27233         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27234         (scalb_test_data): New variable.
27235         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27236         * sysdeps/i386/fpu/libm-test-ulps: Update.
27238 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27240         * math/libm-test.inc (fma_test): Use max_value instead of local
27241         variable fltmax.
27242         (nextafter_test): Likewise.
27244         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27245         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27246         (acos_downward_test_data): New variable.
27247         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27248         (acos_upward_test_data): New variable.
27249         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27250         (acosh_test_data): New variable.
27251         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27252         (asin_test_data): New variable.
27253         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27254         (asin_tonearest_test_data): New variable.
27255         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27256         (asin_towardzero_test_data): New variable.
27257         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27258         (asin_downward_test_data): New variable.
27259         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27260         (asin_upward_test_data): New variable.
27261         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27262         (asinh_test_data): New variable.
27263         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27264         (atan_test_data): New variable.
27265         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27266         (atanh_test_data): New variable.
27267         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27268         (cbrt_test_data): New variable.
27269         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27270         (ceil_test_data): New variable.
27271         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27272         (cos_test_data): New variable.
27273         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27274         (cos_tonearest_test_data): New variable.
27275         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27276         (cos_towardzero_test_data): New variable.
27277         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27278         (cos_downward_test_data): New variable.
27279         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27280         (cos_upward_test_data): New variable.
27281         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27282         (cosh_test_data): New variable.
27283         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27284         (cosh_tonearest_test_data): New variable.
27285         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27286         (cosh_towardzero_test_data): New variable.
27287         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27288         (cosh_downward_test_data): New variable.
27289         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27290         (cosh_upward_test_data): New variable.
27291         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27292         (erf_test_data): New variable.
27293         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27294         (erfc_test_data): New variable.
27295         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27296         (exp_test_data): New variable.
27297         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27298         (exp_tonearest_test_data): New variable.
27299         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27300         (exp_towardzero_test_data): New variable.
27301         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27302         (exp_downward_test_data): New variable.
27303         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27304         (exp_upward_test_data): New variable.
27305         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27306         (exp10_test_data): New variable.
27307         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27308         (exp2_test_data): New variable.
27309         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27310         (expm1_test_data): New variable.
27311         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27312         (fabs_test_data): New variable.
27313         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27314         (floor_test_data): New variable.
27315         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27316         (j0_test_data): New variable.
27317         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27318         (j1_test_data): New variable.
27319         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27320         (log_test_data): New variable.
27321         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27322         (log10_test_data): New variable.
27323         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27324         (log1p_test_data): New variable.
27325         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27326         (log2_test_data): New variable.
27327         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27328         (logb_test_data): New variable.
27329         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27330         (logb_downward_test_data): New variable.
27331         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27332         (nearbyint_test_data): New variable.
27333         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27334         (rint_test_data): New variable.
27335         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27336         (rint_tonearest_test_data): New variable.
27337         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27338         (rint_towardzero_test_data): New variable.
27339         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27340         (rint_downward_test_data): New variable.
27341         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27342         (rint_upward_test_data): New variable.
27343         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27344         (round_test_data): New variable.
27345         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27346         (sin_test_data): New variable.
27347         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27348         (sin_tonearest_test_data): New variable.
27349         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27350         (sin_towardzero_test_data): New variable.
27351         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27352         (sin_downward_test_data): New variable.
27353         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27354         (sin_upward_test_data): New variable.
27355         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27356         (sinh_test_data): New variable.
27357         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27358         (sinh_tonearest_test_data): New variable.
27359         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27360         (sinh_towardzero_test_data): New variable.
27361         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27362         (sinh_downward_test_data): New variable.
27363         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27364         (sinh_upward_test_data): New variable.
27365         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27366         (sqrt_test_data): New variable.
27367         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27368         (tan_test_data): New variable.
27369         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27370         (tan_tonearest_test_data): New variable.
27371         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27372         (tan_towardzero_test_data): New variable.
27373         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27374         (tan_downward_test_data): New variable.
27375         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27376         (tan_upward_test_data): New variable.
27377         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27378         (tanh_test_data): New variable.
27379         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27380         (tgamma_test_data): New variable.
27381         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27382         (trunc_test_data): New variable.
27383         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27384         (y0_test_data): New variable.
27385         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27386         (y1_test_data): New variable.
27387         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27388         (significand_test_data): New variable.
27389         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27391 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27393         [BZ #12387]
27394         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27396 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27398         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27400 2013-05-10  Andreas Jaeger  <aj@suse.de>
27402         [BZ #15448]
27403         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27404         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27406 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27408         * math/gen-libm-test.pl (adjust_arg): New function.
27409         (special_functions): Handle generating output in both functions
27410         and arrays.
27411         (parse_args): Likewise.
27412         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27413         $in_func argument to parse_args.
27414         * math/libm-test.inc (struct test_f_f_data): New type.
27415         (IF_ROUND_INIT_): New macro.
27416         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27417         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27418         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27419         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27420         (ROUND_RESTORE_): Likewise.
27421         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27422         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27423         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27424         (ROUND_RESTORE_FE_UPWARD): Likewise.
27425         (RUN_TEST_LOOP_f_f): New macro.
27426         (acos_test_data): New variable.
27427         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27428         (acos_tonearest_test_data): New variable.
27429         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27431 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27433         * benchtests/bench-skeleton.c (startup): Fix coding style.
27435 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27437         [BZ #6809]
27438         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27439         negative infinity argument.
27440         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27441         negative infinity argument.
27442         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27443         negative infinity argument.
27444         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27445         domain errors.
27447 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27449         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27450         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27451         * iconv/iconv_prog.c (main): Likewise.
27452         * locale/programs/charmap-dir.c (charmap_readdir)
27453         (fopen_uncompressed): Likewise.
27454         * locale/programs/locfile.c (siblings_uncached)
27455         (write_locale_data): Use lstat64 instead of lstat.
27456         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27457         stat.
27459 2013-05-10  Andreas Jaeger  <aj@suse.de>
27461         [BZ #15395]
27462         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27463         localization.
27464         Include <locale.h>.
27466 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27468         * elf/dl-close.c (_dl_close_worker): Add comments.
27470 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27472         [BZ #15359]
27473         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27474         high part of pi/2.
27475         (__ieee754_rem_pio2l): Update comments.
27477         [BZ #15429]
27478         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27479         high part of pi/2.
27480         (__ieee754_rem_pio2l): Update comments.
27482         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27483         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27485         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27486         M_PI_4l.
27488         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27489         (M_PI_34_LOG10El): Likewise.
27490         (M_PI2_LOG10El): Likewise.
27491         (M_PI4_LOG10El): Likewise.
27492         (M_PI_LOG10El): Likewise.
27494 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27498 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27500         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27501         (MINUS_ZERO_INIT): Likewise.
27502         (PLUS_INFTY_INIT): Likewise.
27503         (MINUS_INFTY_INIT): Likewise.
27504         (QNAN_VALUE_INIT): Likewise.
27505         (MAX_VALUE_INIT): Likewise.
27506         (MIN_VALUE_INIT): Likewise.
27507         (MIN_SUBNORM_VALUE_INIT): Likewise.
27508         (plus_zero): Initialize with PLUS_ZERO_INIT.
27509         (minus_zero): Initialize with MINUS_ZERO_INIT.
27510         (plus_infty): Initialize with PLUS_INFTY_INIT.
27511         (minus_infty): Initialize with MINUS_INFTY_INIT.
27512         (qnan_value): Initialize with QNAN_VALUE_INIT.
27513         (max_value): Initialize with MAX_VALUE_INIT.
27514         (min_value): Initialize with MIN_VALUE_INIT.
27515         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27517         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27518         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27519         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27520         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27522         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27523         (RUN_TEST_2_f): Likewise.
27524         (RUN_TEST_ff_f): Likewise.
27525         (RUN_TEST_fi_f): Likewise.
27526         (RUN_TEST_fl_f): Likewise.
27527         (RUN_TEST_fff_f): Likewise.
27528         (RUN_TEST_c_f): Likewise.
27529         (RUN_TEST_f_f1): Likewise.
27530         (RUN_TEST_fF_f1): Likewise.
27531         (RUN_TEST_fI_f1): Likewise.
27532         (RUN_TEST_ffI_f1): Likewise.
27533         (RUN_TEST_c_c): Likewise.
27534         (RUN_TEST_cc_c): Likewise.
27535         (RUN_TEST_f_i): Likewise.
27536         (RUN_TEST_f_i_tg): Likewise.
27537         (RUN_TEST_ff_i_tg): Likewise.
27538         (RUN_TEST_f_b): Likewise.
27539         (RUN_TEST_f_b_tg): Likewise.
27540         (RUN_TEST_f_l): Likewise.
27541         (RUN_TEST_f_L): Likewise.
27542         (RUN_TEST_sincos): Likewise.
27543         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27544         whether to show exceptions.  Do not include ");\n" in return
27545         value.
27546         (special_functions): Output call to RUN_TEST_sincos instead of
27547         check_float calls.  Update calls to new_test.
27548         (parse_args): Output call to single RUN_TEST_* macro instead of
27549         check_* calls and other assignments.  Update calls to new_test.
27551         [BZ #2546]
27552         [BZ #2560]
27553         [BZ #5159]
27554         [BZ #15426]
27555         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27556         input to result for tgamma overflow.
27557         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27558         (gamma_coeff): New variable.
27559         (NCOEFF): New macro.
27560         (gamma_positive): New function.
27561         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27562         underflow here.  Use gamma_positive instead of exp (lgamma) for
27563         other arguments.
27564         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27565         (gamma_coeff): New variable.
27566         (NCOEFF): New macro.
27567         (gammaf_positive): New function.
27568         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27569         underflow here.  Use gamma_positive instead of exp (lgamma) for
27570         other arguments.
27571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27572         (gamma_coeff): New variable.
27573         (NCOEFF): New macro.
27574         (gammal_positive): New function.
27575         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27576         underflow here.  Use gamma_positive instead of exp (lgamma) for
27577         other arguments.
27578         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27579         (gamma_coeff): New variable.
27580         (NCOEFF): New macro.
27581         (gammal_positive): New function.
27582         (__ieee754_gammal_r): Handle positive infinity, overflow and
27583         underflow here.  Handle NaN the same as positive infinity.  Remove
27584         check x < 0xffffffff for negative integers.  Use gamma_positive
27585         instead of exp (lgamma) for other arguments.
27586         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27587         (gamma_coeff): New variable.
27588         (NCOEFF): New macro.
27589         (gammal_positive): New function.
27590         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27591         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27592         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27593         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27594         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27595         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27596         * sysdeps/generic/math_private.h (__gamma_productf): New
27597         prototype.
27598         (__gamma_product): Likewise.
27599         (__gamma_productl): Likewise.
27600         * math/Makefile (libm-calls): Add gamma_product.
27601         * math/libm-test.inc (tgamma_test): Add more tests.
27602         * sysdeps/i386/fpu/libm-test-ulps: Update.
27603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27605 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27607         * benchtests/bench-skeleton.c (main): Preheat CPU.
27609 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27611         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27613 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27615         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27616         and _dl_skip_args_internal.
27618 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27620         * manual/message.texi (Message Translation): Talk about users.
27621         Message to key mapping impacts design.
27623 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27625         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27627         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27629         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27630         * sysdeps/wordsize-64/glob64.c: ... here.
27632         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27633         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27634         New macros.
27636         * debug/getlogin_r_chk.c: Moved to ...
27637         * login/getlogin_r_chk.c: ... here.
27638         * debug/Makefile (routines): Move getlogin_r_chk to ...
27639         * login/Makefile (routines): ... here.
27640         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27641         * login/Versions (libc: GLIBC_2.4): ... here.
27643         * io/poll.c (__poll): Renamed from poll.
27644         Add libc_hidden_def.
27645         (poll): Define as weak alias.
27647         * debug/ptsname_r_chk.c: Moved to ...
27648         * login/ptsname_r_chk.c: ... here.
27649         * debug/Makefile (routines): Move ptsname_r_chk to ...
27650         * login/Makefile (routines): ... here.
27651         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27652         * login/Versions (libc: GLIBC_2.4): ... here.
27654         * posix/getlogin.c: Moved to ...
27655         * login/getlogin.c: ... here.
27656         * posix/getlogin_r.c: Moved to ...
27657         * login/getlogin_r.c: ... here.
27658         * posix/getlogin_r.c: Moved to ...
27659         * login/getlogin_r.c: ... here.
27660         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27661         * login/Makefile (routines): ... here.
27662         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27663         * login/Versions (libc: GLIBC_2.0): ... here.
27665         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27666         (setrlimit): Define as weak alias.
27668         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27669         Call __ names for open, ftruncate, and close.
27670         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27671         (truncate): Define as weak alias.
27673 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27675         * math/gen-libm-test.pl (parse_args): Initialize x before each
27676         test of frexp, modf and remquo.
27678         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27679         test signgam value.
27681 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27683         [BZ #15418]
27684         [BZ #15419]
27685         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27686         internal tests.
27687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27689 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27691         * elf/dl-writev.h: New file.
27692         * elf/dl-misc.c: Include it.
27693         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27694         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27696 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27698         * math/libm-test.inc (noXFails): Remove variable.
27699         (noXPasses): Likewise.
27700         (BUILD_COMPLEX_INT): Remove macro.
27701         (print_screen): Remove xfail argument.
27702         (print_screen_max_error): Likewise.
27703         (update_stats): Likewise.
27704         (print_max_error): Likewise.  Update calls to other affected
27705         functions.
27706         (print_complex_max_error): Likewise.
27707         (test_single_exception): Update calls to print_screen.
27708         (test_single_errno): Likewise.
27709         (check_float_internal): Remove xfail argument.  Update calls to
27710         other affected functions.
27711         (check_float): Likewise.
27712         (check_complex): Likewise.
27713         (check_int): Likewise.
27714         (check_long): Likewise.
27715         (check_bool): Likewise.
27716         (check_longlong): Likewise.
27717         (main): Don't print noXFails and noXPasses.
27718         * math/gen-libm-test.pl (top level): Don't mention expected
27719         failure handling in comment.
27720         (new_test): Don't handle expected failures.
27721         (parse_args): Don't mention expected failure handling in comment.
27722         (generate_testfile): Don't handle expected failures.
27723         (parse_ulps): Likewise.
27724         (print_ulps_file): Likewise.
27725         (get_failure): Remove function.
27726         (output_test): Don't handle expected failures.
27727         * make/README.libm-test: Don't mention expected failure handling.
27729         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27730         (minus_zero): Likewise.
27731         (plus_infty): Likewise.
27732         (minus_infty): Likewise.
27733         (qnan_value): Likewise.
27734         (max_value): Likewise.
27735         (min_value): Likewise.
27736         (min_subnorm_value): Likewise.
27737         (initialize): Do not initialize those variables dynamically.
27739 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27741         * io/open.c (__open_2): Moved to ...
27742         * io/open_2.c: ... this new file.
27743         * io/open64.c (__open64_2): Moved to ...
27744         * io/open64_2.c: ... this new file.
27745         * io/openat.c (__openat_2): Moved to ...
27746         * io/openat_2.c: ... this new file.
27747         * io/openat64.c (__openat64_2): Moved to ...
27748         * io/openat64_2.c: ... this new file.
27749         * io/Makefile (routines): Add them.
27750         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27751         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27752         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27753         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27754         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27755         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27756         (__openat64): Add hidden_ver.
27757         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27758         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27760         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27761         Separately conditionalize setting of GLRO(dl_sysinfo) so
27762         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27763         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27765 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27767         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27768         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27769         definition.
27770         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27771         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27772         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27773         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27774         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27776 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27778         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27779         test signgam value.
27781         * math/libm-test.inc (hypot_test): Do not use
27782         IGNORE_ZERO_INF_SIGN.
27784 2013-05-03  Andreas Jaeger  <aj@suse.de>
27786         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27787         Linux 3.9.
27788         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27789         (PF_MAX): Adjust for VSOCK change.
27791 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27795 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27797         [BZ #15264]
27798         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27799         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27800         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27802 2013-05-02  David S. Miller  <davem@davemloft.net>
27804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27806 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27808         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27810 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27812         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27814 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27816         [BZ #14952]
27817         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27818         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27819         Use __attribute__ ((__gnu_inline__)).
27820         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27821         Don't use __attribute__ ((__gnu_inline__)).
27823 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27825         [BZ #15423]
27826         * math/s_catan.c (__catan): Handle small real or imaginary part of
27827         input specially to avoid spurious underflow.
27828         * math/s_catanf.c (__catanf): Likewise.
27829         * math/s_catanh.c (__catanh): Likewise.
27830         * math/s_catanhf.c (__catanhf): Likewise.
27831         * math/s_catanhl.c (__catanhl): Likewise.
27832         * math/s_catanl.c (__catanl): Likewise.
27833         * math/libm-test.inc (catan_test): Add more tests.
27834         (catanh_test): Likewise.
27835         * sysdeps/i386/fpu/libm-test-ulps: Update.
27836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27838 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27842 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27844         [BZ #15416]
27845         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27846         accurately for denominator in atan2.
27847         * math/s_catanf.c (__catanf): Likewise.
27848         * math/s_catanh.c (__catanh): Likewise.
27849         * math/s_catanhf.c (__catanhf): Likewise.
27850         * math/s_catanhl.c (__catanhl): Likewise.
27851         * math/s_catanl.c (__catanl): Likewise.
27852         * math/libm-test.inc (catan_test): Add more tests.
27853         (catanh_test): Likewise.
27854         * sysdeps/i386/fpu/libm-test-ulps: Update.
27855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27857 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27859         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27861         * benchtests/Makefile (bench): Remove slow benchmarks.
27862         * benchtests/atan-inputs: Add slow benchmark inputs.
27863         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27864         (BENCH_FUNC): Accept variant offset.
27865         (VARIANT): Define.
27866         * benchtests/bench-skeleton.c (main): Run benchmark for each
27867         variant.
27868         * benchtests/cos-inputs: Add slow benchmark inputs.
27869         * benchtests/exp-inputs: Likewise.
27870         * benchtests/pow-inputs: Likewise.
27871         * benchtests/sin-inputs: Likewise.
27872         * benchtests/slowatan-inputs: Remove.
27873         * benchtests/slowatan.c: Remove.
27874         * benchtests/slowcos-inputs: Remove.
27875         * benchtests/slowcos.c: Remove.
27876         * benchtests/slowexp-inputs: Remove.
27877         * benchtests/slowexp.c: Remove.
27878         * benchtests/slowpow-inputs: Remove.
27879         * benchtests/slowpow.c: Remove.
27880         * benchtests/slowsin-inputs: Remove.
27881         * benchtests/slowsin.c: Remove.
27882         * benchtests/slowtan-inputs: Remove.
27883         * benchtests/slowtan.c: Remove.
27884         * benchtests/tan-inputs: Add slow benchmark inputs.
27885         * scripts/bench.pl: Parse comments and directives.
27887         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27888         in CPPFLAGS.
27889         ($(objpfx)bench-%.c): Remove *-ITER.
27890         * benchtests/bench-modf.c: Remove definition of ITER.
27891         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27892         (main): Loop for DURATION seconds instead of fixed number of
27893         iterations.
27894         * scripts/bench.pl: Don't expect iterations in parameters.
27896 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27898         * io/fchdir.c (__fchdir): Renamed from fchdir.
27899         (fchdir): Define as weak alias.
27901 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27903         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27904         (ERRNO_EDOM): Likewise.
27905         (ERRNO_ERANGE): Likewise.
27906         (noErrnoTests): New variable.
27907         (init_max_error): Set errno to 0.
27908         (test_single_errno): New function.
27909         (test_errno): Likewise.
27910         (check_float_internal): Call test_errno.  Set errno to 0.
27911         (check_complex): Refer to errno tests in comment.
27912         (check_int): Call test_errno.  Set errno to 0.
27913         (check_long): Likewise.
27914         (check_bool): Likewise.
27915         (check_longlong): Likewise.
27916         (cos_test): Use ERRNO_* flags for errno tests instead of
27917         check_int.
27918         (expm1_test): Likewise.
27919         (fmod_test): Likewise.
27920         (ilogb_test): Likewise.
27921         (lgamma_test): Likewise.
27922         (pow_test): Likewise.
27923         (remainder_test): Likewise.
27924         (sin_test): Likewise.
27925         (tan_test): Likewise.
27926         (yn_test): Likewise.
27927         (initialize): Set errno to 0.
27928         (main): Print number of errno tests.
27929         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27931 2013-04-29  Andreas Jaeger  <aj@suse.de>
27933         [BZ #15084]
27934         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27935         and RES_USEVC.
27937         [BZ #15085]
27938         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27939         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27940         unimplemented.
27942         [BZ #15380]
27943         * stdlib/random.c (__initstate): Return NULL if
27944         __initstate fails.
27946         [BZ #15086]
27947         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27948         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27949         RES_SNGLKUPREOP.
27951 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27955 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27957         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27958         of individual tests.
27959         (casin_test): Likewise.
27960         (casinh_test): Likewise.
27962 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27964         [BZ #15409]
27965         * math/s_catan.c (__catan): Handle arguments with large real or
27966         imaginary part separately without squaring.
27967         * math/s_catanf.c (__catanf): Likewise.
27968         * math/s_catanh.c (__catanh): Likewise.
27969         * math/s_catanhf.c (__catanhf): Likewise.
27970         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27971         and redefine.
27972         (__catanhl): Handle arguments with large real or imaginary part
27973         separately without squaring.
27974         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27975         and redefine.
27976         (__catanl): Handle arguments with large real or imaginary part
27977         separately without squaring.
27978         * math/libm-test.inc (catan_test): Add more tests.
27979         (catanh_test): Likewise.
27980         * sysdeps/i386/fpu/libm-test-ulps: Update.
27981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27983 2013-04-27  Andreas Jaeger  <aj@suse.de>
27985         [BZ #15007]
27986         * stdlib/stdlib.h: Update guards for qecvt.
27987         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27988         <stdlib.h>.
27990 2013-04-27  Allan McRae  <allan@archlinux.org>
27992         * sysdeps/i386/fpu/libm-test-ulps: Update.
27994 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27996         [BZ #15406]
27997         * math/s_catan.c: Include <float.h>.
27998         (__catan): Ensure underflow exception occurs for underflowed
27999         result.
28000         * math/s_catanf.c: Include <float.h>.
28001         (__catanf): Ensure underflow exception occurs for underflowed
28002         result.
28003         * math/s_catanh.c: Include <float.h>.
28004         (__catanh): Ensure underflow exception occurs for underflowed
28005         result.
28006         * math/s_catanhf.c: Include <float.h>.
28007         (__catanhf): Ensure underflow exception occurs for underflowed
28008         result.
28009         * math/s_catanhl.c: Include <float.h>.
28010         (__catanhl): Ensure underflow exception occurs for underflowed
28011         result.
28012         * math/s_catanl.c: Include <float.h>.
28013         (__catanl): Ensure underflow exception occurs for underflowed
28014         result.
28015         * math/libm-test.inc (catan_test): Add more tests.
28016         (catanh_test): Likewise.
28018         [BZ #15405]
28019         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28020         underflowed result.
28021         * math/s_ccoshf.c (__ccoshf): Likewise.
28022         * math/s_ccoshl.c (__ccoshl): Likewise.
28023         * math/s_csin.c (__csin): Likewise.
28024         * math/s_csinf.c (__csinf): Likewise.
28025         * math/s_csinh.c (__csinh): Likewise.
28026         * math/s_csinhf.c (__csinhf): Likewise.
28027         * math/s_csinhl.c (__csinhl): Likewise.
28028         * math/s_csinl.c (__csinl): Likewise.
28029         * math/libm-test.inc (ccos_test): Add more tests.
28030         (ccosh_test): Likewise.
28031         (csin_test): Likewise.
28032         (csinh_test): Likewise.
28034 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28036         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28037         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28038         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28039         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28040         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28041         powerpc/power5+/fpu folders.
28042         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28045 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28049 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28051         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28052         additions to variable.
28053         [$(config-machine) = x86_64] (modules-names): Likewise.
28054         ($(objpfx)tst-audit3): Remove dependency.
28055         ($(objpfx)tst-audit3.out): Likewise.
28056         ($(objpfx)tst-audit4): Likewise.
28057         ($(objpfx)tst-audit4.out): Likewise.
28058         ($(objpfx)tst-audit5): Likewise.
28059         ($(objpfx)tst-audit5.out): Likewise.
28060         ($(objpfx)tst-audit6): Likewise.
28061         ($(objpfx)tst-audit6.out): Likewise.
28062         ($(objpfx)tst-audit7): Likewise.
28063         ($(objpfx)tst-audit7.out): Likewise.
28064         (tst-audit3-ENV): Remove variable.
28065         (tst-audit4-ENV): Likewise.
28066         (tst-audit5-ENV): Likewise.
28067         (tst-audit6-ENV): Likewise.
28068         (tst-audit7-ENV): Likewise.
28069         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28070         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28071         addition to variable.
28072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28077         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28078         tst-audit3, tst-audit4 and tst-audit5.
28079         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28080         tst-audit6 and tst-audit7.
28081         [$(subdir) = elf] (modules-names): Add audit modules for those
28082         tests.
28083         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28084         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28085         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28086         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28087         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28088         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28089         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28090         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28091         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28092         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28093         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28094         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28095         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28096         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28097         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28098         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28099         Likewise.
28100         [$(subdir) = elf && $(config-cflags-avx) = yes]
28101         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28102         [$(subdir) = elf && $(config-cflags-avx) = yes]
28103         (CFLAGS-tst-auditmod4a.c): Likewise.
28104         [$(subdir) = elf && $(config-cflags-avx) = yes]
28105         (CFLAGS-tst-auditmod4b.c): Likewise.
28106         [$(subdir) = elf && $(config-cflags-avx) = yes]
28107         (CFLAGS-tst-auditmod6b.c): Likewise.
28108         [$(subdir) = elf && $(config-cflags-avx) = yes]
28109         (CFLAGS-tst-auditmod6c.c): Likewise.
28110         [$(subdir) = elf && $(config-cflags-avx) = yes]
28111         (CFLAGS-tst-auditmod7b.c): Likewise.
28112         * elf/tst-audit3.c: Move to ...
28113         * sysdeps/x86_64/tst-audit3.c: ... here.
28114         * elf/tst-audit4.c: Move to ...
28115         * sysdeps/x86_64/tst-audit4.c: ... here.
28116         * elf/tst-audit5.c: Move to ...
28117         * sysdeps/x86_64/tst-audit5.c: ... here.
28118         * elf/tst-audit6.c: Move to ...
28119         * sysdeps/x86_64/tst-audit6.c: ... here.
28120         * elf/tst-audit7.c: Move to ...
28121         * sysdeps/x86_64/tst-audit7.c: ... here.
28122         * elf/tst-auditmod3a.c: Move to ...
28123         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28124         * elf/tst-auditmod3b.c: Move to ...
28125         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28126         * elf/tst-auditmod4a.c: Move to ...
28127         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28128         * elf/tst-auditmod4b.c: Move to ...
28129         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28130         * elf/tst-auditmod5a.c: Move to ...
28131         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28132         * elf/tst-auditmod5b.c: Move to ...
28133         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28134         * elf/tst-auditmod6a.c: Move to ...
28135         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28136         * elf/tst-auditmod6b.c: Move to ...
28137         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28138         * elf/tst-auditmod6c.c: Move to ...
28139         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28140         * elf/tst-auditmod7a.c: Move to ...
28141         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28142         * elf/tst-auditmod7b.c: Move to ...
28143         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28145 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28147         [BZ #15366]
28148         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28149         define unconditionally.
28150         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28151         define unconditionally.
28152         (INT8_C, INT16_C, etc.): Likewise.
28154 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28156         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28157         __ehdr_start with hidden visibility.
28159         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28161 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28163         * math/libm-test.inc (cos_test): Use accurate hex constants.
28164         (sincost_test): Likewise.
28166 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28168         * math/libm-test.inc (catan_test): Add more tests.
28169         (catanh_test): Likewise.
28171         * math/s_catanf.c (__catanf): Use suffixed floating-point
28172         constants.
28173         * math/s_catanhf.c (__catanhf): Likewise.
28174         * math/s_catanhl.c (__catanhl): Likewise.
28175         * math/s_catanl.c (__catanl): Likewise.
28177         [BZ #15394]
28178         * math/s_catan.c (__catan): Calculate imaginary part of result
28179         with log1p not log unless computing log of number close to 0.
28180         * math/s_catanf.c (__catanf): Likewise.
28181         * math/s_catanl.c (__catanl): Likewise.
28182         * math/s_catanh.c (__catanh): Calculate real part of result with
28183         log1p not log unless computing log of number close to 0.
28184         * math/s_catanhf.c (__catanhf): Likewise.
28185         * math/s_catanhl.c (__catanhl): Likewise.
28186         * math/libm-test.inc (catan_test): Add more tests.
28187         (catanh_test): Likewise.
28188         * sysdeps/i386/fpu/libm-test-ulps: Update.
28189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28191 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28193         * benchtests/Makefile: Mention files in which fast and slow
28194         paths of math functions are implemented.
28196 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28198         * sysdeps/posix/timespec_get.c: New file.
28200 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28202         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28203         POWER.
28204         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28205         for POWER.
28206         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28207         powerpc/power5/fpu folders.
28208         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28209         * benchtests/Makefile: Add modf testcase.
28210         * benchtests/bench-modf.c: New file: Benchmark test for mo
28212 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28214         [BZ #14888]
28215         * time/Makefile (tests): Add tst-strptime-whitespace.
28216         * time/strptime_l.c (get_number): Use ISSPACE.
28217         (__strptime_internal): Likewise.
28218         * time/tst-strptime-whitespace.c: New test case.
28220 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28222         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28223         member.
28224         (_nss_files_init): Set it here.
28226 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28228         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28229         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28230         unsigned.
28232 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28234         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28236 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28238         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28239         size just once.
28241 2013-04-21  David S. Miller  <davem@davemloft.net>
28243         * po/ru.po: Update Russion translation from translation project.
28245 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28247         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28248         and setfsgid.
28250 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28252         * configure.in: Remove i386 configure warning. Remove i386 case.
28253         * configure: Regenerate.
28254         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28255         Add example to error message.
28256         * sysdeps/i386/configure: Regenerate.
28258 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28260         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28261         slowtan.
28262         * benchtests/cos-inputs: New file.
28263         * benchtests/slowcos-inputs: New file.
28264         * benchtests/slowcos.c: New file.
28265         * benchtests/slowtan-inputs: New file.
28266         * benchtests/slowtan.c: New file.
28267         * benchtests/tan-inputs: New file.
28269 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28271         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28272         considered kosher.
28274 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28276         * benchtests/Makefile: Include cppflags-iterator.mk to add
28277         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28279         * Makefile.in (bench-clean): New target.
28280         * benchtests/Makefile (bench-clean): Likewise.
28282 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28284         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28286 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28288         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28290 2013-04-15  Andreas Schwab  <schwab@suse.de>
28292         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28294         * nscd/pwdcache.c (cache_addpw): Likewise.
28295         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28296         more than recsize.
28298 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28300         * benchtests/Makefile (bench): Write all output to
28301         bench-out.tmp together.
28303 2013-04-15  Andreas Schwab  <schwab@suse.de>
28305         * nscd/nscd.c (main): Don't fork again after closing files.
28307 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28309         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28311         * benchtests/Rules (bench-deps): Collect dependencies into a
28312         single variable.  Add Makefile to dependencies.
28313         ($(objpfx)bench-%.c): Depend on bench-deps.
28315 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28316             Xavier Roche  <roche+kml2@exalead.com>
28318         [BZ #15361]
28319         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28320         just that it's a file descriptor.
28321         * manual/llio.texi (Synchronizing AIO Operations): Update description
28322         for EBADF error from aio_fsync.
28324 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28326         * Rules (bench): Move target definition...
28327         * benchtests/Makefile: ... here.
28329 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28331         * math/libm-test.inc (cos_test): Fix PI/2 test.
28332         (sincos_test): Likewise.
28333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28334         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28336 2013-04-11  Andreas Schwab  <schwab@suse.de>
28338         [BZ #13988]
28339         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28340         accept exponent character only when digits were seen.
28341         * stdio-common/Makefile (tests): Add bug26.
28342         * stdio-common/bug26.c: New file.
28344         [BZ #14293]
28345         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28346         non-freeable.
28348 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28350         * Makeconfig (rtld-prefix): Define built linker prefix.
28351         * Rules (run-bench): Use it.
28352         * math/Makefile (run-regen-ulps): Likewise.
28354         * Rules (bench): Remove eval.
28356 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28357             Roland McGrath  <roland@hack.frob.com>
28358             Ondrej Bilka  <neleai@seznam.cz>
28360         [BZ #15346]
28361         * time/getdate.c: Include ctype.h and alloca.h.
28362         (__getdate_r): Trim leading and trailing spaces of input.
28363         * time/tst-getdate.c (tests): Add tests with leading and
28364         trailing spaces.
28366 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28368         [BZ #14280]
28369         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28370         when computing value.
28372 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28374         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28375         Use testrun.sh to run libm tests.
28377         [BZ #15309]
28378         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28380 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28382         [BZ #15264]
28383         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28385 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28387         * Makefile.in (regen-ulps): New target.
28388         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28389         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28390         [ifneq (no,$(PERL)] (regen-ulps): New target.
28391         [ifeq (no,$(PERL)] (regen-ulps): New target.
28392         * math/libm-test.inc (ulps_file_name): Define.
28393         (output_dir): New variable.
28394         (options): Add "output-dir" option.
28395         (parse_opt): Handle 'o' case.
28396         (main): If output_dir is non-NULL use it as a prefix
28397         otherwise use "".
28398         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28400 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28402         [BZ #10060, #10062]
28403         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28404         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28405         fail configure if __sync_val_compare_and_swap is not inlined.
28406         * sysdeps/i386/configure: Regenerate.
28407         * configure.in: Build for i686 when configured for i386.
28408         * configure: Regenerate.
28409         * README: Remove i386 reference.
28411 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28413         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28416 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28418         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28419         (lmsnanval): New variables.
28420         (F): Add conversion tests.
28421         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28422         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28424         * stdio-common/tstdiomisc.c (F): Properly collect individual
28425         tests' results.
28427         [BZ #14686, #15336]
28428         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28429         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28430         Instead, use input NaN values or generate a qNaN by arithmetic
28431         operation.  Also fix bugs to comply with the standard.
28432         * math/libm-test.inc (remainder_test): Add more tests.
28434         [BZ #15335, #15342]
28435         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28437         input NaN values or generate a qNaN by arithmetic operation.
28439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28440         unreachable code.
28442         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28443         definitions.
28445 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28447         [BZ #14478]
28448         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28449         underflowed result.
28450         * math/s_cexpf.c (__cexpf): Likewise.
28451         * math/s_cexpl.c (__cexpl): Likewise.
28452         * math/libm-test.inc (cexp_test): Add more tests.
28454 2013-04-03  Andreas Schwab  <schwab@suse.de>
28456         [BZ #15330]
28457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28458         order arrays from heap if bigger than alloca cutoff.
28460 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28462         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28463         (SNAN_TESTS_double): Refer to GCC PR56831.
28464         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28465         GCC PR56828.
28467 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28469         * Rules (bench): Move bench.out after the run is complete.
28471         * Rules (bench): Echo currently running benchmark.
28473         * benchtests/Makefile (bench): Add atan and slowatan.
28474         * benchtests/atan-inputs: New file.
28475         * benchtests/slowatan-inputs: New file.
28476         * benchtests/slowatan.c: New file.
28478         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28479         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28480         its value.
28482         [BZ #15305]
28483         * sysdeps/unix/sysv/linux/kernel-features.h
28484         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28485         __ASSUME_XFS_RESTRICTED_CHOWN.
28486         * sysdeps/unix/sysv/linux/pathconf.c
28487         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28488         Save and restore errno.
28490 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28492         [BZ #15327]
28493         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28494         arguments using __kernel_casinh.
28495         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28496         arguments using __kernel_casinhf.
28497         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28498         arguments using __kernel_casinhl.
28499         * math/libm-test.inc (cacosh_test): Add more tests.
28500         * sysdeps/i386/fpu/libm-test-ulps: Update.
28501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28503 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28505         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28508         * bench/Makefile (bench): Add sin and slowsin.
28509         * benchtests/sin-inputs: New file.
28510         * benchtests/slowsin-inputs: New file.
28511         * benchtests/slowsin.c: New file.
28513         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28514         (bench): Add slowexp and slowpow.
28515         (exp-ITER): Increase iterations.
28516         (pow-ITER): Likewise.
28517         * benchtests/exp-inputs: Change input.
28518         * benchtests/pow-inputs: Likewise.
28519         * benchtests/slowexp-inputs: New file.
28520         * benchtests/slowexp.c: New file.
28521         * benchtests/slowpow-inputs: New file.
28522         * benchtests/slowpow.c: New file.
28524 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28526         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28527         instructions.
28528         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28529         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28530         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28531         * benchtests/Makefile: Add rint benchtest.
28532         * benchtests/rint-inputs: Input for rint benchtest.
28534 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28536         * Versions.def (libm): Add GLIBC_2.18.
28537         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28538         hidden libm prototypes.
28539         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28540         * math/Makefile (libm-calls): Add s_issignaling.
28541         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28542         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28543         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28544         declaration.
28545         * math/math.h [__USE_GNU] (issignaling): New macro.
28546         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28547         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28548         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28549         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28552         * manual/arith.texi (issignaling): New section.
28553         * manual/libm-err-tab.pl (@all_functions): Update comment.
28554         * math/gen-libm-test.pl (parse_args): Apply special handling for
28555         issignaling.
28556         * math/libm-test.inc (print_float, issignaling_test): New
28557         functions.
28558         (check_float_internal): Add issignaling checks.
28559         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28560         default definition.
28561         * sysdeps/powerpc/math-tests.h: New file.
28562         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28563         tests.
28564         * math/test-snan.c (TEST_FUNC): Likewise.
28566 2013-03-30  David S. Miller  <davem@davemloft.net>
28568         * po/de.po: Update from translation team.
28570 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28572         [BZ #10357]
28573         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28574         imaginary part less than 1.0 and real part less than 0.5
28575         specially.
28576         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28577         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28578         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28579         (cacos_test): Add more tests.
28580         (casin_test): Likewise.
28581         (casinh_test): Likewise.
28582         * sysdeps/i386/fpu/libm-test-ulps: Update.
28583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28585 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28587         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28588         ONE with its value.
28590         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28591         (__pow_mp): Replace ONE and MONE with their values.
28592         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28593         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28594         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28595         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28596         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28599         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28601         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28602         (__pow_mp): Replace ZERO and MZERO with their values.
28603         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28604         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28605         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28607         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28608         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28609         (__sqr): Likewise.
28611         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28613         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28615 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28617         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28618         Declare with __attribute__ ((weak)).
28619         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28620         Call __call_tls_dtors only if it's not NULL.
28622 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28624         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28625         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28626         magic __ehdr_start linker symbol if it's defined.
28627         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28628         them up here if it was already done.
28630         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28631         (_dl_aux_init): Use const in cast when setting it.
28632         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28633         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28634         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28636         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28637         Declare them here.
28638         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28639         * csu/libc-tls.c: Nor here.
28640         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28642         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28643         (__libc_message): Never call vsyslog.
28645 2013-03-28  Alan Modra  <amodra@gmail.com>
28647         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28648         Define as empty.
28649         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28650         Likewise.
28652 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28654         [BZ #15214]
28655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28656         underflow.
28657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28659 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28661         [BZ #15304]
28662         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28663         Don't add gid passed as argument.
28665         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28667 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28669         [BZ #15307]
28670         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28671         imaginary part between 1.0 and 1.5 and real part less than 0.5
28672         specially.
28673         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28674         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28675         * math/libm-test.inc (cacos_test): Add more tests.
28676         (casin_test): Likewise.
28677         (casinh_test): Likewise.
28678         * sysdeps/i386/fpu/libm-test-ulps: Update.
28679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28683         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28684         constants.
28685         (norm): Likewise.
28686         (denorm): Likewise.
28687         (__dbl_mp): Likewise.
28688         (add_magnitudes): Likewise.
28689         (sub_magnitudes): Likewise.
28690         (__add): Likewise.
28691         (__sub): Likewise.
28692         (__mul): Likewise.
28693         (__sqr): Likewise.
28694         (__inv): Likewise.
28695         (__dvd): Likewise.
28697         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28698         commented code.
28699         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28700         (__dubcos): Likewise.
28701         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28702         (__ieee754_acos): Likewise.
28703         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28704         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28705         (__exp1): Likewise.
28706         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28707         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28708         (log1): Likewise.
28709         (my_log2): Likewise.
28710         (checkint): Likewise.
28711         * sysdeps/ieee754/dbl-64/e_remainder.c
28712         (__ieee754_remainder): Likewise.
28713         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28715         (bsloww): Likewise.
28716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28718         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28720         MANTISSA_STORE_T to store computations on mantissa.  Use
28721         macros for rounding and division.
28722         (denorm): Likewise.
28723         (__dbl_mp): Likewise.
28724         (add_magnitudes): Likewise.
28725         (sub_magnitudes): Likewise.
28726         (__mul): Likewise.
28727         (__sqr): Likewise.
28728         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28729         powers of two in terms of TWOPOW macro.
28730         (mp_no): Make type of mantissa as MANTISSA_T.
28731         [!RADIXI]: Define RADIXI.
28732         [!TWO52]: Define TWO52.
28733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28735 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28737         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28738         llroundl symbol when building for PPC32.
28740 2013-03-24  Mark H Weaver  <mhw@netris.org>
28742         * manual/arith.texi (Normalization Functions): Fix prototypes for
28743         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28745 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28747         [BZ #13889]
28748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28749         high value to check if expl overflow.
28750         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28751         to check for underflow and overflow.
28752         * math/libm-test.inc: Add exp test.
28754 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28756         [BZ #11120]
28757         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28758         with NOT_IN_libc.
28760 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28762         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28763         symbol.
28765 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28767         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28768         wrap blocks consisting of several statements.
28770         * sysdeps/generic/math-tests.h: New file.
28771         * sysdeps/i386/fpu/math-tests.h: Likewise.
28772         * math/test-snan.c: Include it.
28773         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28775 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28777         [BZ #15285]
28778         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28779         (__ieee754_j0l): Do not improve calculations using cos of twice
28780         input for inputs above LDBL_MAX / 2.0L.
28781         (__ieee754_y0l): Likewise.
28782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28783         (__ieee754_j1l): Do not improve calculations using cos of twice
28784         input for inputs above LDBL_MAX / 2.0L.
28785         (__ieee754_y1l): Likewise.
28786         * math/libm-test.inc (j0_test): Add another test.
28787         (j1_test): Likewise.
28788         (y0_test): Likewise.
28789         (y1_test): Likewise.
28790         * sysdeps/i386/fpu/libm-test-ulps: Update.
28792 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28794         * Rules ($(objpfx)bench-%.c): Include code from a C source
28795         file.
28797 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28799         [BZ #15287]
28800         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28801         imaginary part 1.0 and real part less than 0.5 specially.
28802         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28803         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28804         * math/libm-test.inc (cacos_test): Add more tests.
28805         (casin_test): Likewise.
28806         (casinh_test): Likewise.
28807         * sysdeps/i386/fpu/libm-test-ulps: Update.
28808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28810 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28813         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28815 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28817         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28818         * config.make.in (config-cflags-sse4): Remove variable.
28819         (config-cflags-avx): Likewise.
28820         (config-cflags-sse2avx): Likewise.
28821         (config-cflags-novzeroupper): Likewise.
28822         (config-asflags-i686): Likewise.
28823         (have-mfma4): Likewise.
28824         (have-as-vis3): Likewise.
28825         (MIG): Likewise.
28826         * configure.in (MIG): Do not AC_SUBST.
28827         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28828         (libc_cv_cc_sse4): Do not AC_SUBST.
28829         (libc_cv_cc_avx): Likewise.
28830         (libc_cv_cc_sse2avx): Likewise.
28831         (libc_cv_cc_novzeroupper): Likewise.
28832         (libc_cv_cc_fma4): Likewise.
28833         (libc_cv_as_i686): Likewise.
28834         (libc_cv_sparc_as_vis3): Likewise.
28835         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28836         LIBC_CONFIG_VAR.
28837         (config-asflags-i686): Likewise.
28838         (config-cflags-avx): Likewise.
28839         (config-cflags-sse2avx): Likewise.
28840         (have-mfma4): Likewise.
28841         (config-cflags-novzeroupper): Likewise.
28842         * sysdeps/mach/configure.in (MIG): Likewise.
28843         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28844         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28845         LIBC_CONFIG_VAR.
28846         (config-cflags-avx): Likewise.
28847         (config-cflags-sse2avx): Likewise.
28848         (have-mfma4): Likewise.
28849         (config-cflags-novzeroupper): Likewise.
28850         * configure: Regenerated.
28851         * sysdeps/i386/configure: Likewise.
28852         * sysdeps/mach/configure: Likewise.
28853         * sysdeps/sparc/configure: Likewise.
28854         * sysdeps/x86_64/configure: Likewise.
28856 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28858         [BZ #14812]
28859         * locale/programs/localedef.c (options): Put N_ translation marker
28860         on argument names, not just descriptions.
28862 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28864         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28866 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28868         [BZ #14176]
28869         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28871 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28873         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28874         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28875         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28876         [!BEFORE_ABORT] (before_abort): New function.
28877         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28878         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28879         (writev_for_fatal): New function.
28880         (WRITEV_FOR_FATAL): New macro; call that.
28881         (backtrace_and_maps): New function.
28882         (BEFORE_ABORT): New macro; call that.
28883         (struct str_list): Type removed.
28884         (__libc_message, __libc_fatal): Functions removed.
28885         Include <sysdeps/posix/libc_fatal.c> instead.
28887 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28889         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28890         constants.
28891         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28892         double constants.
28894 2013-03-19  Andreas Schwab  <schwab@suse.de>
28896         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28897         * sysdeps/gnu/configure: Regenerate.
28899         * configure.in: Substitute libc_cv_rtlddir.
28900         * configure: Regenerate.
28901         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28902         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28903         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28904         * elf/Makefile (install-others, CFLAGS-interp.c)
28905         (ldso_install, common-ldd-rewrite): Likewise.
28906         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28907         $(inst_slibdir)/$(rtld-installed-name).
28908         * scripts/rellns-sh: Add -p option.
28909         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28910         for source.
28912 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28914         * manual/nptl.texi: Renamed to ...
28915         * manual/threads.texi: ... this.
28916         * manual/Makefile (chapters): Update.
28918 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28920         [BZ #14812]
28921         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28922         on argument names, not just descriptions.
28923         * malloc/memusagestat.c (options): Likewise.
28924         * nss/getent.c (options): Likewise.
28926 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28928         [BZ #14812]
28929         * iconv/iconv_prog.c (options): Put N_ translation marker
28930         on argument names, not just descriptions.
28931         * iconv/iconvconfig.c (options): Likewise.
28933 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28935         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28936         implementation which is faster on all x86_64 architectures.
28937         Tested on AMD, Intel Nehalem, SNB, IVB.
28938         * sysdeps/x86_64/strnlen.S: Likewise.
28940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28941         Remove all multiarch strlen and strnlen versions.
28942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28943         Remove strlen and strnlen related parts.
28945         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28946         Inline strlen part.
28947         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28949         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28950         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28951         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28952         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28953         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28954         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28956 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28958         * manual/memory.texi (Malloc Tunable Parameters):
28959         Sort parameters alphabetically. Add comments for missing entries.
28961 2013-03-17  David S. Miller  <davem@davemloft.net>
28963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28965 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28967         [BZ #15283]
28968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28969         for arguments at most half maximum finite value.
28970         * math/libm-test.inc (j0_test): Add more tests.
28971         (j1_test): Likewise.
28972         (y0_test): Likewise.
28973         (y1_test): Likewise.
28974         * sysdeps/i386/fpu/libm-test-ulps: Update.
28975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28977         [BZ #14155]
28978         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28979         1 / x and functions P and Q for arguments above 0x1p256L.
28980         (__ieee754_y0l): Likewise.
28981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28982         (__ieee754_y1l): Likewise.
28983         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28984         (j1_test): Likewise.
28985         (y0_test): Likewise.
28986         (y1_test): Likewise.
28988 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28990         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28991         variable.
28993 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28995         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28996         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28997         zero since it's initialized to EXEC_PAGESIZE.
28999         * sysdeps/unix/sysv/linux/ldsodefs.h
29000         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29001         * sysdeps/generic/ldsodefs.h: ... here.
29003 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29005         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29007         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29008         math/test-snan.c.
29009         * math/test-snan.c: Renamed from
29010         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29011         * math/Makefile (tests): Add test-snan.
29012         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29013         test-powerpc-snan.
29015         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29016         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29017         functions.
29018         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29019         __builtin_nan family of functions.
29020         * math/libm-test.inc (initialize): Initialize qnan_value with
29021         __builtin_nan family of functions.
29022         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29023         Remove variables.
29024         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29025         Remove functions.
29026         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29027         storage class.  Initialize qNaN_var and sNaN_var with
29028         __builtin_nan and __builtin_nans families of functions,
29029         respectively.
29031         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29032         (sqrt_test): Remove duplicate test with qNaN input.
29033         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29034         (round_test, signbit_test, significand_test): Note missing +/-Inf
29035         as well as qNaN tests.
29037         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29038         qNaN_var.  Fix a few strings, too.
29039         * math/libm-test.inc (nan_value): Rename to qnan_value.
29040         * math/gen-libm-test.pl (%beautify): Adjust to that.
29041         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29042         * math/test-misc.c (main): Likewise.
29043         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29044         to __qnan_bytes, and __qnan_union, respectively.
29045         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29046         Likewise.
29047         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29048         and lqnanval, respectively.
29049         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29050         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29051         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29052         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29054         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29055         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29056         doubles.
29058         * math/test-misc.c (main): Fix copy'n'pastos.
29059         * misc/tst-efgcvt.c (special): Likewise.
29061         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29062         Remove declarations.
29064 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29066         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29067         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29068         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29069         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29071 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29073         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29074         macro to return vdso values correctly in IFUNC implementations.
29075         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29076         Optimization by using IFUNC.
29078 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29079             Richard Henderson  <rth@redhat.com>
29080             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29082         * Makefile.in (bench): New target.
29083         * NEWS: Mention the benchmark framework.
29084         * Rules (bench): Likewise.
29085         (binaries-bench): Generate binaries for functions to
29086         benchmark.
29087         * benchtests/Makefile: New makefile for benchmark tests.
29088         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29089         programs.
29090         * benchtests/exp-inputs: New input file for EXP function.
29091         * benchtests/pow-inputs: New input file for POW function.
29092         * scripts/bench.pl: New script to generate source files for
29093         benchmark programs.
29095 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29097         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29098         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29099         computations on mantissa.  Use macros for rounding and
29100         division.
29101         (denorm): Likewise.
29102         (__dbl_mp): Likewise.
29103         (add_magnitudes): Likewise.
29104         (sub_magnitudes): Likewise.
29105         (__mul): Likewise.
29106         (__sqr): Likewise.
29107         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29108         powers of two in terms of TWOPOW macro.
29109         (mp_no): Make type of mantissa as MANTISSA_T.
29110         [!RADIXI]: Define RADIXI.
29111         [!TWO52]: Define TWO52.
29112         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29114         * manual/nptl.texi (cindex): Modify threads to pthreads.
29116 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29118         * sysdeps/x86_64/preconfigure: Regenerated.
29120 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29122         [BZ #14155]
29123         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29124         0x1p28 and above.
29125         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29126         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29127         0x1p28 and above.
29128         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29129         * math/libm-test.inc (j0_test): Do not allow one spurious
29130         underflow exception.
29131         (y1_test): Likewise.
29133 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         * manual/Makefile (chapters): Add nptl.
29136         * manual/debug.texi (Debugging Support): Add link to Threads
29137         chapter.
29138         * manual/nptl.texi: New file.
29140         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29142 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29144         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29145         for non-NULL pointer before the memory validity test. Pointed
29146         out by Holger Brunck <holger.brunck@keymile.com>.
29148 2013-03-13  Andreas Schwab  <schwab@suse.de>
29150         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29151         instead of .os.
29153 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29155         * timezone/zic.c: Update from tzcode 2013b.
29157 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29159         * manual/install.texi (Configuring and compiling):
29160         Mention i686 and i586.
29161         * INSTALL: Regenerate.
29163 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29165         * sysdeps/init_array/elf-init.c: New file.
29166         * csu/elf-init.c
29167         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29168         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29170         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29171         __gmon_start__ as global, but as static with a .preinit_array pointer.
29172         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29173         * sysdeps/init_array/crti.S: New file, empty except for comments.
29174         * sysdeps/init_array/crtn.S: Likewise.
29176 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29178         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29179         definining bcopy.
29180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29181         Remove Prefer_SSE_for_memop.
29182         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29183         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29184         HAS_PREFER_SSE_FOR_MEMOP.
29185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29186         memset-x86-64.
29187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29188         Remove bzero, memset ifunc support.
29189         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29190         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29191         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29194 2013-03-11  Andreas Schwab  <schwab@suse.de>
29196         [BZ #15234]
29197         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29198         by SHLIB_COMPAT.
29199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29200         (GLIBC_2.16): Remove pthread_atfork.
29202 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29204         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29205         (ptestcases.h): Likewise.
29207 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29209         * Makeconfig ($(common-objpfx)config.status): Depend on
29210         sysdeps/*/preconfigure{,.in} too.
29212 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29214         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29215         (__free_hook): Use void * instead of __malloc_ptr_t.
29216         (__malloc_hook): Likewise.
29217         (__realloc_hook): Likewise.
29218         (__memalign_hook): Likewise.
29219         (__after_morecore_hook): Likewise.
29220         * malloc/arena.c (save_malloc_hook): Likewise.
29221         (save_free_hook): Likewise.
29222         * malloc/hooks.c (malloc_hook_ini): Likewise.
29223         (realloc_hook_ini): Likewise.
29224         (memalign_hook_ini): Likewise.
29225         * malloc/malloc.c (malloc_hook_ini): Likewise.
29226         (realloc_hook_ini): Likewise.
29227         (memalign_hook_ini): Likewise.
29228         (__free_hook): Likewise.
29229         (__malloc_hook): Likewise.
29230         (__realloc_hook): Likewise.
29231         (__memalign_hook): Likewise.
29232         (__libc_malloc): Likewise.
29233         (__libc_free): Likewise.
29234         (__libc_realloc): Likewise.
29235         (__libc_memalign): Likewise.
29236         (__libc_valloc): Likewise.
29237         (__libc_pvalloc): Likewise.
29238         (__libc_calloc): Likewise.
29239         (__posix_memalign): Likewise.
29240         * malloc/morecore.c (__sbrk): Likewise.
29241         (__default_morecore): Likewise.
29243         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29245         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29246         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29247         __malloc_ptrdiff_t.
29249         * malloc/malloc.h (__malloc_size_t): Remove macro.
29250         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29251         __malloc_size_t.
29252         (old_memalign_hook): Likewise.
29253         (old_realloc_hook): Likewise.
29254         (struct hdr): Likewise.
29255         (flood): Likewise.
29256         (mallochook): Likewise.
29257         (memalignhook): Likewise.
29258         (reallochook): Likewise.
29259         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29260         (tr_old_realloc_hook): Likewise.
29261         (tr_old_memalign_hook): Likewise.
29262         (tr_mallochook): Likewise.
29263         (tr_reallochook): Likewise.
29264         (tr_memalignhook): Likewise.
29266 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29269         default_ldbl_pack and using as default implementation.
29270         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29271         implementation.
29272         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29273         redundant definition.
29274         (ldbl_insert_mantissa): Likewise.
29275         (ldbl_canonicalize): Likewise.
29276         (ldbl_nearbyint): Likewise.
29277         (ldbl_pack): Rename to ldbl_pack_ppc.
29278         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29279         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29280         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29282 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29285         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29286         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29287         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29289         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29290         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29291         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29293 2013-03-07  Andreas Jaeger  <aj@suse.de>
29295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29296         bits/mman-linux.h.
29298 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29300         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29301         Include mpa.h and declare __MPEXP.
29302         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29303         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29304         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29305         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29306         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29307         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29308         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29310         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29311         (__slowpow): Use long double EXPL and LOGL functions to
29312         compute POW.
29313         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29314         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29315         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29316         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29317         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29318         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29321         intermediate variable to calculate exponent.
29322         (__sqr): Likewise.
29323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29324         Likewise.
29325         (__sqr): Likewise.
29327         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29328         [!NO__SQR]: Define __sqr.
29329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29330         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29331         sysdeps/ieee754/dbl-64/mpa.c.
29332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29334         [BZ #12723]
29335         * posix/Makefile (tests): Add tst-pathconf.
29336         * posix/tst-pathconf.c: New test case.
29337         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29338         _PC_PIPE_BUF.
29339         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29341 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29343         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29345 2013-03-06  Andreas Jaeger  <aj@suse.de>
29347         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29348         definition via __MAP_ANONYMOUS.
29350         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29351         it's not part of Linux headers.
29353         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29354         (MAP_HUGE_MASK): Define.
29356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29357         Define.
29358         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29360         Define.
29361         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29362         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29363         Define.
29364         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29365         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29366         Define.
29367         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29369         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29370         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29371         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29372         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29373         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29374         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29377         Handle f2fs.
29379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29380         Handle f2fs and efivarfs.
29382         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29383         f2fs.
29385         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29386         (EFIVARFS_MAGIC): Add.
29387         (F2FS_LINK_MAX): Add.
29389 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29391         * stdio-common/vfprintf.c: Replace __builtin_expect with
29392         __glibc_unlikely.
29394 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29396         [BZ #13550]
29397         * sysdeps/generic/bp-sym.h: Remove file.
29398         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29400         <bp-sym.h> and <bp-asm.h>.
29401         (__longjmp): Don't use BP_SYM.
29402         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29403         and <bp-asm.h>.
29404         (memcpy): Don't use BP_SYM.
29405         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29406         <bp-sym.h> and <bp-asm.h>.
29407         (memcpy): Don't use BP_SYM.
29408         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29409         <bp-asm.h>.
29410         (memcpy): Don't use BP_SYM.
29411         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29412         <bp-asm.h>.
29413         (memset): Don't use BP_SYM.
29414         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29415         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29416         (__bzero): Don't use BP_SYM.
29417         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29418         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29419         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29420         <bp-sym.h> and <bp-asm.h>.
29421         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29422         pointers.
29423         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29424         <bp-sym.h> and <bp-asm.h>.
29425         (memcpy): Don't use BP_SYM.
29426         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29427         <bp-sym.h> and <bp-asm.h>.
29428         (memset): Don't use BP_SYM.
29429         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29430         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29431         (__bzero): Don't use BP_SYM.
29432         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29433         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29434         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29435         <bp-sym.h> and <bp-asm.h>.
29436         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29437         pointers.
29438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29439         <bp-sym.h> and <bp-asm.h>.
29440         (memcpy): Don't use BP_SYM.
29441         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29442         <bp-sym.h> and <bp-asm.h>.
29443         (memset): Don't use BP_SYM.
29444         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29445         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29446         (__bzero): Don't use BP_SYM.
29447         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29448         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29450         <bp-sym.h> and <bp-asm.h>.
29451         (__memchr): Don't use BP_SYM.
29452         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29453         <bp-sym.h> and <bp-asm.h>.
29454         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29455         pointers.
29456         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29457         <bp-sym.h> and <bp-asm.h>.
29458         (memcpy): Don't use BP_SYM.
29459         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29460         <bp-sym.h> and <bp-asm.h>.
29461         (__mempcpy): Don't use BP_SYM.
29462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29463         <bp-sym.h> and <bp-asm.h>.
29464         (__memrchr): Don't use BP_SYM.
29465         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29466         <bp-sym.h> and <bp-asm.h>.
29467         (memset): Don't use BP_SYM.
29468         (__bzero): Likewise.
29469         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29470         <bp-sym.h> and <bp-asm.h>.
29471         (__rawmemchr): Don't use BP_SYM.
29472         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29473         <bp-sym.h> and <bp-asm.h>.
29474         (__STRCMP): Don't use BP_SYM.
29475         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29476         <bp-sym.h> and <bp-asm.h>.
29477         (strchr): Don't use BP_SYM.
29478         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29479         <bp-sym.h> and <bp-asm.h>.
29480         (__strchrnul): Don't use BP_SYM.
29481         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29482         <bp-sym.h> and <bp-asm.h>.
29483         (strlen): Don't use BP_SYM.
29484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29485         <bp-sym.h> and <bp-asm.h>.
29486         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29487         pointers.
29488         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29489         <bp-sym.h> and <bp-asm.h>.
29490         (__strnlen): Don't use BP_SYM.
29491         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29492         <bp-sym.h> and <bp-asm.h>.
29493         (__GI__setjmp): Don't use BP_SYM.
29494         (_setjmp): Likewise.
29495         (__sigsetjmp): Likewise.
29496         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29497         (L(start_addresses)): Don't use BP_SYM.
29498         (_start): Likewise.
29499         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29500         <bp-asm.h>.
29501         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29502         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29503         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29504         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29505         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29506         <bp-asm.h>.
29507         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29508         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29509         about bounded pointers.
29510         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29511         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29512         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29513         <bp-asm.h>.
29514         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29515         about bounded pointers.  Remove GKM FIXME comments.
29516         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29517         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29518         <bp-asm.h>.
29519         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29520         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29521         Remove GKM FIXME comments.
29522         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29523         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29524         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29525         <bp-asm.h>.
29526         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29527         about bounded pointers.  Remove GKM FIXME comment.
29528         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29529         and <bp-asm.h>.
29530         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29531         pointers.
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29533         <bp-sym.h> and <bp-asm.h>.
29534         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29536         <bp-sym.h> and <bp-asm.h>.
29537         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29538         comment.
29540 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29542         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29543         call free(NULL).
29545 2013-03-05  David S. Miller  <davem@davemloft.net>
29547         * po/es.po: Update from translation team.
29549 2013-03-05  Andreas Jaeger  <aj@suse.de>
29551         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29552         <bits/mman-linux.h>.
29553         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29554         is fine.
29555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29556         <bits/mman-linux.h> to end of file.
29557         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29558         is fine.
29559         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29560         <bits/mman-linux.h> to end of file.
29561         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29562         is fine.
29563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29564         <bits/mman-linux.h> to end of file.
29566         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29567         (MCL_CURRENT, MCL_FUTURE): Define here.
29569 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29571         [BZ #15232]
29572         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29573         attribute_hidden.
29574         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29576 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29579         fourth parameter needed for rt_sigprocmask syscall.
29580         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29582         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29583         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29584         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29585         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29587 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29589         [BZ #13550]
29590         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29591         comment about bounded pointers.
29592         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29593         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29595 2013-03-04  Andreas Jaeger  <aj@suse.de>
29597         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29598         common definitions.
29600         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29601         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29602         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29603         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29604         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29607 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         [BZ #15055]
29610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29611         __ieee754_sqrl instead of __sqrl.
29613 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29615         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29616         * sysdeps/powerpc/fpu_control.h: ... here.
29617         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29618         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29619         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29620         * sysdeps/powerpc/bits/mathinline.h: ... here.
29622 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29624         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29625         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29626         to just [NEED_DL_SYSINFO_DSO].
29627         * elf/dl-support.c: Likewise.
29628         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29629         * elf/rtld.c (dl_main): Likewise.
29630         * elf/setup-vdso.h (setup_vdso): Likewise.
29631         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29632         * sysdeps/unix/sysv/linux/dl-sysdep.c
29633         (_dl_discover_osversion): Likewise.
29635 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29637         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29638         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29640 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29642         * NEWS: Mention libm performance improvements and non-x86 PI
29643         futex support.
29645         * csu/libc-start.c (__pthread_initialize_minimal): Change
29646         function arguments.
29647         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29649 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29651         [BZ #13550]
29652         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29653         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29654         <bp-sym.h> and <bp-asm.h>.
29655         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29656         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29657         and <bp-asm.h>.
29658         (memcpy): Don't use BP_SYM.
29659         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29660         <bp-asm.h>.
29661         (__mpn_add_n): Don't use BP_SYM.
29662         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29663         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29664         and <bp-asm.h>.
29665         (__mpn_addmul_1): Don't use BP_SYM.
29666         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29667         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29668         <bp-sym.h>.
29669         (_setjmp): Don't use BP_SYM.
29670         (__novmx_setjmp): Likewise.
29671         (__GI__setjmp): Likewise.
29672         (__vmx_setjmp): Likewise.
29673         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29674         <bp-sym.h>.
29675         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29676         (__bzero): Don't use BP_SYM.
29677         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29678         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29679         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29680         <bp-sym.h> and <bp-asm.h>.
29681         (memcpy): Don't use BP_SYM.
29682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29683         <bp-sym.h> and <bp-asm.h>.
29684         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29685         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29686         <bp-sym.h> and <bp-asm.h>.
29687         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29688         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29689         <bp-asm.h>.
29690         (__mpn_lshift): Don't use BP_SYM.
29691         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29692         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29693         <bp-asm.h>.
29694         (memset): Don't use BP_SYM.
29695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29697         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29698         <bp-asm.h>.
29699         (__mpn_mul_1): Don't use BP_SYM.
29700         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29702         <bp-sym.h> and <bp-asm.h>.
29703         (memcmp): Don't use BP_SYM.
29704         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29705         <bp-sym.h> and <bp-asm.h>.
29706         (memcpy): Don't use BP_SYM.
29707         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29708         <bp-sym.h> and <bp-asm.h>.
29709         (memset): Don't use BP_SYM.
29710         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29711         <bp-sym.h> and <bp-asm.h>.
29712         (strncmp): Don't use BP_SYM.
29713         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29714         <bp-sym.h> and <bp-asm.h>.
29715         (memcpy): Don't use BP_SYM.
29716         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29717         <bp-sym.h> and <bp-asm.h>.
29718         (memset): Don't use BP_SYM.
29719         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29720         <bp-sym.h> and <bp-asm.h>.
29721         (__memchr): Don't use BP_SYM.
29722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29723         <bp-sym.h> and <bp-asm.h>.
29724         (memcmp): Don't use BP_SYM.
29725         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29726         <bp-sym.h> and <bp-asm.h>.
29727         (memcpy): Don't use BP_SYM.
29728         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29729         <bp-sym.h> and <bp-asm.h>.
29730         (__mempcpy): Don't use BP_SYM.
29731         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29732         <bp-sym.h> and <bp-asm.h>.
29733         (__memrchr): Don't use BP_SYM.
29734         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29735         <bp-sym.h> and <bp-asm.h>.
29736         (memset): Don't use BP_SYM.
29737         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29738         <bp-sym.h> and <bp-asm.h>.
29739         (__rawmemchr): Don't use BP_SYM.
29740         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29741         <bp-sym.h> and <bp-asm.h>.
29742         (__STRCMP): Don't use BP_SYM.
29743         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29744         <bp-sym.h> and <bp-asm.h>.
29745         (strchr): Don't use BP_SYM.
29746         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29747         <bp-sym.h> and <bp-asm.h>.
29748         (__strchrnul): Don't use BP_SYM.
29749         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29750         <bp-sym.h> and <bp-asm.h>.
29751         (strlen): Don't use BP_SYM.
29752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29753         <bp-sym.h> and <bp-asm.h>.
29754         (strncmp): Don't use BP_SYM.
29755         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29756         <bp-sym.h> and <bp-asm.h>.
29757         (__strnlen): Don't use BP_SYM.
29758         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29759         <bp-asm.h>.
29760         (__mpn_rshift): Don't use BP_SYM.
29761         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29763         <bp-sym.h> and <bp-asm.h>.
29764         (__sigsetjmp): Don't use BP_SYM.
29765         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29766         (L(start_addresses)): Don't use BP_SYM.
29767         (_start): Likewise.
29768         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29769         <bp-asm.h>.
29770         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29771         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29772         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29773         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29774         <bp-asm.h>.
29775         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29776         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29777         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29778         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29779         <bp-asm.h>.
29780         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29781         comments.
29782         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29783         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29784         <bp-asm.h>.
29785         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29786         FIXME comments.
29787         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29788         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29789         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29790         <bp-asm.h>.
29791         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29792         comment.
29793         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29794         and <bp-asm.h>.
29795         (strncmp): Don't use BP_SYM,
29796         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29797         <bp-asm.h>.
29798         (__mpn_sub_n): Don't use BP_SYM.
29799         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29800         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29801         and <bp-asm.h>.
29802         (__mpn_submul_1): Don't use BP_SYM.
29803         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29805         <bp-sym.h> and <bp-asm.h>.
29806         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29808         <bp-sym.h> and <bp-asm.h>.
29809         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29810         comment.
29812 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29815         Use ZK to minimize writes to Z.
29816         (sub_magnitudes): Simplify code a bit.
29817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29818         Use ZK to minimize writes to Z.
29819         (sub_magnitudes): Simplify code a bit.
29821 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29823         * csu/gmon-start.c: Add special exception to license text.
29825 2013-02-27  Richard Henderson  <rth@redhat.com>
29827         * scripts/config.guess: Update from config.git.
29828         * scripts/config.sub: Likewise.
29830 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29834         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29836         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29838         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29840         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29842 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29844         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29845         [$(build-shared = yes].
29847 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29850         (__mul): Reduce iterations for calculating mantissa.
29852         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29853         MPTWO.
29854         (__mpranred): Likewise.
29856         [BZ #15160]
29857         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29858         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29860 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29862         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29863         Define __attribute__.
29865 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29867         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29868         unused.
29869         * posix/regex_internal.h (__attribute): Remove.
29870         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29871         (re_string_context_at): Likewise.
29872         (bitset_not): Use __attribute__ and mark function as possibly
29873         unused.
29874         (bitset_merge): Likewise.
29875         (bitset_mask): Likewise.
29876         (re_string_char_size_at): Likewise.
29877         (re_string_wchar_at): Likewise.
29878         (re_string_elem_size_at): Likewise.
29880 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29882         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29883         code.
29884         (cc32): Likewise.
29886         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29887         (__acr): Likewise.
29888         (__cpy): Likewise.
29889         (norm): Likewise.
29890         (denorm): Likewise.
29891         (__dbl_mp): Likewise.
29892         (add_magnitudes): Likewise.
29893         (sub_magnitudes): Likewise.
29894         (__mul): Likewise.
29895         (__inv): Likewise.
29897         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29898         style.
29900         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29901         style.
29903         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29904         code.
29906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29907         up changes with default code.
29908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29909         Likewise.
29911 2013-02-24  Allan McRae  <allan@archlinux.org>
29913         * manual/socket.texi (The Internet Namespace): Order menu items
29914         to match that in the file.
29916         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29917         node listing of the info page menu.
29919 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29921         [BZ #13550]
29922         * sysdeps/i386/bp-asm.h: Remove file.
29923         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29924         (PARMS): Do not use macros from bp-asm.h.
29925         (S1): Likewise.
29926         (S2): Likewise.
29927         (SIZE): Likewise.
29928         (__mpn_add_n): Do not use BP_SYM
29929         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29930         "bp-asm.h".
29931         (PARMS): Do not use macros from bp-asm.h.
29932         (S1): Likewise.
29933         (SIZE): Likewise.
29934         (__mpn_addmul_1): Do not use BP_SYM
29935         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29936         "bp-asm.h".
29937         (PARMS): Do not use macros from bp-asm.h.
29938         (SIGMSK): Likewise.
29939         (_setjmp): Likewise.  Do not use BP_SYM.
29940         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29941         "bp-asm.h".
29942         (PARMS): Do not use macros from bp-asm.h.
29943         (SIGMSK): Likewise.
29944         (setjmp): Likewise.  Do not use BP_SYM.
29945         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29946         "bp-asm.h".
29947         (PARMS): Do not use macros from bp-asm.h.
29948         (__frexp): Do not use BP_SYM.
29949         (frexp): Likewise.
29950         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29951         "bp-asm.h".
29952         (PARMS): Do not use macros from bp-asm.h.
29953         (__frexpf): Do not use BP_SYM.
29954         (frexpf): Likewise.
29955         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29956         "bp-asm.h".
29957         (PARMS): Do not use macros from bp-asm.h.
29958         (__frexpl): Do not use BP_SYM.
29959         (frexpl): Likewise.
29960         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29961         "bp-asm.h".
29962         (PARMS): Do not use macros from bp-asm.h.
29963         (__remquo): Do not use BP_SYM.
29964         (remquo): Likewise.
29965         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29966         "bp-asm.h".
29967         (PARMS): Do not use macros from bp-asm.h.
29968         (__remquof): Do not use BP_SYM.
29969         (remquof): Likewise.
29970         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29971         "bp-asm.h".
29972         (PARMS): Do not use macros from bp-asm.h.
29973         (__remquol): Do not use BP_SYM.
29974         (remquol): Likewise.
29975         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29976         "bp-asm.h".
29977         (PARMS): Do not use macros from bp-asm.h.
29978         (DEST): Likewise.
29979         (SRC): Likewise.
29980         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29981         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29982         "bp-asm.h".
29983         (PARMS): Do not use macros from bp-asm.h.
29984         (strlen): Do not use BP_SYM.
29985         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29986         "bp-asm.h".
29987         (PARMS): Do not use macros from bp-asm.h.
29988         (S1): Likewise.
29989         (S2): Likewise.
29990         (SIZE): Likewise.
29991         (__mpn_add_n): Do not use BP_SYM.
29992         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29993         "bp-asm.h".
29994         (PARMS): Do not use macros from bp-asm.h.
29995         (S1): Likewise.
29996         (SIZE): Likewise.
29997         (__mpn_addmul_1): Do not use BP_SYM.
29998         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29999         weak_alias.
30000         (bzero): Likewise.
30001         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30002         "bp-asm.h".
30003         (PARMS): Do not use macros from bp-asm.h.
30004         (S): Likewise.
30005         (SIZE): Likewise.
30006         (__mpn_lshift): Do not use BP_SYM.
30007         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30008         "bp-asm.h".
30009         (PARMS): Do not use macros from bp-asm.h.
30010         (DEST): Likewise.
30011         (SRC): Likewise.
30012         (LEN): Likewise.
30013         (memcpy): Likewise.  Do not use BP_SYM.
30014         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30015         libc_hidden_def and weak_alias.
30016         (mempcpy): Do not use BP_SYM in weak_alias.
30017         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30018         "bp-asm.h".
30019         (PARMS): Do not use macros from bp-asm.h.
30020         (DEST): Likewise.
30021         (LEN): Likewise.
30022         [!BZERO_P] (CHR): Likewise.
30023         (memset): Likewise.  Do not use BP_SYM.
30024         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30025         "bp-asm.h".
30026         (PARMS): Do not use macros from bp-asm.h.
30027         (S1): Likewise.
30028         (SIZE): Likewise.
30029         (__mpn_mul_1): Do not use BP_SYM.
30030         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30031         "bp-asm.h".
30032         (PARMS): Do not use macros from bp-asm.h.
30033         (S): Likewise.
30034         (SIZE): Likewise.
30035         (__mpn_rshift): Do not use BP_SYM.
30036         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30037         "bp-asm.h".
30038         (PARMS): Do not use macros from bp-asm.h.
30039         (STR): Likewise.
30040         (CHR): Likewise.
30041         (strchr): Likewise.  Do not use BP_SYM.
30042         (index): Do not use BP_SYM in weak_alias.
30043         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30044         "bp-asm.h".
30045         (PARMS): Do not use macros from bp-asm.h.
30046         (DEST): Likewise.
30047         (SRC): Likewise.
30048         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30049         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30050         "bp-asm.h".
30051         (PARMS): Do not use macros from bp-asm.h.
30052         (strlen): Do not use BP_SYM.
30053         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30054         "bp-asm.h".
30055         (PARMS): Do not use macros from bp-asm.h.
30056         (S1): Likewise.
30057         (S2): Likewise.
30058         (SIZE): Likewise.
30059         (__mpn_sub_n): Do not use BP_SYM.
30060         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30061         "bp-asm.h".
30062         (PARMS): Do not use macros from bp-asm.h.
30063         (S1): Likewise.
30064         (SIZE): Likewise.
30065         (__mpn_submul_1): Do not use BP_SYM.
30066         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30067         "bp-asm.h".
30068         (PARMS): Do not use macros from bp-asm.h.
30069         (S1): Likewise.
30070         (S2): Likewise.
30071         (SIZE): Likewise.
30072         (__mpn_add_n): Do not use BP_SYM.
30073         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30074         weak_alias.
30075         (bzero): Likewise.
30076         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30077         "bp-asm.h".
30078         (PARMS): Do not use macros from bp-asm.h.
30079         (BLK2): Likewise.
30080         (LEN): Likewise.
30081         (memcmp): Do not use BP_SYM.
30082         (bcmp): Do not use BP_SYM in weak_alias.
30083         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30084         "bp-asm.h".
30085         (PARMS): Do not use macros from bp-asm.h.
30086         (DEST): Likewise.
30087         (SRC): Likewise.
30088         (LEN): Likewise.
30089         (memcpy): Likewise.  Do not use BP_SYM.
30090         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30091         "bp-asm.h".
30092         (PARMS): Do not use macros from bp-asm.h.
30093         (DEST): Likewise.
30094         (SRC): Likewise.
30095         (LEN): Likewise.
30096         (memmove): Likewise.  Do not use BP_SYM.
30097         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30098         "bp-asm.h".
30099         (PARMS): Do not use macros from bp-asm.h.
30100         (DEST): Likewise.
30101         (SRC): Likewise.
30102         (LEN): Likewise.
30103         (__mempcpy): Likewise.  Do not use BP_SYM.
30104         (mempcpy): Do not use BP_SYM in weak_alias.
30105         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30106         "bp-asm.h".
30107         (PARMS): Do not use macros from bp-asm.h.
30108         (DEST): Likewise.
30109         (LEN): Likewise.
30110         [!BZERO_P] (CHR): Likewise.
30111         (memset): Likewise.  Do not use BP_SYM.
30112         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30113         "bp-asm.h".
30114         (PARMS): Do not use macros from bp-asm.h.
30115         (STR2): Likewise.
30116         (strcmp): Do not use BP_SYM.
30117         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30118         "bp-asm.h".
30119         (PARMS): Do not use macros from bp-asm.h.
30120         (STR): Likewise.
30121         (DELIM): Likewise.
30122         [USE_AS_STRTOK_R] (SAVE): Likewise.
30123         (FUNCTION): Likewise.  Do not use BP_SYM.
30124         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30125         aliases.
30126         (strtok_r): Likewise.
30127         (__GI___strtok_r): Likewise.
30128         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30129         (PARMS): Do not use macros from bp-asm.h.
30130         (S): Likewise.
30131         (SIZE): Likewise.
30132         (__mpn_lshift): Do not use BP_SYM.
30133         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30134         (PARMS): Do not use macros from bp-asm.h.
30135         (STR): Likewise.
30136         (CHR): Likewise.
30137         (__memchr): Do not use BP_SYM.
30138         (memchr): Do not use BP_SYM in weak_alias.
30139         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30140         (PARMS): Do not use macros from bp-asm.h.
30141         (BLK2): Likewise.
30142         (LEN): Likewise.
30143         (memcmp): Do not use BP_SYM.
30144         (bcmp): Do not use BP_SYM in weak_alias.
30145         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30146         (PARMS): Do not use macros from bp-asm.h.
30147         (S1): Likewise.
30148         (SIZE): Likewise.
30149         (__mpn_mul_1): Do not use BP_SYM.
30150         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30151         "bp-asm.h".
30152         (PARMS): Do not use macros from bp-asm.h.
30153         (STR): Likewise.
30154         (CHR): Likewise.
30155         (__rawmemchr): Do not use BP_SYM.
30156         (rawmemchr): Do not use BP_SYM in weak_alias.
30157         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30158         (PARMS): Do not use macros from bp-asm.h.
30159         (S): Likewise.
30160         (SIZE): Likewise.
30161         (__mpn_rshift): Do not use BP_SYM.
30162         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30163         (PARMS): Do not use macros from bp-asm.h.
30164         (SIGMSK): Likewise.
30165         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30166         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30167         (_start): Do not use BP_SYM.
30168         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30169         (PARMS): Do not use macros from bp-asm.h.
30170         (DEST): Likewise.
30171         (SRC): Likewise.
30172         (__stpcpy): Likewise.  Do not use BP_SYM.
30173         (stpcpy): Do not use BP_SYM in weak_alias.
30174         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30175         "bp-asm.h".
30176         (PARMS): Do not use macros from bp-asm.h.
30177         (DEST): Likewise.
30178         (SRC): Likewise.
30179         (LEN): Likewise.
30180         (__stpncpy): Likewise.  Do not use BP_SYM.
30181         (stpncpy): Do not use BP_SYM in weak_alias.
30182         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30183         (PARMS): Do not use macros from bp-asm.h.
30184         (STR): Likewise.
30185         (CHR): Likewise.
30186         (strchr): Likewise.  Do not use BP_SYM.
30187         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30188         "bp-asm.h".
30189         (PARMS): Do not use macros from bp-asm.h.
30190         (STR): Likewise.
30191         (CHR): Likewise.
30192         (__strchrnul): Likewise.  Do not use BP_SYM.
30193         (strchrnul): Do not use BP_SYM in weak_alias.
30194         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30195         "bp-asm.h".
30196         (PARMS): Do not use macros from bp-asm.h.
30197         (STOP): Likewise.
30198         (strcspn): Do not use BP_SYM.
30199         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30200         "bp-asm.h".
30201         (PARMS): Do not use macros from bp-asm.h.
30202         (STR): Likewise.
30203         (STOP): Likewise.
30204         (strpbrk): Likewise.  Do not use BP_SYM.
30205         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30206         "bp-asm.h".
30207         (PARMS): Do not use macros from bp-asm.h.
30208         (STR): Likewise.
30209         (CHR): Likewise.
30210         (strrchr): Likewise.  Do not use BP_SYM.
30211         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30212         (PARMS): Do not use macros from bp-asm.h.
30213         (SKIP): Likewise.
30214         (strspn): Do not use BP_SYM.
30215         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30216         (PARMS): Do not use macros from bp-asm.h.
30217         (STR): Likewise.
30218         (DELIM): Likewise.
30219         (SAVE): Likewise.
30220         (FUNCTION): Likewise.  Do not use BP_SYM.
30221         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30222         aliases.
30223         (strtok_r): Likewise.
30224         (__GI___strtok_r): Likewise.
30225         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30226         (PARMS): Do not use macros from bp-asm.h.
30227         (S1): Likewise.
30228         (S2): Likewise.
30229         (SIZE): Likewise.
30230         (__mpn_sub_n): Do not use BP_SYM.
30231         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30232         "bp-asm.h".
30233         (PARMS): Do not use macros from bp-asm.h.
30234         (S1): Likewise.
30235         (SIZE): Likewise.
30236         (__mpn_submul_1): Do not use BP_SYM.
30237         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30238         <bp-sym.h>.
30239         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30240         and <bp-asm.h>.
30241         (PARMS): Do not use macros from bp-asm.h.
30242         (FLAGS): Likewise.
30243         (PTID): Likewise.
30244         (TLS): Likewise.
30245         (CTID): Likewise.
30246         (__clone): Do not use BP_SYM.
30247         (clone): Do not use BP_SYM in weak_alias.
30248         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30249         and <bp-asm.h>.
30250         (PARMS): Do not use macros from bp-asm.h.
30251         (LEN): Likewise.
30252         (__mmap64): Do not use BP_SYM.
30253         (mmap64): Do not use BP_SYM in weak_alias.
30254         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30255         <bp-sym.h> and <bp-asm.h>.
30256         (PARMS): Do not use macros from bp-asm.h.
30257         (__posix_fadvise64_l64): Do not use BP_SYM.
30258         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30259         (PARMS): Do not use macros from bp-asm.h.
30260         (NSOPS): Likewise.
30261         (semtimedop): Do not use BP_SYM.
30262         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30263         and <bp-asm.h>.
30265 2013-02-21  Allan McRae  <allan@archlinux.org>
30267         * manual/message.texi (Charset conversion in gettext):
30268         Move @end statement to beginning of line.
30270 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30273         static.
30274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30275         Likewise.
30277         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30278         (denorm): Likewise.
30279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30282 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30284         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30285         tail-call to the resolved function if pltexit isn't needed.
30287 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30290         or Y being zero as being unlikely.
30291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30292         Likewise.
30294 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30296         * manual/nss.texi (System Databases and Name Service Switch):
30297         Remove frobnicate @pxref.
30299 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30301         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30302         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30304 2013-02-20  Petr Machata  <pmachata@redhat.com>
30306         * elf/elf.h (R_ARM_TARGET1): New macro.
30307         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30308         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30309         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30310         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30311         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30312         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30313         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30314         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30315         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30316         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30317         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30318         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30319         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30320         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30321         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30322         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30323         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30324         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30325         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30326         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30327         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30328         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30329         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30330         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30331         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30332         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30333         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30334         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30335         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30336         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30337         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30338         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30339         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30340         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30341         (R_ARM_THM_GOT_BREL12): Likewise.
30342         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30343         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30344         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30345         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30346         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30347         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30348         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30349         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30350         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30352 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30354         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30355         __attribute_used__ to __attribute__ ((unused)).
30357 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30360         powerpc mpa.c.
30361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30362         comment formatting.
30363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30365 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30367         [BZ #13550]
30368         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30369         Remove macro.
30370         (ENTER): Remove both macro definitions.
30371         (LEAVE): Likewise.
30372         (CHECK_BOUNDS_LOW): Likewise.
30373         (CHECK_BOUNDS_HIGH): Likewise.
30374         (CHECK_BOUNDS_BOTH): Likewise.
30375         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30376         (RETURN_BOUNDED_POINTER): Likewise.
30377         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30378         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30379         (POP_ERRNO_LOCATION_RETURN): Likewise.
30380         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30381         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30382         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30383         macros.
30384         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30385         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30386         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30387         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30388         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30389         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30390         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30391         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30392         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30393         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30394         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30395         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30396         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30397         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30398         removed macros.
30399         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30400         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30401         macros.
30402         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30403         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30404         * sysdeps/i386/i586/memset.S (memset): Likewise.
30405         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30406         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30407         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30408         macros.
30409         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30410         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30411         Change uses of L(2) to L(out).
30412         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30413         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30414         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30415         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30416         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30417         removed macros.
30418         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30419         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30420         macros.
30421         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30422         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30423         (RETURN): Do not use macro LEAVE.
30424         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30425         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30426         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30427         * sysdeps/i386/i686/memset.S (memset): Likewise.
30428         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30429         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30430         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30431         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30432         Likewise.
30433         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30434         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30435         L(1_2) and L(1_3) into L(1).
30436         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30437         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30438         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30439         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30440         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30441         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30442         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30443         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30444         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30445         macros.
30446         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30447         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30448         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30449         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30450         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30451         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30452         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30453         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30454         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30455         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30456         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30457         * sysdeps/i386/strspn.S (strspn): Likewise.
30458         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30459         conditional code.
30460         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30461         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30462         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30463         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30464         L(1_3) into L(1_1).
30465         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30466         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30467         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30468         macros.
30469         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30471 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30473         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30474         macro.
30476 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30478         * math/atest-exp.c (exp_mpn): Remove ROUND.
30479         * math/atest-exp2.c (exp_mpn): Likewise.
30480         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30482         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30483         * stdlib/tst-tls-atexit-lib.c: Likewise.
30484         * stdlib/tst-tls-atexit.c: Likewise.
30486 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30488         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30489         and __attribute_alloc_size__.
30491 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30493         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30494         __attribute_alloc_size__.
30495         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30496         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30498 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30500         * include/programs/xmalloc.h: New file.
30501         * catgets/gencat.c: Include it.
30502         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30503         * elf/pldd.c: Likewise.
30504         * iconv/iconv_charmap.c: Likewise.
30505         * iconv/iconvconfig.c: Likewise.
30506         * iconv/strtab.c: Likewise.
30507         * locale/programs/locale.c: Likewise.
30508         * locale/programs/localedef.h: Likewise.
30509         * locale/programs/simple-hash.c: Likewise.
30510         * nscd/nscd.h: Likewise.
30511         * nss/makedb.c: Likewise.
30512         * sysdeps/generic/ldconfig.h: Likewise.
30514 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30516         * Versions.def: Add GLIBC_2.18.
30517         * include/link.h (struct link_map): New member l_tls_dtor_count.
30518         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30519         (__call_tls_dtors): Likewise.
30520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30521         __cxa_thread_atexit_impl.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30523         Likewise.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30525         Likewise.
30526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30527         Likewise.
30528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30529         Likewise.
30530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30532         Likewise.
30533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30534         Likewise.
30535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30537         Likewise.
30538         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30539         (tests): Add test case tst-tls-atexit.
30540         (modules-names): Add shared library for tst-tls-atexit.
30541         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30542         (GLIBC_PRIVATE): Add __call_tls_dtors.
30543         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30544         for libstdc++.
30545         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30546         * stdlib/tst-tls-atexit.c: New test case.
30547         * stdlib/tst-tls-atexit-lib.c: New test case.
30549         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30551         * elf/Versions (ld): Add _dl_find_dso_for_object.
30552         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30553         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30554         (dl_open_worker): Use _dl_find_dso_for_object.
30555         * elf/dl-sym.c (do_sym): Likewise.
30556         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30558 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30560         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30561         Syntactic changes only.
30562         (_dl_runtime_profile): Do a tail-call to the resolved function.
30564 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30566         [BZ #13550]
30567         * sysdeps/x86_64/bp-asm.h: Remove file.
30568         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30569         <bp-sym.h> and <bp-asm.h>.
30570         (__clone): Do not use BP_SYM.
30571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30572         <bp-sym.h> and <bp-asm.h>.
30573         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30574         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30575         "bp-asm.h".
30576         (_setjmp): Do not use BP_SYM.
30577         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30578         "bp-asm.h".
30579         (setjmp): Do not use BP_SYM.
30580         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30581         libc_hidden_def.
30582         (mempcpy): Do not use BP_SYM in weak_alias.
30583         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30584         "bp-asm.h".
30585         (strchr): Do not use BP_SYM.
30586         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30587         "bp-asm.h".
30588         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30589         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30590         (_start): Do not use BP_SYM.
30591         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30592         "bp-asm.h".
30593         (strcat): Do not use BP_SYM.
30594         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30595         "bp-asm.h".
30596         (STRCMP): Do not use BP_SYM.
30597         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30598         "bp-asm.h".
30599         (STRCPY): Do not use BP_SYM.
30600         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30601         "bp-asm.h".
30602         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30603         "bp-asm.h".
30604         (FUNCTION): Do not use BP_SYM.
30605         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30606         weak_alias.
30607         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30609 2013-02-17  Andreas Jaeger  <aj@suse.de>
30611         * time/Versions: Sort entries.
30612         * string/Versions: Likewise.
30613         * resolv/Versions: Likewise.
30614         * posix/Versions: Likewise.
30615         * iconv/Versions: Likewise.
30616         * elf/Versions: Likewise.
30617         * wcsmbs/Versions: Likewise.
30619 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30621         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30622         loop termination condition.
30624         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30625         variable to calculate EZ.
30626         (__sqr): Likewise.
30628         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30629         the lower precision input.
30631 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30633         [BZ #13550]
30634         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30635         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30636         (run-via-rtld-prefix): Do not handle %-bp tests.
30637         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30638         (all-object-suffixes): Remove .ob.
30639         (bppfx): Remove variable.
30640         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30641         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30642         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30643         [$(build-bounded) = yes] (libtype.ob): Likewise.
30644         * Makerules (elide-routines.ob): Remove variable.
30645         (do-tests-clean): Do not handle *-bp.out.
30646         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30647         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30648         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30649         (tests): Do not include $(tests-bp.out).
30650         (xtests): Do not include $(xtests-bp.out).
30651         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30652         [$(build-bounded) = yes] ($(addprefix
30653         $(objpfx),$(binaries-bounded))): Remove rule.
30654         ($(objpfx)%-bp.out): Remove rule.
30655         * config.make.in (build-bounded): Remove variable.
30656         * crypt/Makefile [$(build-bounded) = yes]
30657         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30658         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30659         append to variable.
30660         [$(build-bounded) = yes] (install-lib): Likewise.
30661         [$(build-bounded) = yes] (generated): Likewise.
30662         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30663         Remove rule.
30664         * intl/Makefile [$(build-bounded) = yes]
30665         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30666         * math/Makefile [$(build-bounded) = yes]
30667         ($(tests:%=$(objpfx)%-bp): Likewise.
30668         * misc/Makefile [$(build-bounded) = yes]
30669         ($(objpfx)tst-tsearch-bp): Likewise.
30670         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30671         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30672         Remove dependency.
30673         * string/Makefile (o-objects.ob): Remove variable.
30674         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30675         (CFLAGS-.ob): Remove variable.
30676         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30677         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30678         both definitions of variable.
30679         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30680         (ASFLAGS-.ob): Remove variable.
30682 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30684         [BZ #13550]
30685         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30686         Remove __BOUNDED_POINTERS__ from condition.
30687         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30688         * string/bits/string2.h [!__NO_STRING_INLINES &&
30689         !__BOUNDED_POINTERS__]: Likewise.
30690         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30691         Likewise.
30692         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30693         Remove conditional code.
30694         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30695         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30696         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30697         condition.
30699         [BZ #13550]
30700         * csu/libc-start.c: Do not include <bp-sym.h>.
30701         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30702         * elf/dl-open.c: Do not include <bp-sym.h>.
30703         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30704         * math/fegetenv.c: Do not include <bp-sym.h>.
30705         (fegetenv): Do not use BP_SYM in versioned symbols.
30706         * nptl/sysdeps/pthread/bits/libc-lockP.h
30707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30708         <bp-sym.h>.
30709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30710         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30712         (__pthread_mutex_destroy): Likewise.
30713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30714         (__pthread_mutex_lock): Likewise.
30715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30716         (__pthread_mutex_trylock): Likewise.
30717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30718         (__pthread_mutex_unlock): Likewise.
30719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30720         (__pthread_mutexattr_init): Likewise.
30721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30722         (__pthread_mutexattr_destroy): Likewise.
30723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30724         (__pthread_mutexattr_settype): Likewise.
30725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30726         (__pthread_rwlock_init): Likewise.
30727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30728         (__pthread_rwlock_destroy): Likewise.
30729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30730         (__pthread_rwlock_rdlock): Likewise.
30731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30732         (__pthread_rwlock_tryrdlock): Likewise.
30733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30734         (__pthread_rwlock_wrlock): Likewise.
30735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30736         (__pthread_rwlock_trywrlock): Likewise.
30737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30738         (__pthread_rwlock_unlock): Likewise.
30739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30740         (__pthread_key_create): Likewise.
30741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30742         (__pthread_setspecific): Likewise.
30743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30744         (__pthread_getspecific): Likewise.
30745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30746         Likewise.
30747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30748         (_pthread_cleanup_push_defer): Likewise.
30749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30750         (_pthread_cleanup_pop_restore): Likewise.
30751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30752         (pthread_setcancelstate): Likewise.
30753         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30754         <bp-sym.h>.
30755         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30756         (memchr): Do not use BP_SYM in weak_alias.
30757         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30758         (fegetenv): Do not use BP_SYM in versioned symbols.
30759         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30760         (fesetenv): Do not use BP_SYM in versioned symbols.
30761         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30762         (feupdateenv): Do not use BP_SYM in versioned symbols.
30763         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30764         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30765         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30766         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30767         (open64): Do not use BP_SYM in weak_alias.
30768         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30769         (fegetenv): Do not use BP_SYM in versioned symbols.
30770         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30771         (fesetenv): Do not use BP_SYM in versioned symbols.
30772         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30773         (feupdateenv): Do not use BP_SYM in versioned symbols.
30774         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30775         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30776         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30777         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30778         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30779         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30780         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30781         <bp-sym.h>.
30782         (__libc_start_main): Do not use BP_SYM.
30784 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30787         redundant return line.
30788         (norm): Likewise.
30789         (denorm): Likewise.
30790         (dbl_mp): Likewise.
30791         (sub_magnitudes): Likewise.
30792         (__add): Likewise.
30793         (__sub): Likewise.
30794         (__mul): Likewise.
30795         (__inv): Likewise.
30796         (__dvd): Likewise.
30797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30798         (norm): Likewise.
30799         (denorm): Likewise.
30800         (dbl_mp): Likewise.
30801         (sub_magnitudes): Likewise.
30802         (__add): Likewise.
30803         (__sub): Likewise.
30804         (__mul): Likewise.
30805         (__inv): Likewise.
30806         (__dvd): Likewise.
30808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30809         instead of __mul.
30810         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30811         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30812         (cc32): Likewise.
30814         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30815         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30817         of __mul for squares.
30818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30819         function
30820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30821         Likewise.
30822         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30823         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30825 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30827         [BZ #13550]
30828         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30829         code.
30830         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30831         prototype or function definition.  Rename ubp_* variables and
30832         parameters.  Remove argv definitions conditional on
30833         [__BOUNDED_POINTERS__].
30834         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30835         * elf/dl-runtime.c (_dl_fixup): Likewise.
30836         * include/set-hooks.h (RUN_HOOK): Likewise.
30837         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30838         definition.
30839         * string/strcpy.c (strcpy): Do not use __unbounded.
30840         * sysdeps/generic/frame.h (struct layout): Likewise.
30841         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30842         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30843         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30844         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30845         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30846         (__backtrace): Likewise.
30847         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30848         use __ptrvalue.
30849         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30850         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30851         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30852         Likewise.
30853         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30854         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30855         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30856         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30857         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30858         Do not use __unbounded.
30859         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30860         Rename __unboundedrlimits parameter to rlimits in prototype.
30861         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30862         Do not use __unbounded.
30863         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30864         not use __ptrvalue.
30865         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30866         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30867         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30868         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30869         __ptrvalue or __unbounded.
30870         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30871         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30872         use __unbounded.
30873         (__new_msgctl): Do not use __ptrvalue.
30874         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30875         __unbounded.
30876         (__libc_msgrcv): Do not use __ptrvalue.
30877         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30878         startup_info): Do not use __unbounded.
30879         (__libc_start_main): Likewise.  Rename ubp_* variables and
30880         parameters.  Remove argv definitions conditional on
30881         [__BOUNDED_POINTERS__].
30882         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30883         __ptrvalue.
30884         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30885         use __unbounded.
30886         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30887         or __ptrvalue.
30888         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30889         use __unbounded.
30890         (__new_shmctl): Do not use __ptrvalue.
30891         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30892         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30893         Likewise.
30894         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30896         (__libc_sigaction): Likewise.
30897         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30898         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30899         Likewise.
30900         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30902 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30904         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30906         * string/mempcpy.c: Implement by calling memcpy.
30908 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30913         evaluation.
30915         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30916         values in the mantissa.
30918         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30919         minimize writes to Z.
30920         (sub_magnitudes): Simplify code a bit.
30922 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30924         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30925         from the message.  The linker prefixes all warnings with that already.
30927 2013-02-12  Andreas Schwab  <schwab@suse.de>
30929         [BZ #15078]
30930         * posix/regexec.c (extend_buffers): Add parameter min_len.
30931         (check_matching): Pass minimum needed length.
30932         (clean_state_log_if_needed): Likewise.
30933         (get_subexp): Likewise.
30934         * posix/Makefile (tests): Add bug-regex34.
30935         (bug-regex34-ENV): Define.
30936         * posix/bug-regex34.c: New file.
30938         [BZ #11561]
30939         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30940         elements compare against the byte sequence of it, not its name.
30941         * posix/Makefile (tests): Add bug-regex35.
30942         (bug-regex35-ENV): Define.
30943         * posix/bug-regex35.c: New file.
30945 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30947         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30948         comment.
30949         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30950         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30951         (CHECK_EOL): Add undef.
30953 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30955         * bits/stdlib-bsearch.h: New file.
30956         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30957         * stdlib/stdlib.h: Likewise.
30959 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30961         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30962         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30963         declaration.
30964         * manual/search.texi (Array Search Function): Add missing const in
30965         lfind prototype.
30966         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30967         declaration to use rlim_t.
30968         (Basic Scheduling Functions): Remove erroneous const from
30969         sched_getparam prototype.  Remove erroneous * from
30970         sched_get_priority_max and sched_get_priority_min prototypes.
30971         (Resource Usage): Fix summary @comment on vtimes to refer to
30972         sys/vtimes.h rather than vtimes.h.
30973         Add missing *s in vtimes prototype.
30974         (Limits on Resources): Fix ulimit prototype to return long int.
30975         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30976         prototypes to use long int rather than double.
30977         (BSD Random): Fix initstate and setstate to use char *, not void *.
30978         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30979         prototype to make second argument 'struct aiocb64 *const[]'.
30980         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30981         (Status of AIO Operations): Remove erroneous const in aio_return and
30982         aio_return64 prototypes.
30983         (Synchronizing I/O): Fix sync prototype to return void.
30984         * manual/startup.texi (Suboptions): Remove an erroneous const in
30985         getsubopt prototype.
30986         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30987         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30988         use size_t rather than int.
30989         (Scanning All Users): Likewise for getpwent_r.
30990         (Setting Groups): Add missing const to setgroups prototype.
30991         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30992         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30993         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30994         'const void *' rather than 'const char *'.
30995         (Host Address Functions): Likewise for inet_ntop.
30996         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30997         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30998         ssize_t for return value.
30999         (Sending Data): Likewise for send, sendto, sendmsg.
31000         (Socket Option Functions): Add a missing const in setsockopt prototype.
31001         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31002         use wchar_t for the argument.
31003         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31004         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31005         take no arguments.
31006         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31007         double/float/long double for second argument.
31008         Fix return types of significand, significandf, significandl.
31009         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31010         argument in fchmod prototype.
31011         (File Owner): Use uid_t and gid_t in fchown prototype.
31012         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31013         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31014         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31015         use 'const struct dirent **' as argument types to CMP function pointer
31016         argument.
31017         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31018         (File Times): Fix summary magic @comment for struct utimbuf and utime
31019         to refer to utime.h, not time.h.
31020         * manual/string.texi (Argz Functions): Add missing const in
31021         argz_extract and argz_next prototypes.
31022         (Finding Tokens in a String): Likewise for basename.
31023         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31024         (Copying and Concatenation): Fix typo in wmemmove prototype.
31025         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31026         (Signal Stack): Remove erroneous const in sigstack prototype.
31027         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31028         prototype.
31029         (Simple Calendar Time): Likewise for stime.
31030         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31031         prototype.
31032         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31033         say sys/sysctl.h instead.
31034         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31035         and vsyslog prototypes.
31037 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31039         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31040         Remove.
31042 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31044         * misc/sys/mman.h: Fix typo in mremap comment.
31046 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31048         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31049         the '\0' terminator.
31051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31053         [BZ #13550]
31054         * debug/segfault.c: Don't include <bp-checks.h>.
31055         * sysdeps/generic/bp-checks.h: Remove file.
31056         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31057         (__GETDENTS): Don't use CHECK_N.
31058         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31059         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31060         (__getgroups): Don't use CHECK_N.
31061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31062         (setgroups): Don't use CHECK_N.
31063         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31064         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31065         (__libc_msgrcv): Don't use CHECK_N.
31066         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31067         (__libc_msgsnd): Don't use CHECK_N.
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31069         <bp-checks.h>.
31070         (__libc_pread): Don't use CHECK_N.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31072         include <bp-checks.h>.
31073         (__libc_pread64): Don't use CHECK_N.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31075         include <bp-checks.h>.
31076         (__libc_pwrite): Don't use CHECK_N.
31077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31078         include <bp-checks.h>.
31079         (__libc_pwrite64): Don't use CHECK_N.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31081         <bp-checks.h>.
31082         (__libc_pread): Don't use CHECK_N.
31083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31084         include <bp-checks.h>.
31085         (__libc_pread64): Don't use CHECK_N.
31086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31087         include <bp-checks.h>.
31088         (__libc_pwrite): Don't use CHECK_N.
31089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31090         include <bp-checks.h>.
31091         (__libc_pwrite64): Don't use CHECK_N.
31092         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31093         (do_pread): Don't use CHECK_N.
31094         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31095         (do_pread64): Don't use CHECK_N.
31096         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31097         (do_pwrite): Don't use CHECK_N.
31098         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31099         (do_pwrite64): Don't use CHECK_N.
31100         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31101         (__libc_readv): Don't use CHECK_N.
31102         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31103         (semop): Don't use CHECK_N.
31104         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31105         <bp-checks.h>.
31106         (semtimedop): Don't use CHECK_N.
31107         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31108         (__libc_pread): Don't use CHECK_N.
31109         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31110         <bp-checks.h>.
31111         (__libc_pread64): Don't use CHECK_N.
31112         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31113         <bp-checks.h>.
31114         (__libc_pwrite): Don't use CHECK_N.
31115         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31116         <bp-checks.h>.
31117         (__libc_pwrite64): Don't use CHECK_N.
31118         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31119         <bp-checks.h>.
31120         (__libc_msgrcv): Don't use CHECK_N.
31121         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31122         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31123         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31124         (__libc_writev): Don't use CHECK_N.
31126 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31128         * string/strcpy.c: Removed unused variable.
31130         * Makeconfig (+sysdep-includes): Define with := rather than =.
31131         Use an existing include/ subdir of each sysdeps dir before it.
31133 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31135         * nscd/connection.c (register_traced_file): Comment function.
31136         [HAVE_INOTIFY] (union __inev): Define.
31137         [HAVE_INOTIFY] (inotify_check_files): New function.
31138         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31139         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31140         clear_db_cache.
31141         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31143 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31145         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31146         loaded if not already and that a failure is permanent.
31148 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31150         [BZ #15006]
31151         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31152         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31154 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31156         [BZ #13550]
31157         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31158         (CHECK_1_NULL_OK): Likewise.
31159         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31160         (__fxstat): Do not use CHECK_1.
31161         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31162         <bp-checks.h>.
31163         (___fxstat64): Do not use CHECK_1.
31164         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31165         <bp-checks.h>.
31166         (__fxstatat): Do not use CHECK_1.
31167         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31168         <bp-checks.h>.
31169         (__fxstatat64): Do not use CHECK_1.
31170         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31171         <bp-checks.h>.
31172         (__fxstat): Do not use CHECK_1.
31173         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31174         <bp-checks.h>.
31175         (__fxstatat): Do not use CHECK_1.
31176         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31177         <bp-checks.h>.
31178         (__getresgid): Do not use CHECK_1.
31179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31180         <bp-checks.h>.
31181         (__getresuid): Do not use CHECK_1.
31182         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31183         <bp-checks.h>.
31184         (__lxstat): Do not use CHECK_1.
31185         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31186         <bp-checks.h>.
31187         (__old_msgctl): Do not use CHECK_1.
31188         (__new_msgctl): Likewise.
31189         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31190         <bp-checks.h>.
31191         (__new_setrlimit): Do not use CHECK_1.
31192         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31193         <bp-checks.h>.
31194         (__old_shmctl): Do not use CHECK_1.
31195         (__new_shmctl): Likewise.
31196         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31197         <bp-checks.h>.
31198         (__xstat): Do not use CHECK_1.
31199         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31200         (__lxstat): Do not use CHECK_1.
31201         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31202         <bp-checks.h>.
31203         (___lxstat64): Do not use CHECK_1.
31204         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31205         (__old_msgctl): Do not use CHECK_1.
31206         (__new_msgctl): Likewise.
31207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31208         <bp-checks.h>.
31209         (__gettimeofday): Do not use CHECK_1.
31210         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31211         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31212         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31213         <bp-checks.h>.
31214         (__gettimeofday): Do not use CHECK_1.
31215         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31216         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31217         (__new_shmctl): Do not use CHECK_1.
31218         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31219         <bp-checks.h>.
31220         (do_sigtimedwait): Do not use CHECK_1.
31221         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31222         <bp-checks.h>.
31223         (do_sigwaitinfo): Do not use CHECK_1.
31224         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31225         <bp-checks.h>.
31226         (msgctl): Do not use CHECK_1.
31227         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31228         <bp-checks.h>.
31229         (shmctl): Do not use CHECK_1.
31230         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31231         (ustat): Do not use CHECK_1.
31232         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31233         <bp-checks.h>.
31234         (__fxstat): Do not use CHECK_1.
31235         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31236         <bp-checks.h>.
31237         (__fxstatat): Do not use CHECK_1.
31238         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31239         <bp-checks.h>.
31240         (__lxstat): Do not use CHECK_1.
31241         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31242         <bp-checks.h>.
31243         (__xstat): Do not use CHECK_1.
31244         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31245         (__xstat): Do not use CHECK_1.
31246         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31247         (___xstat64): Do not use CHECK_1.
31249         [BZ #13550]
31250         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31251         definitions.
31252         (CHECK_BOUNDS_HIGH): Likewise.
31253         * string/strcpy.c: Do not include <bp-checks.h>.
31254         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31256 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31258         * nscd/nscd-client.h (__nscd_drop_map_ref):
31259         Add __attribute__ ((unused)).
31260         * nis/nss-nisplus.h (niserr2nss): Likewise.
31262         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31263         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31265         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31266         Remove inline keyword.
31267         * include/rounding-mode.h (round_away): Likewise.
31268         * libio/wfileops.c (adjust_wide_data): Likewise.
31269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31270         (__m128i_strloadu_tolower): Likewise.
31271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31272         (__m128i_strloadu_tolower): Likewise.
31273         * time/mktime.c (ydhms_diff): Likewise.
31274         * locale/elem-hash.h (elem_hash): Likewise.
31275         * locale/setlocale.c (setdata): Likewise.
31276         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31277         (re_string_wchar_at): Likewise.
31278         (bitset_not, bitset_merge, bitset_mask): Likewise.
31279         [!(__GNUC__ > 3)] (inline): Remove macro.
31280         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31281         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31282         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31283         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31284         * string/memcmp.c (memcmp_bytes): Likewise.
31285         * locale/programs/locarchive.c (compute_hashval): Likewise.
31286         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31287         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31288         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31289         * nss/getent.c (print_rpc, print_protocols): Likewise.
31290         (print_passwd, print_group, print_aliases): Likewise.
31291         * nis/nss-nisplus.h (niserr2nss): Likewise.
31292         * nscd/connections.c (restart_p): Likewise.
31293         Change return type to bool.
31295 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31297         * Makeconfig (all-Depend-files): Add existing
31298         $(sorted-subdirs:=/Depend) files.
31299         (all-subdirs): Remove nss.
31300         * sysdeps/unix/inet/Subdirs: Add it here instead.
31301         * hesiod/Depend: New file.
31303         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31304         instead of calling alloca.
31306         * io/lseek.c (__lseek): Rename to __libc_lseek.
31307         Define __lseek as an alias.
31309         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31311 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31313         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31314         else clause and remove check for non-standard endianness.
31316 2013-02-04  David S. Miller  <davem@davemloft.net>
31318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31320 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31322         [BZ #13550]
31323         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31324         (__ubp_memchr): Remove prototype.
31325         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31326         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31327         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31328         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31329         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31330         Remove alias.
31331         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31332         (__ubp_memchr): Likewise.
31333         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31334         (__ubp_memchr): Likewise.
31335         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31336         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31337         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31338         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31339         CHECK_STRING.
31340         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31341         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31342         (__getcwd): Do not use CHECK_STRING.
31343         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31344         <bp-checks.h>.
31345         (__real_chown): Do not use CHECK_STRING.
31346         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31347         <bp-checks.h>.
31348         (fchownat): Do not use CHECK_STRING.
31349         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31350         CHECK_STRING.
31351         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31352         <bp-checks.h>.
31353         (__lchown): Do not use CHECK_STRING.
31354         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31355         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31356         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31357         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31359         include <bp-checks.h>.
31360         (truncate64): Do not use CHECK_STRING.
31361         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31362         <bp-checks.h>.
31363         (__real_chown): Do not use CHECK_STRING.
31364         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31365         <bp-checks.h>.
31366         (__lchown): Do not use CHECK_STRING.
31367         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31368         <bp-checks.h>.
31369         (__chown): Do not use CHECK_STRING.
31370         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31371         <bp-checks.h>.
31372         (truncate64): Do not use CHECK_STRING.
31373         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31374         Likewise.
31375         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31376         (__xmknod): Do not use CHECK_STRING.
31377         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31378         <bp-checks.h>.
31379         (__xmknodat): Do not use CHECK_STRING.
31380         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31381         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31383 2013-02-04  Andreas Schwab  <schwab@suse.de>
31385         [BZ #14142]
31386         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31387         * include/netdb.h: Likewise for h_errno.
31388         * elf/tst-stackguard1.c: Include <tls.h>.
31390 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31392         * elf/link.h (struct link_map): Extend the l_addr comment.
31393         * include/link.h (struct link_map): Likewise.
31395 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31397         [BZ #13550]
31398         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31399         (BOUNDED_1): Remove macro.
31400         * debug/backtrace.c: Don't include <bp-checks.h>.
31401         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31402         (__backtrace): Likewise.
31403         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31404         <bp-checks.h>.
31405         (__backtrace): Don't use BOUNDED_1.
31406         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31407         <bp-checks.h>.
31408         (__backtrace): Don't use BOUNDED_1.
31409         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31410         (__backtrace): Don't use BOUNDED_1.
31411         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31412         (shmat): Don't use BOUNDED_N.
31414 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31416         [BZ #13550]
31417         * sysdeps/generic/bp-start.h: Remove file.
31418         * csu/libc-start.c: Don't include <bp-start.h>.
31419         (LIBC_START_MAIN): Set up __environ directly instead of using
31420         INIT_ARGV_and_ENVIRON.
31421         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31422         <bp-start.h>.
31424         [BZ #13550]
31425         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31426         definitions.
31427         (CHECK_FCNTL): Likewise.
31428         (CHECK_N_PAGES): Likewise.
31430         [BZ #13550]
31431         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31432         definitions.
31433         (CHECK_SIGSET_NULL_OK): Likewise.
31434         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31435         <bp-checks.h>.
31436         (sigpending): Don't use CHECK_SIGSET.
31437         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31438         <bp-checks.h>.
31439         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31440         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31441         <bp-checks.h>.
31442         (do_sigsuspend): Don't use CHECK_SIGSET.
31443         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31444         use CHECK_SIGSET.
31445         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31446         (do_sigwait): Don't use CHECK_SIGSET.
31447         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31448         use CHECK_SIGSET.
31449         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31450         include <bp-checks.h>.
31451         (sigpending): Don't use CHECK_SIGSET.
31452         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31453         include <bp-checks.h>.
31454         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31455         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31456         <bp-checks.h>.
31457         (sigpending): Don't use CHECK_SIGSET.
31458         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31459         <bp-checks.h>.
31460         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31462         [BZ #13550]
31463         * sysdeps/generic/bp-semctl.h: Remove file.
31464         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31465         <bp-checks.h> and <bp-semctl.h>.
31466         (__old_semctl): Don't use CHECK_SEMCTL.
31467         (__new_semctl): Likewise.
31468         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31469         and <bp-semctl.h>.
31470         (__old_semctl): Don't use CHECK_SEMCTL.
31471         (__new_semctl): Likewise.
31472         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31473         <bp-checks.h> and <bp-semctl.h>.
31474         (__old_semctl): Don't use CHECK_SEMCTL.
31475         (__new_semctl): Likewise.
31476         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31477         <bp-checks.h> and <bp-semctl.h>.
31478         (semctl): Don't use CHECK_SEMCTL.
31480         [BZ #13550]
31481         * Makerules (elide-bp-thunks): Remove variable.
31482         (elide-routines.oS): Don't use $(elide-bp-thunks).
31483         (elide-routines.os): Likewise.
31484         (elide-routines.o): Likewise.
31485         (elide-routines.op): Likewise.
31486         (elide-routines.og): Likewise.
31487         (objects): Don't use $(bp-thunks).
31488         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31489         include.
31490         (common-generated): Do not add s-proto-bp.d.
31491         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31492         (int): Likewise.
31493         (typ): Likewise.
31494         Do not generate makefile rules for bounded-pointer thunks.
31495         * sysdeps/generic/bp-thunks.h: Remove file.
31496         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31497         * sysdeps/unix/s-proto-bp.S: Likewise.
31499         [BZ #15062]
31500         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31501         parts of result separately when argument is not close to line from
31502         -i to i and one part of argument is small.
31503         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31504         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31505         * math/libm-test.inc (cacos_test): Add more tests.
31506         (casin_test): Likewise.
31507         (casinh_test): Likewise.
31508         * sysdeps/i386/fpu/libm-test-ulps: Update.
31509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31511 2013-01-31  David S. Miller  <davem@davemloft.net>
31513         * po/de.po: Update from translation team.
31515 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31517         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31519 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31521         * configure.in (_AC_PROG_CC_C89): New definition.
31522         * configure: Regenerate.
31524         * configure.in (AC_PROG_CPP): New definition.
31525         * configure: Regenerate.
31527 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31529         * debug/tst-backtrace.h: New file.
31530         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31531         (ret): Remove variable.
31532         (x): Likewise.
31533         (FAIL): Remove macro.
31534         (NO_INLINE): Likewise.
31535         (fn1): Use match function instead of strstr.
31536         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31537         (ret): Remove variable.
31538         (x): Likewise.
31539         (FAIL): Remove macro.
31540         (NO_INLINE): Likewise.
31541         (fn): Use match function instead of strstr.
31542         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31543         (ret): Remove variable.
31544         (x): Likewise.
31545         (FAIL): Remove macro.
31546         (NO_INLINE): Likewise.
31547         (handle_signal): Use match function instead of strstr.
31548         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31549         (ret): Remove variable.
31550         (x): Likewise.
31551         (FAIL): Remove macro.
31552         (NO_INLINE): Likewise.
31553         (handle_signal): Use match function instead of strstr.
31555 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31557         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31559 2013-01-23  David S. Miller  <davem@davemloft.net>
31561         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31562         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31563         argument of CAS if possible.
31564         * sysdeps/sparc/sparc64/bits/atomic.h
31565         (__arch_compare_and_exchange_val_32_acq): Likewise.
31566         (__arch_compare_and_exchange_val_64_acq): Likewise.
31568 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31570         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31571         * sysdeps/posix/ulimit.c: ... this.
31572         Include <limits.h>.
31573         * sysdeps/unix/bsd/ulimit.c: Remove file.
31575 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31577         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31578         (LDFLAGS-tst-array5): Likewise.
31580 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #15036]
31583         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31584         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31585         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31586         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31588 2013-01-21  David S. Miller  <davem@davemloft.net>
31590         * sysdeps/sparc/backtrace.c: New file.
31591         * sysdeps/sparc/sparc32/backtrace.h: New file.
31592         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31593         * sysdeps/sparc/sparc64/backtrace.h: New file.
31594         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31595         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31596         -funwind-tables.
31598 2013-01-21  Andreas Schwab  <schwab@suse.de>
31600         [BZ #15020]
31601         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31602         closed its stdout.
31604 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31607         "mpa2.h".
31608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31610 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31611             Mark Mitchell  <mark@codesourcery.com>
31612             Tom de Vries  <tom@codesourcery.com>
31613             Paul Pluzhnikov  <ppluzhnikov@google.com>
31615         * debug/tst-backtrace2.c: New file.
31616         * debug/tst-backtrace3.c: Likewise.
31617         * debug/tst-backtrace4.c: Likewise.
31618         * debug/tst-backtrace5.c: Likewise.
31619         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31620         (CFLAGS-tst-backtrace3.c): Likewise.
31621         (CFLAGS-tst-backtrace4.c): Likewise.
31622         (CFLAGS-tst-backtrace5.c): Likewise.
31623         (LDFLAGS-tst-backtrace2): Likewise.
31624         (LDFLAGS-tst-backtrace3): Likewise.
31625         (LDFLAGS-tst-backtrace4): Likewise.
31626         (LDFLAGS-tst-backtrace5): Likewise.
31627         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31628         tst-backtrace4 and tst-backtrace5.
31630 2013-01-18  Anton Blanchard  <anton@samba.org>
31631             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31633         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31634         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31635         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31636         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31638         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31639         "+r" and remove output regs list as redundant.  Add explicit inline
31640         asm to specify register of return val to work around compiler codegen
31641         bug.  Remove (int) cast on return value.  Add return type parameter to
31642         use in macro so that this macro does not truncate return value for
31643         64-bit values.
31644         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31645         pass to INTERNAL_VSYSCALL_NCS.
31646         (INLINE_VSYSCALL): Add 'long int' as return type to
31647         INTERNAL_VSYSCALL_NCS macro invocation.
31648         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31649         INTERNAL_VSYSCALL_NCS macro invocation.
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31652 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31654         [BZ #14496]
31655         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31656         Fix application of SIMD FP exception mask.
31658         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31659         mp_no from a power of two.
31660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31661         __mpexp_twomm1.  Use __pow_mp.
31663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31664         multiplication.
31666 2013-01-17  David S. Miller  <davem@davemloft.net>
31668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31670 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31672         [BZ #15023]
31673         * include/complex.h: Condition contents on [!_COMPLEX_H].
31674         (__kernel_casinhf): New prototype.
31675         (__kernel_casinh): Likewise.
31676         (__kernel_casinhl): Likewise.
31677         * math/Makefile (libm_calls): Add k_casinh.
31678         * math/k_casinh.c: New file.
31679         * math/k_casinhf.c: Likewise.
31680         * math/k_casinhl.c: Likewise.
31681         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31682         finite nonzero arguments.
31683         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31684         finite nonzero arguments.
31685         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31686         finite nonzero arguments.
31687         * math/s_casinh.c: Do not include <float.h>.
31688         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31689         * math/s_casinhf.c: Do not include <float.h>.
31690         (__casinhf): Move code for finite nonzero arguments to
31691         k_casinhf.c.
31692         * math/s_casinhl.c: Do not include <float.h>.
31693         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31694         redefine.
31695         (__casinhl): Move code for finite nonzero arguments to
31696         k_casinhl.c.
31697         * math/libm-test.inc (cacos_test): Add more tests.
31698         * sysdeps/i386/fpu/libm-test-ulps: Update.
31699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31701 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31703         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31704         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31705         [!HAVE_MREMAP]: Remove [defined linux] case.
31706         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31708 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31710         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31712 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31714         * elf/elf.h (R_386_SIZE32): New relocation.
31715         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31716         R_386_SIZE32.
31717         (elf_machine_rela): Likewise.
31718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31719         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31721 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31723         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31724         (FP_FAST_FMA): Do not define.
31725         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31726         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31727         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31728         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31729         !_SOFT_FLOAT]: Likewise.
31730         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31732         value.
31733         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31734         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31736         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31737         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31738         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31739         file.
31741 2013-01-16  Andreas Schwab  <schwab@suse.de>
31743         [BZ #14327]
31744         * include/stdlib.h (__mktemp): Add declaration.
31745         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31746         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31748 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31750         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31751         definitions.
31752         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31753         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31754         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31755         definitions here.
31756         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31757         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31758         definitions.
31759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31760         and ONE.
31761         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31762         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31763         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31764         definitions.
31765         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31766         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31767         definitions.
31768         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31770         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31772 2013-01-15  David S. Miller  <davem@davemloft.net>
31774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31775         trunc{,f} to libm-sysdep_routes.
31776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31778         file.
31779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31781         file.
31782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31783         file.
31784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31787         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31789         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31790         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31791         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31794         nearbyint{,f} to libm-sysdep_routes.
31795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31797         New file.
31798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31799         file.
31800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31801         New file.
31802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31803         file.
31804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31807         file.
31808         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31809         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31810         file.
31811         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31812         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31813         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31815         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31816         libc_feholdexcept and libc_fesetenv.
31818 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31820         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31822 2013-01-14  David S. Miller  <davem@davemloft.net>
31824         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31825         (SPARC_ASM_VIS2_IFUNC): Likewise.
31826         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31828         use of 'siam' instruction.
31829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31830         Likewise.
31831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31832         Likewise.
31833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31834         Likewise.
31835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31840         file.
31841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31842         file.
31843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31844         file.
31845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31846         file.
31847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31852         new VIS2 routines.
31853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31856         Likewise.
31857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31862         routines to libm-sysdep_routines.
31863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31866         fdim/fdimf to libm-sysdep_routines.
31867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31868         file.
31869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31871         file.
31872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31875         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31876         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31877         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31878         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31880 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31882         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31883         to optimize copies.
31885         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31890         local variable MPTWO.
31891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31892         Likewise.
31894 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31896         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31897         GLOB_NOESCAPE.
31899 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31901         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31903 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31905         * manual/pattern.texi (glob_t): Document gl_flags.
31906         (glob64_t): Likewise.
31908 2013-01-11  David S. Miller  <davem@davemloft.net>
31910         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31911         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31912         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31913         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31914         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31915         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31916         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31917         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31918         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31919         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31920         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31921         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31922         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31925         sparc V9 rather than using V8 code.
31926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31929         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31930         Move to...
31931         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31932         Here.
31934 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31936         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31937         not in the main loop.
31938         * configure: Regenerated.
31940 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31942         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31943         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31944         to just #else.
31945         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31946         [!__GLIBC_HAVE_LONG_LONG] case.
31947         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31948         condition to just #else.
31949         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31950         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31951         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31952         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31953         unconditional.
31954         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31955         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31956         #elif condition to just #else.
31957         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31958         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31959         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31960         #elif condition to just #else.
31962 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31964         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31965         (EF_MIPS_ARCH_64): Fix value.
31966         (EF_MIPS_ARCH_32R2): New.
31967         (EF_MIPS_ARCH_64R2): New.
31969 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31971         * Makeconfig (+link-pie-before-libc): New.
31972         (+link-pie-after-libc): Likewise.
31973         (+link-pie-tests): Likewise.
31974         (+link-pie): Rewritten.
31975         (link-before-libc): Remove $(config-LDFLAGS).
31976         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31977         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31978         (config-LDFLAGS): Renamed to ...
31979         (rtld-LDFLAGS): This.
31980         (rtld-tests-LDFLAGS): New macro.
31981         (link-libc-rpath-link): Likewise.
31982         (link-libc-tests-rpath-link): Likewise.
31983         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31984         (link-libc): Prepand $(link-libc-rpath-link).
31985         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31986         (test-program-prefix): New macro.
31987         (test-via-rtld-prefix): Likewise.
31988         (test-program-cmd): Likewise.
31989         (host-test-program-cmd): Likewise.
31990         * Makefile ($(common-objpfx)testrun.sh): Replace
31991         $(run-program-prefix) with $(test-program-prefix).
31992         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31993         $(rtld-LDFLAGS).
31994         ($(common-objpfx)shlib.lds): Likewise.
31995         (build-module-helper): Likewise.
31996         ($(common-objpfx)format.lds): Likewise.
31997         * Rules (binaries-pie-tests): New.
31998         (binaries-pie-notests): Likewise.
31999         (binaries-pie): Rewritten.
32000         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32001         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32002         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32003         (make-test-out): Replace $(host-built-program-cmd) with
32004         $(host-test-program-cmd).
32005         * config.make.in (build-hardcoded-path-in-tests): New variable.
32006         * configure.in (--enable-hardcoded-path-in-tests): New configure
32007         option.
32008         (hardcoded_path_in_tests): New AC_SUBST.
32009         * configure: Regenerated.
32010         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32011         $(built-program-cmd) with $(test-program-cmd).
32012         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32013         (test_program_cmd): This.
32014         * elf/Makefile ($(objpfx)order.out): Run test with
32015         $(test-program-prefix).
32016         ($(objpfx)order2.out): Likewise.
32017         ($(objpfx)tst-initorder.out): Likewise.
32018         ($(objpfx)tst-initorder2.out): Likewise.
32019         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32020         $(test-program-cmd).
32021         ($(objpfx)tst-array1-static.out): Likewise.
32022         ($(objpfx)tst-array2.out): Likewise.
32023         ($(objpfx)tst-array3.out): Likewise.
32024         ($(objpfx)tst-array4.out): Likewise.
32025         ($(objpfx)tst-array5.out): Likewise.
32026         ($(objpfx)tst-array5-static.out): Likewise.
32027         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32028         $(test-program-cmd).
32029         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32030         $(run-program-prefix) with $(test-program-prefix).
32031         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32032         (test_program_prefix): This.
32033         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32034         $(run-program-prefix) with $(test-program-prefix).
32035         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32036         (test_program_prefix): This.
32037         * iconvdata/tst-tables.sh: Likewise.
32038         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32039         $(run-program-prefix) with $(test-program-prefix).
32040         ($(objpfx)tst-translit.out): Likewise.
32041         ($(objpfx)tst-gettext2.out): Likewise.
32042         ($(objpfx)tst-gettext4.out): Likewise.
32043         ($(objpfx)tst-gettext6.out): Likewise.
32044         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32045         (test_program_prefix): This.
32046         * intl/tst-gettext2.sh: Likewise.
32047         * intl/tst-gettext4.sh  Likewise.
32048         * intl/tst-gettext6.sh: Likewise.
32049         * intl/tst-translit.sh: Likewise.
32050         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32051         with $(test-program-cmd).
32052         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32053         $(run-program-prefix) with $(test-program-prefix).
32054         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32055         (test_program_prefix): This.
32056         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32057         $(run-program-prefix) with $(test-program-prefix).
32058         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32059         (test_program_prefix): This.
32060         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32061         * posix/Makefile ($(objpfx)globtest.out): Replace
32062         $(run-via-rtld-prefix) and $(test-wrapper) with
32063         $(test-program-prefix) and $(test-via-rtld-prefix).
32064         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32065         $(test-program-prefix).
32066         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32067         $(host-test-program-cmd).
32068         (tst-spawn-ARGS): Likewise.
32069         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32070         $(test-program-prefix).
32071         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32072         (test_via_rtld_prefix): This.
32073         (test_wrapper): Renamed to ...
32074         (test_program_prefix): This.
32075         (run_program_prefix): Replaced by test_program_prefix.
32076         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32077         (test_program_prefix): This.
32078         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32079         with $(host-test-program-cmd).
32080         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32081         $(run-program-prefix) with $(test-program-prefix).
32082         ($(objpfx)tst-printf.out): Likewise.
32083         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32084         $(test-program-cmd).
32085         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32086         (test_program_prefix): This.
32087         * stdio-common/tst-unbputc.sh: Likewise.
32088         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32089         $(run-program-prefix) with $(test-program-prefix).
32090         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32091         (test_program_prefix): This.
32092         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32093         $(built-program-cmd) with $(test-program-cmd).
32095 2013-01-11  Andreas Jaeger  <aj@suse.de>
32097         [BZ #15003]
32098         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32099         value. Sync with Linux 3.7.
32101 2013-01-10  David S. Miller  <davem@davemloft.net>
32103         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32104         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32105         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32107 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32109         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32110         never set.
32111         * configure: Regenerated.
32113 2013-01-10  David S. Miller  <davem@davemloft.net>
32115         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32116         sparc V9 rather than using V8 code.
32117         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32118         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32120 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32122         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32123         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32124         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32125         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32126         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32127         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32128         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32129         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32130         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32131         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32132         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32133         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32134         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32135         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32136         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32137         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32138         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32139         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32140         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32141         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32142         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32143         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32144         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32145         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32146         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32147         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32148         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32150 2013-01-10  David S. Miller  <davem@davemloft.net>
32152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32154 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32156         * posix/Makefile (tests-static): New variable.
32157         (tests): Add $(tests-static).
32158         (tst-exec-static-ARGS): New variable.
32159         (tst-spawn-static-ARGS): Likewise.
32160         * posix/tst-exec-static.c: New file.
32161         * posix/tst-spawn-static.c: Likewise.
32162         * posix/tst-exec.c: Support run directly.
32163         * posix/tst-spawn.c: Likewise.
32165 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32167         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32168         long.
32169         * math/bits/mathcalls.h (llrint): Likewise.
32170         (llround): Likewise.
32171         * stdlib/stdlib.h (struct drand48_data): Likewise.
32172         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32173         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32174         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32175         Likewise.
32176         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32177         Likewise.
32178         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32179         (elf_greg_t): Likewise.
32180         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32181         (__jmp_buf): Likewise.
32182         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32183         definitions.
32184         (llrint): Likewise, for all definitions.
32185         (llrintl): Likewise.
32187         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32188         Remove [__GNUC__] condition.
32189         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32190         condition to just [__USE_ISOC99].
32191         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32193 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32195         [BZ #14200]
32196         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32197         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32198         defined.
32199         (_POSIX_V6_ILP32_OFF32): Likewise.
32200         (_XBS5_ILP32_OFF32): Likewise.
32201         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32202         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32204 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32206         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32209         doubles __mpexp_twomm1.  Adjust usage.
32210         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32211         Remove.
32213 2013-01-10  Andreas Schwab  <schwab@suse.de>
32215         [BZ #14964]
32216         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32217         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32219 2013-01-09  David S. Miller  <davem@davemloft.net>
32221         [BZ #15003]
32222         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32223         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32224         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32225         (TCP_FASTOPEN): Define.
32226         (tcp_repair_opt): New structure.
32227         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32228         enum values.
32229         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32230         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32231         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32232         (tcp_cookie_transactions): New structure.
32234 2013-01-09  Anton Blanchard  <anton@samba.org>
32236         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32237         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32239         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32241 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32243         * include/features.h (__USE_ANSI): Remove.
32245 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32247         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32249         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32251 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32253         * sysdeps/s390/fpu/libm-test-ulps: Update.
32255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32257         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32258         (__acr): Likewise.
32259         (__cpy): Likewise.
32260         (norm): Likewise.
32261         (denorm): Likewise.
32262         (__mp_dbl): Likewise.
32263         (__dbl_mp): Likewise.
32264         (add_magnitudes): Likewise.
32265         (sub_magnitudes): Likewise.
32266         (__add): Likewise.
32267         (__sub): Likewise.
32268         (__mul): Likewise.
32269         (__inv): Likewise.
32270         (__dvd): Likewise.
32271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32272         (__acr): Likewise.
32273         (__cpy): Likewise.
32274         (norm): Likewise.
32275         (denorm): Likewise.
32276         (__mp_dbl): Likewise.
32277         (__dbl_mp): Likewise.
32278         (add_magnitudes): Likewise.
32279         (sub_magnitudes): Likewise.
32280         (__add): Likewise.
32281         (__sub): Likewise.
32282         (__mul): Likewise.
32283         (__inv): Likewise.
32284         (__dvd): Likewise.
32285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32286         (__acr): Likewise.
32287         (__cpy): Likewise.
32288         (norm): Likewise.
32289         (denorm): Likewise.
32290         (__mp_dbl): Likewise.
32291         (__dbl_mp): Likewise.
32292         (add_magnitudes): Likewise.
32293         (sub_magnitudes): Likewise.
32294         (__add): Likewise.
32295         (__sub): Likewise.
32296         (__mul): Likewise.
32297         (__inv): Likewise.
32298         (__dvd): Likewise.
32300 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32302         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32303         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32304         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32305         2 && __USE_EXTERN_INLINES]: Likewise.
32307 2013-01-08  Andreas Jaeger  <aj@suse.de>
32309         [BZ# 14985]
32310         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32311         Remove.
32312         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32313         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32315 2013-01-07  Anton Blanchard  <anton@samba.org>
32317         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32318         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32319         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32320         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32321         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32322         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32323         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32324         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32326         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32328         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32329         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32335         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32337         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32338         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32340         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32341         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32342         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32343         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32344         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32345         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32346         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32347         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32349         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32350         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32351         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32353         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32354         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32357         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32359         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32361 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32363         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32364         (__MALLOC_PMT): Likewise.
32365         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32366         [__GNUC__], only on [_LIBC].
32367         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32368         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32369         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32370         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32371         forward declaration.
32372         (realloc_hook_ini): Likewise.
32373         (memalign_hook_ini): Likewise.
32374         (__libc_memalign): Do not use __MALLOC_PMT in variable
32375         declaration.
32376         (__libc_valloc): Likewise.
32377         (__libc_pvalloc): Likewise.
32378         (__libc_calloc): Likewise.
32379         (__posix_memalign): Likewise.
32381         [BZ #14996]
32382         * math/s_casinh.c: Include <float.h>.
32383         (__casinh): Do not do computation with squaring and square root
32384         for large arguments.
32385         * math/s_casinhf.c: Include <float.h>.
32386         (__casinhf): Do not do computation with squaring and square root
32387         for large arguments.
32388         * math/s_casinhl.c: Include <float.h>.
32389         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32390         (__casinhl): Do not do computation with squaring and square root
32391         for large arguments.
32392         * math/libm-test.inc (casin_test): Add more tests.
32393         (casinh_test): Likewise.
32394         * sysdeps/i386/fpu/libm-test-ulps: Update.
32395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32397 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32399         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32400         (__x86_64_raw_data_cache_size): Likewise.
32401         (__x86_64_data_cache_size_half): Likewise.
32402         (__x86_64_raw_data_cache_size_half): Likewise.
32403         (__x86_64_shared_cache_size): Likewise.
32404         (__x86_64_raw_shared_cache_size): Likewise.
32405         (__x86_64_shared_cache_size_half): Likewise.
32406         (__x86_64_raw_shared_cache_size_half): Likewise.
32407         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32408         to ...
32409         (__x86_data_cache_size): This.
32410         (__x86_64_raw_data_cache_size): Renamed to ...
32411         (__x86_raw_data_cache_size): This.
32412         (__x86_64_data_cache_size_half): Renamed to ...
32413         (__x86_data_cache_size_half): This.
32414         (__x86_64_raw_data_cache_size_half): Renamed to ...
32415         (__x86_raw_data_cache_size_half): This.
32416         (__x86_64_shared_cache_size): Renamed to ...
32417         (__x86_shared_cache_size): This.
32418         (__x86_64_raw_shared_cache_size): Renamed to ...
32419         (__x86_raw_shared_cache_size): This.
32420         (__x86_64_shared_cache_size_half): Renamed to ...
32421         (__x86_shared_cache_size_half): This.
32422         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32423         (__x86_raw_shared_cache_size_half): This.
32424         * sysdeps/x86_64/memcpy.S: Updated.
32425         * sysdeps/x86_64/memset.S: Likewise.
32426         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32427         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32428         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32430 2013-01-04  David S. Miller  <davem@davemloft.net>
32432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32434 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32436         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32437         1 to avoid redefinition warning.
32438         (__USE_GNU): Don't define.
32439         (init_signaling_nan): Protoize.
32441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32443 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32445         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32447         (__cpymn): Likewise.
32448         (norm): Remove commented code.
32449         (denorm): Likewise.
32450         (__mp_dbl): Likewise.
32451         (__inv): Likewise.
32452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32453         (__cpymn): Likewise.
32454         (norm): Remove commented code.
32455         (denorm): Likewise.
32456         (__mp_dbl): Likewise.
32457         (__inv): Likewise.
32459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32460         mp_no value for 1.0 and 2.0.
32461         (norm): Use RADIXI instead of radixi.d.
32462         (denorm): Likewise.
32463         (__mul): Use 0.0 instead of zero.d.
32464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32465         mp_no value for 1.0 and 2.0.
32466         (norm): Use RADIXI instead of radixi.d.
32467         (denorm): Likewise.
32468         (__mul): Use 0.0 instead of zero.d.
32470 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32472         [BZ #14994]
32473         * math/s_casinh.c (__casinh): Reduce finite argument to first
32474         quadrant then set signs of results at the end.
32475         * math/s_casinhf.c (__casinhf): Likewise.
32476         * math/s_casinhl.c (__casinhl): Likewise.
32477         * math/libm-test.inc (casin_test): Add more tests.
32478         (casinh_test): Likewise.
32479         * sysdeps/i386/fpu/libm-test-ulps: Update.
32480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32482 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32484         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32486         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32488         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32489         declarations.
32490         (denorm): Likewise.
32491         (__mp_dbl): Likewise.
32492         (__inv): Likewise.
32494         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32495         and adjust the header comment.
32497         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32498         variable name from declaration.
32500 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32503         Initialize COMMON_CPUID_INDEX_7 element.
32504         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32505         (CPUID_RTM): Likewise.
32506         (HAS_RTM): Likewise.
32507         (COMMON_CPUID_INDEX_7): New enum.
32509 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32511         [BZ #14981]
32512         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32513         size is zero, record memory as freed.
32515 2013-01-03  Andreas Jaeger  <aj@suse.de>
32517         * po/ia.po: Add new Interlingua translation.
32519 2012-01-03  Allan McRae  <allan@archlinux.org>
32521         * locale/programs/localedef.c: Fix description of '--posix' flag.
32523 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32525         * NEWS: Update dates in second copyright notice.
32526         * README: Update copyright dates in example.
32527         * manual/libc.texinfo: Update copyright dates.
32528         * scripts/test-installation.pl: Update copyright date in --version
32529         output.
32531         * hurd/ctty-input.c: Fix copyright notice formatting.
32532         * hurd/ctty-output.c: Likewise.
32533         * hurd/dtable.c: Likewise.
32534         * hurd/hurd-raise.c: Likewise.
32535         * hurd/hurdprio.c: Likewise.
32536         * hurd/msgportdemux.c: Likewise.
32537         * misc/sys/file.h: Likewise.
32538         * misc/sys/ioctl.h: Likewise.
32539         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32540         * sysdeps/mach/hurd/chdir.c: Likewise.
32541         * sysdeps/mach/hurd/fchdir.c: Likewise.
32542         * sysdeps/mach/hurd/rename.c: Likewise.
32543         * sysdeps/mach/hurd/rmdir.c: Likewise.
32544         * sysdeps/mach/hurd/seekdir.c: Likewise.
32545         * sysdeps/mach/hurd/setsid.c: Likewise.
32546         * sysdeps/posix/wait3.c: Likewise.
32548         * All files with FSF copyright notices: Update copyright dates
32549         using scripts/update-copyrights.
32550         * intl/plural.c: Regenerated.
32551         * locale/programs/charmap-kw.h: Likewise.
32552         * locale/programs/locfile-kw.h: Likewise.
32554 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32557         four values.
32559         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32560         calculation loop and add branch prediction.
32562         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32563         check access beyond bounds of m1np.
32565         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32566         MPTWO.
32567         (__inv): Remove local variable MPTWO to use the global
32568         constant.
32569         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32570         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32571         variable MPTWO.
32572         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32573         MP3HALFS static const.
32575 2013-01-01  David S. Miller  <davem@davemloft.net>
32577         * po/ca.po: Update from translation team.
32579 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32581         * scripts/update-copyrights: New file.
32582         * Makeconfig: Reformat copyright notice.
32583         * ctype/ctype.h: Likewise.
32584         * debug/swprintf_chk.c: Likewise.
32585         * elf/dl-cache.c: Likewise.
32586         * elf/dl-debug.c: Likewise.
32587         * elf/dl-object.c: Likewise.
32588         * grp/initgroups.c: Likewise.
32589         * hurd/Makefile: Likewise.
32590         * hurd/hurd/signal.h: Likewise.
32591         * hurd/hurdfault.c: Likewise.
32592         * hurd/hurdioctl.c: Likewise.
32593         * hurd/hurdlookup.c: Likewise.
32594         * hurd/intr-msg.c: Likewise.
32595         * iconv/gconv_open.c: Likewise.
32596         * libio/swprintf.c: Likewise.
32597         * locale/lc-ctype.c: Likewise.
32598         * locale/nl_langinfo.c: Likewise.
32599         * mach/Machrules: Likewise.
32600         * mach/Makefile: Likewise.
32601         * malloc/obstack.h: Likewise.
32602         * manual/Makefile: Likewise.
32603         * manual/tsort.awk: Likewise.
32604         * misc/bits/stab.def: Likewise.
32605         * nis/nis_print_group_entry.c: Likewise.
32606         * nis/nis_table.c: Likewise.
32607         * nis/nss_compat/compat-pwd.c: Likewise.
32608         * nis/nss_compat/compat-spwd.c: Likewise.
32609         * po/Makefile: Likewise.
32610         * posix/fnmatch.c: Likewise.
32611         * posix/regex.h: Likewise.
32612         * resolv/Makefile: Likewise.
32613         * resolv/nss_dns/dns-network.c: Likewise.
32614         * resolv/res_hconf.c: Likewise.
32615         * scripts/gen-sorted.awk: Likewise.
32616         * soft-fp/soft-fp.h: Likewise.
32617         * stdio-common/printf.h: Likewise.
32618         * stdlib/monetary.h: Likewise.
32619         * stdlib/random.c: Likewise.
32620         * stdlib/random_r.c: Likewise.
32621         * sysdeps/generic/Makefile: Likewise.
32622         * sysdeps/gnu/Makefile: Likewise.
32623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32627         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32630         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32631         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32633         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32634         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32635         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32636         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32637         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32638         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32639         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32640         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32643         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32644         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32645         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32646         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32647         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32648         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32649         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32650         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32651         * sysdeps/mach/hurd/errnos.awk: Likewise.
32652         * sysdeps/mach/hurd/fork.c: Likewise.
32653         * sysdeps/mach/hurd/getcwd.c: Likewise.
32654         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32655         * sysdeps/mach/hurd/mmap.c: Likewise.
32656         * sysdeps/mach/hurd/utimes.c: Likewise.
32657         * sysdeps/mach/hurd/xmknod.c: Likewise.
32658         * sysdeps/posix/profil.c: Likewise.
32659         * sysdeps/posix/readdir_r.c: Likewise.
32660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32661         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32662         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32663         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32665         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32667         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32669         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32671         * sysdeps/pthread/lio_listio.c: Likewise.
32672         * sysdeps/sparc/dl-procinfo.h: Likewise.
32673         * sysdeps/unix/i386/sysdep.S: Likewise.
32674         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32675         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32676         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32677         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32679         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32680         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32681         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32682         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32683         * sysdeps/wordsize-32/divdi3.c: Likewise.
32684         * time/sys/time.h: Likewise.
32685         * wcsmbs/Makefile: Likewise.
32687 2013-01-01  David S. Miller  <davem@davemloft.net>
32689         * po/fr.po: Update from translation team.
32691         * catgets/gencat.c: Update copyright year.
32692         * csu/version.c: Likewise.
32693         * debug/catchsegv.sh: Likewise.
32694         * debug/pcprofiledump.c: Likewise.
32695         * debug/xtrace.sh: Likewise.
32696         * elf/ldconfig.c: Likewise.
32697         * elf/ldd.bash.in: Likewise.
32698         * elf/pldd.c: Likewise.
32699         * elf/sotruss.ksh: Likewise.
32700         * elf/sprof.c: Likewise.
32701         * iconv/iconv_prog.c: Likewise.
32702         * iconv/iconvconfig.c: Likewise.
32703         * locale/programs/locale.c: Likewise.
32704         * locale/programs/localedef.c: Likewise.
32705         * login/programs/pt_chown.c: Likewise.
32706         * malloc/memusage.sh: Likewise.
32707         * malloc/memusagestat.c: Likewise.
32708         * malloc/mtrace.pl: Likewise.
32709         * nscd/nscd.c: Likewise.
32710         * nss/getent.c: Likewise.
32711         * nss/makedb.c: Likewise.
32712         * posix/getconf.c: Likewise.
32714 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32716         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32717         numbers.
32719 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32721         * math/bits/mathcalls.h (modf): Use __nonnull.
32723 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32725         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32726         (split): Use macro CN instead of the bare value.
32727         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32728         could be used.
32729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32730         instead of the bare value.
32731         (power1): Likewise.
32733 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32736         __ATAN_TWOM.
32737         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32739         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32740         their values.
32741         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32743         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32744         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32746 2012-12-28  Andreas Jaeger  <aj@suse.de>
32748         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32749         values are from Linux 3.7.
32751         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32752         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32754 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32756         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32757         TRUE case.
32759         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32760         (norm): Likewise.
32761         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32762         variables with preprocessor constants.
32763         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32764         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32765         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32767 2012-12-27  Bruno Haible  <bruno@clisp.org>
32769         [BZ #14317]
32770         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32771         only if needed.
32773 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32776         and use variable directly.
32777         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32779         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32780         MPONE.
32781         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32783         variable MPONE.
32784         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32786         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32787         include directive.  Remove local variable MPONE.
32788         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32789         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32792 2012-12-25  David S. Miller  <davem@davemloft.net>
32794         * version.h (RELEASE): Set to "development".
32795         (VERSION): Set to "2.17.90".
32796         * NEWS: Add 2.18 section.
32798 2012-12-21  David S. Miller  <davem@davemloft.net>
32800         * po/hr.po: Update from translation team.
32802 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32804         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32806 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32808         * NEWS:  Mention new memcpy for MIPS.
32810 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32812         * manual/contrib.texi (Contributors): Spelling correction.
32814 2012-12-15  David S. Miller  <davem@davemloft.net>
32816         * po/ru.po: Update from translation team.
32818 2012-12-13  David S. Miller  <davem@davemloft.net>
32820         * NEWS: Mention IFUNC testsuite enhancements.
32822         * po/pl.po: Update from translation team.
32823         * po/bg.po: Likewise.
32825         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32826         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32828 2012-12-11  David S. Miller  <davem@davemloft.net>
32830         * po/sv.po: Update from translation team.
32832         * po/vi.po: Update from translation team.
32834         * po/cs.po: Update from translation team.
32836         * po/de.po: Update from translation team.
32837         * po/eo.po: Likewise.
32838         * po/nl.po: Likewise.
32840 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32842         [BZ #14246]
32843         * manual/argp.texi (Argp Helper Functions): Move node to follow
32844         Argp Parsing State.
32846         [BZ #14872]
32847         * manual/conf.texi (Limits on File System Capacity): Mention if
32848         terminating null is included in the max size.
32850 2012-12-10  Andreas Jaeger  <aj@suse.de>
32852         * po/cs.po: Update from translation team.
32854 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32856         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32857         void pointer and cast to uintptr_t.
32858         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32859         path.
32860         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32861         * sysdeps/s390/s390-64/memset.S: Likewise.
32863 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32865         [BZ #14833]
32866         * menual/message.texi (Message Translation): Fix typos.
32867         (Helper programs for gettext): Likewise.
32869 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32871         [BZ #14898]
32872         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32873         Change to -1.
32875 2012-12-07  David S. Miller  <davem@davemloft.net>
32877         * po/libc.pot: Update.
32879 2012-12-07  Richard Henderson  <rth@redhat.com>
32881         [BZ #10114]
32882         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32883         normal/normal case to before the switch.
32884         (_FP_DIV): Likewise.
32886 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32887             Mike Frysinger  <vapier@gentoo.org>
32889         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32890         check for __NR_fadvise64_64.
32892 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32894         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32895         0, not just to plain "0" as a statement.
32896         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32897         with cw.
32899 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32901         * NEWS: Use sourceware.org in Bugzilla URL.
32903 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32906         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32908         * stdio-common/tst-put-error.c (do_test): Add newline to the
32909         padded test to ensure flush.
32911 2012-12-05  Jeff Law  <law@redhat.com>
32913         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32915 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32917         * README: Don't refer to ports add-on as distributed separately.
32918         Mention AArch64 in list of systems supported in the ports add-on.
32920         * LICENSES: Add more non-FSF copyright and license notices.
32922         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32923         ((unused)).
32925         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32927         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32928         10000 as width of padded output.
32930 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32932         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32935         variable LX with __attribute__ ((unused)).
32936         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32937         Likewise.
32938         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32941         with __attribute__ ((unused)).
32943 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32945         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32947 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32949         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32950         (CFLAGS-nldbl-acos.c): New variable.
32951         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32952         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32953         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32954         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32955         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32956         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32957         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32958         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32959         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32960         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32961         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32962         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32963         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32964         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32965         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32966         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32967         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32968         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32969         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32970         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32971         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32972         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32973         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32974         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32975         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32976         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32977         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32978         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32979         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32980         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32981         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32982         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32983         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32984         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32985         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32986         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32987         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32988         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32989         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32990         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32991         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32992         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32993         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32994         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32995         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32996         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32997         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32998         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32999         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33000         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33001         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33002         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33003         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33004         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33005         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33006         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33007         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33008         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33009         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33010         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33011         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33012         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33013         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33014         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33015         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33016         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33017         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33018         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33019         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33020         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33021         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33022         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33023         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33024         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33025         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33026         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33027         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33028         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33029         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33030         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33031         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33032         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33033         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33034         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33035         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33036         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33037         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33038         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33039         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33040         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33041         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33042         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33043         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33044         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33045         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33046         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33047         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33050         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33052         [BZ #14914]
33053         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33054         whole low double instead of just low 47 bits when splitting values
33055         into two parts.
33057 2012-12-03  Allan McRae  <allan@archlinux.org>
33059         * manual/stdio.texi (Predefined Printf Handlers): Remove
33060         @hsep and @vsep usage.
33062 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33064         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33065         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33067 2012-12-03  Jeff Law  <law@redhat.com>
33069         * time/sys/time.h (settimeofday): Do not mark TV argument
33070         as __nonnull.
33072 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33074         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33075         when currently writing and seek to current position when not.
33076         * libio/Makefile (tests): Remove bug-fclose1.
33077         * libio/bug-fclose1.c: Delete.
33079 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33081         * manual/arith.texi (feenableexcept): Fix typo.
33082         (fedisableexcept): Likewise.
33084 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33086         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33087         second, differently-typed declaration, rather than a cast.
33089 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33092         * include/rpc/svc.h: ... here.
33094 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33096         [BZ #13013]
33097         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33098         depending n and resplen2 to catch cases where answer
33099         equals answerp2.
33101 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33103         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33104         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33106 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33110 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33112         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33114 2012-11-28  Jeff Law  <law@redhat.com>
33116         [BZ #13761]
33117         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33118         dataset_temporary.  Track alloca usage into alloca_used.
33119         If dataset is large allocate and release it via malloc/free.
33121 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33123         [BZ #14197]
33124         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33126 2012-11-28  David S. Miller  <davem@davemloft.net>
33128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33130 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33132         [BZ #14803]
33133         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33134         of pi/2 rounded to nearest to 64 bits.
33135         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33136         nearest to 64 bits.
33137         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33138         bits.
33140 2012-11-28  Jeff Law <law@redhat.com>
33141             Martin Osvald <mosvald@redhat.com>
33143         [BZ #14889]
33144         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33145         * sunrpc/svc.c: Include time.h.
33146         (__svc_accept_failed): New function.
33147         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33148         any reason other than EINTR, call __svc_accept_failed.
33149         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33150         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33152 2012-11-28  Andreas Schwab  <schwab@suse.de>
33154         * scripts/abilist.awk: Also handle indirect functions in .opd
33155         section.
33157 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33159         [BZ #13881]
33160         * sysdeps/x86/fpu/powl_helper.c: New file.
33161         * sysdeps/x86/fpu/Makefile: Likewise.
33162         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33163         (p3): New object.
33164         (__ieee754_powl): Use __powl_helper for finite arguments except
33165         integer exponents below 8.
33166         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33167         (p3): New object.
33168         (__ieee754_powl): Use __powl_helper for finite arguments except
33169         integer exponents below 8.
33170         * math/libm-test.inc (pow_test): Add more tests and enable some
33171         previously disabled tests.
33172         * sysdeps/i386/fpu/libm-test-ulps: Update.
33173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33175 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33176             Carlos O'Donell  <carlos_odonell@mentor.com>
33178         * nss/makedb.c (is_prime): Assert that input is odd and greater
33179         than 4.  Note that fact in a comment too.
33180         (next_prime): Add 4 to input.
33182 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33184         [BZ #11741]
33185         * libio/Makefile (tests): Add test case tst-fwrite-error.
33186         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33187         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33188         * libio/tst-fwrite-error.c: New test case.
33190 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33192         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33193         before casting to void *.
33194         * include/libc-internal.h (__pointer_type): New macro.
33195         (__integer_if_pointer_type_sub): Likewise.
33196         (__integer_if_pointer_type): Likewise.
33197         (cast_to_integer): Likewise.
33198         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33199         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33200         before casting to atomic64_t.
33201         (atomic_exchange_acq): Likewise.
33202         (__arch_exchange_and_add_body): Likewise.
33203         (__arch_add_body): Likewise.
33204         (atomic_add_negative): Likewise.
33205         (atomic_add_zero): Likewise.
33207 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33209         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33210         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33211         (add_fdes): Likewise.
33212         (linear_search_fdes): Likewise.
33213         (binary_search_unencoded_fdes): Likewise.
33215 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33217         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33219 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33221         * configure.in: Autodetect C++ header directories.
33222         * configure: Regenerated.
33224 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33226         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33228 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33232 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33234         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33235         LDBL_MANT_DIG == 106]: Disable some tests.
33236         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33237         Likewise.
33238         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33239         Likewise.
33241         [BZ #14871]
33242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33243         input for small inputs.  Return +/- pi/2 for large inputs.
33244         * math/libm-test.inc (atan_test): Add more tests.
33246         * sysdeps/generic/unwind-dw2-fde-glibc.c
33247         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33248         __attribute__ ((unused)).
33250         [BZ #14645]
33251         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33252         x * y if x and y are nonzero and z is zero.
33254         [BZ #14811]
33255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33256         nonzero exponents with absolute value below 0x1p-117 to +/-
33257         0x1p-117.
33259         [BZ #14869]
33260         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33261         up arguments below 2**-450, not just those below 2**-500.
33262         * math/libm-test.inc (hypot_test): Add another test.
33264         [BZ #14868]
33265         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33266         Return a+b for ratio over 2**120, not 2**60.
33267         * math/libm-test.inc (hypot_test): Add another test.
33269         * math/libm-test.inc (clog_test): Use
33270         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33271         (clog10_test): Likewise.
33273         [BZ #6778]
33274         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33276 2012-11-22  Andreas Schwab  <schwab@suse.de>
33278         * sysdeps/i386/fpu/libm-test-ulps: Update.
33280 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33282         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33283         printf output with newline.
33285 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33287         [BZ #14865]
33288         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33289         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33290         -z nodlopen, -z initfirst and -z execstack support.
33291         * configure: Regenerated.
33293         * elf/elf.h (DF_1_NODIRECT): New macro.
33294         (DF_1_IGNMULDEF): Likewise.
33295         (DF_1_NOKSYMS): Likewise.
33296         (DF_1_NOHDR): Likewise.
33297         (DF_1_EDITED): Likewise.
33298         (DF_1_NORELOC): Likewise.
33299         (DF_1_SYMINTPOSE): Likewise.
33300         (DF_1_GLOBAUDIT): Likewise.
33301         (DF_1_SINGLETON): Likewise.
33302         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33303         DT_1_SUPPORTED_MASK bits.
33304         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33306 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33308         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33310 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33312         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33313         macro.
33315         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33316         (sendmmsg): Move declarations...
33317         * socket/sys/socket.h: ... here.
33318         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33319         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33320         include it from...
33321         * socket/recvmmsg.c: ... this new file.
33322         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33323         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33324         definition of __sendmmsg hidden.
33325         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33326         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33327         Move ENOSYS stub into and include it from...
33328         * socket/sendmmsg.c: ... this new file.
33329         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33330         (sysdep_routines): Move recvmmsg and sendmmsg...
33331         * socket/Makefile (routines): ... here.
33332         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33333         (GLIBC_PRIVATE): Add __sendmmsg.
33334         * include/sys/socket.h (__sendmmsg): Add declarations.
33335         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33336         sendmmsg.
33338 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33341         variable I1 with __attribute__ ((unused)).
33342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33344 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33346         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33347         DUMMY variables with __attribute__ ((unused)).
33349         * bits/byteswap.h: Include <bits/types.h>.
33350         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33352 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33354         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33355         string_t.  Do not manually set errno.
33356         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33357         length with __strnlen.  Make sure to both set errno and return it on
33358         failure.
33360 2012-11-19  David S. Miller  <davem@davemloft.net>
33362         With help from Joseph Myers.
33363         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33364         very large arguments properly.
33365         * math/libm-test.inc (atan_test): New tests.
33366         (atan2_test): New tests.
33367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33370 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33372         [BZ #14856]
33373         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33374         Define to 3.
33376         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33377         [POSIX] (EADDRNOTAVAIL): Likewise.
33378         [POSIX] (EAFNOSUPPORT): Likewise.
33379         [POSIX] (EALREADY): Likewise.
33380         [POSIX] (ECONNABORTED): Likewise.
33381         [POSIX] (ECONNREFUSED): Likewise.
33382         [POSIX] (ECONNRESET): Likewise.
33383         [POSIX] (EDESTADDRREQ): Likewise.
33384         [POSIX] (EDQUOT): Likewise.
33385         [POSIX] (EHOSTUNREACH): Likewise.
33386         [POSIX] (EIDRM): Likewise.
33387         [POSIX] (EISCONN): Likewise.
33388         [POSIX] (ELOOP): Likewise.
33389         [POSIX] (EMULTIHOP): Likewise.
33390         [POSIX] (ENETDOWN): Likewise.
33391         [POSIX] (ENETUNREACH): Likewise.
33392         [POSIX] (ENOBUFS): Likewise.
33393         [POSIX] (ENODATA): Likewise.
33394         [POSIX] (ENOLINK): Likewise.
33395         [POSIX] (ENOMSG): Likewise.
33396         [POSIX] (ENOPROTOOPT): Likewise.
33397         [POSIX] (ENOSR): Likewise.
33398         [POSIX] (ENOSTR): Likewise.
33399         [POSIX] (ENOTCONN): Likewise.
33400         [POSIX] (ENOTSOCK): Likewise.
33401         [POSIX] (EOPNOTSUPP): Likewise.
33402         [POSIX] (EOVERFLOW): Likewise.
33403         [POSIX] (EPROTO): Likewise.
33404         [POSIX] (EPROTONOSUPPORT): Likewise.
33405         [POSIX] (EPROTOTYPE): Likewise.
33406         [POSIX] (ESTALE): Likewise.
33407         [POSIX] (ETIME): Likewise.
33408         [POSIX] (ETXTBSY): Likewise.
33409         [POSIX] (EWOULDBLOCK): Likewise.
33410         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33411         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33412         [POSIX] (SEEK_CUR): Likewise.
33413         [POSIX] (SEEK_END): Likewise.
33414         [POSIX || UNIX98] (mode_t): Do not require.
33415         [POSIX] (off_t): Likewise.
33416         [POSIX] (pid_t): Likewise.
33417         [POSIX] (sys/stat.h): Do not allow header.
33418         [POSIX] (unistd.h): Likewise.
33419         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33420         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33421         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33422         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33423         require.
33424         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33425         sigevent): Specify elements.
33426         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33427         entry.
33428         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33429         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33431         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33432         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33433         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33434         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33435         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33436         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33437         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33438         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33439         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33440         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33441         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33442         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33443         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33445         Likewise.
33446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33447         Likewise.
33448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33449         Likewise.
33450         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33451         Likewise.
33452         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33454         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33455         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33456         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33457         Specify lower bound on value.
33458         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33464         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33465         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33466         value.
33467         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33468         as optional.
33469         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33484         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33485         entry.
33486         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33487         optional.
33488         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33494         Likewise.
33495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33496         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33497         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33498         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33499         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33500         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33502         as optional.
33503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33504         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33505         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33506         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33507         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33508         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33509         specify as optional.
33510         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33511         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33512         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33513         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33514         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33515         [XPG3] (NL_LANGMAX): Likewise.
33516         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33517         [POSIX || XPG3] (NL_NMAX): Likewise.
33518         [POSIX || XPG3] (NL_SETMAX): Likewise.
33519         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33520         [XPG3] (NZERO): Likewise.
33521         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33522         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33523         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33524         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33525         (REG_ERANGE): Expect.
33526         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33527         optional-constant.
33528         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33529         Use (void) in prototype.
33530         [POSIX] (*_t): Allow.
33531         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33532         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33533         (WRDE_BADVAL): Expect.
33535         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33536         expect.
33537         [XPG3 || XPG4] (O_RSYNC): Likewise.
33538         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33539         Likewise.
33540         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33541         [XPG3 || XPG4] (sigqueue): Likewise.
33542         [XPG3 || XPG4] (sigtimedwait): Likewise.
33543         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33544         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33545         [XPG3 || XPG4] (vsnprintf): Likewise.
33546         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33547         Likewise.
33548         [XPG3 || XPG4] (blksize_t): Likewise.
33549         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33550         Likewise.
33551         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33552         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33553         [XPG3 || XPG4] (struct itimerspec): Likewise.
33554         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33555         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33556         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33557         [XPG3 || XPG4] (clockid_t): Likewise.
33558         [XPG3 || XPG4] (timer_t): Likewise.
33559         [XPG3 || XPG4] (clock_getres): Likewise.
33560         [XPG3 || XPG4] (clock_gettime): Likewise.
33561         [XPG3 || XPG4] (clock_settime): Likewise.
33562         [XPG3 || XPG4] (nanosleep): Likewise.
33563         [XPG3 || XPG4] (timer_create): Likewise.
33564         [XPG3 || XPG4] (timer_delete): Likewise.
33565         [XPG3 || XPG4] (timer_gettime): Likewise.
33566         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33567         [XPG3 || XPG4] (timer_settime): Likewise.
33568         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33569         [XPG3 || XPG4] (getlogin_r): Likewise.
33570         [XPG3 || XPG4] (pread): Likewise.
33571         [XPG3 || XPG4] (pthread_atfork): Likewise.
33572         [XPG3 || XPG4] (pwrite): Likewise.
33574         [BZ #14835]
33575         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33576         <bits/siginfo.h>.
33578 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33580         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33581         finalizing MALLSTREAM.
33583         * sysdeps/mach/hurd/syncfs.c: New file.
33585 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33587         [BZ #14719]
33588         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33589         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33590         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33591         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33592         (_nss_dns_gethostbyname4_r): Likewise.
33593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33594         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33596 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33598         [BZ #13763]
33599         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33601 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33603         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33604         * elf/cache.c (print_entry): Print ",AArch64" for
33605         FLAG_AARCH64_LIB64
33607         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33608         * elf/cache.c (print_entry): Print ",hard-float" for
33609         FLAG_ARM_LIBHF.
33611 2012-11-18  David S. Miller  <davem@davemloft.net>
33613         With help from Joseph Myers.
33614         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33615         cutoff to 2**-13.
33616         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33617         cutoff to 2**-25.
33618         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33619         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33620         small.
33621         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33622         * math/libm-test.inc (y0_test): New tests.
33623         (y1_test): New tests.
33624         * sysdeps/i386/fpu/libm-test-ulps: Update.
33625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33628 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33630         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33631         64-bit targets.
33632         * configure: Regenerated.
33634 2012-11-17  David S. Miller  <davem@davemloft.net>
33636         [BZ #14811]
33637         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33638         nonzero exponents with absolute value below 0x1p-128 to +/-
33639         0x1p-128.
33641 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33643         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33645         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33647         * posix/getconf-speclist.c: New file.
33648         * posix/posix-envs.def: Likewise.
33649         * posix/confstr.c (START_ENV_GROUP): New macro.
33650         (END_ENV_GROUP): Likewise.
33651         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33652         (KNOWN_PRESENT_ENV_STRING): Likewise.
33653         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33654         (UNKNOWN_ENVIRONMENT): Likewise.
33655         (confstr): Include posix-envs.def instead of handling
33656         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33657         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33658         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33659         (END_ENV_GROUP): Likewise.
33660         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33661         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33662         (UNKNOWN_ENVIRONMENT): Likewise.
33663         (__sysconf): Include posix-envs.def instead of handling associated
33664         cases directly here.
33665         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33666         preprocessing getconf-speclist.c rather than running getconf or
33667         generating empty file.
33669 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33671         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33673 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33675         [BZ #14672]
33676         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33678 2012-11-16  David S. Miller  <davem@davemloft.net>
33680         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33681         smaller than LDBL_EPSILON/2.0L, just return xm1.
33683 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33685         * elf/tst-array1.c (init): Set constructor priority to 1000.
33686         (fini): Set destructor priority to 1000.
33687         * elf/tst-array2dep.c: Likewise.
33689 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33691         [BZ #11741]
33692         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33693         (_IO_new_file_xsputn): Also return EOF if none of the input
33694         data was written when overflow failed.
33695         * libio/iopadn.c (_IO_padn): Likewise.
33696         * libio/iowpadn.c (_IO_wpadn): Likewise.
33697         * stdio-common/tst-put-error.c: Add copyright notice.
33698         (do_test): Add case for printing padded string.
33699         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33700         _IO_padn returned error.
33701         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33702         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33703         return EOF.
33705 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33707         * libio/libioP.h: Add comment note that the references to C++
33708         bits are now obsolete.
33710 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33712         * math/libm-test.inc (check_complex): Use asprintf.
33714 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33716         * debug/pcprofiledump.c (print_version): Update copyright year.
33717         * malloc/memusagestat.c (print_version): Likewise.
33719 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33721         [BZ #14831]
33722         * elf/Makefile (tests): Add tst-audit8.
33723         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33724         ($(objpfx)tst-audit8.out): New target.
33725         (tst-audit8-ENV): New variable.
33726         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33727         audit if l_reloc_result is NULL.
33728         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33729         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33730         * elf/tst-audit8.c: New file.
33732 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33734         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33735         * misc/Makefile (CFLAGS-select.c): Define.
33736         * posix/Makefile (CFLAGS-pause.c): Define.
33738 2012-11-13  David S. Miller  <davem@davemloft.net>
33740         * crypt/Makefile: Move test targets after toplevel Rules
33741         inclusion.  Grab any necessary sysdep routines when linking.
33742         * crypt/md5.c (md5_process_block): Remove define, we will always
33743         name it __md5_process_block.
33744         (md5_finish_ctx): Update md5_process_block call.
33745         (md5_stream): Likewise.
33746         (md5_process_bytes): Likewise.
33747         (md5_process_block): Rename to __md5_process_block and move to ...
33748         * crypt/md5-block.c: ... here.
33749         * crypt/sha256.c (sha256_process_block): Move to ...
33750         * crypt/sha256-block.c: ... here.
33751         * crypt/sha512.c (sha512_process_block): Move to ...
33752         * crypt/sha512-block.c: ... here.
33753         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33754         path.
33755         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33756         * sysdeps/sparc/sparc64/multiarch/Makefile
33757         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33758         crypt subdir.
33759         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33760         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33761         multiarch changes.
33762         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33763         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33764         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33765         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33766         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33767         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33768         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33769         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33770         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33771         file.
33772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33773         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33774         file.
33775         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33777 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33779         * timezone/tzselect.ksh: Update from tzcode git revision
33780         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33781         * timezone/zdump.c: Likewise.
33782         * timezone/zic.c: Likewise.
33783         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33784         in TZVERSION setting, not $(PKGVERSION).
33785         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33786         REPORT_BUGS_TO settings.
33788         [BZ #14838]
33789         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33790         macro.
33792 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33794         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33795         detection to immediately after _FP_ROUND().
33796         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33797         bits are 0.
33799 2012-11-11  David S. Miller  <davem@davemloft.net>
33801         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33802         inttypes.h
33803         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33804         __close rather than their public counterparts.
33806 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33808         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33809         file.
33810         [UNIX98] (sem_timedwait): Do not expect.
33811         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33812         [XPG4 || UNIX98] (sockatmark): Do not expect.
33813         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33814         (clock_getcpuclockid): Do not expect.
33815         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33816         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33817         Do not expect.
33818         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33819         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33820         [UNIX98] (vwscanf): Likewise.
33821         [UNIX98] (vswscanf): Likewise.
33823 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33825         * timezone/version.h: Remove file.
33826         * timezone/README: Do not refer to version.h.
33827         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33828         $(objpfx)version.h.
33829         ($(objpfx)zdump.o): Likewise.
33830         ($(objpfx)version.h): New target.
33832         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33833         2012i.
33834         * timezone/README: Don't mention modification to tzselect.ksh.
33835         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33836         work on unmodified tzselect.ksh.  Substitute version numbers in
33837         tzselect.ksh.
33839         * Makefile (format-me): Remove.
33840         (INSTALL): Adjust indentation.  Use commands directly instead of
33841         using $(format-me).
33843         * aclocal.m4 (ACX_PKGVERSION): New macro.
33844         (ACX_BUGURL): Likewise.
33845         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33846         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33847         (REPORT_BUGS_TO): Likewise.
33848         * configure: Regenerated.
33849         * config.h.in (PKGVERSION): New macro.
33850         (REPORT_BUGS_TO): Likewise.
33851         * config.make.in (PKGVERSION): New variable.
33852         (PKGVERSION_TEXI): Likewise.
33853         (REPORT_BUGS_TO): Likewise.
33854         (REPORT_BUGS_TEXI): Likewise.
33855         * Makefile (format-me): Use -I$(common-objpfx)manual.
33856         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33857         ($(common-objpfx)manual/%): New target.
33858         (manual/%): Remove target.
33859         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33860         (print_version): Use PKGVERSION.
33861         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33862         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33863         and REPORT_BUGS_TO.
33864         ($(objpfx)xtrace): Likewise.
33865         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33866         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33867         (print_version): Use PKGVERSION.
33868         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33869         (do_version): Use PKGVERSION.
33870         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33871         REPORT_BUGS_TO.
33872         (common-ldd-rewrite): Likewise.
33873         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33874         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33875         (print_version): Use PKGVERSION.
33876         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33877         * elf/pldd.c (argp_program_bug_address): Remove variable.
33878         (more_help): New function.
33879         (argp): Use more_help.
33880         (print_version): Use PKGVERSION.
33881         * elf/sln.c (main): Use PKGVERSION.
33882         (usage): Use REPORT_BUGS_TO.
33883         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33884         (top level): Use PKGVERSION.
33885         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33886         (print_version): Use PKGVERSION.
33887         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33888         (print_version): Use PKGVERSION.
33889         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33890         (print_version): Use PKGVERSION.
33891         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33892         (print_version): Use PKGVERSION.
33893         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33894         (print_version): Use PKGVERSION.
33895         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33896         (print_version): Use PKGVERSION.
33897         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33898         and BUGURL.
33899         ($(objpfx)memusage): Likewise.
33900         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33901         (do_version): Use PKGVERSION.
33902         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33903         (print_version): Use PKGVERSION.
33904         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33905         ($PKGVERSION): New variable.
33906         ($REPORT_BUGS_TO): Likewise.
33907         (usage): Use $REPORT_BUGS_TO.
33908         (top level): Use $PKGVERSION.
33909         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33910         ($(objpfx)pkgvers.texi): New rule.
33911         ($(objpfx)stamp-pkgvers): Likewise.
33912         * manual/install.texi: Include pkgvers.texi.
33913         (--with-pkgversion): Document new configure option.
33914         (--with-bugurl): Likewise.
33915         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33916         than necessarily for this particular distribution.  Use
33917         REPORT_BUGS_TO for where to report bugs.
33918         * INSTALL: Regenerated.
33919         * manual/libc.texinfo: Include pkgvers.texi.
33920         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33921         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33922         (print_version): Use PKGVERSION.
33923         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33924         (print_version): Use PKGVERSION.
33925         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33926         (print_version): Use PKGVERSION.
33927         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33928         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33929         macro.
33930         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33931         (print_version): Use PKGVERSION.
33932         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33933         (print_version): Use PKGVERSION.
33934         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33935         and PKGVERSION.
33937         * timezone/checktab.awk: Update from tzcode 2012i.
33938         * timezone/ialloc.c: Likewise.
33939         * timezone/private.h: Likewise.
33940         * timezone/scheck.c: Likewise.
33941         * timezone/tzfile.h: Likewise.
33942         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33943         (TZVERSION): Hardcode tzcode version number.
33944         * timezone/zdump.c: Update from tzcode 2012i.
33945         * timezone/zic.c: Likewise.
33946         * timezone/version.h: New file.
33947         * timezone/README: Describe version.h.  Update upstream location.
33949         [BZ #14824]
33950         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33951         (mktemp): Enable declaration.
33952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33956         Likewise.
33957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33958         Likewise.
33959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33960         Likewise.
33961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33962         Likewise.
33963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33964         Likewise.
33965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33966         Likewise.
33968         [BZ #14821]
33969         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33970         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33971         for copies of such integer values.
33972         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33973         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33975 2012-11-09  Andreas Jaeger  <aj@suse.de>
33977         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33978         definitions and declarations that are provided by
33979         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33981 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33983         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33984         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33985         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33986         definition.
33988 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33990         * elf/elf.h: Update comment before AArch64 relocations.
33992 2012-11-07  David S. Miller  <davem@davemloft.net>
33994         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33995         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33996         (__start_context): Declare.
33997         (__makecontext_ret): Delete.
33998         (__makecontext): Hook up __start_context instead of
33999         __makecontext_ret.
34000         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34001         (sysdep_routines): Add __start_context when in stdlib.
34003 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34005         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34006         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34007         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34008         hardcoded "nm".
34009         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34010         (READELF): New variable.  Use it instead of hardcoded "readelf".
34012 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34014         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34015         * sysdeps/x86/Makefile: Here.
34016         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34017         * sysdeps/x86/tst-xmmymm.sh: This.
34019 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34021         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34022         expectations.
34023         [UNIX98] (pthread_barrier_t): Do not expect.
34024         [UNIX98] (pthread_barrierattr_t): Likewise.
34025         [UNIX98] (pthread_spinlock_t): Likewise.
34026         [UNIX98] (pthread_barrier_destroy): Likewise.
34027         [UNIX98] (pthread_barrier_init): Likewise.
34028         [UNIX98] (pthread_barrier_wait): Likewise.
34029         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34030         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34031         [UNIX98] (pthread_barrierattr_init): Likewise.
34032         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34033         [UNIX98] (pthread_getcpuclockid): Likewise.
34034         [UNIX98] (pthread_mutex_timedlock): Likewise.
34035         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34036         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34037         [UNIX98] (pthread_sigmask): Likewise.
34038         [UNIX98] (pthread_spin_destroy): Likewise.
34039         [UNIX98] (pthread_spin_init): Likewise.
34040         [UNIX98] (pthread_spin_lock): Likewise.
34041         [UNIX98] (pthread_spin_trylock): Likewise.
34042         [UNIX98] (pthread_spin_unlock): Likewise.
34043         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34044         Do not expect.
34045         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34046         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34047         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34048         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34049         [XPG3 || XPG4] (pthread_key_t): Likewise.
34050         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34051         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34052         [XPG3 || XPG4] (pthread_once_t): Likewise.
34053         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34054         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34055         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34056         [XPG3 || XPG4] (pthread_t): Likewise.
34058         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34059         not expect.
34060         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34062         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34063         Change function return type to int.
34065         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34066         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34067         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34068         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34069         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34070         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34071         [!POSIX] (posix_madvise): Likewise.
34072         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34073         && !UNIX98].
34074         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34075         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34076         (mode_t): Likewise.
34077         (posix_mem_offset): Likewise.
34078         (posix_typed_mem_get_info): Likewise.
34079         (posix_typed_mem_open): Likewise.
34081         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34082         Change condition to [XOPEN2K8].
34084         * conform/conformtest.pl: Preprocess allow-header data with -x c
34085         instead of from stdin.
34086         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34087         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34088         [C99-based standards] (cerfc): Likewise.
34089         [C99-based standards] (cexp2): Likewise.
34090         [C99-based standards] (cexpm1): Likewise.
34091         [C99-based standards] (clog10): Likewise.
34092         [C99-based standards] (clog1p): Likewise.
34093         [C99-based standards] (clog2): Likewise.
34094         [C99-based standards] (clgamma): Likewise.
34095         [C99-based standards] (ctgamma): Likewise.
34096         [C99-based standards] (cerff): Likewise.
34097         [C99-based standards] (cerfcf): Likewise.
34098         [C99-based standards] (cexp2f): Likewise.
34099         [C99-based standards] (cexpm1f): Likewise.
34100         [C99-based standards] (clog10f): Likewise.
34101         [C99-based standards] (clog1pf): Likewise.
34102         [C99-based standards] (clog2f): Likewise.
34103         [C99-based standards] (clgammaf): Likewise.
34104         [C99-based standards] (ctgammaf): Likewise.
34105         [C99-based standards] (cerfl): Likewise.
34106         [C99-based standards] (cerfcl): Likewise.
34107         [C99-based standards] (cexp2l): Likewise.
34108         [C99-based standards] (cexpm1l): Likewise.
34109         [C99-based standards] (clog10l): Likewise.
34110         [C99-based standards] (clog1pl): Likewise.
34111         [C99-based standards] (clog2l): Likewise.
34112         [C99-based standards] (clgammal): Likewise.
34113         [C99-based standards] (ctgammal): Likewise.
34114         * conform/data/inttypes.h-data [C99-based standards]: Include
34115         stdint.h-data.  Remove all expectations for stdint.h contents.
34116         [C99-based standards] (PRI*): Do not allow.
34117         [C99-based standards] (SCN*): Likewise.
34118         [C99-based standards] (*_t): Likewise.
34119         [C99-based-standards] (PRId8): Expect macro.
34120         [C99-based-standards] (PRIi8): Likewise.
34121         [C99-based-standards] (PRIo8): Likewise.
34122         [C99-based-standards] (PRIu8): Likewise.
34123         [C99-based-standards] (PRIx8): Likewise.
34124         [C99-based-standards] (PRIX8): Likewise.
34125         [C99-based-standards] (SCNd8): Likewise.
34126         [C99-based-standards] (SCNi8): Likewise.
34127         [C99-based-standards] (SCNo8): Likewise.
34128         [C99-based-standards] (SCNu8): Likewise.
34129         [C99-based-standards] (SCNx8): Likewise.
34130         [C99-based-standards] (PRIdLEAST8): Likewise.
34131         [C99-based-standards] (PRIiLEAST8): Likewise.
34132         [C99-based-standards] (PRIoLEAST8): Likewise.
34133         [C99-based-standards] (PRIuLEAST8): Likewise.
34134         [C99-based-standards] (PRIxLEAST8): Likewise.
34135         [C99-based-standards] (PRIXLEAST8): Likewise.
34136         [C99-based-standards] (SCNdLEAST8): Likewise.
34137         [C99-based-standards] (SCNiLEAST8): Likewise.
34138         [C99-based-standards] (SCNoLEAST8): Likewise.
34139         [C99-based-standards] (SCNuLEAST8): Likewise.
34140         [C99-based-standards] (SCNxLEAST8): Likewise.
34141         [C99-based-standards] (PRIdFAST8): Likewise.
34142         [C99-based-standards] (PRIiFAST8): Likewise.
34143         [C99-based-standards] (PRIoFAST8): Likewise.
34144         [C99-based-standards] (PRIuFAST8): Likewise.
34145         [C99-based-standards] (PRIxFAST8): Likewise.
34146         [C99-based-standards] (PRIXFAST8): Likewise.
34147         [C99-based-standards] (SCNdFAST8): Likewise.
34148         [C99-based-standards] (SCNiFAST8): Likewise.
34149         [C99-based-standards] (SCNoFAST8): Likewise.
34150         [C99-based-standards] (SCNuFAST8): Likewise.
34151         [C99-based-standards] (SCNxFAST8): Likewise.
34152         [C99-based-standards] (PRId16): Likewise.
34153         [C99-based-standards] (PRIi16): Likewise.
34154         [C99-based-standards] (PRIo16): Likewise.
34155         [C99-based-standards] (PRIu16): Likewise.
34156         [C99-based-standards] (PRIx16): Likewise.
34157         [C99-based-standards] (PRIX16): Likewise.
34158         [C99-based-standards] (SCNd16): Likewise.
34159         [C99-based-standards] (SCNi16): Likewise.
34160         [C99-based-standards] (SCNo16): Likewise.
34161         [C99-based-standards] (SCNu16): Likewise.
34162         [C99-based-standards] (SCNx16): Likewise.
34163         [C99-based-standards] (PRIdLEAST16): Likewise.
34164         [C99-based-standards] (PRIiLEAST16): Likewise.
34165         [C99-based-standards] (PRIoLEAST16): Likewise.
34166         [C99-based-standards] (PRIuLEAST16): Likewise.
34167         [C99-based-standards] (PRIxLEAST16): Likewise.
34168         [C99-based-standards] (PRIXLEAST16): Likewise.
34169         [C99-based-standards] (SCNdLEAST16): Likewise.
34170         [C99-based-standards] (SCNiLEAST16): Likewise.
34171         [C99-based-standards] (SCNoLEAST16): Likewise.
34172         [C99-based-standards] (SCNuLEAST16): Likewise.
34173         [C99-based-standards] (SCNxLEAST16): Likewise.
34174         [C99-based-standards] (PRIdFAST16): Likewise.
34175         [C99-based-standards] (PRIiFAST16): Likewise.
34176         [C99-based-standards] (PRIoFAST16): Likewise.
34177         [C99-based-standards] (PRIuFAST16): Likewise.
34178         [C99-based-standards] (PRIxFAST16): Likewise.
34179         [C99-based-standards] (PRIXFAST16): Likewise.
34180         [C99-based-standards] (SCNdFAST16): Likewise.
34181         [C99-based-standards] (SCNiFAST16): Likewise.
34182         [C99-based-standards] (SCNoFAST16): Likewise.
34183         [C99-based-standards] (SCNuFAST16): Likewise.
34184         [C99-based-standards] (SCNxFAST16): Likewise.
34185         [C99-based-standards] (PRId32): Likewise.
34186         [C99-based-standards] (PRIi32): Likewise.
34187         [C99-based-standards] (PRIo32): Likewise.
34188         [C99-based-standards] (PRIu32): Likewise.
34189         [C99-based-standards] (PRIx32): Likewise.
34190         [C99-based-standards] (PRIX32): Likewise.
34191         [C99-based-standards] (SCNd32): Likewise.
34192         [C99-based-standards] (SCNi32): Likewise.
34193         [C99-based-standards] (SCNo32): Likewise.
34194         [C99-based-standards] (SCNu32): Likewise.
34195         [C99-based-standards] (SCNx32): Likewise.
34196         [C99-based-standards] (PRIdLEAST32): Likewise.
34197         [C99-based-standards] (PRIiLEAST32): Likewise.
34198         [C99-based-standards] (PRIoLEAST32): Likewise.
34199         [C99-based-standards] (PRIuLEAST32): Likewise.
34200         [C99-based-standards] (PRIxLEAST32): Likewise.
34201         [C99-based-standards] (PRIXLEAST32): Likewise.
34202         [C99-based-standards] (SCNdLEAST32): Likewise.
34203         [C99-based-standards] (SCNiLEAST32): Likewise.
34204         [C99-based-standards] (SCNoLEAST32): Likewise.
34205         [C99-based-standards] (SCNuLEAST32): Likewise.
34206         [C99-based-standards] (SCNxLEAST32): Likewise.
34207         [C99-based-standards] (PRIdFAST32): Likewise.
34208         [C99-based-standards] (PRIiFAST32): Likewise.
34209         [C99-based-standards] (PRIoFAST32): Likewise.
34210         [C99-based-standards] (PRIuFAST32): Likewise.
34211         [C99-based-standards] (PRIxFAST32): Likewise.
34212         [C99-based-standards] (PRIXFAST32): Likewise.
34213         [C99-based-standards] (SCNdFAST32): Likewise.
34214         [C99-based-standards] (SCNiFAST32): Likewise.
34215         [C99-based-standards] (SCNoFAST32): Likewise.
34216         [C99-based-standards] (SCNuFAST32): Likewise.
34217         [C99-based-standards] (SCNxFAST32): Likewise.
34218         [C99-based-standards] (PRId64): Likewise.
34219         [C99-based-standards] (PRIi64): Likewise.
34220         [C99-based-standards] (PRIo64): Likewise.
34221         [C99-based-standards] (PRIu64): Likewise.
34222         [C99-based-standards] (PRIx64): Likewise.
34223         [C99-based-standards] (PRIX64): Likewise.
34224         [C99-based-standards] (SCNd64): Likewise.
34225         [C99-based-standards] (SCNi64): Likewise.
34226         [C99-based-standards] (SCNo64): Likewise.
34227         [C99-based-standards] (SCNu64): Likewise.
34228         [C99-based-standards] (SCNx64): Likewise.
34229         [C99-based-standards] (PRIdLEAST64): Likewise.
34230         [C99-based-standards] (PRIiLEAST64): Likewise.
34231         [C99-based-standards] (PRIoLEAST64): Likewise.
34232         [C99-based-standards] (PRIuLEAST64): Likewise.
34233         [C99-based-standards] (PRIxLEAST64): Likewise.
34234         [C99-based-standards] (PRIXLEAST64): Likewise.
34235         [C99-based-standards] (SCNdLEAST64): Likewise.
34236         [C99-based-standards] (SCNiLEAST64): Likewise.
34237         [C99-based-standards] (SCNoLEAST64): Likewise.
34238         [C99-based-standards] (SCNuLEAST64): Likewise.
34239         [C99-based-standards] (SCNxLEAST64): Likewise.
34240         [C99-based-standards] (PRIdFAST64): Likewise.
34241         [C99-based-standards] (PRIiFAST64): Likewise.
34242         [C99-based-standards] (PRIoFAST64): Likewise.
34243         [C99-based-standards] (PRIuFAST64): Likewise.
34244         [C99-based-standards] (PRIxFAST64): Likewise.
34245         [C99-based-standards] (PRIXFAST64): Likewise.
34246         [C99-based-standards] (SCNdFAST64): Likewise.
34247         [C99-based-standards] (SCNiFAST64): Likewise.
34248         [C99-based-standards] (SCNoFAST64): Likewise.
34249         [C99-based-standards] (SCNuFAST64): Likewise.
34250         [C99-based-standards] (SCNxFAST64): Likewise.
34251         [C99-based-standards] (PRIdMAX): Likewise.
34252         [C99-based-standards] (PRIiMAX): Likewise.
34253         [C99-based-standards] (PRIoMAX): Likewise.
34254         [C99-based-standards] (PRIuMAX): Likewise.
34255         [C99-based-standards] (PRIxMAX): Likewise.
34256         [C99-based-standards] (PRIXMAX): Likewise.
34257         [C99-based-standards] (SCNdMAX): Likewise.
34258         [C99-based-standards] (SCNiMAX): Likewise.
34259         [C99-based-standards] (SCNoMAX): Likewise.
34260         [C99-based-standards] (SCNuMAX): Likewise.
34261         [C99-based-standards] (SCNxMAX): Likewise.
34262         [C99-based-standards] (PRIdPTR): Likewise.
34263         [C99-based-standards] (PRIiPTR): Likewise.
34264         [C99-based-standards] (PRIoPTR): Likewise.
34265         [C99-based-standards] (PRIuPTR): Likewise.
34266         [C99-based-standards] (PRIxPTR): Likewise.
34267         [C99-based-standards] (PRIXPTR): Likewise.
34268         [C99-based-standards] (SCNdPTR): Likewise.
34269         [C99-based-standards] (SCNiPTR): Likewise.
34270         [C99-based-standards] (SCNoPTR): Likewise.
34271         [C99-based-standards] (SCNuPTR): Likewise.
34272         [C99-based-standards] (SCNxPTR): Likewise.
34273         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34274         allow.
34275         * conform/data/stdint.h-data: Update comments to clarify
34276         requirements.
34277         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34278         type.
34279         [C99-based standards] (INT8_MAX): Likewise.
34280         [C99-based standards] (INT16_MIN): Likewise.
34281         [C99-based standards] (INT16_MAX): Likewise.
34282         [C99-based standards] (INT32_MIN): Likewise.
34283         [C99-based standards] (INT32_MAX): Likewise.
34284         [C99-based standards] (INT64_MIN): Likewise.
34285         [C99-based standards] (INT64_MAX): Likewise.
34286         [C99-based standards] (UINT8_MAX): Likewise.
34287         [C99-based standards] (UINT16_MAX): Likewise.
34288         [C99-based standards] (UINT32_MAX): Likewise.
34289         [C99-based standards] (UINT64_MAX): Likewise.
34290         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34291         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34292         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34293         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34294         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34295         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34296         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34297         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34298         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34299         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34300         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34301         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34302         [C99-based standards] (INT_FAST8_MIN): Likewise.
34303         [C99-based standards] (INT_FAST8_MAX): Likewise.
34304         [C99-based standards] (INT_FAST16_MIN): Likewise.
34305         [C99-based standards] (INT_FAST16_MAX): Likewise.
34306         [C99-based standards] (INT_FAST32_MIN): Likewise.
34307         [C99-based standards] (INT_FAST32_MAX): Likewise.
34308         [C99-based standards] (INT_FAST64_MIN): Likewise.
34309         [C99-based standards] (INT_FAST64_MAX): Likewise.
34310         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34311         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34312         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34313         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34314         [C99-based standards] (INTPTR_MIN): Likewise.
34315         [C99-based standards] (INTPTR_MAX): Likewise.
34316         [C99-based standards] (UINTPTR_MAX): Likewise.
34317         [C99-based standards] (INTMAX_MIN): Likewise.
34318         [C99-based standards] (INTMAX_MAX): Likewise.
34319         [C99-based standards] (UINTMAX_MAX): Likewise.
34320         [C99-based standards] (PTRDIFF_MIN): Likewise.
34321         [C99-based standards] (PTRDIFF_MAX): Likewise.
34322         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34323         [C99-based standards] (SIZE_MAX): Likewise.
34324         [C99-based standards] (WCHAR_MAX): Likewise.
34325         [C99-based standards] (WINT_MAX): Likewise.
34326         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34327         constraint on value.
34328         [C99-based standards] (WCHAR_MIN): Likewise.
34329         [C99-based standards] (WINT_MIN): Likewise.
34330         [C99-based standards] (*_t): Allow.
34331         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34332         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34333         Include math.h-data and complex.h-data.  Remove all expectations
34334         of math.h and complex.h contents.
34335         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34336         at end of line.
34337         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34338         (struct tm): Expect tag.
34339         [C99-based-standards] (wcstof): Expect function.
34340         [C99-based-standards] (wcstold): Likewise.
34341         [C99-based-standards] (wcstoll): Likewise.
34342         [C99-based-standards] (wcstoull): Likewise.
34343         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34344         macro-int-constant.  Specify type.
34345         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34346         constraint on value.
34347         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34348         Specify type.
34349         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34350         Specify value.
34351         [ISO C standards]: Do not allow headers.
34352         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34353         wcs[abcdefghijklmnopqrstuvwxyz]*.
34354         [ISO C standards] (*_t): Do not allow.
34355         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34356         Expect function.
34357         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34358         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34359         Specify type.
34360         [ISO C standards]: Do not allow headers.
34361         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34362         is[abcdefghijklmnopqrstuvwxyz]*.
34363         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34364         to[abcdefghijklmnopqrstuvwxyz]*.
34365         [ISO C standards] (*_t): Do not allow.
34366         * conform/data/stdalign.h-data: New file.
34367         * conform/data/stdbool.h-data: Likewise.
34368         * conform/data/stdnoreturn.h-data: Likewise.
34370 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34372         [BZ #14815]
34373         * manual/filesys.texi (Directory Entries): Typo fix.
34374         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34376 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34378         * elf/elf.h (EM_AARCH64): New macro.
34379         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34380         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34381         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34382         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34383         (R_AARCH64_TLSDESC): Likewise.
34384         (NT_ARM_TLS): Likewise.
34385         (NT_ARM_HW_BREAK): Likewise.
34386         (NT_ARM_HW_WATCH): Likewise.
34388 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34390         [BZ #14811]
34391         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34392         (__ieee754_powl): Saturate nonzero exponents with absolute value
34393         below 0x1p-79 to +/- 0x1p-79.
34394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34395         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34396         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34397         nonzero exponents with absolute value below 0x1p-32 to +/-
34398         0x1p-32.
34399         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34400         (__ieee754_powl): Saturate nonzero exponents with absolute value
34401         below 0x1p-79 to +/- 0x1p-79.
34402         * math/libm-test.inc (pow_test): Add more tests.
34404 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34406         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34407         _dl_s390_cap_flags with kernel. Increase string length.
34408         (_dl_s390_platforms): Add z196 and zEC12.
34410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34412         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34413         Change XOPEN21K to XOPEN2K.
34415 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34417         * string/memmove.c: Use memcpy when possible.
34419 2012-11-06  Andreas Jaeger  <aj@suse.de>
34421         * po/eo.po: Update from translation team.
34423 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34425         [BZ #14793]
34426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34427         exponent and small x and y exponents, scale x or y up.  Increase
34428         by 2 the exponent used in scaling up.
34429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34431         * math/libm-test.inc (fma_test): Add more tests.
34432         (fma_test_towardzero): Likewise.
34433         (fma_test_downward): Likewise.
34434         (fma_test_upward): Likewise.
34436 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34438         [BZ #14805]
34439         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34440         fenv_t *.
34442         [BZ #14801]
34443         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34444         namespace for names of struct fields.
34445         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34446         fenv_t fields.
34447         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34448         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34450 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34452         [BZ #3665]
34453         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34455 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34457         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34458         PTR_DEMANGLE.
34460         [BZ #5246]
34461         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34462         PTR_DEMANGLE.
34464 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34466         [BZ #14797]
34467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34468         definitely overflow as x * y not x * y + z.
34469         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34470         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34471         * math/libm-test.inc (fma_test): Add more tests.
34472         (fma_test_towardzero): Likewise.
34473         (fma_test_downward): Likewise.
34474         (fma_test_upward): Likewise.
34476 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34478         [BZ #157]
34480         * include/stub-tag.h: Remove file.
34481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34482         '#include' of it.
34483         * manual/maint.texi (Porting): Don't reference it.
34484         * Makerules ($(objpfx)stubs): Likewise.
34485         * dirent/closedir.c: Don't include <stub-tag.h>.
34486         * dirent/dirfd.c: Likewise.
34487         * dirent/fdopendir.c: Likewise.
34488         * dirent/getdents.c: Likewise.
34489         * dirent/getdents64.c: Likewise.
34490         * dirent/opendir.c: Likewise.
34491         * dirent/readdir.c: Likewise.
34492         * dirent/readdir64.c: Likewise.
34493         * dirent/readdir64_r.c: Likewise.
34494         * dirent/readdir_r.c: Likewise.
34495         * dirent/rewinddir.c: Likewise.
34496         * dirent/seekdir.c: Likewise.
34497         * dirent/telldir.c: Likewise.
34498         * gmon/profil.c: Likewise.
34499         * grp/setgroups.c: Likewise.
34500         * inet/if_index.c: Likewise.
34501         * io/access.c: Likewise.
34502         * io/chdir.c: Likewise.
34503         * io/chmod.c: Likewise.
34504         * io/chown.c: Likewise.
34505         * io/close.c: Likewise.
34506         * io/dup.c: Likewise.
34507         * io/dup2.c: Likewise.
34508         * io/dup3.c: Likewise.
34509         * io/euidaccess.c: Likewise.
34510         * io/faccessat.c: Likewise.
34511         * io/fchdir.c: Likewise.
34512         * io/fchmod.c: Likewise.
34513         * io/fchmodat.c: Likewise.
34514         * io/fchown.c: Likewise.
34515         * io/fchownat.c: Likewise.
34516         * io/fcntl.c: Likewise.
34517         * io/flock.c: Likewise.
34518         * io/fstatfs.c: Likewise.
34519         * io/fstatfs64.c: Likewise.
34520         * io/fstatvfs.c: Likewise.
34521         * io/fstatvfs64.c: Likewise.
34522         * io/futimens.c: Likewise.
34523         * io/fxstat.c: Likewise.
34524         * io/fxstat64.c: Likewise.
34525         * io/fxstatat.c: Likewise.
34526         * io/fxstatat64.c: Likewise.
34527         * io/getcwd.c: Likewise.
34528         * io/isatty.c: Likewise.
34529         * io/lchmod.c: Likewise.
34530         * io/lchown.c: Likewise.
34531         * io/link.c: Likewise.
34532         * io/linkat.c: Likewise.
34533         * io/lseek.c: Likewise.
34534         * io/lseek64.c: Likewise.
34535         * io/lxstat64.c: Likewise.
34536         * io/mkdir.c: Likewise.
34537         * io/mkdirat.c: Likewise.
34538         * io/mkfifo.c: Likewise.
34539         * io/mkfifoat.c: Likewise.
34540         * io/open.c: Likewise.
34541         * io/open64.c: Likewise.
34542         * io/openat.c: Likewise.
34543         * io/openat64.c: Likewise.
34544         * io/pipe.c: Likewise.
34545         * io/pipe2.c: Likewise.
34546         * io/poll.c: Likewise.
34547         * io/posix_fadvise.c: Likewise.
34548         * io/posix_fadvise64.c: Likewise.
34549         * io/posix_fallocate.c: Likewise.
34550         * io/posix_fallocate64.c: Likewise.
34551         * io/read.c: Likewise.
34552         * io/readlink.c: Likewise.
34553         * io/readlinkat.c: Likewise.
34554         * io/rmdir.c: Likewise.
34555         * io/sendfile.c: Likewise.
34556         * io/sendfile64.c: Likewise.
34557         * io/statfs.c: Likewise.
34558         * io/statfs64.c: Likewise.
34559         * io/statvfs.c: Likewise.
34560         * io/statvfs64.c: Likewise.
34561         * io/symlink.c: Likewise.
34562         * io/symlinkat.c: Likewise.
34563         * io/ttyname.c: Likewise.
34564         * io/ttyname_r.c: Likewise.
34565         * io/umask.c: Likewise.
34566         * io/unlink.c: Likewise.
34567         * io/unlinkat.c: Likewise.
34568         * io/utime.c: Likewise.
34569         * io/utimensat.c: Likewise.
34570         * io/write.c: Likewise.
34571         * io/xmknod.c: Likewise.
34572         * io/xmknodat.c: Likewise.
34573         * io/xstat.c: Likewise.
34574         * io/xstat64.c: Likewise.
34575         * login/getpt.c: Likewise.
34576         * login/grantpt.c: Likewise.
34577         * login/unlockpt.c: Likewise.
34578         * math/e_acoshl.c: Likewise.
34579         * math/e_acosl.c: Likewise.
34580         * math/e_asinl.c: Likewise.
34581         * math/e_atan2l.c: Likewise.
34582         * math/e_atanhl.c: Likewise.
34583         * math/e_coshl.c: Likewise.
34584         * math/e_expl.c: Likewise.
34585         * math/e_fmodl.c: Likewise.
34586         * math/e_gammal_r.c: Likewise.
34587         * math/e_hypotl.c: Likewise.
34588         * math/e_j0l.c: Likewise.
34589         * math/e_j1l.c: Likewise.
34590         * math/e_jnl.c: Likewise.
34591         * math/e_lgammal_r.c: Likewise.
34592         * math/e_log10l.c: Likewise.
34593         * math/e_log2l.c: Likewise.
34594         * math/e_logl.c: Likewise.
34595         * math/e_powl.c: Likewise.
34596         * math/e_rem_pio2l.c: Likewise.
34597         * math/e_sinhl.c: Likewise.
34598         * math/e_sqrtl.c: Likewise.
34599         * math/fclrexcpt.c: Likewise.
34600         * math/fedisblxcpt.c: Likewise.
34601         * math/feenablxcpt.c: Likewise.
34602         * math/fegetenv.c: Likewise.
34603         * math/fegetexcept.c: Likewise.
34604         * math/fegetround.c: Likewise.
34605         * math/feholdexcpt.c: Likewise.
34606         * math/fesetenv.c: Likewise.
34607         * math/fesetround.c: Likewise.
34608         * math/feupdateenv.c: Likewise.
34609         * math/fgetexcptflg.c: Likewise.
34610         * math/fraiseexcpt.c: Likewise.
34611         * math/fsetexcptflg.c: Likewise.
34612         * math/ftestexcept.c: Likewise.
34613         * math/k_cosl.c: Likewise.
34614         * math/k_rem_pio2l.c: Likewise.
34615         * math/k_sinl.c: Likewise.
34616         * math/k_tanl.c: Likewise.
34617         * math/s_asinhl.c: Likewise.
34618         * math/s_atanl.c: Likewise.
34619         * math/s_cbrtl.c: Likewise.
34620         * math/s_erfl.c: Likewise.
34621         * math/s_expm1l.c: Likewise.
34622         * math/s_log1pl.c: Likewise.
34623         * math/s_tanhl.c: Likewise.
34624         * misc/acct.c: Likewise.
34625         * misc/brk.c: Likewise.
34626         * misc/chflags.c: Likewise.
34627         * misc/chroot.c: Likewise.
34628         * misc/fchflags.c: Likewise.
34629         * misc/fgetxattr.c: Likewise.
34630         * misc/flistxattr.c: Likewise.
34631         * misc/fremovexattr.c: Likewise.
34632         * misc/fsetxattr.c: Likewise.
34633         * misc/fsync.c: Likewise.
34634         * misc/ftruncate.c: Likewise.
34635         * misc/futimes.c: Likewise.
34636         * misc/futimesat.c: Likewise.
34637         * misc/getdomain.c: Likewise.
34638         * misc/getdtsz.c: Likewise.
34639         * misc/gethostid.c: Likewise.
34640         * misc/gethostname.c: Likewise.
34641         * misc/getloadavg.c: Likewise.
34642         * misc/getpagesize.c: Likewise.
34643         * misc/getsysstats.c: Likewise.
34644         * misc/getxattr.c: Likewise.
34645         * misc/gtty.c: Likewise.
34646         * misc/ioctl.c: Likewise.
34647         * misc/lgetxattr.c: Likewise.
34648         * misc/listxattr.c: Likewise.
34649         * misc/llistxattr.c: Likewise.
34650         * misc/lremovexattr.c: Likewise.
34651         * misc/lsetxattr.c: Likewise.
34652         * misc/lutimes.c: Likewise.
34653         * misc/madvise.c: Likewise.
34654         * misc/mincore.c: Likewise.
34655         * misc/mlock.c: Likewise.
34656         * misc/mlockall.c: Likewise.
34657         * misc/mmap.c: Likewise.
34658         * misc/mprotect.c: Likewise.
34659         * misc/msync.c: Likewise.
34660         * misc/munlock.c: Likewise.
34661         * misc/munlockall.c: Likewise.
34662         * misc/munmap.c: Likewise.
34663         * misc/preadv.c: Likewise.
34664         * misc/preadv64.c: Likewise.
34665         * misc/ptrace.c: Likewise.
34666         * misc/pwritev.c: Likewise.
34667         * misc/pwritev64.c: Likewise.
34668         * misc/readv.c: Likewise.
34669         * misc/reboot.c: Likewise.
34670         * misc/remap_file_pages.c: Likewise.
34671         * misc/removexattr.c: Likewise.
34672         * misc/revoke.c: Likewise.
34673         * misc/select.c: Likewise.
34674         * misc/setdomain.c: Likewise.
34675         * misc/setegid.c: Likewise.
34676         * misc/seteuid.c: Likewise.
34677         * misc/sethostid.c: Likewise.
34678         * misc/sethostname.c: Likewise.
34679         * misc/setregid.c: Likewise.
34680         * misc/setreuid.c: Likewise.
34681         * misc/setxattr.c: Likewise.
34682         * misc/sstk.c: Likewise.
34683         * misc/stty.c: Likewise.
34684         * misc/swapoff.c: Likewise.
34685         * misc/swapon.c: Likewise.
34686         * misc/sync.c: Likewise.
34687         * misc/syncfs.c: Likewise.
34688         * misc/syscall.c: Likewise.
34689         * misc/truncate.c: Likewise.
34690         * misc/ualarm.c: Likewise.
34691         * misc/usleep.c: Likewise.
34692         * misc/ustat.c: Likewise.
34693         * misc/utimes.c: Likewise.
34694         * misc/vhangup.c: Likewise.
34695         * misc/writev.c: Likewise.
34696         * posix/_exit.c: Likewise.
34697         * posix/alarm.c: Likewise.
34698         * posix/execve.c: Likewise.
34699         * posix/fexecve.c: Likewise.
34700         * posix/fork.c: Likewise.
34701         * posix/fpathconf.c: Likewise.
34702         * posix/getaddrinfo.c: Likewise.
34703         * posix/getegid.c: Likewise.
34704         * posix/geteuid.c: Likewise.
34705         * posix/getgid.c: Likewise.
34706         * posix/getgroups.c: Likewise.
34707         * posix/getlogin.c: Likewise.
34708         * posix/getlogin_r.c: Likewise.
34709         * posix/getpgid.c: Likewise.
34710         * posix/getpid.c: Likewise.
34711         * posix/getppid.c: Likewise.
34712         * posix/getresgid.c: Likewise.
34713         * posix/getresuid.c: Likewise.
34714         * posix/getsid.c: Likewise.
34715         * posix/getuid.c: Likewise.
34716         * posix/glob64.c: Likewise.
34717         * posix/nanosleep.c: Likewise.
34718         * posix/pathconf.c: Likewise.
34719         * posix/pause.c: Likewise.
34720         * posix/posix_madvise.c: Likewise.
34721         * posix/pread.c: Likewise.
34722         * posix/pread64.c: Likewise.
34723         * posix/pwrite.c: Likewise.
34724         * posix/pwrite64.c: Likewise.
34725         * posix/sched_getaffinity.c: Likewise.
34726         * posix/sched_getp.c: Likewise.
34727         * posix/sched_gets.c: Likewise.
34728         * posix/sched_primax.c: Likewise.
34729         * posix/sched_primin.c: Likewise.
34730         * posix/sched_rr_gi.c: Likewise.
34731         * posix/sched_setaffinity.c: Likewise.
34732         * posix/sched_setp.c: Likewise.
34733         * posix/sched_sets.c: Likewise.
34734         * posix/sched_yield.c: Likewise.
34735         * posix/setgid.c: Likewise.
34736         * posix/setlogin.c: Likewise.
34737         * posix/setpgid.c: Likewise.
34738         * posix/setresgid.c: Likewise.
34739         * posix/setresuid.c: Likewise.
34740         * posix/setsid.c: Likewise.
34741         * posix/setuid.c: Likewise.
34742         * posix/sleep.c: Likewise.
34743         * posix/spawni.c: Likewise.
34744         * posix/sysconf.c: Likewise.
34745         * posix/times.c: Likewise.
34746         * posix/wait.c: Likewise.
34747         * posix/wait3.c: Likewise.
34748         * posix/wait4.c: Likewise.
34749         * posix/waitpid.c: Likewise.
34750         * resolv/gai_sigqueue.c: Likewise.
34751         * resource/getpriority.c: Likewise.
34752         * resource/getrlimit.c: Likewise.
34753         * resource/getrusage.c: Likewise.
34754         * resource/nice.c: Likewise.
34755         * resource/setpriority.c: Likewise.
34756         * resource/setrlimit.c: Likewise.
34757         * resource/ulimit.c: Likewise.
34758         * rt/aio_cancel.c: Likewise.
34759         * rt/aio_fsync.c: Likewise.
34760         * rt/aio_read.c: Likewise.
34761         * rt/aio_sigqueue.c: Likewise.
34762         * rt/aio_suspend.c: Likewise.
34763         * rt/aio_write.c: Likewise.
34764         * rt/clock_getres.c: Likewise.
34765         * rt/clock_gettime.c: Likewise.
34766         * rt/clock_nanosleep.c: Likewise.
34767         * rt/clock_settime.c: Likewise.
34768         * rt/lio_listio.c: Likewise.
34769         * rt/mq_close.c: Likewise.
34770         * rt/mq_getattr.c: Likewise.
34771         * rt/mq_notify.c: Likewise.
34772         * rt/mq_open.c: Likewise.
34773         * rt/mq_receive.c: Likewise.
34774         * rt/mq_send.c: Likewise.
34775         * rt/mq_setattr.c: Likewise.
34776         * rt/mq_timedreceive.c: Likewise.
34777         * rt/mq_timedsend.c: Likewise.
34778         * rt/mq_unlink.c: Likewise.
34779         * rt/shm_open.c: Likewise.
34780         * rt/shm_unlink.c: Likewise.
34781         * rt/timer_create.c: Likewise.
34782         * rt/timer_delete.c: Likewise.
34783         * rt/timer_getoverr.c: Likewise.
34784         * rt/timer_gettime.c: Likewise.
34785         * rt/timer_settime.c: Likewise.
34786         * setjmp/__longjmp.c: Likewise.
34787         * setjmp/setjmp.c: Likewise.
34788         * signal/kill.c: Likewise.
34789         * signal/killpg.c: Likewise.
34790         * signal/raise.c: Likewise.
34791         * signal/sigaction.c: Likewise.
34792         * signal/sigaltstack.c: Likewise.
34793         * signal/sigblock.c: Likewise.
34794         * signal/sigignore.c: Likewise.
34795         * signal/sigintr.c: Likewise.
34796         * signal/signal.c: Likewise.
34797         * signal/sigpause.c: Likewise.
34798         * signal/sigpending.c: Likewise.
34799         * signal/sigqueue.c: Likewise.
34800         * signal/sigreturn.c: Likewise.
34801         * signal/sigset.c: Likewise.
34802         * signal/sigsetmask.c: Likewise.
34803         * signal/sigstack.c: Likewise.
34804         * signal/sigsuspend.c: Likewise.
34805         * signal/sigtimedwait.c: Likewise.
34806         * signal/sigvec.c: Likewise.
34807         * signal/sigwait.c: Likewise.
34808         * signal/sigwaitinfo.c: Likewise.
34809         * signal/sysv_signal.c: Likewise.
34810         * socket/accept.c: Likewise.
34811         * socket/accept4.c: Likewise.
34812         * socket/bind.c: Likewise.
34813         * socket/connect.c: Likewise.
34814         * socket/getpeername.c: Likewise.
34815         * socket/getsockname.c: Likewise.
34816         * socket/getsockopt.c: Likewise.
34817         * socket/isfdtype.c: Likewise.
34818         * socket/listen.c: Likewise.
34819         * socket/recv.c: Likewise.
34820         * socket/recvfrom.c: Likewise.
34821         * socket/recvmsg.c: Likewise.
34822         * socket/send.c: Likewise.
34823         * socket/sendmsg.c: Likewise.
34824         * socket/sendto.c: Likewise.
34825         * socket/setsockopt.c: Likewise.
34826         * socket/shutdown.c: Likewise.
34827         * socket/sockatmark.c: Likewise.
34828         * socket/socket.c: Likewise.
34829         * socket/socketpair.c: Likewise.
34830         * stdio-common/ctermid.c: Likewise.
34831         * stdio-common/cuserid.c: Likewise.
34832         * stdio-common/remove.c: Likewise.
34833         * stdio-common/rename.c: Likewise.
34834         * stdio-common/renameat.c: Likewise.
34835         * stdio-common/tempname.c: Likewise.
34836         * stdlib/getcontext.c: Likewise.
34837         * stdlib/makecontext.c: Likewise.
34838         * stdlib/setcontext.c: Likewise.
34839         * stdlib/swapcontext.c: Likewise.
34840         * stdlib/system.c: Likewise.
34841         * streams/fattach.c: Likewise.
34842         * streams/fdetach.c: Likewise.
34843         * streams/getmsg.c: Likewise.
34844         * streams/getpmsg.c: Likewise.
34845         * streams/putmsg.c: Likewise.
34846         * streams/putpmsg.c: Likewise.
34847         * sysdeps/unix/bsd/getpt.c: Likewise.
34848         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34849         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34850         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34852         Likewise.
34853         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34854         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34855         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34856         * sysvipc/msgctl.c: Likewise.
34857         * sysvipc/msgget.c: Likewise.
34858         * sysvipc/msgrcv.c: Likewise.
34859         * sysvipc/msgsnd.c: Likewise.
34860         * sysvipc/semctl.c: Likewise.
34861         * sysvipc/semget.c: Likewise.
34862         * sysvipc/semop.c: Likewise.
34863         * sysvipc/semtimedop.c: Likewise.
34864         * sysvipc/shmat.c: Likewise.
34865         * sysvipc/shmctl.c: Likewise.
34866         * sysvipc/shmdt.c: Likewise.
34867         * sysvipc/shmget.c: Likewise.
34868         * termios/tcdrain.c: Likewise.
34869         * termios/tcflow.c: Likewise.
34870         * termios/tcflush.c: Likewise.
34871         * termios/tcgetattr.c: Likewise.
34872         * termios/tcgetpgrp.c: Likewise.
34873         * termios/tcsendbrk.c: Likewise.
34874         * termios/tcsetattr.c: Likewise.
34875         * termios/tcsetpgrp.c: Likewise.
34876         * time/adjtime.c: Likewise.
34877         * time/clock.c: Likewise.
34878         * time/getitimer.c: Likewise.
34879         * time/gettimeofday.c: Likewise.
34880         * time/setitimer.c: Likewise.
34881         * time/settimeofday.c: Likewise.
34882         * time/stime.c: Likewise.
34883         * time/time.c: Likewise.
34885 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34887         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34888         /usr/old/bin.
34890         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34891         instead of spaces.
34892         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34894 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34896         [BZ #14796]
34897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34898         FE_TONEAREST before applying Dekker multiplication and Knuth
34899         addition.  Clear inexact exceptions and check for exact zero
34900         results afterwards.
34901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34902         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34904         * math/libm-test.inc (fma_test): Add more tests.
34905         (fma_test_towardzero): Likewise.
34906         (fma_test_downward): Likewise.
34907         (fma_test_upward): Likewise.
34908         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34909         function.
34910         (libc_fesetround): New macro.
34911         (libc_fesetroundf): Likewise.
34912         (libc_fesetroundl): Likewise.
34913         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34914         function.
34915         (libc_fesetround_387): Likewise.
34916         (libc_fesetroundf): New macro.
34917         (libc_fesetround): Likewise.
34918         (libc_fesetroundl): Likewise.
34919         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34920         function.
34921         (libc_fesetroundf): New macro.
34922         (libc_fesetround): Likewise.
34923         (libc_fesetroundl): Likewise.
34924         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34925         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34926         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34927         libm_hidden_ver.
34928         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34929         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34930         libm_hidden_def.
34931         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34932         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34933         libm_hidden_ver.
34934         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34935         libm_hidden_def.
34937         [BZ #3439]
34938         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34939         integer constant usable in #if and use that to give value to enum
34940         constant.
34941         (FE_DIVBYZERO): Likewise.
34942         (FE_UNDERFLOW): Likewise.
34943         (FE_OVERFLOW): Likewise.
34944         (FE_INVALID): Likewise.
34945         (FE_INVALID_SNAN): Likewise.
34946         (FE_INVALID_ISI): Likewise.
34947         (FE_INVALID_IDI): Likewise.
34948         (FE_INVALID_ZDZ): Likewise.
34949         (FE_INVALID_IMZ): Likewise.
34950         (FE_INVALID_COMPARE): Likewise.
34951         (FE_INVALID_SOFTWARE): Likewise.
34952         (FE_INVALID_SQRT): Likewise.
34953         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34954         (FE_TONEAREST): Likewise.
34955         (FE_TOWARDZERO): Likewise.
34956         (FE_UPWARD): Likewise.
34957         (FE_DOWNWARD): Likewise.
34958         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34959         (FE_DIVBYZERO): Likewise.
34960         (FE_OVERFLOW): Likewise.
34961         (FE_UNDERFLOW): Likewise.
34962         (FE_INEXACT): Likewise.
34963         (FE_TONEAREST): Likewise.
34964         (FE_DOWNWARD): Likewise.
34965         (FE_UPWARD): Likewise.
34966         (FE_TOWARDZERO): Likewise.
34967         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34968         (FE_UNDERFLOW): Likewise.
34969         (FE_OVERFLOW): Likewise.
34970         (FE_DIVBYZERO): Likewise.
34971         (FE_INVALID): Likewise.
34972         (FE_TONEAREST): Likewise.
34973         (FE_TOWARDZERO): Likewise.
34974         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34975         (FE_OVERFLOW): Likewise.
34976         (FE_UNDERFLOW): Likewise.
34977         (FE_DIVBYZERO): Likewise.
34978         (FE_INEXACT): Likewise.
34979         (FE_TONEAREST): Likewise.
34980         (FE_TOWARDZERO): Likewise.
34981         (FE_UPWARD): Likewise.
34982         (FE_DOWNWARD): Likewise.
34983         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34984         (FE_DIVBYZERO): Likewise.
34985         (FE_OVERFLOW): Likewise.
34986         (FE_UNDERFLOW): Likewise.
34987         (FE_INEXACT): Likewise.
34988         (FE_TONEAREST): Likewise.
34989         (FE_DOWNWARD): Likewise.
34990         (FE_UPWARD): Likewise.
34991         (FE_TOWARDZERO): Likewise.
34993 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34995         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34997 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34999         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35000         commands.  Quote $PWD.
35001         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35002         -x" by "export".
35003         (remove_newlines): Remove.
35005 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35007         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35008         * stdlib/stdlib.h (atof): Moved to ...
35009         * include/bits/stdlib-float.h: Here.  New file.
35010         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35011         * stdlib/bits/stdlib-float.h: New file.
35012         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35013         -mno-sse -mno-mmx.
35014         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35015         <xmmintrin.h>.
35017 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35019         * conform/conformtest.pl (@headers): Add fenv.h.
35020         * conform/data/fenv.h-data: New file.
35021         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35022         include of <math/fenv.h>.
35024         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35025         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35026         && !UNIX98].  Enables tests for XOPEN2K8.
35027         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35028         POSIX2008]: Likewise.
35030         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35031         (struct rusage): Do not expect type or its members.
35033         [BZ #3439]
35034         * math/math.h (FP_NAN): Define macro to integer constant usable in
35035         #if and use that to give value to enum constant.
35036         (FP_INFINITE): Likewise.
35037         (FP_ZERO): Likewise.
35038         (FP_SUBNORMAL): Likewise.
35039         (FP_NORMAL): Likewise.
35041 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35043         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35044         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35045         arguments.
35047 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35049         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35050         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35051         autoconf-time if not.
35052         * configure.in: Remove AC_PREREQ.
35054 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35056         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35057         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35058         of the internal implementation.
35060 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35062         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35063         except include of <misc/sys/syslog.h>.
35065 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35068         function returns with a NULL context exit with zero.
35070 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35072         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35074 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35076         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35077         (run_program_cmd): This.
35078         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35079         (tst_langinfo): New variable.  Use it.
35081 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35083         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35084         floating point opcodes.
35086 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35088         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35089         variable.
35091         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35093         * sysdeps/mach/hurd/powerpc: Remove directory.
35094         * sysdeps/mach/powerpc: Likewise.
35096 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35098         * scripts/check-local-headers.sh: Ignore c++ headers.
35100 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35102         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35103         __libc_cleanup_region_start argument.
35105 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35107         [BZ #14784]
35108         [BZ #14785]
35109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35110         x * y using scaling, not as x * y + z.
35111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35113         * math/libm-test.inc (fma_test): Add more tests.
35114         (fma_test_towardzero): Likewise.
35115         (fma_test_downward): Likewise.
35116         (fma_test_upward): Likewise.
35118 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35120         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35122 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35124         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35125         New variable.
35127 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35129         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35131 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35134         Fix sort order.
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35136         Likewise.
35138 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35141         Fix the order of the list for glibc 2.17.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35143         Likewise.
35145 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35149 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35151         [BZ #14610]
35152         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35153         for low part of x being zero before using __atanl (y).
35154         * math/libm-test.inc (atan2_test): Add another test.
35156         * manual/install.texi (Configuring and compiling): Document
35157         general use of test-wrapper and test-wrapper-env.
35158         * INSTALL: Regenerated.
35160         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35161         (__fma): Do not extract and scale down low bits on after-rounding
35162         systems when result rounded to normal precision would have normal
35163         exponent.
35164         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35165         (__fmal): Do not extract and scale down low bits on after-rounding
35166         systems when result rounded to normal precision would have normal
35167         exponent.
35168         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35169         (__fmal): Do not extract and scale down low bits on after-rounding
35170         systems when result rounded to normal precision would have normal
35171         exponent.
35172         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35173         macro.
35174         (fma_test): Add more tests.
35175         (fma_test_towardzero): Likewise.
35176         (fma_test_downward): Likewise.
35177         (fma_test_upward): Likewise.
35179 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35181         * sysdeps/i386/tininess.h: Renamed to ...
35182         * sysdeps/x86/tininess.h: This.
35183         * sysdeps/x86_64/tininess.h: Removed.
35185 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35187         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35188         input.  Use $(build-program-cmd).
35189         ($(objpfx)tst-array1-static.out): Likewise.
35190         ($(objpfx)tst-array2.out): Likewise.
35191         ($(objpfx)tst-array3.out): Likewise.
35192         ($(objpfx)tst-array4.out): Likewise.
35193         ($(objpfx)tst-array5.out): Likewise.
35194         ($(objpfx)tst-array5-static.out): Likewise.
35196 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35198         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35199         if defined.
35201         * nss/nsswitch.h (nss_interface_function): Provide new
35202         macro for use with NSS functions.
35203         * grp/initgroups.c: Use new macro.
35204         * nss/getXXbyYY.c: Likewise.
35205         * nss/getXXbyYY_r.c: Likewise.
35206         * nss/getXXent.c: Likewise.
35207         * nss/getXXent_r.c: Likewise.
35208         * sysdeps/posix/getaddrinfo.c: Likewise.
35210 2012-10-30  Andreas Jaeger  <aj@suse.de>
35212         * po/ru.po: Update Russion translation from translation project.
35214 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35216         [BZ #14152]
35217         [BZ #14783]
35218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35219         result and shift together with sticky bit instead of replicating
35220         round-to-nearest rounding.
35221         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35223         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35224         missing underflow exceptions.
35225         (fma_test_towardzero): Add more tests.
35226         (fma_test_downward): Likewise.
35227         (fma_test_upward): Likewise.
35229         [BZ #14047]
35230         * sysdeps/generic/tininess.h: New file.
35231         * sysdeps/i386/tininess.h: Likewise.
35232         * sysdeps/sh/tininess.h: Likewise.
35233         * sysdeps/x86_64/tininess.h: Likewise.
35234         * stdlib/tst-strtod-underflow.c: Likewise.
35235         * stdlib/tst-tininess.c: Likewise.
35236         * stdlib/strtod_l.c: Include <tininess.h>.
35237         (round_and_return): Do not set errno for exact underflow cases.
35238         Force an underflow exception when setting errno for underflow.
35239         Determine underflow based on rounding to normal precision if
35240         TININESS_AFTER_ROUNDING.
35241         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35242         ERANGE for exact underflow cases.
35243         * stdlib/Makefile (tests): Add tst-tininess and
35244         tst-strtod-underflow.
35245         ($(objpfx)tst-tininess): Use $(link-libm).
35246         ($(objpfx)tst-strtod-underflow): Likewise.
35248 2012-10-30  Andreas Jaeger  <aj@suse.de>
35250         [BZ#14767]
35251         * elf/Makefile (tests): Remove conditional for have-initfini-array
35252         since this is now always required and the variable does not exist
35253         anymore.
35254         (tests-static): Likewise.
35255         (modules-names): Likewise.
35257         * po/eo.po: Add Esperanto translation from translation project.
35259         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35260         merged with constructor/destructor.
35261         (init_array): Likewise.
35262         * elf/tst-array2dep.c (fini_array): Likewise.
35263         (init_array): Likewise.
35265 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35267         * manual/message.texi: Delete @cartouche tags.
35269 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35271         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35272         EOPNOTSUPP.
35273         * sysdeps/mach/hurd/fsync.c: Likewise.
35275         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35276         [_POSIX_REALTIME_SIGNALS]: Change condition to
35277         [_POSIX_REALTIME_SIGNALS > 0].
35279 2012-10-27  Andreas Jaeger  <aj@suse.de>
35281         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35282         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35283         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35284         [__WORDSIZE != 64]: Likewise.
35286 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35288         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35289         *  iconvdata/tst-tables.sh: Likewise.
35291 2012-10-25  David S. Miller  <davem@davemloft.net>
35293         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35294         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35295         of strtoull.
35297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35298         ifunc-impl-list.c
35299         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35300         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35301         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35302         file.
35304 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35306         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35307         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35308         __getdirentries.
35310 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35311             Jim Blandy  <jimb@codesourcery.com>
35313         * scripts/cross-test-ssh.sh: New file.
35314         * manual/install.texi (Configuring and compiling): Document use of
35315         cross-test-ssh.sh.
35316         * INSTALL: Regenerated.
35318 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35320         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35321         EOPNOTSUPP.
35323 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35325         * Makeconfig (run-program-prefix): Fix comment.
35327 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35328             Jim Blandy  <jimb@codesourcery.com>
35330         * Makeconfig (test-wrapper): New variable,
35331         (test-wrapper-env): Likewise.
35332         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35333         (run-built-tests): Define to yes.
35334         (run-program-prefix): Use $(test-wrapper).
35335         (built-program-cmd): Likewise.
35336         * Rules (make-test-out): Use $(test-wrapper-env) and
35337         $(host-built-program-cmd).
35338         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35339         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35340         tst-pathopt.sh.
35341         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35342         $(test-wrapper-env) to tst-rtld-load-self.sh.
35343         ($(objpfx)order2.out): Use $(test-wrapper).
35344         ($(objpfx)tst-initorder.out): Likewise.
35345         ($(objpfx)tst-initorder2.out): Likewise.
35346         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35347         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35348         (test_wrapper_env): New variable.  Use it to run ld.so.
35349         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35350         Use it to run ld.so.
35351         (test_wrapper_env): Likewise.
35352         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35353         $(test-wrapper) to run-iconv-test.sh.
35354         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35355         (ICONV): Use $test_wrapper.
35356         * posix/Makefile ($(objpfx)globtest.out): Pass
35357         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35358         globtest.sh, not $(run-program-prefix).
35359         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35360         (test_wrapper): Likewise.
35361         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35362         set together with run_via_rtld_prefix.
35363         (run_program_prefix): Define in terms of test_wrapper and
35364         run_via_rtld_prefix.
35366 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35368         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35369         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35370         Targets removed.
35372         [BZ #14743]
35373         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35374         Declare __clock_getres, __clock_gettime, __clock_settime,
35375         __clock_nanosleep, and __clock_getcpuclockid.
35376         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35377         Remove librt_hidden_def (clock_gettime).
35378         * sysdeps/unix/clock_gettime.c: Likewise.
35379         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35380         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35381         * rt/clock_getres.c: Define __clock_getres as an alias.
35382         * sysdeps/posix/clock_getres.c: Likewise.
35383         * rt/clock_settime.c: Define __clock_settime as an alias.
35384         * sysdeps/unix/clock_settime.c: Likewise.
35385         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35386         * sysdeps/unix/clock_nanosleep.c: Likewise.
35387         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35388         * rt/clock-compat.c: New file.
35389         * rt/Makefile (librt-routines): Add clock-compat and move
35390         $(clock-routines) to ...
35391         (routines): ... here, new variable.
35392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35393         Don't add get_clockfreq here.
35394         * rt/Versions (libc: GLIBC_2.17): New version set.
35395         Add clock_* symbols here.
35396         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35398         (GLIBC_2.17): Add clock_* symbols.
35399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35403         Likewise.
35404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35405         Likewise.
35406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35410         * NEWS: Mention the move.
35412         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35413         Use __open, __read, __close rather than their public counterparts.
35414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35415         (__get_clockfreq_via_cpuinfo): Likewise.
35416         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35417         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35419         * config.h.in (HAVE_IFUNC): New #undef.
35420         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35421         was successful.
35422         * configure: Regenerated.
35424 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35426         * configure.in: Move READELF check to start of file.
35427         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35428         libc_cv_asm_gnu_indirect_function in the process.
35429         * configure: Regenerated.
35431 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35433         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35434         send the output to /dev/null.
35435         (libc_cv_cc_with_libunwind): Likewise.
35436         (libc_cv_as_noexecstack): Likewise.
35437         * configure: Regenerate.
35439 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35441         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35443         * posix/globtest.sh (TMPDIR): Do not set.
35444         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35445         (testout): Likewise.
35447 2012-10-24  Andreas Jaeger  <aj@suse.de>
35449         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35450         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35451         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35452         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35453         posix_fadvise64, posix_fallocate64.
35455         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35456         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35457         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35458         Likewise.
35459         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35460         Likewise.
35461         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35464         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35465         <bits/fcntl-linux.h>.
35466         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35469         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35470         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35471         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35472         [__WORDSIZE != 64]: Likewise.
35474 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35476         * Makeconfig (run-built-tests): New variable.
35477         * Rules [$(cross-compiling) = yes]: Change condition to
35478         [$(run-built-tests) = no].
35479         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35480         to [$(run-built-tests) = yes].
35481         * elf/Makefile [$(cross-compiling) = no]: Likewise
35482         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35483         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35484         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35485         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35486         * io/Makefile [$(cross-compiling) = no]: Likewise.
35487         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35488         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35489         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35490         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35491         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35492         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35493         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35494         * string/Makefile [$(cross-compiling) = no]: Likewise.
35496         * posix/Makefile ($(objpfx)globtest.out): Pass
35497         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35498         $(rtld-installed-name).
35499         * posix/globtest.sh (elf_objpfx): Remove variable.
35500         (rtld_installed_name): Likewise.
35501         (library_path): Likewise.
35502         (run_program_prefix): New variable.  Use for running globtest
35503         binary.
35505 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35506             Joseph Myers  <joseph@codesourcery.com>
35508         * Makeconfig (host-built-program-cmd): New variable.
35509         * elf/Makefile (tst-stackguard1-ARGS): Use
35510         $(host-built-program-cmd).
35511         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35512         (tst-spawn-ARGS): Likewise.
35513         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35515 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35516             Jim Blandy  <jimb@codesourcery.com>
35518         * Makeconfig (run-via-rtld-prefix): New variable.
35519         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35520         (built-program-cmd): Likewise.
35522 2012-10-22  Andreas Jaeger  <aj@suse.de>
35524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35525         __O_RSYNC if it exists, otherwise to O_SYNC.
35527 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35528             Joseph Myers  <joseph@codesourcery.com>
35530         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35531         /dev/null.
35532         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35533         from /dev/null
35534         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35535         /dev/null.
35537 2012-10-22  Andreas Jaeger  <aj@suse.de>
35539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35540         Define always.
35541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35544         bits/fcntl-linux.h.
35546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35547         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35550         to __O_LARGEFILE.
35551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35552         to __O_LARGEFILE.
35554 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35555             Joseph Myers  <joseph@codesourcery.com>
35557         * config.make.in (NM): New variable.
35559 2012-10-21  Andreas Jaeger  <aj@suse.de>
35561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35562         definitions and declarations that are provided by
35563         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35565 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35567         [BZ #14683]
35568         * elf/Makefile (tests-static): Add tst-leaks1-static.
35569         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35570         ($(objpfx)tst-leaks1-static): New rule.
35571         ($(objpfx)tst-leaks1-static-mem): Likewise.
35572         (tst-leaks1-static-ENV): New macro.
35573         * elf/dl-open.c (dl_open_worker): Check the main application
35574         only if SHARED is defined.
35575         * elf/tst-leaks1-static.c: New file.
35577 2012-10-20  Andreas Jaeger  <aj@suse.de>
35579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35580         generic values for Linux.
35581         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35582         and declarations that are provided by <bits/fcntl-linux.h> and
35583         include <bits/fcntl-linux.h>.
35584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35587 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35589         * io/fcntl.h: Move include of <bits/types.h> to the top and
35590         include it unconditionally.
35592 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35594         * wcsmbs/Makefile (tests-ifunc): New variable.
35595         (tests): Add $(tests-ifunc).
35596         * wcsmbs/test-wcschr-ifunc.c: New file.
35597         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35598         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35599         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35600         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35601         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35603         * string/Makefile (tests-ifunc): New variable.
35604         (tests): Add $(tests-ifunc).
35605         * string/test-memccpy.c (TEST_NAME): New macro.
35606         * string/test-memchr.c (TEST_NAME): Likewise.
35607         * string/test-memcmp.c (TEST_NAME): Likewise.
35608         * string/test-memcpy.c (TEST_NAME): Likewise.
35609         * string/test-memmem.c (TEST_NAME): Likewise.
35610         * string/test-memmove.c (TEST_NAME): Likewise.
35611         * string/test-memset.c (TEST_NAME): Likewise.
35612         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35613         * string/test-stpcpy.c (TEST_NAME): Likewise.
35614         * string/test-stpncpy.c (TEST_NAME): Likewise.
35615         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35616         * string/test-strcasestr.c (TEST_NAME): Likewise.
35617         * string/test-strcat.c (TEST_NAME): Likewise.
35618         * string/test-strchr.c (TEST_NAME): Likewise.
35619         * string/test-strcmp.c(TEST_NAME): Likewise.
35620         * string/test-strcpy.c (TEST_NAME): Likewise.
35621         * string/test-strcspn.c (TEST_NAME): Likewise.
35622         * string/test-strlen.c (TEST_NAME): Likewise.
35623         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35624         * string/test-strncmp.c (TEST_NAME): Likewise.
35625         * string/test-strncpy.c (TEST_NAME): Likewise.
35626         * string/test-strnlen.c (TEST_NAME): Likewise.
35627         * string/test-strpbrk.c (TEST_NAME): Likewise.
35628         * string/test-strrchr.c (TEST_NAME): Likewise.
35629         * string/test-strspn.c (TEST_NAME): Likewise.
35630         * string/test-strstr.c (TEST_NAME): Likewise.
35631         * string/test-bcopy-ifunc.c: New file.
35632         * string/test-bzero-ifunc.c: Likewise.
35633         * string/test-memccpy-ifunc.c: Likewise.
35634         * string/test-memchr-ifunc.c: Likewise.
35635         * string/test-memcmp-ifunc.c: Likewise.
35636         * string/test-memcpy-ifunc.c: Likewise.
35637         * string/test-memmem-ifunc.c: Likewise.
35638         * string/test-memmove-ifunc.c: Likewise.
35639         * string/test-mempcpy-ifunc.c: Likewise.
35640         * string/test-memset-ifunc.c: Likewise.
35641         * string/test-rawmemchr-ifunc.c: Likewise.
35642         * string/test-stpcpy-ifunc.c: Likewise.
35643         * string/test-stpncpy-ifunc.c: Likewise.
35644         * string/test-strcasecmp-ifunc.c: Likewise.
35645         * string/test-strcasestr-ifunc.c: Likewise.
35646         * string/test-strcat-ifunc.c: Likewise.
35647         * string/test-strchr-ifunc.c: Likewise.
35648         * string/test-strchrnul-ifunc.c: Likewise.
35649         * string/test-strcmp-ifunc.c: Likewise.
35650         * string/test-strcpy-ifunc.c: Likewise.
35651         * string/test-strcspn-ifunc.c: Likewise.
35652         * string/test-strlen-ifunc.c: Likewise.
35653         * string/test-strncasecmp-ifunc.c: Likewise.
35654         * string/test-strncat-ifunc.c: Likewise.
35655         * string/test-strncmp-ifunc.c: Likewise.
35656         * string/test-strncpy-ifunc.c: Likewise.
35657         * string/test-strnlen-ifunc.c: Likewise.
35658         * string/test-strpbrk-ifunc.c: Likewise.
35659         * string/test-strrchr-ifunc.c: Likewise.
35660         * string/test-strspn-ifunc.c: Likewise.
35661         * string/test-strstr-ifunc.c: Likewise.
35663         * debug/Makefile (tests-ifunc): New variable.
35664         (tests): Add $(tests-ifunc).
35665         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35666         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35667         * debug/test-stpcpy_chk-ifunc.c: New file.
35668         * debug/test-strcpy_chk-ifunc.c: Likewise.
35670 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35672         [BZ #13601]
35673         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35674         header is not read in.
35676 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35678         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35679         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35680         directly.  Pass built executable to script as
35681         $(built-program-cmd).
35682         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35683         $testprogram without using LD_LIBRARY_PATH and $ldso.
35685         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35686         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35687         $(rtld-installed-name).
35688         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35689         (rtld_installed_name): Likewise.
35690         (library_path): Likewise.
35691         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35692         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35693         $(run-program-prefix) to tst-tables.sh.
35694         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35695         it to run tst-table-from and tst-table-to.
35696         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35697         Pass it to tst-table.sh.
35698         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35699         $(run-program-prefix) to tst-gettext.sh.
35700         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35701         tst-translit.sh.
35702         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35703         tst-gettext2.sh.
35704         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35705         to run tst-gettext.
35706         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35707         to run tst-gettext2.
35708         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35709         to run tst-translit.
35710         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35711         $(run-program-prefix) to tst-mtrace.sh.
35712         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35713         to run tst-mtrace.
35714         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35715         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35716         $(rtld-installed-name).
35717         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35718         (rtld_installed_name): Likewise.
35719         (run_program_prefix): New variable.  Use it to run wordexp-test.
35721         * Makeconfig (ARCH): Remove all definitions.
35722         (machine): Likewise.
35723         [ARCH]: Remove conditional code.
35724         [!objdir]: Give error.
35725         [!objdir] (objpfx): Remove.
35726         [!objdir] (common-objpfx): Likewise.
35727         [!objdir] (common-objdir): Likewise.
35728         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35729         AC_CONFIG_FILES call.
35730         * configure: Regenerated.
35732         [BZ #13888]
35733         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35734         or TMPDIR.
35735         (testout): Likewise.
35737         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35738         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35739         $(rtld-installed-name).
35740         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35741         (rtld_installed_name): Likwise.
35742         (runit): Remove function.
35743         (run_getconf): New variable,  Use it for running getconf binary.
35745 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35747         [BZ #14716]
35748         * string/test-memmem.c (check_result): New function.
35749         (do_one_test): Use it.
35750         (check1): New function.
35751         (test_main): Use it.
35753 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35755         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35757 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35759         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35760         (_G_LSEEK64): Likewise.
35761         (_G_MMAP64): Likewise.
35762         (_G_FSTAT64): Likewise.
35763         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35764         (_G_LSEEK64): Likewise.
35765         (_G_MMAP64): Likewise.
35766         (_G_FSTAT64): Likewise.
35767         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35768         unconditional.  Call __mmap64 directly.
35769         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35770         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35771         __lseek64 directly.
35772         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35773         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35774         __mmap64 directly.
35775         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35776         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35777         __lseek64 directly.
35778         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35779         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35780         __lseek64 directly.
35781         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35782         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35783         __lseek64 directly.
35784         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35785         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35786         __fxstat64 directly.
35787         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35788         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35789         unconditional.
35790         (freopen64) [!_G_OPEN64]: Remove conditional code.
35791         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35792         unconditional.
35793         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35794         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35795         unconditional.
35796         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35797         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35798         unconditional.
35799         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35800         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35801         unconditional.
35802         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35803         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35804         unconditional.
35805         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35806         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35807         unconditional.
35808         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35809         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35810         unconditional.
35811         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35813 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35815         [BZ #12140]
35816         * manual/memory.texi (Malloc Tunable Parameters): Add note
35817         about free list pointers overwriting some perturb bytes.
35818         Wording suggested by Roland McGrath.
35820 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35822         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35823         (lgamma_test): Likewise.
35824         (tgamma_test): Likewise.
35826 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35828         [BZ #14700]
35829         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35830         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35832 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35834         * NEWS: Mention BZ #14716.
35835         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35836         when removing AVAILABLE1_USES_J macro.
35838 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35840         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35841         (__bswap_64): __uint64_t for unsigned 64-bit int.
35843 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35845         * include/string.h (memmem): Declare libc hidden alias.
35846         * string/memmem.c (memmem): Define libc hidden alias.
35847         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35848         __read, __close instead of open, read, close.
35850 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35853         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35854         global and hidden.
35855         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35856         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35857         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35858         Likewise.
35859         (__rawmemchr_sse2): Likewise.
35860         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35861         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35862         (__strchr_sse2): Likewise.
35863         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35864         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35865         (__strcasecmp_sse2): Likewise.
35866         (__strncasecmp_sse2): Likewise.
35867         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35868         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35869         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35870         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35871         (__strrchr_sse2): Likewise.
35872         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35873         ifunc-impl-list.c.
35874         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35875         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35876         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35877         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35878         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35879         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35880         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35881         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35882         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35883         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35884         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35885         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35886         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35887         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35888         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35889         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35890         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35891         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35892         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35893         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35894         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35895         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35896         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35897         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35898         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35899         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35900         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35901         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35902         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35903         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35906         global and hidden.
35907         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35908         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35909         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35910         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35911         Likewise.
35912         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35913         Likewise.
35914         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35915         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35916         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35917         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35918         ifunc-impl-list.c.
35919         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35920         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35921         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35922         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35923         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35924         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35927         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35930         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35931         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35932         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35933         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35934         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35935         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35936         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35937         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35939         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35942         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35944         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35945         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35946         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35947         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35948         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35949         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35950         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35951         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35952         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35953         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35955         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35956         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35958         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35959         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35961         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35962         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35963         * include/ifunc-impl-list.h: New file.
35964         * misc/ifunc-impl-list.c: Likewise.
35965         * misc/Makefile (routines): Add ifunc-impl-list.
35966         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35967         * string/test-string.h: Include <ifunc-impl-list.h>.
35968         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35969         TEST_NAME]: New variables.
35970         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35971         are defined.
35972         (test_init): Call __libc_ifunc_impl_list to initialize
35973         func_list if TEST_IFUNC and TEST_NAME are defined.
35975         * string/Makefile (strop-tests): Add bcopy and bzero.
35976         * string/test-bcopy.c: New file.
35977         * string/test-bzero.c: Likewise.
35978         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35979         defined.
35980         * string/test-memset.c: Support bzero test if TEST_BZERO is
35981         defined.
35982         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35983         __libc_memmove.
35984         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35985         __libc_memset.
35986         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35987         of memset.
35989 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35991         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35992         * configure: Regenerated.
35994         * Makeconfig (+link-static-before-libc): Don't include
35995         $(link-static-libc).
35997         * libio/libio.h (_IO_pos_t): Remove.
35999 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36001         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36002         McGrath.
36004 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36006         * crypt/crypt-entry.c: Include fips-private.h.
36007         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36008         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36009         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36010         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36012 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36014         * crypt/crypt-private.h: Include stdbool.h.
36015         (_ufc_setup_salt_r): Return bool.
36016         * crypt/crypt-entry.c: Include errno.h.
36017         (__crypt_r): Return NULL with EINVAL for bad salt.
36018         * crypt/crypt_util.c (bad_for_salt): New.
36019         (_ufc_setup_salt_r): Check that salt is long enough and within
36020         the specified alphabet.
36021         * crypt/badsalttest.c: New file.
36022         * crypt/Makefile (tests): Add it.
36023         ($(objpfx)badsalttest): New.
36025 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36027         * NEWS: Add entry for BZ #14602.
36029 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36031         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36032         type-generic.
36033         * math/libm-test.inc: Update comment listing what functions and
36034         macros are tested.
36035         (isgreater_test): New function.
36036         (isgreaterequal_test): Likewise.
36037         (isless_test): Likewise.
36038         (islessequal_test): Likewise.
36039         (islessgreater_test): Likewise.
36040         (isunordered_test): Likewise.
36041         (main): Call the new functions.
36043 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36045         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36046         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36047         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36048         * sysdeps/i386/configure: Regenerated.
36049         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36050         * sysdeps/mach/configure: Regenerated.
36051         * sysdeps/mach/hurd/configure: Regenerated.
36052         * sysdeps/powerpc/configure: Regenerated.
36053         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36054         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36055         * sysdeps/s390/s390-32/configure: Regenerated.
36056         * sysdeps/s390/s390-64/configure: Regenerated.
36057         * sysdeps/sh/configure: Regenerated.
36058         * sysdeps/sparc/configure: Regenerated.
36059         * sysdeps/unix/sysv/linux/configure: Regenerated.
36060         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36061         * sysdeps/x86_64/configure: Regenerated.
36063         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36064         defined.  Don't check if MAP is NULL.
36066 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36068         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36069         (_G_stat64): Likewise.
36070         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36071         (_G_stat64): Likewise.
36072         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36073         instead of struct _G_stat64.
36074         * libio/fileops.c (mmap_remap_check): Likewise.
36075         (decide_maybe_mmap): Likewise.
36076         (_IO_new_file_seekoff): Likewise.
36077         (_IO_file_stat): Likewise.
36078         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36079         _G_off64_t.
36080         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36081         instead of struct _G_stat64.
36082         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36084 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36086         [BZ #14602]
36087         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36088         Replace with ...
36089         (CHECK_EOL): New macro.
36090         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36091         CHECK_EOL.
36092         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36093         Replace with CHECK_EOL.
36094         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36095         Replace with CHECK_EOL.
36097 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36099         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36100         type-generic.
36101         * math/libm-test.inc: Update comment listing what functions and
36102         macros are tested.
36103         (finite_test): New function.
36104         (isinf_test): Likewise.
36105         (isnan_test): Likewise.
36106         (fpclassify_test): Test subnormal input.
36107         (isfinite_test): Likewise.
36108         (isnormal_test): Likewise.
36109         (main): Call the new functions.
36111 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36113         [BZ #14660]
36114         * Makerules (%.dynsym): Force C locale when running
36115         $(OBJDUMP) --dynamic-syms.
36117 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36119         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36120         <stdint.h>.
36122 2012-10-06  David S. Miller  <davem@davemloft.net>
36124         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36125         upper 32-bits of the length value in %o2 since we use branch-on-register
36126         tests which consider the entire 64-bit register.
36128 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36130         * string/test-strstr.c (check2): Add a test for page boundary.
36132 2012-10-05  David S. Miller  <davem@davemloft.net>
36134         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36135         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36136         file.
36137         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36138         sysdep_routines.
36139         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36140         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36141         and bzero when HWCAP_SPARC_CRYPTO is present.
36143 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36145         [BZ #14602]
36146         * string/test-strstr.c (check2): New function.
36147         (test_main): Call check2.
36149         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36150         and bug-strchr1.
36151         * string/bug-strcasestr1.c (do_test): Moved to ...
36152         * string/test-strcasestr.c (check1): Here.  New function.
36153         (do_one_test): Break out result checking code into ...
36154         (check_result): This.  New function.
36155         (do_one_test): Call check_result.
36156         (test_main): Call check1.
36157         * string/bug-strchr1.c (do_test): Moved to ...
36158         * string/test-strchr.c (check1): Here.  New function.
36159         (do_one_test): Break out result checking code into ...
36160         (check_result): This.  New function.
36161         (do_one_test): Call check_result.
36162         (test_main): Call check1.
36163         * string/bug-strstr1.c (main): Moved to ...
36164         * string/test-strstr.c (check1): Here.  New function.
36165         (do_one_test): Break out result checking code into ...
36166         (check_result): This.  New function.
36167         (do_one_test): Call check_result.
36168         (test_main): Call check1.
36169         * string/bug-strcasestr1.c: Removed.
36170         * string/bug-strchr1.c: Likewise.
36171         * string/bug-strstr1.c: Likewise.
36173         * elf/Makefile (dl-routines): Add hwcaps.
36174         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36175         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36176         (_dl_important_hwcaps): Moved to ...
36177         * elf/dl-hwcaps.c: Here.  New file.
36178         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36180         [BZ #14557]
36181         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36182         if IS_IN_rtld isn't defined.
36184         * elf/dl-support.c (_dl_sysinfo_map): New.
36185         Include "get-dynamic-info.h" and "setup-vdso.h".
36186         (_dl_non_dynamic_init): Call setup_vdso.
36187         * elf/dynamic-link.h: Don't include <assert.h>.
36188         (elf_get_dynamic_info): Moved to ...
36189         * elf/get-dynamic-info.h: Here.  New file.
36190         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36191         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36192         * elf/setup-vdso.h: Here.  New file.
36193         * elf/rtld.c: Include "setup-vdso.h".
36194         (dl_main): Call setup_vdso.
36196 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36198         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36199         creal in comment listing functions tested.  List finite, isinf,
36200         isnan, isless, islessequal, isgreater, isgreaterequal,
36201         islessgreater, isunordered, lgamma_r and pow10 as functions and
36202         macros not tested.  Mention which functions not tested are aliases
36203         for other functions.  Fix typo.  Note that signs of NaNs are not
36204         tested.
36206         * scripts/config.guess: Update from config.git.
36207         * scripts/config.sub: Likewise.
36209 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36211         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36212         * misc/madvise.c (madvise): Renamed to __madvise.
36213         Make madvise a weak alias.
36214         * include/sys/mman.h: Declare __madvise.
36215         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36216         * sysdeps/unix/syscalls.list
36217         (madvise): Make __madvise the strong name, and madvise a weak alias.
36218         * sysdeps/unix/sysv/linux/syscalls.list
36219         (madvise, mmap): Remove redundant entries.
36220         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36221         * malloc/malloc.c (mtrim): Likewise.
36222         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36224 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36226         * sysdeps/mach/hurd/dl-cache.c: File removed.
36227         * config.h.in (USE_LDCONFIG): New #undef.
36228         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36229         * configure: Regenerated.
36230         * elf/Makefile (dl-routines): Add dl-cache only under
36231         [$(use-ldconfig) = yes].
36232         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36233         cache on [USE_LDCONFIG].
36234         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36235         [USE_LDCONFIG].
36236         * elf/rtld.c (dl_main): Likewise.
36238 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36240         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36241         _SC_LEVEL4_CACHE_LINESIZE.
36243 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36245         * sysdeps/unix/bsd/confstr.h: File removed.
36247 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36249         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36250         sys/sdt-config.h.
36252 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36254         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36255         Make 'mapoff' field ElfW(Off) rather than off_t.
36257 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36259         * nscd/Makefile: Remove nscd-cflags and all its users.
36260         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36261         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36263         [BZ #10631]
36264         * malloc.c (malloc_printerr): Clarify error message.
36266 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36268         [BZ #14648]
36269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36270         Set bit_FMA_Usable if FMA is supported.
36271         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36272         macro.
36273         (bit_FMA4_Usable): Updated.
36274         (index_FMA_Usable): New macro.
36275         (CPUID_FMA): Likewise
36276         (HAS_FMA): Defined with bit_FMA_Usable.
36278 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36280         * bits/types.h (__swblk_t): Type removed.
36281         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36282         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36283         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36284         (__SWBLK_T_TYPE): Likewise.
36285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36286         (__SWBLK_T_TYPE): Likewise.
36287         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36288         (__SWBLK_T_TYPE): Likewise.
36289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36290         (__SWBLK_T_TYPE): Likewise.
36292 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36293             Honza Horak <hhorak@redhat.com>
36295         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36296         (xdr_mapname): Use YPMAXMAP as maxsize.
36297         (xdr_peername): Use YPMAXPEER as maxsize.
36298         (xdr_keydat): Use YPAXRECORD as maxsize.
36299         (xdr_valdat): Use YPMAXRECORD as maxsize.
36301 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36303         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36305         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36306         * csu/init-first.c: ... here.
36307         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36308         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36309         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36310         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36311         * sysdeps/i386/init-first.c: File removed.
36312         * sysdeps/sh/init-first.c: File removed.
36314 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36316         [BZ #14645]
36317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36318         if x * y might underflow to zero and z is zero.
36319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36321         * math/libm-test.inc (min_subnorm_value): New variable.
36322         (fma_test): Add more tests.
36323         (fma_test_towardzero): Likewise.
36324         (fma_test_downward): Likewise
36325         (fma_test_upward): Likewise.
36326         (initialize): Set min_subnorm_value.
36328 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36330         [BZ #14638]
36331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36332         0 + 0.
36333         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36334         mode for addition resulting in exact zero.
36335         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36337         exact 0 + 0.
36338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36340         * math/libm-test.inc (fma_test): Add more tests.
36341         (fma_test_towardzero): New function.
36342         (fma_test_downward): Likewise.
36343         (fma_test_upward): Likewise.
36344         (main): Call the new functions.
36346 2012-09-28  David S. Miller  <davem@davemloft.net>
36348         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36350 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36352         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36353         instead of SIGALRM.
36355         * sysdeps/gnu/_G_config.h: Moved to ...
36356         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36357         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36358         * sysdeps/generic/_G_config.h: ... here.
36360         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36362         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36364         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36365         Conditionalize target on [libnss_test1.so-version].
36367         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36369         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36370         (elfobjdir): Move out of conditionals.
36372         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36373         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36374         (__nss_lookup_function): Conditionalize label remove_from_tree on
36375         [!DO_STATIC_NSS || SHARED], matching its only use.
36377 2012-09-28  David S. Miller  <davem@davemloft.net>
36379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36380         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36381         file.
36382         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36383         sysdep_routines.
36384         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36386         when HWCAP_SPARC_CRYPTO is present.
36388 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36390         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36392 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36394         [BZ #6530]
36395         * stdio-common/vfprintf.c (process_string_arg): Revert
36396         2000-07-22 change.
36398 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36400         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36401         for testcase.
36402         * stdio-common/tst-sprintf.c: Include <locale.h>
36403         (main): Test sprintf's handling of incomplete multibyte
36404         characters.
36406 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36408         * elf/dl-runtime.c (VERSYMIDX): Removed.
36409         * elf/dl-version.c (VERSYMIDX): Likewise.
36410         * elf/do-rel.h (VERSYMIDX): Likewise.
36411         (VALIDX): Likewise.
36412         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36413         * elf/rtld.c (VALIDX): Likewise.
36414         (ADDRIDX): Likewise.
36415         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36416         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36417         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36418         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36419         (VALIDX): Likewise.
36420         (ADDRIDX): Likewise.
36422 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36424         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36426 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36428         [BZ #11438]
36429         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36430         to global scope.
36431         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36432         addresses are in the same scope as 192.0.2/24.
36433         * posix/gai.conf: Document new scope table defaults.
36435 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36437         [BZ #5298]
36438         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36439         for ftell.  Compute offsets from write pointers instead.
36440         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36442 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36444         [BZ #14543]
36445         * libio/Makefile (tests): New test case tst-fseek.
36446         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36447         combination works in wide mode.
36448         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36449         state when the external buffer state changes.
36451 2012-09-27  David S. Miller  <davem@davemloft.net>
36453         [BZ #14376]
36454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36455         pass reloc->r_addend in as the 'high' argument to
36456         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36460 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36462         * rt/tst-aio2.c: Include <pthread.h>.
36463         * rt/tst-aio3.c: Likewise.
36465 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36467         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36469 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36471         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36472         contents on [SHARED].
36474 2012-09-26  Marek Polacek  <polacek@redhat.com>
36476         [BZ #14530]
36477         [BZ #13741]
36478         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36479         for C++ and GCC <4.3 as well as for non GCC compilers.
36481 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36485 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36487         * Makefile.in (all, install): Declare with .PHONY.
36488         Reported by Michael Hope <michael.hope@linaro.org>.
36490 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36492         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36493         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36494         system header.
36495         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36496         Likewise.
36497         (sydep_routines): Add the new and the internal functions.
36498         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36499         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36501         (GLIBC_2.17): Add the new function.
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36503         (GLIBC_2.17): Likewise.
36504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36505         (GLIBC_2.17): Likewise.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36507         (GLIBC_2.17): Likewise.
36508         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36510 2012-09-25  Alan Modra  <amodra@gmail.com>
36512         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36513         Add release barrier before setting once_control to say
36514         initialisation is done.  Add hints on lwarx.  Use macro in
36515         place of isync.
36516         (clear_once_control): Add release barrier.
36518 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36520         [BZ #13629]
36521         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36522         specially.
36523         * math/s_clog10.c (__clog10): Likewise.
36524         * math/s_clog10f.c (__clog10f): Likewise.
36525         * math/s_clog10l.c (__clog10l): Likewise.
36526         * math/s_clogf.c (__clogf): Likewise.
36527         * math/s_clogl.c (__clogl): Likewise.
36528         * math/Makefile (libm-calls): Add x2y2m1.
36529         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36530         (__x2y2m1): Likewise.
36531         (__x2y2m1l): Likewise.
36532         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36533         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36534         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36535         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36536         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36537         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36538         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36539         * sysdeps/i386/fpu/libm-test-ulps: Update.
36540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36542         [BZ #14621]
36543         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36544         int as type of variable DEPTH.
36545         (glob): Use size_t instead of int as type of variables NEWCOUNT
36546         and OLD_PATHC.
36548 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36550         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36551         Add s_sincosf-sse2.
36552         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36553         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36554         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36555         macros for using routine as __sincosf_ia32.
36556         Use macro for function declaration and weak_alias.
36557         * sysdeps/i386/fpu/libm-test-ulps: Update.
36559         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36562         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36563         subnormal argument.
36564         * math/s_cexpf.c (__cexpf): Likewise.
36565         * math/s_csinf.c (__csinf): Likewise.
36566         * math/s_csinhf.c (__csinhf): Likewise.
36567         * math/s_ctanf.c (__ctanf): Likewise.
36568         * math/s_ctanhf.c (__ctanhf): Likewise.
36569         * math/s_ccosh.c (__ccoshf): Likewise.
36570         * math/s_cexp.c (__cexpl): Likewise.
36571         * math/s_csin.c (__csin): Likewise.
36572         * math/s_csinh.c (__csinh): Likewise.
36573         * math/s_ctan.c (__ctan): Likewise.
36574         * math/s_ctanh.c (ctanh): Likewise.
36575         * math/s_ccoshl.c (__ccoshl): Likewise.
36576         * math/s_cexpl.c (__cexpl): Likewise.
36577         * math/s_csinl.c (__csinl): Likewise.
36578         * math/s_csinhl.c (__csinhl): Likewise.
36579         * math/s_ctanl.c (__ctanl): Likewise.
36580         * math/s_ctanhl.c (__ctanhl): Likewise.
36582 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36584         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36585         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36586         (_IO_off_t): Define to __off_t, not _G_off_t.
36587         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36588         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36589         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36590         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36591         type of __dummy and __dummy2 fields.
36592         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36593         (_G_ssize_t): Likewise.
36594         (_G_off_t): Likewise.
36595         (_G_pid_t): Likewise.
36596         (_G_uid_t): Likewise.
36597         (_G_wchar_t): Likewise.
36598         (_G_wint_t): Likewise.
36599         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36600         (_G_ssize_t): Likewise.
36601         (_G_off_t): Likewise.
36602         (_G_pid_t): Likewise.
36603         (_G_uid_t): Likewise.
36604         (_G_wchar_t): Likewise.
36605         (_G_wint_t): Likewise.
36606         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36607         (_G_ssize_t): Likewise.
36608         (_G_off_t): Likewise.
36609         (_G_pid_t): Likewise.
36610         (_G_uid_t): Likewise.
36611         (_G_wchar_t): Likewise.
36612         (_G_wint_t): Likewise.
36614 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36616         * malloc/arena.c: Include malloc-sysdep.h.
36617         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36618         is sufficient to shrink the heap or an unmap is needed.
36619         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36620         new function check_may_shrink_heap.
36621         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36622         new function check_may_shrink_heap.
36624 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36626         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36627         comments.
36629 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36631         * catgets/test-gencat.sh: Add "set -e".
36632         * elf/tst-pathopt.sh: Likewise.
36633         * grp/tst_fgetgrent.sh: Likewise.
36634         * iconvdata/run-iconv-test.sh: Likewise.
36635         * intl/tst-gettext.sh: Likewise.
36636         * intl/tst-gettext2.sh: Likewise.
36637         * intl/tst-gettext4.sh: Likewise.
36638         * intl/tst-gettext6.sh: Likewise.
36639         * intl/tst-translit.sh: Likewise.
36640         * io/ftwtest-sh: Likewise.
36641         * libio/test-freopen.sh: Likewise.
36642         * malloc/tst-mtrace.sh: Likewise.
36643         * posix/globtest.sh: Likewise.
36644         * posix/tst-getconf.sh: Likewise.
36645         * posix/wordexp-tst.sh: Likewise.
36646         * stdio-common/tst-printf.sh: Likewise.
36647         * stdio-common/tst-unbputc.sh: Likewise.
36648         * stdlib/tst-fmtmsg.sh: Likewise.
36649         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36650         * catgets/Makefile: Do not specify -e option when running
36651         testsuite shell scripts.
36652         * elf/Makefile: Likewise.
36653         * grp/Makefile: Likewise.
36654         * iconvdata/Makefile: Likewise.
36655         * intl/Makefile: Likewise.
36656         * io/Makefile: Likewise.
36657         * libio/Makefile: Likewise.
36658         * malloc/Makefile: Likewise.
36659         * posix/Makefile: Likewise.
36660         * stdio-common/Makefile: Likewise.
36661         * stdlib/Makefile: Likewise.
36662         * sysdeps/x86_64/Makefile: Likewise.
36664         * io/ftwtest-sh: Add copyright header.
36665         * posix/globtest.sh: Likewise.
36666         * posix/tst-getconf.sh: Likewise.
36667         * posix/wordexp-tst.sh: Likewise.
36668         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36670 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36672         [BZ #13679]
36673         * Makeconfig (+link): Defined as $(+link-static) if
36674         $(build-shared) isn't yes.
36675         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36676         isn't yes.
36677         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36679         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36681         [BZ #14562]
36682         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36683         new chunk size with MALLOC_ALIGN_MASK.
36685 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36687         [BZ #5044]
36688         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36689         <rounding-mode.h>.
36690         (__printf_fphex): Determine rounding using get_rounding_mode and
36691         round_away.
36692         * stdio-common/tst-printf-round.c (struct hex_test): New
36693         structure.
36694         (hex_tests): New variable.
36695         (test_hex_in_one_mode): New function.
36696         (do_test): Also run tests for hex float output.
36698 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36700         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36701         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36702         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36703         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36704         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36705         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36706         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36707         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36709 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36711         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36712         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36713         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36714         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36716 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36718         [BZ #14579]
36719         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36720         mode only.
36721         * elf/tst-rtld-load-self.sh: New test.
36722         * elf/Makefile: Run it.
36724 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36726         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36727         (tst-writev-ENV): Remove.
36728         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36730 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36732         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36734 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36736         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36737         unconditional.
36738         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36739         Likewise.
36740         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36741         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36743         Likewise.
36745 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36747         [BZ #14587]
36748         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36749         * config.make.in (have-cpp-asm-debuginfo): Removed.
36750         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36751         * configure: Regenerated.
36753 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36755         [BZ #5044]
36756         * stdio-common/printf_fp.c: Include <stdbool.h> and
36757         <rounding-mode.h>.
36758         (___printf_fp): Determine rounding using get_rounding_mode and
36759         round_away.
36760         * stdio-common/tst-printf-round.c: New file.
36761         * stdio-common/Makefile (tests): Add tst-printf-round.
36762         (link-libm): New variable.
36763         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36765 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36767         [BZ #14576]
36768         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36769         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36770         Likewise.
36771         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36772         Likewise.
36774 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36776         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36777         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36778         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36779         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36781 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #14518]
36784         * include/rounding-mode.h: New file.
36785         * sysdeps/generic/get-rounding-mode.h: Likewise.
36786         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36787         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36788         (MAX_VALUE): New macro.
36789         (MIN_VALUE): Likewise.
36790         (overflow_value): New function.
36791         (underflow_value): Likewise.
36792         (round_and_return): Use overflow_value and underflow_value to
36793         determine return values in overflow and underflow cases.  Use
36794         round_away to determine rounding depending on rounding mode.
36795         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36796         determine return values in overflow and underflow cases.
36797         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36798         (struct test_results): New structure.
36799         (struct test): Use struct test_results to store expected results
36800         for all rounding modes.
36801         (TEST): Include expected results for all rounding modes.
36802         (test_in_one_mode): New function.
36803         (do_test): Use test_in_one_mode to compute and check results.
36804         Check results for all rounding modes.
36805         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36806         $(link-libm).
36808 2012-12-09  Allan McRae  <allan@archlinux.org>
36810         * sysdeps/i386/fpu/libm-test-ulps: Update
36812 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36814         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36815         (_G_int32_t): Likewise.
36816         (_G_uint16_t): Likewise.
36817         (_G_uint32_t): Likewise.
36818         (_G_HAVE_BOOL): Likewise.
36819         (_G_HAVE_ATEXIT): Likewise.
36820         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36821         (_G_HAVE_IO_FILE_OPEN): Likewise.
36822         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36823         (_G_int32_t): Likewise.
36824         (_G_uint16_t): Likewise.
36825         (_G_uint32_t): Likewise.
36826         (_G_HAVE_BOOL): Likewise.
36827         (_G_HAVE_ATEXIT): Likewise.
36828         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36829         (_G_HAVE_IO_FILE_OPEN): Likewise.
36830         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36831         (_G_int32_t): Likewise.
36832         (_G_uint16_t): Likewise.
36833         (_G_uint32_t): Likewise.
36834         (_G_HAVE_BOOL): Likewise.
36835         (_G_HAVE_ATEXIT): Likewise.
36836         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36837         (_G_HAVE_IO_FILE_OPEN): Likewise.
36839 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36841         * csu/libc-tls.c: Update copyright years.
36843 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36845         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36846         [!_G_USING_THUNKS]: Remove conditional code.
36847         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36848         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36850         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36851         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36852         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36853         (_G_VTABLE_LABEL_PREFIX): Likewise.
36854         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36855         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36857         (_G_VTABLE_LABEL_PREFIX): Likewise.
36858         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36859         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36860         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36861         (_G_VTABLE_LABEL_PREFIX): Likewise.
36862         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36864 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36866         * libio/Makefile: Include ../Makeconfig before tests.
36867         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36868         only if $(build-shared) is yes.
36870         * iconv/gconv_db.c: Update copyright years.
36872 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36874         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36875         unwind info if defined PIC. Fix special cases description.
36876         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36878         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36879         DP_HI_MASK entry.
36880         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36882 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36884         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36886         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36887         is NULL.
36889         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36890         (LDLIBS-tst-chk4): This.
36891         (LDFLAGS-tst-chk5): Renamed to ...
36892         (LDLIBS-tst-chk5): This.
36893         (LDFLAGS-tst-chk6): Renamed to ...
36894         (LDLIBS-tst-chk6): This.
36895         (LDFLAGS-tst-lfschk4): Renamed to ...
36896         (LDLIBS-tst-lfschk4): This.
36897         (LDFLAGS-tst-lfschk5): Renamed to ...
36898         (LDLIBS-tst-lfschk5): This.
36899         (LDFLAGS-tst-lfschk6): Renamed to ...
36900         (LDLIBS-tst-lfschk6): This.
36902         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36903         on $(common-objpfx)soversions.mk.
36905 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36907         [BZ #10014]
36908         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36909         example host name.
36911 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36913         * malloc/arena.c (arena_get_retry): New function that gets
36914         another arena for the caller to try its request on.
36915         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36916         current arena cannot fulfill the request.
36917         (__libc_memalign): Likewise.
36918         (__libc_memalign): Likewise.
36919         (__libc_pvalloc): Likewise.
36920         (__libc_calloc): Likewise.
36922 2012-09-05  John Tobey  <john.tobey@gmail.com>
36924         [BZ #13542]
36925         * manual/arith.texi (Operations on Complex): Fix description
36926         of carg branch cut.
36928 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36930         [BZ #10014]
36931         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36932         host name.
36934         [BZ #10038]
36935         * manual/memory.texi (Memory): Make order of menu items match
36936         order of sections.
36938 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36940         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36941         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36942         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36944 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36946         * csu/libc-tls.c (static_dtv): Renamed to ...
36947         (_dl_static_dtv): This.  Make it global.
36948         (_dl_initial_dtv): Removed.
36949         (__libc_setup_tls): Updated.
36950         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36951         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36952         DL_INITIAL_DTV.
36954 2012-09-06  Petr Machata  <pmachata@redhat.com>
36956         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36957         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36958         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36959         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36961 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36963         [BZ #14545]
36964         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36965         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36966         freeing dtv[-1].
36968 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36970         [BZ #14544]
36971         * Makeconfig (link-static-before-libc): Replace $(+prector)
36972         with $(+prectorT).
36973         (link-static-after-libc): Replace $(+postctor) with
36974         $(+postctorT).
36975         (link-bounded): Replace $(+prector)/$(+postctor) with
36976         $(+prectorT)/$(+postctorT).
36977         (+prectorT): New macro.
36978         (+postctorT): Likewise.
36980 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36982         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36983         (round_str): Handle values above the maximum for IBM long double
36984         as inexact.
36985         * stdlib/tst-strtod-round.c (tests): Regenerated.
36987 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36989         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36990         assembler flag.
36991         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36992         zarch_nohighgprs around the zarch optimized routines.
36993         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36994         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36995         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36996         for zarch.
36998 2012-09-05  David S. Miller  <davem@davemloft.net>
37000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37002         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37003         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37004         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37005         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37006         entries.
37008 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37010         * malloc/arena.c: Fold copyright years.
37011         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37015         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37019         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37023         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37024         change internal state upon failure.
37026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37028         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37029         * malloc/memusage.c (mmap): Likewise.
37030         (mmap64, mremap): Likewise.  Adjust name in comment.
37032 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37034         * libio/fileops.c: Fix typos in comments.
37035         * libio/oldfileops.c: Likewise.
37036         * libio/wfileops.c: Likewise.
37038 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37040         [BZ #1349]
37041         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37042         (tst-malloc-usable-ENV): Set environment for test case.
37043         * malloc/hooks.c (malloc_check_get_size): New function to get
37044         requested size.
37045         * malloc/malloc.c (musable): Use malloc_check_get_size.
37046         * malloc/tst-malloc-usable.c: New test case.
37048 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37050         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37052 2012-09-05  Allan McRae  <allan@archlinux.org>
37054         [BZ #13966]
37055         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37056         determine header location.
37057         * configure: Regenerated.
37059 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37061         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37062         float format.
37063         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37064         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37065         format.
37066         (test): Regenerate.
37068 2012-09-04  David S. Miller  <davem@davemloft.net>
37070         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37071         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37072         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37074 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37076         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37077         failures.
37079         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37081 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37083         [BZ #9914]
37084         * libio/iogetdelim.c: Include <limits.h>.
37085         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37086         + len + 1 would overflow.
37088 2012-09-03  Andreas Jaeger  <aj@suse.de>
37090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37091         * sysdeps/i386/fpu/libm-test-ulps: Update.
37093 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37095         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37096         Add s_sinf-sse2, s_conf-sse2.
37098         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37099         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37100         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37101         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37103         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37104         for using routine as __sinf_ia32.
37105         Use macro for function declaration and weak_alias.
37106         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37107         for using routine as __cosf_ia32.
37108         Use macro for function declaration and weak_alias.
37110         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37111         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37113         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37114         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37117         * math/libm-test.inc (cos_test): Add more test cases.
37118         (sin_test): Likewise.
37119         (sincos_test): Likewise.
37121 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37124         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37125         hidden.
37126         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37128 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37130         [BZ #14538]
37131         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37132         first element of the GOT.
37133         (elf_machine_load_address): Return the difference between
37134         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37136 2012-09-01  Allan McRae  <allan@archlinux.org>
37138         [BZ #13412]
37139         * configure.in (AWK): Require gawk version 3.0 or later.
37140         * configure: Regenerated.
37142 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37144         * sysdeps/unix/sysv/linux/kernel-features.h
37145         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37147         [__NR_clock_getres]: Make code unconditional.
37148         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37149         (clock_getcpuclockid): Remove code left unreachable by removal of
37150         conditionals.
37151         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37152         code unconditional.
37153         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37154         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37155         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37156         Make code unconditional.
37157         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37158         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37159         * sysdeps/unix/sysv/linux/clock_settime.c
37160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37161         conditional code.
37162         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37163         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37165 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37167         [BZ #14476]
37168         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37169         scripts/test-installation.pl.
37171         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37172         and $ld_so_version if it is set.
37174 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37176         [BZ #14516]
37177         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37178         failure if reading from procfs failed.
37179         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37181 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37183         * sysdeps/unix/sysv/linux/kernel-features.h
37184         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37185         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37186         Remove conditional code.
37187         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37188         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37189         Remove conditional code.
37190         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37191         * sysdeps/unix/sysv/linux/i386/fxstat.c
37192         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37193         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37194         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37195         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37197         * sysdeps/unix/sysv/linux/i386/lxstat.c
37198         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37200         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37201         Remove conditional code.
37202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37203         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37204         Remove conditional code.
37205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37206         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37207         <kernel-features.h>.
37208         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37209         Remove.
37210         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37211         Remove conditional code.
37212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37213         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37214         Remove conditional.
37216 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37218         [BZ #5400]
37219         * NEWS: Add fixed bug number.
37221 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37223         [BZ #14519]
37224         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37225         underflowing exponent in case of negative sign.
37226         * stdlib/tst-strtod-round-data: Add more tests.
37227         * stdlib/tst-strtod-round.c (tests): Regenerated.
37229         [BZ #3479]
37230         * stdlib/strtod_l.c (NDIG): Remove.
37231         (HEXNDIG): Likewise.
37232         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37233         smallest representable value.
37234         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37235         lie within an exact representation of 1/2 ulp of the result.
37236         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37237         unconditionally.
37238         (TENS_P9_IDX): Define unconditionally.
37239         (TENS_P9_SIZE): Likewise.
37240         (TENS_P10_IDX): Likewise.
37241         (TENS_P10_SIZE): Likewise.
37242         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37243         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37244         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37245         entries for 10^2^13 and 10^2^14.
37246         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37247         (TENS_P13_IDX): Define.
37248         (TENS_P13_SIZE): Likewise.
37249         (TENS_P14_IDX): Likewise.
37250         (TENS_P14_SIZE): Likewise.
37251         (_fpioconst_pow10): Change array size to
37252         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37253         unconditional.
37254         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37255         1024]: Add entries for 10^2^13 and 10^2^14.
37256         [LAST_POW10 > _LAST_POW10]: Remove #error.
37257         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37258         (_fpioconst_pow10): Change array size to
37259         FPIOCONST_POW10_ARRAY_SIZE.
37260         * stdlib/gen-fpioconst.c: New file.
37261         * stdlib/gen-tst-strtod-round.c: Likewise.
37262         * stdlib/tst-strtod-round-data: Likewise.
37263         * stdlib/tst-strtod-round.c: Likewise.
37264         * stdlib/Makefile (tests): Add tst-strtod-round.
37266         [BZ #14459]
37267         * stdlib/strtod_l.c: Include <stdint.h>.
37268         (NDEBUG): Do not define.
37269         (round_and_return): Change EXPONENT parameter to type intmax_t.
37270         Rearrange calculations to avoid internal overflow possibilities.
37271         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37272         Rearrange calculations to avoid internal overflow possibilities.
37273         Assert that number fits inside MPNSIZE limbs.
37274         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37275         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37276         calculations and add assertions to avoid internal overflow
37277         possibilities.  Add casts to avoid signed/unsigned operations.
37278         * stdlib/tst-strtod-overflow.c: New file.
37279         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37281 2012-08-25  Marek Polacek  <polacek@redhat.com>
37283         * time/time.h: Fix some typos in comments.
37285 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37287         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37288         * posix/tst-rfc3484-2.c: Likewise.
37289         * posix/tst-rfc3484-3.c: Likewise.
37291 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37293         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37294         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37296 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37298         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37299         #include of fxstatat64.c.
37301 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37303         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37304         * shadow/getspent_r.c: Likewise.
37305         * shadow/getspnam.c: Likewise.
37306         * shadow/getspnam_r.c: Likewise.
37307         * gshadow/getsgent.c: Likewise.
37308         * gshadow/getsgent_r.c: Likewise.
37309         * gshadow/getsgnam.c: Likewise.
37310         * gshadow/getsgnam_r.c: Likewise.
37311         * inet/getnetbyad.c: Likewise.
37312         * inet/getnetbyad_r.c: Likewise.
37313         * inet/getnetbynm.c: Likewise.
37314         * inet/getnetbynm_r.c: Likewise.
37315         * inet/getnetent.c: Likewise.
37316         * inet/getnetent_r.c: Likewise.
37317         * inet/getproto.c: Likewise.
37318         * inet/getproto_r.c: Likewise.
37319         * inet/getprtent.c: Likewise.
37320         * inet/getprtent_r.c: Likewise.
37321         * inet/getprtname.c: Likewise.
37322         * inet/getprtname_r.c: Likewise.
37323         * inet/getrpcbyname.c: Likewise.
37324         * inet/getrpcbyname_r.c: Likewise.
37325         * inet/getrpcbynumber.c: Likewise.
37326         * inet/getrpcbynumber_r.c: Likewise.
37327         * inet/getrpcent.c: Likewise.
37328         * inet/getrpcent_r.c: Likewise.
37329         * inet/getaliasent.c: Likewise.
37330         * inet/getaliasent_r.c: Likewise.
37331         * inet/getaliasname.c: Likewise.
37332         * inet/getaliasname_r.c: Likewise.
37333         * nscd/getgrgid_r.c: Likewise.
37334         * nscd/getgrnam_r.c: Likewise.
37335         * nscd/gethstbyad_r.c: Likewise.
37336         * nscd/gethstbynm3_r.c: Likewise.
37337         * nscd/getpwnam_r.c: Likewise.
37338         * nscd/getpwuid_r.c: Likewise.
37339         * nscd/getsrvbynm_r.c: Likewise.
37340         * nscd/getsrvbypt_r.c: Likewise.
37341         * nscd/gai.c: Likewise.
37343         * configure.in (build_nscd): New substituted variable, set
37344         by --disable-build-nscd and defaults to $use_nscd.
37345         * configure: Regenerated.
37346         * config.make.in (build-nscd): New substituted variable.
37347         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37348         Change conditional to require [$(build-nscd) = yes] as well.
37349         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37351         [BZ# 13696]
37352         * configure.in (use_nscd): New substituted variable, set by
37353         --disable-nscd.  If enabled, define USE_NSCD.
37354         * configure: Regenerated.
37355         * config.h.in: Add USE_NSCD.
37356         * config.make.in (use-nscd): New substituted variable.
37357         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37358         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37359         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37360         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37361         (CFLAGS-getgrnam_r.c): Likewise.
37362         (CFLAGS-initgroups.c): Likewise.
37363         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37364         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37365         Variables removed.
37366         * inet/getnetgrent_r.c
37367         (nscd_setnetgrent): New function, broken out of ...
37368         (setnetgrent): ... here.  Call it.
37369         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37370         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37371         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37372         * nscd/Makefile (routines, aux): Move definitions after include of
37373         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37374         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37375         Conditionalize on [USE_NSCD].
37376         (is_nscd, nscd_init_cb): Likewise.
37377         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37378         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37379         * nss/nss_db/db-init.c: Likewise.
37380         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37381         [USE_NSCD].
37382         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37383         (make_request): Use it.
37384         (cache_valid_p): New function.
37385         (__check_pf): Use it.
37386         * NEWS: Add item for --disable-nscd.
37388 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37390         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37391         to support sed >= 4.2.1-20-ga9bf076.
37392         * configure: Regenerated.
37394 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37396         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37397         Conditionalize whole body on [IREL].
37399 2012-08-22  Jeff Law <law@redhat.com>
37401         [BZ #14505]
37402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37403         if the family is PF_UNSPEC.
37405 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37407         * Makerules (lib-version): Rename from V.
37408         (install-lib-nosubdir): Change V to lib-version.
37410 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37412         [BZ #14252]
37413         * powerpc32/power6/wcschr.c: New file.
37414         * powerpc32/power6/wcscpy.c: New file.
37415         * powerpc32/power6/wcsrchr.c: New file.
37416         * powerpc64/power6/wcschr.c: New file.
37417         * powerpc64/power6/wcscpy.c: New file.
37418         * powerpc64/power6/wcsrchr.c: New file.
37420 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37422         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37423         (two_way_short_needle): Use it.
37424         * string/strstr.c (AVAILABLE1_USES_J): Define.
37425         * string/strcasestr.c: Likewise.
37427         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37428         array references.
37429         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37431         [BZ #11607]
37432         * NEWS: Add an entry.
37433         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37434         define their defaults.
37435         (two_way_short_needle): Detect end-of-string on-the-fly.
37436         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37437         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37438         * string/bug-strcasestr1.c: New test.
37439         * string/Makefile: Run it.
37441 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37443         [BZ #11607]
37444         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37445         the first character.
37447 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37449         * csu/elf-init.c (__libc_csu_irel): Function removed.
37450         * csu/libc-start.c (apply_irel): New function.
37451         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37453 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37455         * sysdeps/unix/sysv/linux/kernel-features.h
37456         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37457         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37458         <kernel-features.h>.
37459         [__NR_fadvise64_64]: Make code unconditional.
37460         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37461         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37462         !__NR_fadvise64_64)]: Likewise.
37463         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37464         !__NR_fadvise64_64))]: Likewise.
37465         [__NR_fadvise64]: Make code unconditional.
37466         [!__NR_fadvise64]: Remove conditional code.
37467         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37468         <kernel-features.h>.
37469         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37470         unconditional.
37471         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37472         conditional code.
37473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37474         not include <kernel-features.h>.
37475         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37476         unconditional.
37477         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37478         conditional code.
37479         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37480         include <kernel-features.h>.
37481         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37482         unconditional.
37483         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37484         conditional code.
37486 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37489         slight instruction rearrangements per scrollpipe analysis.
37490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37492 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37494         * manual/syslog.texi (syslog; vsyslog, closelog):
37495         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37496         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37498         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37499         DSOCAPS to match condition on defining it.
37501 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37503         * sysdeps/unix/sysv/linux/kernel-features.h
37504         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37506         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37507         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37509         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37510         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37512         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37513         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37515         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37516         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37518         * sysdeps/unix/sysv/linux/kernel-features.h
37519         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37520         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37521         unconditional.
37522         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37523         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37524         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37525         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37526         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37527         Make code unconditional.
37528         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37529         (__mmap64) [!__NR_mmap2]: Likewise.
37530         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37531         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37532         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37533         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37534         [__NR_mmap2]: Make code unconditional.
37535         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37536         (__mmap64) [!__NR_mmap2]: Likewise.
37538 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37540         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37542 2012-08-18  Andreas Jaeger  <aj@suse.de>
37544         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37546 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37548         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37549         * include/unistd.h (__have_sock_cloexec): Likewise.
37550         (__have_pipe2): Likewise.
37551         (__have_dup3): Likewise.
37553 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37555         [BZ #9685]
37556         * include/unistd.h (__have_pipe2): Change define into an extern int.
37557         (__have_dup3): Likewise.
37558         * socket/have_sock_cloexec.c: Include fcntl.h.
37559         (__have_pipe2): New variable.
37560         (__have_dup3): Likewise.
37562 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37564         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37566 2012-08-17  Marek Polacek  <polacek@redhat.com>
37568         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37569         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37571 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37573         * configure.in: Add AC_SUBST for sysheaders.
37574         * configure: Regenerated.
37575         * config.make.in (sysheaders): New substituted variable.
37577         * sysdeps/unix/mkfifo.c: Moved ...
37578         * sysdeps/posix/mkfifo.c: ... here.
37579         * sysdeps/unix/mkfifoat.c: Moved ...
37580         * sysdeps/posix/mkfifoat.c: ... here.
37582         * sysdeps/unix/utime.c: Moved ...
37583         * sysdeps/posix/utime.c: ... here.
37585         * sysdeps/unix/time.c: Moved ...
37586         * sysdeps/posix/time.c: ... here.
37587         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37588         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37590         * sysdeps/unix/nice.c: Moved ...
37591         * sysdeps/posix/nice.c: ... here.
37593         * sysdeps/unix/alarm.c: Moved ...
37594         * sysdeps/posix/alarm.c: ... here.
37596         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37598 2012-08-17  Jeff Law <law@redhat.com>
37600         * intl/Makefile (codeset_mo): New variable.
37601         ($(codeset_mo)): New target.
37602         (tst-codeset.out): Depend on that.  Remove explicit rule.
37603         (tst-gettext3.out, tst-gettext5.out): Likewise.
37604         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37605         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37606         * intl/tst-codeset.sh: Remove.
37607         * intl/tst-gettext3.sh: Likewise.
37608         * intl/tst-gettext5.sh: Likewise.
37610 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37612         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37613         * sysdeps/unix/syscalls.list: ... here.
37615         * sysdeps/posix/getaddrinfo.c
37616         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37617         (gaiconf_init, gaiconf_reload): Use them.
37618         [!_STATBUF_ST_NSEC]
37619         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37620         Define using time_t rather than struct timespec.
37622         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37623         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37624         Macros removed.
37625         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37626         [!NO_THREADS].
37627         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37628         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37629         Likewise.
37631         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37632         __libc_cleanup_push argument.
37634         * bits/param.h: New file.
37635         * misc/sys/param.h: New file.
37636         * include/sys/param.h: New file.
37637         * misc/Makefile (headers): Add bits/param.h.
37638         * sysdeps/generic/sys/param.h: File removed.
37639         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37640         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37641         * sysdeps/mach/hurd/bits/param.h: New file.
37642         * sysdeps/mach/hurd/sys/param.h: File removed.
37644         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37645         last change.
37647         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37648         [_IO_MTSAFE_IO].
37649         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37650         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37651         New macros.
37653         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37654         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37655         rather than -D_IO_MTSAFE_IO conditionally.
37656         * stdio-common/Makefile (CPPFLAGS): Likewise.
37657         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37658         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37659         Use $(libio-mtsafe).
37660         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37661         of -D_IO_MTSAFE_IO.
37662         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37663         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37664         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37665         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37666         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37667         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37668         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37669         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37670         (CFLAGS-fread_u_chk.c): Likewise.
37671         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37672         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37673         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37674         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37675         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37676         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37677         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37678         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37679         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37681         * libio/Makefile: Test [$(libc-reentrant) = yes]
37682         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37684         * Makeconfig
37685         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37686         * sysdeps/pthread/configure: File removed.
37687         * sysdeps/pthread/Makeconfig: New file.
37688         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37689         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37691 2012-08-16  Gary Benson  <gbenson@redhat.com>
37693         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37694         unmapping the first object in a namespace.
37696 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37698         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37699         (__internal_setnetgrent): ... this.  Add internal_function to
37700         definition.  Add libc_hidden_def.
37701         (setnetgrent): Update caller.
37702         (internal_endnetgrent): Renamed to ...
37703         (__internal_endnetgrent): ... this.  Add internal_function to
37704         definition.  Add libc_hidden_def.
37705         (endnetgrent): Update caller.
37706         (internal_getnetgrent_r): Renamed to ...
37707         (__internal_getnetgrent_r): ... this.  Add internal_function to
37708         definition.  Add libc_hidden_def.
37709         (__getnetgrent_r): Update caller.
37710         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37712 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37714         * stdlib/longlong.h: Update from GCC.
37716 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37718         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37719         on _QL, which is set by umul_ppmm but never used.
37720         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37721         variables, which are set by GMP macros but never used.
37722         * stdio-common/_itowa.c (_itowa): Likewise.
37723         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37724         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37726 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37728         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37729         struct La_sh_regs is not constant.
37730         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37731         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37732         and struct La_sparc64_regs are not constant.
37734 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37736         * sysdeps/unix/sysv/linux/kernel-features.h
37737         (__ASSUME_POSIX_TIMERS): Remove.
37738         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37739         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37740         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37741         Make code unconditional.
37742         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37743         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37744         Make code unconditional.
37745         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37746         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37747         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37748         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37749         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37750         Make code unconditional.
37751         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37752         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37753         (__libc_missing_posix_timers): Remove.
37755 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37757         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37758         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37760         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37762         * elf/dl-sym.c: Include <stdlib.h>.
37764         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37765         constants, which avoids warnings in 32-bit builds.
37767         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37768         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37770         * misc/lseek.c: File moved to ...
37771         * io/lseek.c: ... here.
37773         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37775         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37776         shifting LEN more than 31 bits at once.
37778 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37780         [BZ #14195]
37781         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37782         segmentation fault for a case of two empty input strings.
37783         * string/test-strncasecmp.c (check1): Renamed to...
37784         (bz12205): ...this.
37785         (bz14195): Add new testcase for two empty input strings and N > 0.
37786         (test_main): Call new testcase, adapt for renamed function.
37788 2012-08-15  Andreas Jaeger  <aj@suse.de>
37790         [BZ #14090]
37791         * crypt/md5test2.c: New test, based on test supplied by Serge
37792         Belyshev <belyshev@depni.sinp.msu.ru>.
37793         * crypt/Makefile (xtests): Add md5test-giant..
37794         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37796 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37798         [BZ #14090]
37799         * crypt/md5.c (md5_process_block): Don't assume the buffer
37800         length is less than 2**32.
37801         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37802         length is less than 2**64.
37804 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37806         * string/str-two-way.h: Include <sys/param.h>.
37807         (MAX): Macro removed.
37809         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37810         Move #define and #undef of memmove to just before and after
37811         including <string.h>.
37813         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37814         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37815         and after including <string.h>.  Move declarations of
37816         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37817         to before #include "string/memmove.c".
37819         * include/dirent.h: Declare __getdirentries.
37821         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37822         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37824 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37826         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37827         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37828         * sysdeps/i386/configure: Regenerated.
37829         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37830         STABS_CURRENT_FILE, and STABS_FUN.
37831         (END): Remove call to STABS_FUN_END.
37832         (STABS_CURRENT_FILE1): Delete.
37833         (STABS_CURRENT_FILE): Likewise.
37834         (STABS_FUN): Likewise.
37835         (STABS_FUN_END): Likewise.
37836         (STABS_FUN2): Likewise.
37837         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37838         * sysdeps/x86_64/configure: Regenerated.
37840 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37842         * elf/dl-open.c: Include <atomic.h>.
37843         * elf/dl-lookup.c: Likewise.
37845 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37847         * sysdeps/unix/sysv/linux/kernel-features.h
37848         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37849         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37850         unconditionally.
37851         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37852         unconditionally.
37853         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37854         condition on __ASSUME_CLONE_THREAD_FLAGS.
37856 2012-08-14  Andreas Jaeger  <aj@suse.de>
37858         * sysdeps/i386/fpu/libm-test-ulps: Update.
37860 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37862         * include/atomic.h (atomic_exchange_and_add): Split into ...
37863         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37864         New atomic macros.
37866 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37870 2012-08-13  Jeff Law <law@redhat.com>
37872         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37873         null byte in the output string.
37875 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37877         * sysdeps/unix/sysv/linux/kernel-features.h
37878         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37879         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37880         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37881         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37882         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37883         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37884         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37886 2012-08-09  Jeff Law <law@redhat.com>
37888         [BZ #13939]
37889         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37890         When avoid_arena is set, don't retry in the that arena.  Pick the
37891         next one, whatever it might be.
37892         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37893         (arena_lock): Pass in new parameter to arena_get2.
37894         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37895         arena_get2.
37896         (__libc_malloc): Unify retrying after main arena failure with
37897         __libc_memalign version.
37898         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37900 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37902         [BZ #14166]
37903         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37904         to __redirect_strstr.
37905         (__strstr_sse42): Use typeof __redirect_strstr.
37906         (__strstr_ia32): Likewise.
37907         (__libc_strstr): New prototype.
37908         (strstr): Renamed to ...
37909         (__libc_strstr): This.
37910         (strstr): New strong alias of __libc_strstr.
37911         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37912         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37913         __redirect_time.
37914         Include <time.h>.
37915         (__libc_time): New prototype.
37916         (time_ifunc): Replace time with __libc_time.
37917         (time): New strong alias and hidden definition of __libc_time.
37918         (__GI_time): Remove strong alias.
37919         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37920         Include <stddef.h>.
37921         (memmove): Redefined to __redirect_memmove.
37922         (__memmove_sse2): Use typeof __redirect_memmove.
37923         (__memmove_ssse3): Likewise.
37924         (__memmove_ssse3_back): Likewise.
37925         (__libc_memmove): New prototype.
37926         (memmove): Renamed to ...
37927         (__libc_memmove): This.
37928         (memmove): New strong alias of __libc_memmove.
37930 2012-08-08  Mark Salter  <msalter@redhat.com>
37932         * elf/elf.h
37933         (R_MN10300_TLS_GD): Define.
37934         (R_MN10300_TLS_LD): Likewise.
37935         (R_MN10300_TLS_LDO): Likewise.
37936         (R_MN10300_TLS_GOTIE): Likewise.
37937         (R_MN10300_TLS_IE): Likewise.
37938         (R_MN10300_TLS_LE): Likewise.
37939         (R_MN10300_TLS_DTPMOD): Likewise.
37940         (R_MN10300_TLS_DTPOFF): Likewise.
37941         (R_MN10300_TLS_TPOFF): Likewise.
37942         (R_MN10300_SYM_DIFF): Likewise.
37943         (R_MN10300_ALIGN): Likewise.
37944         (R_MN10300_NUM): Update.
37946 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37949         Remove.
37951 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37953         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37955         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37956         sysdeps/unix -> sysdeps/posix move.
37957         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37959 2012-08-07      Allan McRae     <allan@archlinux.org>
37961         [BZ #14303]
37962         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37963         (SUNOS_CPP): Likewise.
37964         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37965         not found.
37966         (open_input): Call CPP using execvp.
37968 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37970         * sysdeps/unix/sysv/linux/kernel-features.h
37971         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37972         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37973         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37974         (__ASSUME_WAITID_SYSCALL): Likewise.
37975         * sysdeps/unix/sysv/linux/dl-execstack.c
37976         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37977         code unconditional.
37978         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37979         conditional code.
37980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37981         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37982         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37983         code.
37984         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37985         unconditional.
37986         [__ASSUME_WAITID_SYSCALL]: Likewise.
37987         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37989 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37991         * sysdeps/unix/closedir.c: Renamed to ...
37992         * sysdeps/posix/closedir.c: ... here.
37993         * sysdeps/unix/dirfd.c: Renamed to ...
37994         * sysdeps/posix/dirfd.c: ... here.
37995         * sysdeps/unix/dirstream.h: Renamed to ...
37996         * sysdeps/posix/dirstream.h: ... here.
37997         * sysdeps/unix/fdopendir.c: Renamed to ...
37998         * sysdeps/posix/fdopendir.c: ... here.
37999         * sysdeps/unix/opendir.c: Renamed to ...
38000         * sysdeps/posix/opendir.c: ... here.
38001         * sysdeps/unix/readdir.c: Renamed to ...
38002         * sysdeps/posix/readdir.c: ... here.
38003         * sysdeps/unix/readdir_r.c: Renamed to ...
38004         * sysdeps/posix/readdir_r.c: ... here.
38005         * sysdeps/unix/rewinddir.c: Renamed to ...
38006         * sysdeps/posix/rewinddir.c: ... here.
38007         * sysdeps/unix/seekdir.c: Renamed to ...
38008         * sysdeps/posix/seekdir.c: ... here.
38009         * sysdeps/unix/telldir.c: Renamed to ...
38010         * sysdeps/posix/telldir.c: ... here.
38011         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38012         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38013         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38014         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38016         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38017         * bits/fcntl.h: ... here.
38019         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38020         not 0.
38021         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38022         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38023         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38024         (struct flock): Move l_start, l_len to the beginning.
38025         Use __pid_t for l_pid.
38026         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38027         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38028         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38029         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38030         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38031         [__USE_LARGEFILE64] (struct flock64): New type.
38032         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38034         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38035         * bits/dirent.h: ... here.
38037         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38038         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38040 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38042         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38043         Change from 2.6.0 to 2.6.16.
38044         * sysdeps/unix/sysv/linux/configure: Regenerated.
38045         * sysdeps/unix/sysv/linux/kernel-features.h
38046         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38047         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38048         version.
38049         (__ASSUME_UTIMES): Likewise.
38050         (__ASSUME_CLONE_STOPPED): Remove.
38051         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38052         architectures, not kernel version.
38053         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38054         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38055         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38056         (__ASSUME_WAITID_SYSCALL): Likewise.
38057         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38058         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38059         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38060         refer to older versions.
38062 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38064         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38065         Define alphasort64 as an alias.
38066         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38067         Define versionsort64 as an alias.
38068         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38069         Define scandir64 as an alias.
38070         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38071         Define scandirat64 as an alias.
38072         * dirent/alphasort64.c (alphasort64):
38073         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38074         * dirent/versionsort64.c: Likewise.
38075         * dirent/scandir64.c: Likewise.
38076         * dirent/scandirat64.c: Likewise.
38077         * sysdeps/wordsize-64/alphasort.c: File removed.
38078         * sysdeps/wordsize-64/alphasort64.c: File removed.
38079         * sysdeps/wordsize-64/scandir.c: File removed.
38080         * sysdeps/wordsize-64/scandir64.c: File removed.
38081         * sysdeps/wordsize-64/scandirat.c: File removed.
38082         * sysdeps/wordsize-64/scandirat64.c: File removed.
38083         * sysdeps/wordsize-64/versionsort.c: File removed.
38084         * sysdeps/wordsize-64/versionsort64.c: File removed.
38085         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38086         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38088         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38090         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38092         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38094         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38096         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38098         [defined __arch64__ || defined __sparcv9]
38099         (__INO_T_MATCHES_INO64_T): New macro.
38100         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38101         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38102         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38103         * sysdeps/unix/sysv/linux/bits/dirent.h
38104         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38105         (_DIRENT_MATCHES_DIRENT64): New macro.
38107         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38108         Define lockf64 as an alias.
38109         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38110         Define fseeko64 as an alias.
38111         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38112         Define ftello64 as an alias.
38113         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38114         Define _IO_fgetpos64 and fgetpos64 as aliases.
38115         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38116         Define _IO_fsetpos64 and fsetpos64 as aliases.
38117         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38118         Conditionalize body on this.
38119         * libio/fseeko64.c: Likewise.
38120         * libio/ftello64.c: Likewise.
38121         * libio/iofgetpos64.c: Likewise.
38122         * libio/iofsetpos64.c: Likewise.
38123         * sysdeps/wordsize-64/lockf.c: File removed.
38124         * sysdeps/wordsize-64/lockf64.c: File removed.
38125         * sysdeps/wordsize-64/fseeko.c: File removed.
38126         * sysdeps/wordsize-64/fseeko64.c: File removed.
38127         * sysdeps/wordsize-64/ftello.c: File removed.
38128         * sysdeps/wordsize-64/ftello64.c: File removed.
38129         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38130         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38131         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38132         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38134         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38136         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38138         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38139         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38140         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38142         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38144         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38146         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38148         [defined __arch64__ || defined __sparcv9]
38149         (__OFF_T_MATCHES_OFF64_T): New macro.
38150         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38151         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38152         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38153         (__OFF_T_MATCHES_OFF64_T): New macro.
38155 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38157         * stdlib/secure-getenv.c (__secure_getenv): Replace
38158         GLIBC_2_16 with GLIBC_2_17.
38160 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38163         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38165 2012-08-03  David S. Miller  <davem@davemloft.net>
38167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38169 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38172         Remove.
38173         (__ASSUME_CORRECT_SI_PID): Likewise.
38174         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38175         (__ASSUME_TMPFS_NAME): Likewise.
38176         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38177         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38178         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38179         (HAVE_AUX_SECURE): Make definition unconditional.
38180         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38181         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38183 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38185         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38186         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38187         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38188         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38189         __eloop_threshold instead of SYMLOOP_MAX.
38191         * sysdeps/generic/eloop-threshold.h: New file.
38192         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38193         of MAXSYMLINKS.
38194         * elf/chroot_canon.c (chroot_canon): Likewise.
38196 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38198         [BZ #13717]
38199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38200         Change to 2.6.0 everywhere.
38201         * sysdeps/unix/sysv/linux/configure: Regenerated.
38202         * sysdeps/unix/sysv/linux/kernel-features.h
38203         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38204         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38205         kernel versions.
38206         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38207         (__ASSUME_FUTEX_REQUEUE): Remove.
38208         (__ASSUME_STATFS64): Define unconditionally.
38209         (__ASSUME_AT_SECURE): Likewise.
38210         (__ASSUME_CORRECT_SI_PID): Likewise.
38211         (__ASSUME_TGKILL): Define without depending on kernel version for
38212         i386.
38213         (__ASSUME_UTIMES): Likewise.
38214         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38215         kernel version.
38216         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38217         (__ASSUME_TMPFS_NAME): Likewise.
38218         * README: Update reference to Linux kernel versions.
38220 2012-08-02  Marek Polacek  <polacek@redhat.com>
38222         [BZ# 14150]
38223         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38224         libc_cv_asm_type_prefix with %.
38225         * configure: Regenerated.
38226         * include/libc-symbols.h: Remove comment about
38227         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38228         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38229         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38230         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38231         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38232         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38233         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38234         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38235         * elf/tst-unique2mod1.c: Likewise.
38236         * elf/tst-unique1mod2.c: Likewise.
38237         * elf/tst-unique1mod1.c: Likewise.
38238         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38239         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38240         Replace ASM_TYPE_DIRECTIVE with .type.
38241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38242         * sysdeps/i386/sysdep.h: Likewise.
38243         * sysdeps/x86_64/sysdep.h: Likewise.
38244         * sysdeps/sh/sysdep.h: Likewise.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38246         Do not define ASM_TYPE_DIRECTIVE.
38247         * sysdeps/powerpc/sysdep.h: Likewise.
38248         * sysdeps/powerpc/powerpc32/sysdep.h:
38249         Replace ASM_TYPE_DIRECTIVE with .type.
38250         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38251         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38252         * sysdeps/i386/fpu/e_powf.S: Likewise.
38253         * sysdeps/i386/fpu/e_expl.S: Likewise.
38254         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38255         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38256         * sysdeps/i386/fpu/e_pow.S: Likewise.
38257         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38258         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38259         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38260         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38261         * sysdeps/i386/fpu/e_log2.S: Likewise.
38262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38263         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38264         * sysdeps/i386/fpu/e_powl.S: Likewise.
38265         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38266         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38267         * sysdeps/i386/fpu/e_logl.S: Likewise.
38268         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38269         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38270         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38271         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38272         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38273         * sysdeps/i386/fpu/e_log.S: Likewise.
38274         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38275         * sysdeps/i386/fpu/e_logf.S: Likewise.
38276         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38277         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38278         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38279         * sysdeps/i386/fpu/e_log10.S: Likewise.
38280         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38281         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38282         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38283         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38284         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38285         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38286         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38287         * sysdeps/i386/i686/strtok.S: Likewise.
38288         * sysdeps/i386/i386-mcount.S: Likewise.
38289         * sysdeps/i386/strtok.S: Likewise.
38290         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38291         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38292         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38293         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38294         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38295         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38296         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38297         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38298         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38299         * sysdeps/x86_64/_mcount.S: Likewise.
38300         * sysdeps/x86_64/strtok.S: Likewise.
38301         * sysdeps/sh/_mcount.S: Likewise.
38303 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38305         * libio/iofopen.c: Include <fcntl.h>.
38306         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38307         (_IO_fopen64, fopen64): Define as aliases.
38308         * libio/iofopen64.c: Include <fcntl.h>.
38309         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38310         Conditionalize body on this.
38311         * sysdeps/wordsize-64/iofopen.c: File removed.
38312         * sysdeps/wordsize-64/iofopen64.c: File removed.
38314 2012-08-01  Marek Polacek  <polacek@redhat.com>
38316         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38317         Use dlfcn directly instead of a variable.
38318         (binfmt-subdir): Do not define.
38319         (dlfcn): Likewise.
38321 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38324         Remove all definitions.
38325         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38326         <kernel-features.h>.
38327         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38328         (miss_F_GETOWN_EX): Remove all definitions.
38329         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38330         macro definition.
38331         [!__ASSUME_FCNTL64]: Remove conditional code.
38332         [__ASSUME_FCNTL64]: Make code unconditional.
38333         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38334         <kernel-features.h>.
38335         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38336         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38337         (lockf64) [__NR_fcntl64]: Make code unconditional.
38338         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38340         * sysdeps/unix/sysv/linux/kernel-features.h
38341         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38342         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38343         Make code unconditional.
38344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38347         [__NR_vfork]: Make code unconditional.
38348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38351         [__NR_vfork]: Make code unconditional.
38352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38355 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38357         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38358         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38360         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38361         Define mkstemp64 as an alias.
38362         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38363         Define mkstemps64 as an alias.
38364         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38365         Define mkostemp64 as an alias.
38366         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38367         Define mkostemps64 as an alias.
38368         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38369         Conditionalize body on this.
38370         * misc/mkostemp64.c: Likewise.
38371         * misc/mkostemps64.c: Likewise.
38372         * misc/mkstemps64.c: Likewise.
38373         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38374         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38375         * sysdeps/wordsize-64/mkostemp.c: File removed.
38376         * sysdeps/wordsize-64/mkstemp.c: File removed.
38377         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38379         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38380         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38382         [BZ #14138]
38383         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38384         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38385         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38386         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38388         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38389         compat_symbol macros from <shlib-compat.h> rather than the underlying
38390         default_symbol_version and symbol_version macros, so that DEFAULT
38391         lines in shlib-versions are respected.
38392         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38394 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38396         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38397         Declare with warn_unused_result.
38398         (setgid, setregid, setegid, setresgid): Likewise.
38399         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38400         Likewise.
38401         * WUR-REPORT: Remove set*id functions.
38403 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38405         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38407 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38409         [BZ #10191]
38410         * include/sys/socket.h (__libc_accept, __libc_accept4):
38411         Add attribute_hidden.
38412         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38414         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38415         use of PTR_MANGLE.
38416         * inet/getnetgrent_r.c (setup): Likewise.
38418         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38420 2012-07-31  David S. Miller  <davem@davemloft.net>
38422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38424 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38426         [BZ #13629]
38427         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38428         value between 1.0 and 2.0 and smaller part has absolute value less
38429         than 1.0.
38430         * math/s_clog10.c (__clog10): Likewise.
38431         * math/s_clog10f.c (__clog10f): Likewise.
38432         * math/s_clog10l.c (__clog10l): Likewise.
38433         * math/s_clogf.c (__clogf): Likewise.
38434         * math/s_clogl.c (__clogl): Likewise.
38435         * math/libm-test.inc (clog_test): Add more tests.
38436         (clog10_test): Likewise.
38437         * sysdeps/i386/fpu/libm-test-ulps: Update.
38438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38440 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38442         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38443         Exit with zero in case no suitable GID is found, and write a
38444         message to standard error.
38446 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38448         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38449         rather than to 1.
38450         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38451         (MAXPATHLEN): Removed.
38452         (NOGROUP, NODEV): New macros.
38453         (setbit, clrbit, isset, isclr): New macros.
38454         (howmany, roundup, powerof2): New macros.
38455         (DEV_BSIZE): New macro.
38457         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38458         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38460         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38461         definition on [!__NO_LONG_DOUBLE_MATH].
38463         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38464         PTR_MANGLE and PTR_DEMANGLE.
38466         * socket/accept4.c (accept4): Rename to __libc_accept4.
38467         Define accept4 as a weak alias.
38469         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38470         on [_DIRENT_HAVE_D_TYPE].
38471         * io/ftw.c (ftw_dir): Likewise.
38473         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38475         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38477         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38478         Use the BSD numbers rather than the arbitrary ones we had.
38479         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38480         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38481         (SIGXCPU, SIGXFSZ): New macros.
38482         (_NSIG): Now 32.
38484         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38485         initializer on [_LIBC_REENTRANT].
38487         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38488         definitions inside [_POSIX_MAPPED_FILES].
38490         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38492         * dirent/opendir.c: Include <fcntl.h>.
38494         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38495         (__libc_getspecific): Likewise.
38496         (__libc_key_create): Likewise.
38498         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38499         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38500         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38501         (tmpfile64): Define as alias.
38502         * sysdeps/wordsize-64/tmpfile.c: File removed.
38503         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38505         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38507         * stdio-common/vfscanf.c: Include <stdbool.h>.
38508         * nss/makedb.c: Likewise.
38509         * stdio-common/_i18n_number.h: Likewise.
38510         * argp/argp-help.c: Likewise.
38511         * posix/wordexp.c: Likewise.
38512         * sysdeps/posix/spawni.c: Likewise.
38513         * nss/nss_files/files-initgroups.c: Likewise.
38514         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38515         * nss/nss_files/files-initgroups.c: Likewise.
38516         * nss/nss_db/db-netgrp.c: Likewise.
38517         * nss/nss_db/db-initgroups.c: Likewise.
38518         * io/fchmodat.c: Include <sys/stat.h>.
38520         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38521         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38523         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38524         [HAVE_MMAP].
38526         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38527         Add multiple inclusion protection.
38529 2012-07-27  David S. Miller  <davem@davemloft.net>
38531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38533 2012-07-27  Gary Benson  <gbenson@redhat.com>
38535         [BZ #14298]
38536         * elf/rtld.c: Include <stap-probe.h>.
38537         (dl_main): Added static probes "init_start" and "init_complete".
38538         * elf/dl-load.c: Include <stap-probe.h>.
38539         (lose): Take new parameter "nsid".
38540         Added static probe "map_failed".
38541         (_dl_map_object_from_fd): Pass namespace id to lose.
38542         Added static probe "map_start".
38543         (open_verify): Pass namespace id to lose.
38544         * elf/dl-open.c: Include <stap-probe.h>.
38545         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38546         and "reloc_complete".
38547         * elf/dl-close.c: Include <stap-probe.h>.
38548         (_dl_close_worker): Added static probes "unmap_start" and
38549         "unmap_complete".
38550         * elf/rtld-debugger-interface.txt: New file documenting the above.
38552 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38554         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38555         rather than a string variable.
38556         * sunrpc/rpc_main.c (h_output): Likewise.
38557         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38559 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38561         * inet/check_native.c: New file.
38563 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38565         [BZ #13629]
38566         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38567         if larger part has absolute value 1.0.
38568         * math/s_clog10.c (__clog10): Likewise.
38569         * math/s_clog10f.c (__clog10f): Likewise.
38570         * math/s_clog10l.c (__clog10l): Likewise.
38571         * math/s_clogf.c (__clogf): Likewise.
38572         * math/s_clogl.c (__clogl): Likewise.
38573         * math/libm-test.inc (clog_test): Add more tests.
38574         (clog10_test): Likewise.
38575         * sysdeps/i386/fpu/libm-test-ulps: Update.
38576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38578         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38579         (pltexit): Likewise.
38580         (La_regs): Likewise.
38581         (La_retval): Likewise.
38582         (int_retval): Likewise.
38583         Update #error for removed macros to refer only to definitions in
38584         tst-audit.h.
38585         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38586         macro.
38587         (pltexit): Likewise.
38588         (La_regs): Likewise.
38589         (La_retval): Likewise.
38590         (int_retval): Likewise.
38591         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38592         macro.
38593         (pltexit): Likewise.
38594         (La_regs): Likewise.
38595         (La_retval): Likewise.
38596         (int_retval): Likewise.
38597         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38598         macro.
38599         (pltexit): Likewise.
38600         (La_regs): Likewise.
38601         (La_retval): Likewise.
38602         (int_retval): Likewise.
38603         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38604         macro.
38605         (pltexit): Likewise.
38606         (La_regs): Likewise.
38607         (La_retval): Likewise.
38608         (int_retval): Likewise.
38609         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38610         macro.
38611         (pltexit): Likewise.
38612         (La_regs): Likewise.
38613         (La_retval): Likewise.
38614         (int_retval): Likewise.
38615         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38616         macro.
38617         (pltexit): Likewise.
38618         (La_regs): Likewise.
38619         (La_retval): Likewise.
38620         (int_retval): Likewise.
38621         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38622         macro definitions in tst-audit.h.
38623         * sysdeps/i386/tst-audit.h: New file.
38624         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38625         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38626         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38627         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38628         * sysdeps/sh/tst-audit.h: Likewise.
38629         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38630         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38631         * sysdeps/x86_64/tst-audit.h: Likewise.
38633 2012-07-26  Andreas Jaeger  <aj@suse.de>
38635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38636         ptrace.
38638         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38639         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38640         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38641         PTRACE_O_MASK.
38642         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38643         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38644         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38646         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38647         value.
38649         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38650         _sigsys.
38651         (si_call_addr, si_syscall, si_arch): Define new macro.
38652         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38653         _sigsys.
38654         (si_call_addr, si_syscall, si_arch): Define new marcro.
38655         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38656         _sigsys.
38657         (si_call_addr, si_syscall, si_arch): Define new macro.
38658         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38659         _sigsys.
38660         (si_call_addr, si_syscall, si_arch): Define new macro.
38662 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38664         [BZ #13717]
38665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38666         Change to 2.4.21 where previously 2.4.1.
38667         * sysdeps/unix/sysv/linux/configure: Regenerated.
38668         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38669         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38670         Linux kernel version.
38671         (__ASSUME_STD_AUXV): Remove.
38672         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38673         kernel version.
38674         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38675         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38676         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38677         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38678         (__ASSUME_NETLINK_SUPPORT): Likewise.
38679         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38680         (__no_netlink_support): Remove conditional definition.
38681         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38682         Remove.
38683         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38684         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38685         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38686         (if_nameindex_ioctl): Remove.
38687         (if_nameindex_netlink): Do not handle __no_netlink_support.
38688         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38689         code.
38690         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38691         Remove conditional code.
38692         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38693         code.
38694         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38695         unconditional.
38696         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38697         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38698         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38699         Remove.
38700         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38701         [!__ASSUME_STD_AUXV]: Remove conditional code.
38702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38703         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38704         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38706         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38707         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38708         code.
38709         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38711         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38712         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38713         conditional code.
38714         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38716         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38717         code.
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38719         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38720         conditional code.
38721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38722         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38723         code unconditional.
38724         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38725         conditional code.
38726         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38727         unconditional.
38728         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38729         conditional code.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38731         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38732         unconditional.
38733         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38734         conditional code.
38735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38736         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38737         code unconditional.
38738         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38739         conditional code.
38740         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38741         unconditional.
38742         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38743         conditional code.
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38745         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38746         code unconditional.
38747         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38748         conditional code.
38749         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38750         unconditional.
38751         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38752         conditional code.
38754 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38756         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38757         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38758         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38759         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38760         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38761         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38762         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38763         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38764         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38765         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38766         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38767         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38768         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38769         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38771         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38772         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38774         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38776         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38777         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38778         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38780 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38782         * Versions.def: Add GLIBC_2.17.
38783         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38784         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38785         Introduce __libc_secure_getenv.
38786         * stdlib/Versions (2.17): Add secure_getenv
38787         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38788         * stdlib/secure-getenv.c: Rename __secure_getenv to
38789         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38790         symbol __secure_getenv for GLIBC_2.0.
38791         * stdlib/tst-secure-getenv.c: New.
38792         * stdlib/Makefile (tests): Add testcase.
38793         * manual/startup.texi (Environment Access): Document
38794         secure_getenv.
38795         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38796         __libc_secure_getenv.
38797         * inet/ruserpass.c (ruserpass): Likewise.
38798         * malloc/mtrace.c (mtrace): Likewise.
38799         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38800         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38801         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38802         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38803         HAVE_SECURE_GETENV.
38804         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38805         __secure_getenv to __libc_secure_getenv.
38806         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38808         Likewise.
38809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38810         Likewise.
38811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38813         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38819 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38821         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38822         (struct La_i86_retval): Likewise.
38823         (struct La_x86_64_regs): Likewise.
38824         (struct La_x86_64_retval): Likewise.
38825         (struct La_x32_regs): Likewise.
38826         (struct La_x32_retval): Likewise.
38827         (struct La_ppc32_regs): Likewise.
38828         (struct La_ppc32_retval): Likewise.
38829         (struct La_ppc64_regs): Likewise.
38830         (struct La_ppc64_retval): Likewise.
38831         (struct La_sh_regs): Likewise.
38832         (struct La_sh_retval): Likewise.
38833         (struct La_s390_32_regs): Likewise.
38834         (struct La_s390_32_retval): Likewise.
38835         (struct La_s390_64_regs): Likewise.
38836         (struct La_s390_64_retval): Likewise.
38837         (struct La_sparc32_regs): Likewise.
38838         (struct La_sparc32_retval): Likewise.
38839         (struct La_sparc64_regs): Likewise.
38840         (struct La_sparc64_retval): Likewise.
38841         (struct audit_ifaces): Remove architecture-specific pltenter and
38842         pltexit members.
38843         * sysdeps/i386/ldsodefs.h: New file.
38844         * sysdeps/powerpc/ldsodefs.h: Likewise.
38845         * sysdeps/s390/ldsodefs.h: Likewise.
38846         * sysdeps/sh/ldsodefs.h: Likewise.
38847         * sysdeps/sparc/ldsodefs.h: Likewise.
38848         * sysdeps/x86_64/ldsodefs.h: Likewise.
38850 2012-07-25  Marek Polacek  <polacek@redhat.com>
38852         [BZ #6808]
38853         * math/libm-test.inc (yn_test): Add another test.
38854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38855         to ERANGE when the result is +-Inf.
38856         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38858         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38859         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38861 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38863         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38864         equal to 0.
38865         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38866         clock_t.
38867         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38869 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38871         * configure.in <sysdeps resolving>: Correct printing
38872         Implies_before.
38873         * configure: Regenerate.
38875 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38877         * math/w_ilogb.c: Include <limits.h>.
38878         * math/w_ilogbl.c: Likewise.
38880 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38882         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38883         va_copy.  Document allowing for unavailable va_copy only as
38884         pre-C99 compatibility.
38885         * manual/string.texi (Copying and Concatenation): Use va_copy
38886         instead of __va_copy in concat example.
38888 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38890         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38891         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38892         it if not null.
38894         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38895         with O_NOLINK passed to __file_name_lookup.
38897         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38898         with O_NOLINK passed to __file_name_lookup.
38900         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38901         negative N or less than NGIDS.
38903         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38904         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38905         enough.  Use memcpy instead of strncpy.
38907 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38909         * elf/Makefile (check-data): Remove.
38910         (localplt.data): New vpath directive.
38911         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38912         instead of $(check-data).
38913         * scripts/data/localplt-generic.data: Move to ...
38914         * sysdeps/generic/localplt.data: ... here.
38915         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38916         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38917         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38919         ... here.
38920         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38922         ... here.
38923         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38925         ... here.
38926         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38928         ... here.
38929         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38931         ... here.
38932         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38934         ... here.
38936 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38938         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38939         PPC32 and PPC64 files.
38940         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38941         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38943 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38945         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38946         __makecontext_ret to ...
38947         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38948         ... here and call exit if uc_link is NULL.  New file.
38949         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38950         __makecontext_ret.S.
38951         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38952         __makecontext_ret to ...
38953         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38954         ... here and call exit if uc_link is NULL.  New file.
38955         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38956         __makecontext_ret.S.
38958 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38960         * elf/elf.h (R_390_IRELATIVE): New definition.
38961         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38962         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38963         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38964         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38965         (elf_machine_lazy_rel): Likewise.
38966         * sysdeps/s390/dl-irel.h: New file.
38967         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38968         * sysdeps/s390/s390-64/memset.S: New asm code.
38969         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38970         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38971         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38972         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38973         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38974         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38976         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38977         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38978         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38979         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38980         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38981         * sysdeps/s390/s390-32/memset.S: New asm code.
38982         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38984 2012-07-17  Marek Polacek  <polacek@redhat.com>
38986         [BZ #14349]
38987         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38988         * sysdeps/s390/s390-64/configure.in: Likewise.
38989         * sysdeps/sparc/configure.in: Likewise.
38990         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38991         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38992         * sysdeps/i386/configure.in: Likewise.
38993         * sysdeps/x86_64/configure.in: Likewise.
38994         * sysdeps/sh/configure.in: Likewise.
38995         * sysdeps/s390/s390-32/configure: Regenerated.
38996         * sysdeps/s390/s390-64/configure: Likewise.
38997         * sysdeps/x86_64/configure: Likewise.
38998         * sysdeps/sh/configure: Likewise.
38999         * sysdeps/powerpc/powerpc64/configure: Likewise.
39000         * sysdeps/powerpc/powerpc32/configure: Likewise.
39001         * sysdeps/sparc/configure: Likwise.
39002         * sysdeps/i386/configure: Likewise.
39004         * elf/dl-open.c: Comment fixes.
39006 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39008         * Makefile [CXX] (check-data): Remove.
39009         [CXX] (c++-types.data): New vpath directive.
39010         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39011         vpath.  Do not allow for C++ type data being missing.
39012         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39013         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39014         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39015         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39016         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39017         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39018         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39020         ... here.
39021         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39023         ... here.
39024         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39026         ... here.
39027         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39029         ... here.
39030         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39032         ... here.
39033         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39035         ... here.
39036         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39038         ... here.
39039         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39042         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39043         definitions to architecture-specific files.
39044         (TLS_IE): Likewise.
39045         (TLS_LD): Likewise.
39046         (TLS_GD): Likewise.
39047         * sysdeps/i386/tls-macros.h: New file.
39048         * sysdeps/powerpc/tls-macros.h: Likewise.
39049         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39050         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39051         * sysdeps/sh/tls-macros.h: Likewise.
39052         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39053         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39054         * sysdeps/x86_64/tls-macros.h: Likewise.
39056 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39058         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39059         zero value for regular exit case.
39061         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39062         (__start_context): Preserve zero value for regular exit case.
39064 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39065             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39067         * manual/setjmp.texi (setcontext): Clarify normal process
39068         termination when uc_link is the null pointer.
39069         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39070         exit call.
39072 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39074         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39075         preprocessor.  Test for each exception mask separately.
39077 2012-07-16  Andreas Jaeger  <aj@suse.de>
39079         * po/ru.po: Update from translation team.
39081 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39083         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39084         equal to 0.
39085         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39086         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39087         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39088         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39091 2012-07-13  Andreas Jaeger  <aj@suse.de>
39093         * po/fr.po: Update from translation team.
39095 2012-07-12  Marek Polacek  <polacek@redhat.com>
39097         [BZ #14173]
39098         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39100         loop condition.
39102 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39104         [BZ #13717]
39105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39106         Change to 2.4.1 where previously 2.4.0.
39107         * sysdeps/unix/sysv/linux/configure: Regenerated.
39108         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39109         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39110         version.
39111         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39112         (__ASSUME_AT_CLKTCK): Remove.
39113         (__ASSUME_AT_PAGESIZE): Likewise.
39114         (__ASSUME_AT_XID): Likewise.
39115         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39116         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39117         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39118         unconditionally.
39119         (HAVE_AUX_PAGESIZE): Likewise.
39120         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39121         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39122         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39124 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39126         [BZ #14307]
39127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39128         the temporary buffer used to invoke __gethostbyname2_r,
39129         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39130         host_data / struct gaih_addrtuple.
39131         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39132         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39133         header file nss/nsswitch.h.
39134         * nss/nsswitch.h (global scope): Add definition of implementation
39135         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39136         resolv/nss_dns/dns-host.c).
39138 2012-07-11  Andreas Jaeger  <aj@suse.de>
39140         * po/fr.po: Update from translation team.
39142         * po/sv.po: Update from translation team
39143         * po/fr.po: Another update from translation team.
39145 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39147         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39148         for subnormals or multiply small sinh result by itself.
39149         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39152 2012-07-11  David S. Miller  <davem@davemloft.net>
39154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39156 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39158         [BZ #14347]
39159         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39160         (INTERNAL_MARK): Shift it here.
39162 2012-07-10  Marek Polacek  <polacek@redhat.com>
39164         [BZ #14151]
39165         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39166         libc_cv_asm_global_directive with .globl.
39167         * configure: Regenerated.
39168         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39169         with .globl.
39170         * sysdeps/i386/configure: Regenerated.
39171         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39172         with .globl.
39173         * sysdeps/x86_64/configure: Regenerated.
39174         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39175         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39176         * elf/tst-unique2mod2.c: Likewise.
39177         * elf/tst-unique2mod1.c: Likewise.
39178         * elf/tst-unique1mod2.c: Likewise.
39179         * elf/tst-unique1mod1.c: Likewise.
39180         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39181         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39182         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39183         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39184         * sysdeps/mach/sysdep.h: Likewise.
39185         * sysdeps/i386/sysdep.h: Likewise.
39186         * sysdeps/i386/i386-mcount.S: Likewise.
39187         * sysdeps/x86_64/_mcount.S: Likewise.
39188         * sysdeps/x86_64/sysdep.h: Likewise.
39189         * sysdeps/sh/_mcount.S: Likewise.
39190         * sysdeps/sh/sysdep.h: Likewise.
39191         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39192         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39193         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39194         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39195         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39196         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39197         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39198         * locale/localeinfo.h: Likewise.
39199         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39200         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39202 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39204         [BZ #14336]
39205         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39206         system".
39207         * manual/message.texi (The Uniforum approach): Likewise.
39208         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39209         (glibc iconv Implementation): Likewise.
39211 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39213         [BZ #14337]
39214         * math/s_clog.c (__clog): Avoid scaling a value down where that
39215         could result in underflow.
39216         * math/s_clog10.c (__clog10): Likewise.
39217         * math/s_clog10f.c (__clog10f): Likewise.
39218         * math/s_clog10l.c (__clog10l): Likewise.
39219         * math/s_clogf.c (__clogf): Likewise.
39220         * math/s_clogl.c (__clogl): Likewise.
39221         * math/libm-test.inc (clog_test): Add more tests.
39222         (clog10_test): Likewise.
39223         * sysdeps/i386/fpu/libm-test-ulps: Update.
39224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39226 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39228         [BZ #14283]
39229         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39230         by 7 not 8 to examine high bit of fractional part.
39232         [BZ #14042]
39233         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39234         for call to __mcount_internal.
39235         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39236         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39237         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39239 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39241         [BZ #14154]
39242         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39243         approximation for values within 0x1p-13f of an odd multiple of
39244         pi/4.
39245         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39246         exception.  Add more tests.
39247         * sysdeps/i386/fpu/libm-test-ulps: Update.
39249         [BZ #6778]
39250         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39251         inputs and return -1 for them.  Do not check for +Inf in case not
39252         reachable for +Inf.
39253         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39254         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39255         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39256         and return -1 for them.  Do not check for +Inf in case not
39257         reachable for +Inf.
39258         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39259         define.
39260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39261         and return -1 for them.  Do not check for +Inf in case not
39262         reachable for +Inf.
39263         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39264         spurious underflow.
39265         * sysdeps/i386/fpu/libm-test-ulps: Update.
39266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39268 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39270         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39272 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39274         [BZ #14157]
39275         [BZ #14331]
39276         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39277         could result in spurious underflow.  Scale down values above
39278         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39279         * math/s_csqrtf.c (__csqrtf): Likewise.
39280         * math/s_csqrtl.c (__csqrtl): Likewise.
39281         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39282         spurious underflow.
39283         * sysdeps/i386/fpu/libm-test-ulps: Update.
39284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39286 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39288         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39289         xopen-msg.sed.
39290         * catgets/xopen-msg.awk: New file.
39291         * catgets/xopen-msg.sed: Removed.
39293         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39294         po2text.sed.
39295         * intl/po2test.awk: New file.
39296         * intl/po2test.sed: Removed.
39298 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39300         [BZ #14328]
39301         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39302         or multiply small sinh result by itself.
39303         * math/s_ctanf.c (__ctanf): Likewise.
39304         * math/s_ctanh.c (__ctanh): Likewise.
39305         * math/s_ctanhf.c (__ctanhf): Likewise.
39306         * math/s_ctanhl.c (__ctanhl): Likewise.
39307         * math/s_ctanl.c (__ctanl): Likewise.
39308         * math/libm-test.inc (ctan_test_tonearest): New function.
39309         (ctan_test_towardzero): Likewise.
39310         (ctan_test_downward): Likewise.
39311         (ctan_test_upward): Likewise.
39312         (ctanh_test_tonearest): Likewise.
39313         (ctanh_test_towardzero): Likewise.
39314         (ctanh_test_downward): Likewise.
39315         (ctanh_test_upward): Likewise.
39316         (main): Call these new functions.
39317         * sysdeps/i386/fpu/libm-test-ulps: Update.
39318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39322         * .gitignore: Delete /ports entry.
39324 2012-07-03  Andreas Jaeger  <aj@suse.de>
39326         * po/bg.po: Update from translation team.
39327         * po/cs.po: Likewise.
39328         * po/de.po: Likewise.
39329         * po/hr.po: Likewise.
39330         * po/nl.pl: Likewise.
39331         * po/pl.po: Likewise.
39332         * po/vi.po: Likewise.
39334 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39336         * Makeconfig [!+link] (+link-before-libc): New variable.
39337         [!+link] (+link-after-libc): Likewise.
39338         [!+link] (+link-tests): Likewise.
39339         [!+link] (+link): Define in terms of $(+link-before-libc) and
39340         $(+link-after-libc).
39341         [!+link-static] (+link-static-before-libc): New variable.
39342         [!+link-static] (+link-static-after-libc): Likewise.
39343         [!+link-static] (+link-static-tests): Likewise.
39344         [!+link-static] (+link-static): Define in terms of
39345         $(+link-static-before-libc) and $(+link-static-after-libc).
39346         [build-shared] (link-libc-before-gnulib): New variable.
39347         [build-shared] (link-libc-tests): Likewise.
39348         [build-shared] (link-libc): Define in terms of
39349         $(link-libc-before-gnulib).
39350         [!build-shared] (link-libc-tests): New variable.
39351         (link-libc-static-tests): New variable.
39352         [!gnulib] (gnulib-arch): New variable.
39353         [!gnulib] (gnulib-tests): Likewise.
39354         [!gnulib] (static-gnulib-arch): Likewise.
39355         [!gnulib] (static-gnulib-tests): Likewise.
39356         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39357         Define with "=" instead of ":=".
39358         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39359         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39360         * Rules (binaries-all-notests): New variable.
39361         (binaries-all-tests): Likewise.
39362         (binaries-static-notests): Likewise.
39363         (binaries-static-tests): Likewise.
39364         (binaries-all): Define using $(binaries-all-notests) and
39365         $(binaries-all-tests).
39366         (binaries-static): Define using $(binaries-static-notests) and
39367         $(binaries-static-tests).
39368         (binaries-shared-tests): New variable.
39369         (binaries-shared-notests): Likewise.
39370         (binaries-shared): Remove variable.
39371         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39372         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39373         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39374         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39375         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39376         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39377         * elf/Makefile (sln-modules): New variable.
39378         (extra-objs): Add $(sln-modules:=.o).
39379         (ldconfig-modules): Add static-stubs.
39380         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39381         * elf/static-stubs.c: New file.
39383         [BZ #14283]
39384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39385         by 7 not 8 to examine high bit of fractional part.  Use volatile
39386         variables when splitting into final array of floats if
39387         __FLT_EVAL_METHOD__ != 0.
39388         * math/libm-test.inc (cos_test): Add another test.
39389         (sin_test): Likewise.
39390         * sysdeps/i386/fpu/libm-test-ulps: Update.
39392         [BZ #14273]
39393         * math/libm-test.inc (cosh_test): Add more tests.
39395         * version.h (RELEASE): Set to "development".
39396         (VERSION): Set to "2.16.90".
39398 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39400         * NEWS: Update copyright. Remove last-updated date.
39401         Mention math library bug fixes and timezone data changes.
39402         * README: Mention GNU/Hurd, x32, and HPPA support status.
39404 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39406         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39408 2012-06-27  Andreas Jaeger  <aj@suse.de>
39410         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39412 2012-06-25  Andreas Jaeger  <aj@suse.de>
39414         * sysdeps/s390/fpu/libm-test-ulps: Update.
39416 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39417             Thomas Schwinge  <thomas@codesourcery.com>
39419         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39420         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39422         fanotify_mark.
39424 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39426         * sysdeps/mach/start.c: Remove file.
39427         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39428         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39429         * sysdeps/sh/init-first.c: Likewise.
39431         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39432         registers for frame unwinding purposes, add CFI directives.
39433         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39434         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39435         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39436         Likewise.
39438         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39439         __fortify_fail returning.
39440         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39443         sysdeps/sh/____longjmp_chk.S.
39444         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39445         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39446         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39447         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39449         * sysdeps/sh/abort-instr.h: New file.
39450         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39451         process in case exit returns.
39453         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39454         initialize the GOT register before use.
39456         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39457         calculation of ARGC > 4.
39459         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39460         meaningful names to some local labels.
39462 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39463             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39465         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39466         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39467         (__arch_compare_and_exchange_val_16_acq): Likewise.
39468         (__arch_compare_and_exchange_val_32_acq): Likewise.
39469         (atomic_exchange_and_add): Fix gUSA sequence.
39470         (atomic_add): Likewise.
39471         (atomic_add_negative): Likewise.
39472         (atomic_add_zero): Likewise.
39473         (atomic_bit_test_set): Likewise.
39475 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39477         [BZ #13579]
39478         * include/link.h (struct link_map): Add l_free_initfini.
39479         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39480         l_initfini.
39481         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39482         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39483         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39484         set.
39486 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39488         * configure.in: Use AC_LANG_SOURCE.
39489         * configure: Regenerate.
39491 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39493         * configure.in (libc_cv_localstatedir): New substituted variable.
39494         * configure: Regenerated.
39495         * config.make.in (localstatedir): New variable, substituted from
39496         libc_cv_localstatedir.
39497         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39498         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39499         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39500         * sysdeps/gnu/configure: Regenerated.
39502 2012-06-21  Jeff Law  <law@redhat.com>
39504         [BZ #14277]
39505         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39506         free.  Simplify list management for _LIBC case.
39508 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39510         [BZ #14273]
39511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39512         Clear sign bit of 64-bit integer value before comparing against
39513         overflow value.
39515         * sysdeps/mach/configure: Regenerated.
39517 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39519         [BZ #14278]
39520         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39522 2012-06-21  Jeff Law  <law@redhat.com>
39524         [BZ #13882]
39525         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39526         uint16_t for elements in the "seen" array to avoid char overflows.
39527         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39528         * elf/dl-open.c (dl_open_worker): Likewise.
39530 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39532         * scripts/list-sources.sh: Scan PORTS for translations.
39533         * po/libc.pot: Regenerated.
39535 2012-06-21  Andreas Jaeger  <aj@suse.de>
39537         [BZ #12194]
39538         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39539         warning.
39540         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39541         * bits/byteswap-16.h (__bswap_16): Likewise.
39542         * bits/byteswap.h (__bswap_constant_16): Likewise.
39544 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39546         [BZ #14117]
39547         * sysdeps/i386/fpu_control.h: Removed.
39548         * sysdeps/x86_64/fpu_control.h: Moved to ...
39549         * sysdeps/x86/fpu_control.h: Here.
39551         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39552         (_FPU_SETCW): Likewise.
39554 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39556         [BZ #14117]
39557         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39558         * sysdeps/x86/fpu/bits/mathinline.h: This.
39559         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39561         [BZ #14050]
39562         [BZ #14117]
39563         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39564         functions if __x86_64__ is defined.
39566 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39568         * string/endian.h: Add !__ASSEMBLER__ condition for including
39569         conversion interfaces.
39571 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39573         [BZ #14241]
39574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39575         of ABS(x) in calculating zero to negative powers other than odd
39576         integers.
39577         * math/libm-test.inc (pow_test): Add more tests.
39579 2012-06-15  Andreas Jaeger  <aj@suse.de>
39581         * manual/contrib.texi (Contributors): Update entry of Liubov
39582         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39583         Machado Filho.
39585 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39587         * string/string.h: Add __wur to GNU version of strerror_r.
39589 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39591         [BZ #14229]
39592         * string/Makefile (tests): Add tst-strtok_r.
39593         * string/tst-strtok_r.c: New file.
39594         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39595         RAX_LP/RDX_LP on SAVE_PTR.
39597 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39599         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39601 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39603         * libm_test.inc (csqrt_test): Allow more spurious underflow
39604         exceptions.
39605         (j0_test): Likewise.
39606         (j1_test): Likewise.
39607         (y0_test): Likewise.
39608         (y1_test): Likewise.
39610 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39612         * po/Makefile (libc.pot): Use UTF-8 charset.
39614 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39616         [BZ #14210]
39617         Suppress sign-conversion warning from FD_SET.
39618         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39619         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39620         not unsigned long int.
39621         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39623 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39625         [BZ #14050]
39626         [BZ #14117]
39627         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39628         __extern_always_inline instead of __extern_inline.
39629         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39630         (__signbit): Likewise.
39631         (__signbitl): Support C++ namespace.
39632         (lrintf): New inline function.
39633         (lrint): Likewise.
39634         (llrintf): Likewise.
39635         (llrint): Likewise.
39636         (fmaxf): Likewise.
39637         (fmax): Likewise.
39638         (fminf): Likewise.
39639         (fmin): Likewise.
39640         (rint): Likewise.
39641         (rintf): Likewise.
39642         (ceil): Likewise.
39643         (ceilf): Likewise.
39644         (floor): Likewise.
39645         (floorf): Likewise.
39646         (nearbyint): Likewise.
39647         (nearbyintf): Likewise.
39649 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39652         non-default versions.
39654 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39656         [BZ #14218]
39657         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39659 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39661         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39662         (FE_UPWARD, FE_DOWNWARD): Don't define.
39663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39664         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39666         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39667         reading it.
39668         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39671 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39673         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39675         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39676         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39678 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39680         [BZ #14117]
39681         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39682         * sysdeps/i386/fpu/Implies: New file.
39683         * sysdeps/x86_64/fpu/Implies: Likewise.
39684         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39685         * sysdeps/x86/fpu/bits/fenv.h: This.
39687         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39688         __SSE_MATH__.
39690 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         [BZ #14134]
39693         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39694         character 0xffff that matches the last element of the
39695         conversion table.
39697 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39700         fmodl commit.
39702 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39705         values higher than 25.6283.
39707 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39709         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39710         subnormal exponent extraction and add some __builtin_expect.
39711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39712         Fix for subnormal mantissa calculation.
39714 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39716         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39717         cpu2 is -1 and errno is not ENOSYS.
39719 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39721         [BZ #14117]
39722         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39723         * sysdeps/x86/bits/string.h: This.
39724         * sysdeps/x86_64/bits/string.h: Removed.
39726         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39727         if not compiling for x86-64, but compiling for >= i486.
39729         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39730         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39732         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39733         New macro from Linux kernel 3.4.0.
39734         (FP_XSTATE_MAGIC2): Likewise.
39735         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39736         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39737         (struct _fpx_sw_bytes): New struct.
39738         (struct _xsave_hdr): Likewise.
39739         (struct _ymmh_state): Likewise.
39740         (struct _xstate): Likewise.
39742         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39743         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39744         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39745         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39746         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39747         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39749         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39750         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39751         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39752         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39753         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39754         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39756 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39758         [BZ #13743]
39759         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39760         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39761         (sysdep_headers): Include sys/platform/ppc.h.
39762         * sysdeps/powerpc/test-gettimebase.c: Test for
39763         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39764         * manual/Makefile (appendices): Include platform.texi.
39765         * manual/contrib.texi (Contributors): Update @node pointers.
39766         * manual/maint.texi (Maintenance): Likewise.
39767         (Platform): New node.
39768         * manual/platform.texi: New file.  Document the new features.
39770 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39771             Jakub Jelinek  <jakub@redhat.com>
39773         [BZ #14188]
39774         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39775         where __builtin_expect is unavailable.
39777 2012-06-03  David S. Miller  <davem@davemloft.net>
39779         * stdlib/longlong.h: Updated from GCC.
39781 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39783         [BZ #14042]
39784         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39785         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39786         __mcount_internal.
39787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39788         (GLIBC_2.16): Likewise.
39790 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39792         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39794 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39797         (default-abi): New variable.
39798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39799         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39800         variable.
39801         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39802         Likewise.
39803         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39804         Likewise.
39805         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39806         Likewise.
39808         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39809         definition.  Document in comment.
39811 2012-06-01  David S. Miller  <davem@davemloft.net>
39813         * stdlib/longlong.h: Updated from GCC.
39815 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39817         [BZ #14117]
39818         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39819         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39820         sys/debugreg.h sys/io.h here.
39821         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39822         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39823         sys/io.h.
39824         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39825         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39826         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39827         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39828         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39829         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39831         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39832         Define only if __x86_64__ is defined.
39834 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39836         [BZ #14048]
39837         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39838         Use int64_t for variable i.
39839         * math/libm-test.inc (fmod_test): Add more tests.
39841         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39842         z computation is not scheduled after fetestexcept.
39843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39844         Use math_force_eval instead of asm to ensure calculation scheduled
39845         before exception test.
39846         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39847         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39849 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39852         computation is not scheduled after fetestexcept.
39854 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39856         [BZ #14117]
39857         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39858         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39860 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39862         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39863         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39865 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39867         [BZ #14117]
39868         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39869         <bits/wordsize.h>.
39870         (__WCHAR_MIN): Support __WORDSIZE == 64.
39871         (__WCHAR_MAX): Likewise.
39873         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39876         [BZ #14183]
39877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39878         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39880         [BZ #14117]
39881         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39882         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39884         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39885         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39887         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39888         Defined to 1 if __x86_64__ isn't defined.
39889         (_STAT_VER_LINUX_OLD): New.
39890         (st_atime): Remove duplicate.
39891         (st_mtime): Likewise.
39892         (st_ctime): Likewise.
39894 2012-05-31  David S. Miller  <davem@davemloft.net>
39896         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39897         entries.
39899 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39901         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39902         gen-libm-test.pl.
39904         [BZ #14132]
39905         * elf/dl-reloc.c: Include <_itoa.h>.
39906         (_dl_reloc_bad_type): Remove use of INTUSE.
39907         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39908         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39909         * stdio-common/psiginfo.c (psiginfo): Likewise.
39910         * stdio-common/psignal.c (psignal): Likewise.
39911         * string/strsignal.c (strsignal): Likewise.
39912         * include/signal.h (_sys_siglist): Declare hidden proto.
39913         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39914         INTVARDEF with libc_hidden_data_def.
39915         * stdio-common/itoa-udigits.c: Likewise.
39916         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39917         (_itoa_lower_digits_internal): Remove declaration.
39918         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39919         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39920         (_sys_sigabbrev_internal): Remove aliases.
39921         (_sys_siglist): Define hidden alias.
39923 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39926         bits/sysctl.h.
39928 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39930         [BZ #14117]
39931         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39932         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39934         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39935         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39936         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39937         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39938         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39939         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39941         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39942         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39943         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39945         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39946         with __addr.
39947         (insw): Likewise.
39948         (insl): Likewise.
39949         (outsb): Likewise.
39950         (outsw): Likewise.
39951         (outsl): Likewise.
39953         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39954         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39955         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39957         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39958         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39959         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39960         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39961         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39962         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39964         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39965         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39967         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39968         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39970         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39971         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39972         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39974         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39975         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39976         to ...
39977         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39979         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39980         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39981         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39983         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39984         for x86-64.
39985         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39987 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39989         * math/math.h (M_El): Use two more decimal places.
39990         (M_LOG2El): Likewise.
39991         (M_LOG10El): Likewise.
39992         (M_LN2l): Likewise.
39993         (M_LN10l): Likewise.
39994         (M_PIl): Likewise.
39995         (M_PI_2l): Likewise.
39996         (M_PI_4l): Likewise.
39997         (M_1_PIl): Likewise.
39998         (M_2_PIl): Likewise.
39999         (M_2_SQRTPIl): Likewise.
40000         (M_SQRT2l): Likewise.
40001         (M_SQRT1_2l): Likewise.
40003 2012-05-31  David S. Miller  <davem@davemloft.net>
40005         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40006         values between float registers.
40007         * sysdeps/sparc/sparc64/memset.S: Likewise.
40008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40010 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40012         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40013         -D_FORTIFY_SOURCE=1.
40014         (CPPFLAGS-tst-longjmp_chk.c): Define.
40015         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40016         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40017         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40018         CFLAGS-tst-wchar-h.c.
40020 2012-05-31  Marek Polacek  <polacek@redhat.com>
40022         [BZ #14132]
40023         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40024         __endmntent_internal): Remove declaration.
40025         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40026         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40027         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40029 2012-05-30  David S. Miller  <davem@davemloft.net>
40031         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40032         (___Q_simulate_exceptions): Use real FP ops rather than writing
40033         into the %fsr.
40034         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40035         Likewise.
40037 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40039         [BZ #14117]
40040         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40041         * sysdeps/x86/bits/xtitypes.h: This.
40043         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40044         * sysdeps/x86/bits/wordsize.h: This.
40046         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40047         * sysdeps/x86/bits/huge_vall.h: This.
40049         * sysdeps/i386/bits/select.h: Removed.
40050         * sysdeps/x86_64/bits/select.h: Renamed to ...
40051         * sysdeps/x86/bits/select.h: This.
40053         * sysdeps/i386/bits/setjmp.h: Removed.
40054         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40055         * sysdeps/x86/bits/setjmp.h: This.
40057         * sysdeps/i386/bits/mathdef.h: Removed.
40058         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40059         * sysdeps/x86/bits/mathdef.h: This.
40061 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40063         [BZ #14132]
40064         * include/sys/socket.h (__connect_internal)
40065         (__libc_sa_len_internal): Remove declaration.
40066         (__connect, __libc_sa_len): Declare hidden_proto.
40067         (SA_LEN): Remove use of INTUSE.
40068         * socket/connect.c: Add libc_hidden_def.
40069         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40070         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40071         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40072         alias.
40073         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40074         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40075         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40076         of adding _internal alias.
40078 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40080         [BZ #14117]
40081         * sysdeps/i386/bits/link.h: Removed.
40082         * sysdeps/i386/bits/linkmap.h: Likewise.
40083         * sysdeps/x86_64/bits/link.h: Renamed to ...
40084         * sysdeps/x86/bits/link.h: This.
40085         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40086         * sysdeps/x86/bits/linkmap.h: This.
40088         * sysdeps/i386/bits/endian.h: Removed.
40089         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40090         * sysdeps/x86/bits/endian.h: This.
40092         * sysdeps/i386/bits/byteswap.h: Removed.
40093         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40094         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40095         * sysdeps/x86/bits/byteswap.h: This.
40096         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40097         * sysdeps/x86/bits/byteswap-16.h: This.
40098         * sysdeps/i386/Implies: Add x86.
40099         * sysdeps/x86_64/Implies: Likewise.
40101 2012-05-30  David S. Miller  <davem@davemloft.net>
40103         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40104         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40105         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40106         (FP_TRAPPING_EXCEPTIONS): Define.
40107         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40108         (FP_TRAPPING_EXCEPTIONS): Define.
40109         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40110         subnormals only when inexact has been signalled or underflow
40111         exceptions are enabled.
40112         (_FP_PACK_CANONICAL): Likewise.
40114 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40116         [BZ #14183]
40117         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40118         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40120 2012-05-30  Richard Henderson  <rth@twiddle.net>
40122         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40123         with #ifndef NOT_IN_libc.
40125         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40126         marked to avoid plt entry.
40128 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40130         [BZ #14112]
40131         * Makeconfig (default-abi): New macro.
40132         (abi-includes): Likewise.
40133         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40134         $(abi-$(default-abi)-lib-soname) for soname if defined.
40135         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40136         abi-variants.
40137         * Makefile (installed-stubs): Likewise.
40138         * include/stubs-biarch.h: Removed.
40139         * scripts/lib-names.awk: Only handle one library at a time.
40140         * scripts/soversions.awk: Remove WORDSIZE support.
40141         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40142         entries.
40143         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40144         Removed.
40145         (syscall-list-default-condition): Likewise.
40146         (syscall-list-default-condition): Likewise.
40147         (syscall-list-includes): Likewise.
40148         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40149         syscall-list-* with abi-*.  Handle undefined abi-variants.
40150         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40151         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40152         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40153         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40154         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40155         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40156         Removed.
40157         (syscall-list-32-options): Likewise.
40158         (syscall-list-32-condition): Likewise.
40159         (syscall-list-64-options): Likewise.
40160         (syscall-list-64-condition): Likewise.
40161         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40162         macro.
40163         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40164         Renamed to ...
40165         (abi-*): This.
40166         (abi-64-ld-soname): New macro.
40167         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40168         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40169         Renamed to ...
40170         (abi-*): This.
40171         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40172         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40174 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40176         * sysdeps/unix/sysv/linux/kernel-features.h
40177         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40178         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40179         include <kernel-features.h>.
40180         [!__NR_ftruncate64]: Remove conditional code.
40181         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40182         [__NR_ftruncate64]: Make code unconditional.
40183         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40184         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40185         include <kernel-features.h>.
40186         [!__NR_ftruncate64]: Remove conditional code.
40187         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40188         [__NR_ftruncate64]: Make code unconditional.
40189         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40191         include <kernel-features.h>.
40192         [!__NR_ftruncate64]: Remove conditional code.
40193         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40194         [__NR_ftruncate64]: Make code unconditional.
40195         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40197         include <kernel-features.h>.
40198         [!__NR_ftruncate64]: Remove conditional code.
40199         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40200         [__NR_ftruncate64]: Make code unconditional.
40201         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40203         * configure.in (libc_cv_fpie): Weaken to a compile test using
40204         LIBC_TRY_CC_OPTION.
40205         * configure: Regenerated.
40207 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40213         Refreshed.
40214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40220         Refreshed.
40222 2012-05-27  David S. Miller  <davem@davemloft.net>
40224         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40225         (___Q_zero): New.
40226         (__Q_simulate_exceptions): Return void.  Change to simulate
40227         exceptions by writing into the %fsr.
40228         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40229         (__Qp_handle_exceptions): Likewise.
40230         (numbers): Delete.
40231         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40232         __Qp_handle_exceptions.
40233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40234         __Qp_handle_exceptions.
40235         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40236         as unused and give dummy FP_RND_NEAREST initializer.
40237         (FP_INHIBIT_RESULTS): Define.
40238         (___Q_simulate_exceptions): Update declaration.
40239         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40240         formatting.
40241         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40242         as unused and give dummy FP_RND_NEAREST initializer.
40243         (__Qp_handle_exceptions): Update declaration.
40244         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40245         formatting.
40247 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40249         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40250         the temporary FPU control word.
40251         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40252         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40253         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40254         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40255         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40256         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40257         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40258         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40259         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40260         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40261         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40263 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40265         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40266         fields.
40268 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40270         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40271         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40272         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40273         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40274         Likewise.
40275         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40276         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40277         Likewise.
40279 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40281         * po/h.po: Update from translation team.
40283 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40285         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40287         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40288         handling of denormals.
40289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40290         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40291         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40292         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40293         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40295         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40296         Likewise.
40298 2012-05-26  Marek Polacek  <polacek@redhat.com>
40300         [BZ #14152]
40301         * math/libm-test.inc (fma_test): Don't always expect underflow
40302         exception.
40304 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40306         [BZ #12416]
40307         * elf/tst-execstack.c: Include stackinfo.h.
40308         (do_test): Adjust test case to ensure that pthread_getattr_np
40309         behaviour remains the same after marking stack executable.
40311 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40313         * sysdeps/unix/sysv/linux/kernel-features.h
40314         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40315         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40316         kernel-features.h.
40317         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40318         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40319         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40320         kernel-features.h.
40321         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40322         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40324 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40326         * configure.in: Define the default includes to being none.
40327         * configure: Regenerated.
40329 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40331         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40332         * sysdeps/x86_64/setjmp.S: Likewise.
40333         * sysdeps/i386/bsd-setjmp.S: Likewise.
40334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40335         * sysdeps/i386/setjmp.S: Likewise.
40336         * sysdeps/i386/__longjmp.S: Likewise.
40337         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40338         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40340         * include/stap-probe.h: New file.
40341         * configure.in: Handle --enable-systemtap.
40342         * configure: Regenerated.
40343         * config.h.in (USE_STAP_PROBE): New #undef.
40344         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40345         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40346         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40348 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40350         [BZ #13717]
40351         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40352         to 2.4.0 where earlier.
40353         * sysdeps/unix/sysv/linux/configure: Regenerated.
40354         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40355         <kernel-features.h>.
40356         [__ASSUME_32BITUIDS]: Make code unconditional.
40357         [!__ASSUME_32BITUIDS]: Remove conditional code.
40358         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40359         <kernel-features.h>.
40360         [__ASSUME_32BITUIDS]: Make code unconditional.
40361         [!__ASSUME_32BITUIDS]: Remove conditional code.
40362         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40363         [__ASSUME_32BITUIDS]: Make code unconditional.
40364         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40365         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40366         <kernel-features.h>.
40367         [__ASSUME_32BITUIDS]: Make code unconditional.
40368         [!__ASSUME_32BITUIDS]: Remove conditional code.
40369         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40370         <kernel-features.h>.
40371         [__ASSUME_32BITUIDS]: Make code unconditional.
40372         [!__ASSUME_32BITUIDS]: Remove conditional code.
40373         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40374         <kernel-features.h>.
40375         [__ASSUME_32BITUIDS]: Make code unconditional.
40376         [!__ASSUME_32BITUIDS]: Remove conditional code.
40377         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40378         <kernel-features.h>.
40379         [__ASSUME_32BITUIDS]: Make code unconditional.
40380         [!__ASSUME_32BITUIDS]: Remove conditional code.
40381         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40382         <kernel-features.h>.
40383         [__ASSUME_32BITUIDS]: Make code unconditional.
40384         [!__ASSUME_32BITUIDS]: Remove conditional code.
40385         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40386         <kernel-features.h>.
40387         [__ASSUME_32BITUIDS]: Make code unconditional.
40388         [!__ASSUME_32BITUIDS]: Remove conditional code.
40389         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40390         <kernel-features.h>.
40391         [__ASSUME_32BITUIDS]: Make code unconditional.
40392         [!__ASSUME_32BITUIDS]: Remove conditional code.
40393         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40394         <kernel-features.h>.
40395         [__ASSUME_32BITUIDS]: Make code unconditional.
40396         [!__ASSUME_32BITUIDS]: Remove conditional code.
40397         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40398         <kernel-features.h>.
40399         [__ASSUME_32BITUIDS]: Make code unconditional.
40400         [!__ASSUME_32BITUIDS]: Remove conditional code.
40401         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40402         <kernel-features.h>.
40403         [__ASSUME_32BITUIDS]: Make code unconditional.
40404         [!__ASSUME_32BITUIDS]: Remove conditional code.
40405         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40406         <kernel-features.h>.
40407         [__NR_setresgid] (__setresgid): Do not declare.
40408         [__ASSUME_32BITUIDS]: Make code unconditional.
40409         [!__ASSUME_32BITUIDS]: Remove conditional code.
40410         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40411         <kernel-features.h>.
40412         [__NR_setresuid] (__setresuid): Do not declare.
40413         [__ASSUME_32BITUIDS]: Make code unconditional.
40414         [!__ASSUME_32BITUIDS]: Remove conditional code.
40415         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40416         <kernel-features.h>.
40417         [__ASSUME_32BITUIDS]: Make code unconditional.
40418         [!__ASSUME_32BITUIDS]: Remove conditional code.
40419         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40420         <kernel-features.h>.
40421         [__ASSUME_32BITUIDS]: Make code unconditional.
40422         [!__ASSUME_32BITUIDS]: Remove conditional code.
40423         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40424         <kernel-features.h>.
40425         [__ASSUME_32BITUIDS]: Make code unconditional.
40426         [!__ASSUME_32BITUIDS]: Remove conditional code.
40427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40428         <kernel-features.h>.
40429         [__ASSUME_32BITUIDS]: Make code unconditional.
40430         [!__ASSUME_32BITUIDS]: Remove conditional code.
40431         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40432         <kernel-features.h>.
40433         [__ASSUME_32BITUIDS]: Make code unconditional.
40434         [!__ASSUME_32BITUIDS]: Remove conditional code.
40435         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40436         <kernel-features.h>.
40437         [__ASSUME_32BITUIDS]: Make code unconditional.
40438         [!__ASSUME_32BITUIDS]: Remove conditional code.
40439         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40440         <kernel-features.h>.
40441         [__ASSUME_32BITUIDS]: Make code unconditional.
40442         [!__ASSUME_32BITUIDS]: Remove conditional code.
40443         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40444         <kernel-features.h>.
40445         [__ASSUME_32BITUIDS]: Make code unconditional.
40446         [!__ASSUME_32BITUIDS]: Remove conditional code.
40447         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40448         <kernel-features.h>.
40449         [__ASSUME_32BITUIDS]: Make code unconditional.
40450         [!__ASSUME_32BITUIDS]: Remove conditional code.
40451         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40452         <kernel-features.h>.
40453         [__ASSUME_32BITUIDS]: Make code unconditional.
40454         [!__ASSUME_32BITUIDS]: Remove conditional code.
40455         * sysdeps/unix/sysv/linux/kernel-features.h
40456         (__ASSUME_SETRESUID_SYSCALL): Remove.
40457         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40458         (__ASSUME_32BITUIDS): Likewise.
40459         (__ASSUME_LDT_WORKS): Likewise.
40460         (__ASSUME_O_DIRECTORY): Likewise.
40461         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40462         architecture but not kernel version.
40463         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40464         (__ASSUME_MMAP2_SYSCALL): Likewise.
40465         (__ASSUME_STAT64_SYSCALL): Likewise.
40466         (__ASSUME_IPC64): Likewise.
40467         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40468         <kernel-features.h>.
40469         [__ASSUME_32BITUIDS]: Make code unconditional.
40470         [!__ASSUME_32BITUIDS]: Remove conditional code.
40471         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40472         <kernel-features.h>.
40473         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40474         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40475         132096]: Remove conditional code.
40476         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40477         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40478         <kernel-features.h>.
40479         [__ASSUME_32BITUIDS]: Make code unconditional.
40480         [!__ASSUME_32BITUIDS]: Remove conditional code.
40481         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40482         <kernel-features.h>.
40483         [__ASSUME_32BITUIDS]: Make code unconditional.
40484         [!__ASSUME_32BITUIDS]: Remove conditional code.
40485         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40486         <kernel-features.h>.
40487         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40488         unconditional.
40489         (__setresgid): Do not declare.
40490         [__ASSUME_32BITUIDS]: Make code unconditional.
40491         [!__ASSUME_32BITUIDS]: Remove conditional code.
40492         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40493         <kernel-features.h>.
40494         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40495         unconditional.
40496         (__setresuid): Do not declare.
40497         [__ASSUME_32BITUIDS]: Make code unconditional.
40498         [!__ASSUME_32BITUIDS]: Remove conditional code.
40499         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40500         <kernel-features.h>.
40501         [__ASSUME_32BITUIDS]: Make code unconditional.
40502         [!__ASSUME_32BITUIDS]: Remove conditional code.
40503         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40504         <kernel-features.h>.
40505         [__ASSUME_32BITUIDS]: Make code unconditional.
40506         [!__ASSUME_32BITUIDS]: Remove conditional code.
40508 2012-05-25  Richard Henderson  <rth@twiddle.net>
40510         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40511         dl_hwcap to ifunc resolver.
40512         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40513         elf_ifunc_invoke.
40514         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40515         dl_hwcap to ifunc resolver.
40516         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40518 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40520         [BZ #14153]
40521         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40522         for |x| <= 2**-26, not 2**-57.
40523         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40524         exception.
40526 2012-05-24  Jeff Law  <law@redhat.com>
40528         * stdio-common/Makefile (tests): Add bug25.
40529         * stdio-common/bug25.c: New test.
40531 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40533         [BZ #13576]
40534         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40535         multiple of MALLOC_ALIGNMENT in size.
40536         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40538 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40540         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40541         Require >= 256.
40542         (FILENAME_MAX): Use macro-int-constant.
40543         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40544         (_IOFBF): Use macro-int-constant.
40545         (_IOLBF): Likewise.
40546         (_IONBF): Likewise.
40547         (SEEK_CUR): Likewise.
40548         (SEEK_END): Likewise.
40549         (SEEK_SET): Likewise.
40550         (TMP_MAX): Likewise.
40551         (EOF): Use macro-int-constant.  Require < 0.
40552         (NULL): Use macro-constant.  Require == 0.
40553         (stdin): Require type to be FILE *.
40554         (stdout): Likewise.
40555         (stderr): Likewise.
40556         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40557         macro-int-constant.
40558         (EXIT_SUCCESS): Likewise.
40559         (NULL): Use macro-constant.  Require == 0.
40560         (RAND_MAX): Use macro-int-constant.
40561         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40562         [C99-based standards] (strtof): Require function.
40563         [C99-based standards] (strtold): Likewise.
40564         [C99-based standards] (strtoll): Likewise.
40565         [C99-based standards] (strtoull): Likewise.
40566         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40567         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40568         [ISO || ISO99 || ISO11] (math.h): Likewise.
40569         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40570         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40573 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40575         [BZ #14132]
40576         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40577         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40578         * intl/dgettext.c (DCGETTEXT): Likewise.
40579         * intl/gettext.c (DCGETTEXT): Likewise.
40580         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40581         * posix/regex_internal.h (gettext): Likewise.
40582         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40583         Remove declaration.
40584         * include/argz.h (__argz_count_internal)
40585         (__argz_stringify_internal): Remove declaration.
40586         (__argz_count, __argz_stringify): Declare hidden proto.
40587         * intl/dcgettext.c: Remove use of INTDEF.
40588         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40589         * string/argz-stringify.c: Likewise.
40590         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40591         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40592         Declare hidden proto.
40593         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40594         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40595         Declare hidden proto.
40596         * include/stdio.h (__asprintf_internal): Don't declare.
40597         (__asprintf): Don't define as macro.  Declare hidden proto.
40598         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40599         (__fsetlocking): Declare hidden proto.
40600         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40601         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40602         hidden proto.
40603         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40604         (_IO_setlinebuf): Remove use of INTUSE.
40605         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40606         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40607         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40608         Remove declaration.
40609         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40610         (_IO_do_flush): Remove use of INTUSE.
40611         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40612         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40613         (_IO_adjust_column, _IO_least_wmarker)
40614         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40615         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40616         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40617         (_IO_default_doallocate, _IO_wdefault_doallocate)
40618         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40619         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40620         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40621         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40622         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40623         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40624         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40625         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40626         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40627         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40628         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40629         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40630         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40631         proto.
40632         (_IO_flush_all_internal, _IO_adjust_column_internal)
40633         (_IO_default_uflow_internal, _IO_default_finish_internal)
40634         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40635         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40636         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40637         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40638         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40639         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40640         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40641         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40642         (_IO_file_close_internal, _IO_file_close_it_internal)
40643         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40644         (_IO_file_init_internal, _IO_file_attach_internal)
40645         (_IO_file_fopen_internal, _IO_file_read_internal)
40646         (_IO_file_sync_internal, _IO_file_seek_internal)
40647         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40648         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40649         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40650         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40651         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40652         (_IO_list_all_internal, _IO_link_in_internal)
40653         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40654         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40655         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40656         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40657         (_IO_do_write_internal, _IO_padn_internal)
40658         (_IO_getline_info_internal, _IO_getline_internal)
40659         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40660         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40661         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40662         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40663         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40664         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40665         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40666         with libc_hidden_ver, remove use of INTUSE.
40667         * libio/genops.c: Likewise.
40668         * libio/freopen.c: Likewise.
40669         * libio/freopen64.c: Likewise.
40670         * libio/iofclose.c: Likewise.
40671         * libio/iofdopen.c: Likewise.
40672         * libio/iofflush.c: Likewise.
40673         * libio/iofflush_u.c: Likewise.
40674         * libio/iofgets.c: Likewise.
40675         * libio/iofgets_u.c: Likewise.
40676         * libio/iofopen.c: Likewise.
40677         * libio/iofopncook.c: Likewise.
40678         * libio/iofread.c: Likewise.
40679         * libio/iofread_u.c: Likewise.
40680         * libio/ioftell.c: Likewise.
40681         * libio/iofwrite.c: Likewise.
40682         * libio/iogetline.c: Likewise.
40683         * libio/iogets.c: Likewise.
40684         * libio/iogetwline.c: Likewise.
40685         * libio/iopadn.c: Likewise.
40686         * libio/iopopen.c: Likewise.
40687         * libio/ioseekoff.c: Likewise.
40688         * libio/ioseekpos.c: Likewise.
40689         * libio/iosetbuffer.c: Likewise.
40690         * libio/iosetvbuf.c: Likewise.
40691         * libio/ioungetc.c: Likewise.
40692         * libio/ioungetwc.c: Likewise.
40693         * libio/iovdprintf.c: Likewise.
40694         * libio/iovsprintf.c: Likewise.
40695         * libio/iovsscanf.c: Likewise.
40696         * libio/memstream.c: Likewise.
40697         * libio/obprintf.c: Likewise.
40698         * libio/oldfileops.c: Likewise.
40699         * libio/oldiofclose.c: Likewise.
40700         * libio/oldiofdopen.c: Likewise.
40701         * libio/oldiofopen.c: Likewise.
40702         * libio/oldiopopen.c: Likewise.
40703         * libio/oldstdfiles.c: Likewise.
40704         * libio/putc.c: Likewise.
40705         * libio/setbuf.c: Likewise.
40706         * libio/setlinebuf.c: Likewise.
40707         * libio/stdfiles.c: Likewise.
40708         * libio/strops.c: Likewise.
40709         * libio/vasprintf.c: Likewise.
40710         * libio/vscanf.c: Likewise.
40711         * libio/vsnprintf.c: Likewise.
40712         * libio/vswprintf.c: Likewise.
40713         * libio/wfiledoalloc.c: Likewise.
40714         * libio/wfileops.c: Likewise.
40715         * libio/wgenops.c: Likewise.
40716         * libio/wmemstream.c: Likewise.
40717         * libio/wstrops.c: Likewise.
40718         * libio/__fpurge.c: Likewise.
40719         * libio/__fsetlocking.c: Likewise.
40720         * assert/assert.c: Likewise.
40721         * debug/fgets_chk.c: Likewise.
40722         * debug/fgets_u_chk.c: Likewise.
40723         * debug/fread_chk.c: Likewise.
40724         * debug/fread_u_chk.c: Likewise.
40725         * debug/gets_chk.c: Likewise.
40726         * debug/obprintf_chk.c: Likewise.
40727         * debug/vasprintf_chk.c: Likewise.
40728         * debug/vdprintf_chk.c: Likewise.
40729         * debug/vsnprintf_chk.c: Likewise.
40730         * debug/vsprintf_chk.c: Likewise.
40731         * malloc/mtrace.c: Likewise.
40732         * misc/error.c: Likewise.
40733         * misc/syslog.c: Likewise.
40734         * stdio-common/asprintf.c: Likewise.
40735         * stdio-common/fxprintf.c: Likewise.
40736         * stdio-common/getw.c: Likewise.
40737         * stdio-common/isoc99_fscanf.c: Likewise.
40738         * stdio-common/isoc99_scanf.c: Likewise.
40739         * stdio-common/isoc99_vfscanf.c: Likewise.
40740         * stdio-common/isoc99_vscanf.c: Likewise.
40741         * stdio-common/isoc99_vsscanf.c: Likewise.
40742         * stdio-common/printf-prs.c: Likewise.
40743         * stdio-common/printf_fp.c: Likewise.
40744         * stdio-common/printf_fphex.c: Likewise.
40745         * stdio-common/printf_size.c: Likewise.
40746         * stdio-common/putw.c: Likewise.
40747         * stdio-common/scanf.c: Likewise.
40748         * stdio-common/sprintf.c: Likewise.
40749         * stdio-common/tmpfile.c: Likewise.
40750         * stdio-common/vfprintf.c: Likewise.
40751         * stdio-common/vfscanf.c: Likewise.
40752         * stdlib/strfmon_l.c: Likewise.
40753         * sunrpc/openchild.c: Likewise.
40754         * sunrpc/xdr_stdio.c: Likewise.
40755         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40756         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40758 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40760         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40762         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40763         in the third column, to generate for the shared library an IFUNC
40764         that uses _dl_vdso_vsym.
40765         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40766         * Makeconfig (object-suffixes-noshared): New variable.
40768         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40769         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40770         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40771         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40773         [BZ #14132]
40774         * include/sys/time.h (__gettimeofday): Remove macro.
40775         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40776         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40777         Remove INTDEF.
40778         (__gettimeofday): Add libc_hidden_def.
40779         (gettimeofday): Add libc_hidden_weak.
40780         * sysdeps/mach/gettimeofday.c: Likewise.
40781         * sysdeps/posix/gettimeofday.c: Likewise.
40782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40783         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40785         (__gettimeofday_internal): Remove strong_alias.
40786         (__gettimeofday): Add libc_hidden_def.
40787         (gettimeofday): Add libc_hidden_weak.
40788         * sysdeps/unix/syscalls.list (gettimeofday):
40789         Remove __gettimeofday_internal alias.
40791 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40792             H.J. Lu  <hongjiu.lu@intel.com>
40794         [BZ #12495]
40795         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40796         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40797         (largebin_index_32_big): New.
40798         (largebin_index): Use it for 16-byte alignment.
40799         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40800         correction with front_misalign.
40802 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40806         Likewise.
40807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40808         Likewise.
40809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40810         Likewise.
40811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40812         Likewise.
40813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40814         Likewise.
40815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40816         Likewise.
40817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40818         Likewise.
40819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40820         Likewise.
40821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40822         Likewise.
40823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40824         Likewise.
40825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40826         Likewise.
40827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40828         Likewise.
40830         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40831         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40833 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40835         [BZ #10846]
40836         [BZ #14036]
40837         * math/libm-test.inc (exp_test): Add test from bug 14036.
40838         (pow_test): Add test from bug 10846.
40840         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40841         and other flags.
40842         (special_function): Do not include flags in test name.
40843         (parse_args): Likewise.
40844         * sysdeps/i386/fpu/libm-test-ulps: Update.
40845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40847         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40850         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40851         exceptions.
40852         * math/libm-test.inc ("Philosophy"): Update comment about
40853         exception testing.
40854         (UNDERFLOW_EXCEPTION): New macro.
40855         (UNDERFLOW_EXCEPTION_OK): Likewise.
40856         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40857         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40858         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40859         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40860         (INVALID_EXCEPTION_OK): Update value.
40861         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40862         (OVERFLOW_EXCEPTION_OK): Likewise.
40863         (IGNORE_ZERO_INF_SIGN): Likewise.
40864         (test_exceptions): Handle underflow exceptions.
40865         (acos_test): Update for underflow exception expectations.
40866         (cexp_test): Likewise.
40867         (clog_test): Likewise.
40868         (clog10_test): Likewise.
40869         (csqrt_test): Likewise.
40870         (ctan_test): Likewise.
40871         (ctanh_test): Likewise.
40872         (exp_test): Likewise.
40873         (exp10_test): Likewise.
40874         (exp2_test): Likewise.
40875         (expm1_test): Likewise.
40876         (fma_test): Likewise.
40877         (j0_test): Likewise.
40878         (jn_test): Likewise.
40879         (nexttoward_test): Likewise.
40880         (pow_test): Likewise.
40881         (scalbn_test): Likewise.
40882         (scalbln_test): Likewise.
40883         (tan_test): Likewise.
40884         (y1_test): Likewise.
40885         * sysdeps/i386/fpu/libm-test-ulps: Update.
40886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40888 2012-05-23  David S. Miller  <davem@davemloft.net>
40890         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40891         (__libc_sigaction): Remove unused local variables.
40893 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40895         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40897 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40899         mktime: avoid signed integer overflow
40900         * time/mktime.c (__mktime_internal): Do not mishandle the case
40901         where diff == INT_MIN.
40903         mktime: simplify computation of average
40904         * time/mktime.c (ranged_convert): Use new time_t_avg function
40905         instead of rolling our own (probably-slower) code.
40907         mktime: do not assume signed right shift propagates sign bit
40908         * time/mktime.c (isdst_differ): New static function.
40909         (__mktime_internal): No need to normalize tm_isdst now.
40910         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40911         tm_isdst values.
40913         mktime: merge another wrapv change from gnulib
40914         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40915         from some compilers.
40917         mktime: remove incorrect attempt at unusual arithmetics
40918         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40919         The code didn't really work on such machines anyway.
40920         (TYPE_MINIMUM): Assume two's complement.
40921         (twos_complement_arithmetic): Verify that long_int and time_t
40922         are two's complement (or unsigned, in the latter case).
40924         mktime: check signed shifts on long_int and time_t, too
40925         * time/mktime.c (SHR): Check that shifts work as desired
40926         on the types long_int and time_t too, as SHR is used on
40927         such types.
40929         mktime: do not assume 'long' is wide enough
40930         * time/mktime.c (verify): Move decl up.
40931         (long_int): New type.
40932         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40933         to remove assumption in the code that 'long' is wide enough to
40934         store year values.  This assumption is not true on x32 and on
40935         some non-glibc platforms.
40937         mktime: merge wrapv change from gnulib
40938         * time/mktime.c (WRAPV): New macro.
40939         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40940         (guess_time_tm, __mktime_internal): Do not assume that signed
40941         integer overflow wraps around; modern compilers generate code
40942         where this assumption is no longer valid.
40944 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40946         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40947         Replace "jmp L(pseudo_end)" with "ret".
40948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40949         Likewise.
40951 2012-05-23  Andreas Jaeger  <aj@suse.de>
40953         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40954         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40956 2012-05-23  Andreas Jaeger  <aj@suse.de>
40957             Maximilian Attems  <max@stro.at>
40959         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40960         New macros.
40962 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40965         code so that pseudo_end is just ret and the stack pointer is
40966         correct also for static library in error case.
40968 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40970         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40971         move to syscalls.list.
40972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40977         * manual/install.texi (Running make install): Do not mention Linux
40978         kernel version for which pt_chown is not needed.
40979         (Linux): Do not mention problems with nscd with 2.0 kernels.
40980         * INSTALL: Regenerated.
40982 2012-05-23  Andreas Jaeger  <aj@suse.de>
40984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40985         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40986         macro.
40987         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40989         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40991         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40995         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40997         * sysdeps/unix/sysv/linux/bits/in.h
40998         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41000 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41002         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41003         (PREPARE_VERSION): Just use assert instead, it will be elided
41004         under [NDEBUG] anyway.
41006 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41008         * sysdeps/unix/sysv/linux/Makefile: Include
41009         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41010         (sysdep_routines): Remove sysctl.
41011         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41012         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41013         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41014         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41015         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41017 2012-05-22  Andreas Jaeger  <aj@suse.de>
41019         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41020         that pseudo_end is just ret and the stack pointer is correct also
41021         for static library in error case.
41023 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41025         [BZ #14122]
41026         * nss/nsswitch.c (defconfig_entries): New variable.
41027         (__nss_database_lookup): Don't leak defconfig entries.
41028         (nss_parse_service_list): Don't leak on error paths.
41029         (free_database_entries): New function.
41030         (free_defconfig): New function.
41031         (free_mem): Move common code to free_database_entries.
41033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41036         Add arch_prctl.
41037         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41039         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41040         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41042         New macro.
41043         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41044         (INTERNAL_SYSCALL_TYPES): Likewise.
41045         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41046         (LOAD_REGS_TYPES_[1-6]): Likewise.
41047         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41048         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41050 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41052         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41053         copysignl for GLIBC_2_0.
41054         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41055         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41057         logbl for GLIBC_2_0.
41058         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41059         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41061 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41063         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41064         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41066         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41067         Use "neg %eax".
41069         * time/mktime.c: Update copyright years.
41071 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41073         mktime: merge comment-quoting-style change from gnulib
41074         * time/mktime.c: Quote 'like this' in comments.
41075         The GNU coding standards suggest that we no longer quote `like this',
41076         as "`" and "'" are typically rendered asymmetrically nowadays.
41077         The typical gnulib style is to quote 'like this' when quoting
41078         code, and "like this" when quoting English.
41080         * time/mktime.c (compile-command): Add "-I.".
41082         mktime: merge mktime-internal.h change from gnulib
41083         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41085         mktime: merge time_r change from gnulib
41086         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41088         mktime: merge DEBUG change from gnulib
41089         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41090         case system <time.h> has a #define.
41092         mktime: merge <sys/types.h> change from gnulib
41093         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41094         since <time.t> is now guaranteed to define time_t.
41096         mktime: merge HAVE_CONFIG_H change from gnulib
41097         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41099 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41102         Use "neg %eax".
41104         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41105         __rlim_t cast.
41106         (struct rusage): Use anonymous union to pad each field to
41107         __syscall_slong_t.
41109 2012-05-21  David S. Miller  <davem@davemloft.net>
41111         * Makefules (o-iterator): Remove .s cases.
41112         (compile-command.s): Delete.
41113         (COMPILE.s): Delete.
41114         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41116 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41118         * configure.in (libc_cv_predef_stack_protector): Only consider
41119         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41120         * configure: Regenerated.
41122 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41125         New macro.  Use R*LP on int and pointer.
41126         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41127         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41128         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41131         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41132         [__WORDSIZE_TIME64_COMPAT32] instead of
41133         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41134         (struct utmp): Likewise.
41135         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41136         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41137         Renamed to ...
41138         (__WORDSIZE_TIME64_COMPAT32): This.
41139         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41140         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41141         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41142         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41143         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41144         (__WORDSIZE_TIME64_COMPAT32): New macro.
41146 2012-05-21  Andreas Jaeger  <aj@suse.de>
41148         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41149         only if [SHARED]. Add prototype for __wcschr_ia32.
41151 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41153         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41154         of %rbp unmolested in the jmp_buf while mangling the low bits.
41155         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41156         unmolested high bits of %rbp while demangling the low bits.
41157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41159 2012-05-21  Andreas Jaeger  <aj@suse.de>
41161         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41162         * sunrpc/svc_simple.c: Use it for registerrpc.
41163         * sunrpc/xcrypt.c: Use it for passwd2des.
41165         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41167 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41169         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41170         Don't define if [__SYSCALL_WORDSIZE != 32].
41171         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41172         New macro.
41174 2012-05-21  Bruno Haible  <bruno@clisp.org>
41175             Andreas Jaeger  <aj@suse.de>
41177         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41178         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41179         inptr and inend for must_buffer_ch.
41180         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41181         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41182         * stdio-common/Makefile (tests): Remove bug15.
41183         (bug15-ENV): Remove macro.
41184         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41185         anymore.
41187 2012-05-19  Andreas Jaeger  <aj@suse.de>
41188             Roland McGrath  <roland@hack.frob.com>
41190         * manual/contrib.texi: Completely rewritten. It contains now an
41191         alphabetical list of contributors and their contributions.
41193 2012-05-21  Richard Henderson  <rth@twiddle.net>
41195         * misc/getauxval.c (__getauxval): Use unsigned long int.
41196         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41197         (getauxval): Use unsigned long int.
41199 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41201         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41203 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41205         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41206         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41207         __alignof__ (long double).
41209 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41213 2012-05-20  Richard Henderson  <rth@twiddle.net>
41215         * misc/getauxval.c: New file.
41216         * misc/sys/auxv.h: New file.
41217         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41218         (routines): Add getauxval.
41219         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41220         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41221         * elf/dl-sysdep.c (_dl_auxv): Remove.
41222         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41223         * elf/dl-support.c (_dl_auxv): New variable.
41224         (_dl_aux_init): Initialize it.
41225         * manual/startup.texi (Auxiliary Vector): New node.
41226         * sysdeps/generic/bits/hwcap.h: New file.
41227         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41228         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41229         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41230         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41231         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41234         Update.
41235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41244 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41248 2012-05-19  David S. Miller  <davem@davemloft.net>
41250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41252 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41254         [BZ #14123]
41255         * math/s_ccosh.c: Include <float.h>
41256         (__ccosh): Avoid internal overflow calculating sinh and cosh
41257         values before multiplying by sin and cos values.
41258         * math/s_ccoshf.c: Likewise.
41259         * math/s_ccoshl.c: Likewise.
41260         * math/s_csin.c: Likewise.
41261         * math/s_csinf.c: Likewise.
41262         * math/s_csinl.c: Likewise.
41263         * math/s_csinh.c: Likewise.
41264         * math/s_csinhf.c: Likewise.
41265         * math/s_csinhl.c: Likewise.
41266         * math/libm-test.inc (ccos_test): Add more tests.
41267         (ccosh_test): Likewise.
41268         (csin_test): Likewise.
41269         (csinh_test): Likewise.
41270         * sysdeps/i386/fpu/libm-test-ulps: Update.
41271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41273 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41275         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41276         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41278         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41280 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41282         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41283         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41284         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41285         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41286         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41287         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41288         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41289         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41290         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41291         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41292         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41293         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41294         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41295         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41296         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41297         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41298         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41299         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41300         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41301         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41302         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41303         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41304         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41305         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41306         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41307         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41308         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41309         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41310         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41311         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41312         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41314 2012-05-18  Andreas Jaeger  <aj@suse.de>
41316         * csu/.gitignore: Delete.
41318 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41320         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41321         (timex): Use __syscall_slong_t.
41323 2012-05-18  Andreas Jaeger  <aj@suse.de>
41324             Carlos O'Donell  <carlos_odonell@mentor.com>
41326         * manual/install.texi (Configuring and compiling): Update
41327         description about files modified in the source directory.
41328         * INSTALL: Regenerated.
41330 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41332         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41333         value.  Use "or" to set return value to -1.
41334         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41335         negate return value.
41337 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41339         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41340         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41341         failure if the compiler has Graphite support disabled.
41342         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41343         Likewise.
41344         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41345         (CFLAGS-memmove.c): Likewise.
41346         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41347         Likewise.
41349 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41351         * sysdeps/x86_64/x32/_itoa.h: New file.
41353         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41354         getdents system call only if kernel and user dirents have the
41355         same d_ino and d_off.
41357         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41358         LLONG_MAX != LONG_MAX.
41359         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41360         (_fitoa_word): Likewise.
41362         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41363         years.
41364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41365         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41366         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41368         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41369         include <bits/wordsize.h>.  Check __x86_64__ instead of
41370         __WORDSIZE.
41371         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41372         if __x86_64__ is defined.  Use anonymous union on fpstate.
41374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41375         anonymous union.
41377 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41379         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41380         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41381         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41382         Refer to _rtld_local_ro instead of _rtld_global_ro.
41383         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41384         Likewise.
41385         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41386         Likewise.
41387         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41388         Likewise.
41389         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41390         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41391         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41393         * sysdeps/powerpc/powerpc32/dl-machine.c
41394         (__elf_machine_runtime_setup) [PROF]: Don't reference
41395         _dl_prof_resolve.
41397 2012-05-18  Andreas Jaeger  <aj@suse.de>
41399         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41400         function only available for GCCs before 3.4 since GCC 3.4
41401         introduced a builtin.
41402         (lrint): Likewise.
41403         (llrintf): Likewise.
41404         (llrint): Likewise.
41405         (fmaxf): Likewise.
41406         (fmax): Likewise.
41407         (fminf): Likewise.
41408         (fmin): Likewise.
41409         (rint): Likewise.
41410         (rintf): Likewise.
41411         (nearbyint): Likewise.
41412         (nearbyintf): Likewise.
41413         (ceil): Likewise.
41414         (ceilf): Likewise.
41415         (floor): Likewise.
41416         (floorf): Likewise.
41418 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41420         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41421         on both fields and cast pointer to __syscall_ulong_t.
41423         * bits/types.h (__fsword_t): New type.
41424         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41425         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41427         (__FSWORD_T_TYPE): Likewise.
41428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41429         (__FSWORD_T_TYPE): Likewise.
41430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41431         (__FSWORD_T_TYPE): Likewise.
41432         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41433         (__FSWORD_T_TYPE): Likewise.
41434         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41435         __SWORD_TYPE with __fsword_t.
41436         (statfs64): Likewise.
41438 2012-05-17  David S. Miller  <davem@davemloft.net>
41440         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41442 2012-05-17  Andreas Jaeger  <aj@suse.de>
41444         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41445         warning.
41447 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41449         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41451 2012-05-17  Andreas Jaeger  <aj@suse.de>
41453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41454         when it is used.
41456 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41458         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41460 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41462         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41463         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41465 2012-05-17  Andreas Jaeger  <aj@suse.de>
41466             Carlos O'Donell  <carlos_odonell@mentor.com>
41468         [BZ #14059]
41469         * sysdeps/x86_64/multiarch/init-arch.h
41470         (bit_YMM_Usable): Rename to...
41471         (bit_AVX_Usable): ... this.
41472         (bit_FMA4_Usable): New macro.
41473         (bit_XMM_state): New macro.
41474         (bit_YMM_state): New macro.
41475         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41476         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41477         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41478         (CPUID_OSXSAVE): New macro.
41479         (CPUID_AVX): New macro.
41480         (CPUID_FMA4): New macro.
41481         (index_YMM_Usable): Rename to...
41482         (index_AVX_Usable): ... this.
41483         (HAS_AVX): Use HAS_ARCH_FEATURE.
41484         (HAS_FMA4): Likewise.
41485         (HAS_YMM_USABLE): Remove.
41486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41487         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41488         are present.
41489         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41490         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41491         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41492         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41493         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41495 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41497         * math/libm-test.c: Support platforms without multiple rounding modes.
41498         * math/bug-nextafter.c: Support platforms without FP exceptions.
41499         * math/bug-nexttoward.c: Likewise.
41500         * math/test-fenv.c: Likewise.
41501         * math/test-misc.c: Likewise.
41502         * stdlib/bug-getcontext.c: Likewise.
41504 2012-05-17  Andreas Jaeger  <aj@suse.de>
41506         * manual/examples/search.c (critter_cmp): Change signature to
41507         avoid warnings.
41508         * manual/string.texi (Collation Functions): Likewise.
41510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41512         * bits/types.h: Fold copyright years.
41513         * bits/typesizes.h: Likewise.
41514         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41518         * time/time.h: Likewise.
41520 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41522         [BZ #208]
41523         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41524         in instead of returning them.  Return void.
41525         (__libc_mallinfo): Accumulate over all arenas.
41526         (__malloc_stats): Adjust for change in int_mallinfo interface.
41528 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41530         [BZ #10375]
41531         * configure.in (NM): Add AC_CHECK_TOOL for it.
41532         (libc_extra_cflags): New substituted variable.
41533         Check for -fstack-protector being used implicitly.
41534         * configure: Regenerated.
41535         * config.make.in (config-extra-cflags): New variable,
41536         gets @libc_extra_cflags@.
41537         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41539         [BZ #10375]
41540         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41541         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41542         * configure: Regenerated.
41543         * config.make.in (CPPUNDEFS): New substituted variable.
41544         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41545         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41546         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41550         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41551         (mq_attr): Use __syscall_slong_t.
41553 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41555         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41556         Check __x86_64__ instead of __WORDSIZE.
41557         (_STAT_VER_LINUX): Likewise.
41558         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41559         __syscall_ulong_t and __syscall_slong_t.
41560         (stat64): Likewise.
41562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41564         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41568         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41572         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41573         __syscall_ulong_t.
41575         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41576         include <bits/wordsize.h>.  Check __x86_64__ instead of
41577         __WORDSIZE.
41578         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41579         defined.
41580         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41582         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41583         include <bits/wordsize.h>.  Check __x86_64__ instead of
41584         __WORDSIZE.
41585         (user_regs_struct): Use "__extension__ unsigned long long"
41586         instead of "unsigned long" if __x86_64__ is defined.
41587         (user): Likewise.  Pad after pointer field if __ILP32__ is
41588         defined.
41590 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41592         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41593         versions 5 to 9.
41594         * configure: Regenerated.
41595         * manual/install.texi (texinfo): Increase version requirement to
41596         4.5 or later.
41597         * INSTALL: Regenerated.
41599         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41603         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41605         * sysdeps/x86_64/x32/ffs.c: New file.
41607         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41608         __syscall_ulong_t.
41609         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41610         defined.  Use __syscall_ulong_t.
41611         (shminfo): Use __syscall_ulong_t.
41612         (shm_info): Likewise.
41614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41615         __syscall_ulong_t.
41617         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41618         <bits/wordsize.h>.
41619         (msgqnum_t): Use __syscall_ulong_t.
41620         (msglen_t): Likewise.
41621         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41622         __syscall_ulong_t.
41624         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41627         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41629         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41630         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41632         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41633         __syscall_slong_t.
41635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41636         include <bits/wordsize.h>.  Check __x86_64__ instead of
41637         __WORDSIZE.
41639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41640         "unsigned long long int" if __x86_64__ is defined.
41641         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41643         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41644         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41645         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41647         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41648         <stdint.h>.
41649         (GET_PC): Cast to uintptr_t first.
41650         (GET_FRAME): Likewise.
41651         (GET_STACK): Likewise.
41653         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41654         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41659         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41660         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41661         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41663         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41665         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41669         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41673         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41674         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41675         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41676         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41677         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41678         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41679         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41681         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41683 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41685         * Makerules (+depfiles): Also collect depfiles from .oS in
41686         $(extra-objs).
41687         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41688         .oS, $(libnldbl-routines)).
41690         * Makerules (native-compile-mkdep-flags): Define.
41691         * sunrpc/Makefile (extra-objs): Add $(addprefix
41692         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41693         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41694         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41695         calling $(make-target-directory).
41697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41699         * bits/types.h (__snseconds_t): Removed.
41700         * time/time.h (struct timespec): Replace __snseconds_t with
41701         __syscall_slong_t.
41702         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41703         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41704         Likewise.
41705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41706         (__SNSECONDS_T_TYPE): Likewise.
41707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41708         (__SNSECONDS_T_TYPE): Likewise.
41709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41710         (__SNSECONDS_T_TYPE): Likewise.
41712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41714         * sysdeps/mach/hurd/bits/typesizes.h
41715         (__SYSCALL_SLONG_TYPE): New macro.
41716         (__SYSCALL_ULONG_TYPE): Likewise.
41718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41720         * bits/types.h (__syscall_slong_t): New type.
41721         (__syscall_ulong_t): Likewise.
41723         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41724         (__SYSCALL_ULONG_TYPE): Likewise.
41725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41726         (__SYSCALL_SLONG_TYPE): Likewise.
41727         (__SYSCALL_ULONG_TYPE): Likewise.
41728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41729         (__SYSCALL_SLONG_TYPE): Likewise.
41730         (__SYSCALL_ULONG_TYPE): Likewise.
41731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41732         (__SYSCALL_SLONG_TYPE): Likewise.
41733         (__SYSCALL_ULONG_TYPE): Likewise.
41735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41737         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41738         Add sigaltstack-offsets.sym.
41739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41740         <sigaltstack-offsets.h>.
41741         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41742         longjmp_msg pointer.
41743         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41744         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41745         signal stack.
41746         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41748 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41750         * elf/stackguard-macros.h: Remove file.
41751         * sysdeps/generic/stackguard-macros.h: New file.
41752         * sysdeps/i386/stackguard-macros.h: Likewise.
41753         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41754         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41755         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41756         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41757         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41758         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41759         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41760         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41761         <elf/stackguard-macros.h>.
41763         [BZ #14109]
41764         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41765         __aligned__ in attribute.
41766         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41767         (gregset_t): Likewise.
41769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41771         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41772         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41773         * sysdeps/x86_64/x32/Implies-after: New file.
41775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41777         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41778         and access return value for _dl_profile_fixup.  Use R10_LP to
41779         load frame size.
41781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41783         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41787         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41788         * sysdeps/x86_64/x32/sysdep.h: New file.
41790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41792         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41793         * sysdeps/x86_64/setjmp.S: Likewise.
41795 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41798         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41799         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41800         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41801         remove unused global constant.
41803 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41805         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41806         include of <not-cancel.h>.
41808 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41810         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41812 2012-05-15  Jeff Law  <law@redhat.com>
41813             Andreas Jaeger  <aj@suse.de>
41815         [BZ #13594]
41816         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41817         out from...
41818         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41819         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41820         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41821         code changing __hst_map_handle.map.
41823 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41825         * configure.in (sysnames): Look for Implies-before and Implies-after
41826         files.
41827         * configure: Regenerated.
41829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41831         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41832         8-byte data alignment with LP_SIZE alignment.
41834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41836         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41837         into R10_LP.
41839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41841         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41845         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41846         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41847         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41848         Likewise.
41849         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41853         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41854         (stackinfo_sub_sp): Likewise.
41856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41859         RAX_LP.
41861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41863         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41864         into R*_LP.
41866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41868         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41869         sizes into R*_LP.
41871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41873         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41877         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41878         into R11_LP and load __x86_64_shared_cache_size_half into
41879         R8_LP.
41881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41884         R8_LP.
41886 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41889         logb for POWER7.
41890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41891         logbf for POWER7.
41892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41893         logbl for POWER7.
41894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41895         powerpc32/power7/fpu/s_logb.c via #include.
41896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41897         powerpc32/power7/fpu/s_logbf.c via #include.
41898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41899         powerpc32/power7/fpu/s_logbl.c via #include.
41901 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41903         * README.libm: Remove file.
41905 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41907         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41908         count for x32.  Use R*_LP and omit operand-size suffix.
41910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41912         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41913         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41914         * sysdeps/x86_64/x32/shlib-versions: New file.
41916 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41918         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41919         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41920         Use _dl_fatal_printf instead.
41922 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41924         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41925         set if not set by the user.  Do not allow for being unset.
41926         * sysdeps/unix/sysv/linux/configure: Regenerated.
41928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41930         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41931         the `q' suffix from lea and replace .quad with ASM_ADDR.
41933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41936         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41937         instead of $17.
41938         (PTR_DEMANGLE): Likewise.
41940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41942         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41943         (LP_OP): Likewise.
41944         (ASM_ADDR): Likewise.
41945         (RAX_LP): Likewise.
41946         (RBP_LP): Likewise.
41947         (RBX_LP): Likewise.
41948         (RCX_LP): Likewise.
41949         (RDI_LP): Likewise.
41950         (RSI_LP): Likewise.
41951         (RSP_LP): Likewise.
41952         (R8_LP): Likewise.
41953         (R9_LP): Likewise.
41954         (R10_LP): Likewise.
41955         (R10_LP): Likewise.
41956         (R11_LP): Likewise.
41957         (R12_LP): Likewise.
41958         (R13_LP): Likewise.
41959         (R14_LP): Likewise.
41960         (R15_LP): Likewise.
41962 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41964         * sysdeps/x86_64/x32/dl-machine.h: New file.
41966 2012-05-14  Andreas Jaeger  <aj@suse.de>
41968         * manual/Makefile (subdir): Remove export of subdir.
41969         (all): Remove target.
41970         (.PHONY): Remove all from list.
41971         (mkinstalldirs): Remove.
41972         (.PHONY): Remove installdirs from list.
41973         ($(inst_infodir)/libc.info): Use make-target-directory.
41974         (installdirs): Remove.
41975         (subdir_%): Remove.
41976         (glibc-targets): Remove.
41977         (lib): Remove.
41978         (stubs): Remove.
41979         ($(objpfx)stubs ../po/manual.pot): Remove.
41980         ($(objpfx)stamp%): Remove.
41981         (make-target-directory): Remove.
41982         (subdir_install): Remove.
41983         (routines): Remove.
41984         (aux): Remove.
41985         (sources): Remove.
41986         (objects): Remove.
41987         (headers): Remove.
41989         [BZ #13750]
41990         * manual/.gitignore: Remove, it's not needed anymore.
41991         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41992         all files in it.
41993         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41994         directory.
41995         (texis): Renamed to $(objpfx)texis.
41996         (texis-path): New, contains path to generated files.
41997         (chapters.%): Use texis-path for complete path, add extra argument
41998         libc-texinfo.sh.
41999         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42000         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42001         (summary,texi, stamp-summary): Use complete path of
42002         files. Generate files in build dir.
42003         (dir-add.texi): Build in build dir.
42004         (libm-err.texi,stamp-libm-err): Likewise.
42005         (version.texi, stamp-version): Likewise.
42006         (.%c.texi): Likewise.
42007         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42008         (mostlyclean): Remove target.
42009         (realclean): Remove target.
42010         (generated): Add new variable with contents from mostlyclean and
42011         realclean, remove entries duplicated in common-mostlyclean, add
42012         stamp-libm-err and stamp-version.
42013         (generated-dirs): Add libc directory.
42014         ($(inst_infodir)/libc.info): Install files from build dir.
42016         * manual/install.texi (Configuring and compiling): Adjust since
42017         the info files are not part of the tar ball anymore.
42019 2012-05-14  Andreas Jaeger  <aj@suse.de>
42021         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42022         variable.
42024 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42026         [BZ #13717]
42027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42028         to 2.2.0 where earlier.
42029         * sysdeps/unix/sysv/linux/configure: Regenerated.
42030         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42031         Remove conditional code.
42032         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42033         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42034         Remove conditional code.
42035         [!__NR_lchown]: Likewise.
42036         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42037         [__NR_lchown]: Likewise.
42038         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42039         comment referencing __ASSUME_LCHOWN_SYSCALL.
42040         * sysdeps/unix/sysv/linux/i386/sigaction.c
42041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42043         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42044         Remove conditional code.
42045         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42046         (__protocol_available): Remove #if 0 code.
42047         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42048         conditional code.
42049         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42050         * sysdeps/unix/sysv/linux/kernel-features.h
42051         (__ASSUME_GETCWD_SYSCALL): Don't define.
42052         (__ASSUME_REALTIME_SIGNALS): Likewise.
42053         (__ASSUME_PREAD_SYSCALL): Likewise.
42054         (__ASSUME_PWRITE_SYSCALL): Likewise.
42055         (__ASSUME_POLL_SYSCALL): Likewise.
42056         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42057         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42058         non-SPARC.
42059         (__ASSUME_SIOCGIFNAME): Don't define.
42060         (__ASSUME_MSG_NOSIGNAL): Likewise.
42061         (__ASSUME_SENDFILE): Define unconditionally.
42062         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42063         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42064         conditional code.
42065         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42066         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42067         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42068         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42069         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42070         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42071         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42096         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42097         Remove conditional code.
42098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42099         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42100         Remove conditional code.
42101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42102         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42103         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42104         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42105         Remove conditional code.
42106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42107         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42108         Remove conditional code.
42109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42110         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42111         Remove conditional code.
42112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42113         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42114         Remove conditional code.
42115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42116         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42117         Remove conditional code.
42118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42119         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42122         * sysdeps/unix/sysv/linux/sigaction.c
42123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42125         * sysdeps/unix/sysv/linux/sigpending.c
42126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42128         * sysdeps/unix/sysv/linux/sigprocmask.c
42129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42131         * sysdeps/unix/sysv/linux/sigsuspend.c
42132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42134         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42135         (__libc_missing_rt_sigs): Remove.
42136         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42137         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42138         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42139         Remove conditional code.
42140         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42141         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42142         return 1.
42143         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42144         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42145         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42146         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42148 2012-05-14  Andreas Jaeger  <aj@suse.de>
42150         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42151         it's not used in glibc.
42152         (__coshm1): Likewise.
42153         (__acosh1p): Likewise.
42154         (__sgn): Likewise.
42156         * manual/string.texi (Copying and Concatenation): Add missing
42157         variable in concat example.
42158         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42162         [BZ #14103]
42163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42164         __builtin_clzl with __builtin_clzll.
42166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42168         [BZ #14104]
42169         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42170         libc_freeres_ptr.
42172 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42174         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42175         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42176         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42177         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42179 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42181         * NEWS: Update ia64 info.
42183 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42185         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42186         used as bcopy.
42188 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42190         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42191         * sysdeps/unix/syscalls.list (dup3): Likewise.
42192         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42193         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42195 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42197         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42198         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42200 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42202         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42203         thread pointer.
42204         (TLS_IE): Use mov/add instead of movq/addq to load thread
42205         pointer.
42206         (TLS_GD_PREFIX): New.
42207         (TLS_GD): Use it.
42209 2012-05-11  David S. Miller  <davem@davemloft.net>
42211         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42212         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42213         (_FPU_SETCW): Likewise.
42215 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42217         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42218         is 32-byte aligned.
42220 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42222         [BZ #11837]
42223         * iconvdata/gb18030.c: Update tables.
42224         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42225         characters specially.
42226         (BODY for TO_LOOP): Add encoding of missing ranges.
42228 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42230         [BZ #13673]
42231         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42232         * sysdeps/mach/hurd/dup3.c: Likewise.
42233         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42234         * sysdeps/powerpc/memmove.c:: Likewise.
42236 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42239         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42241 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42243         * elf/elf.h (R_X86_64_RELATIVE64): New.
42244         (R_X86_64_NUM): Updated.
42245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42246         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42247         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42248         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42249         tst-quad1pie tst-quad2pie
42250         (modules-names): Add tst-quadmod1 tst-quadmod2.
42251         ($(objpfx)tst-quad1): New dependency.
42252         ($(objpfx)tst-quad2): Likewise.
42253         ($(objpfx)tst-quad1pie): Likewise.
42254         ($(objpfx)tst-quad2pie): Likewise.
42255         * sysdeps/x86_64/tst-quad1.c: New file.
42256         * sysdeps/x86_64/tst-quad1pie.c: New file.
42257         * sysdeps/x86_64/tst-quad2.c: Likewise.
42258         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42259         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42260         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42261         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42262         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42266         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42267         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42268         * streams/stropts.h (t_scalar_t): Define type.
42270         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42271         (_PATH_PRESERVE): Set to "/var/lib".
42272         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42274         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42275         instead of int.
42277         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42278         if __dir_mkfile succeeded.
42280         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42281         checking for _hurd_dtablesize.  Unlock it right after having
42282         finished _hurd_dtable allocation.
42284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42286         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42287         * sysdeps/mach/hurd/configure: Regenerated.
42288         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42289         special-casing to...
42290         * sysdeps/gnu/configure.in: ... this new file.
42291         * sysdeps/unix/sysv/linux/configure: Regenerated.
42292         * sysdeps/gnu/configure: New generated file.
42294         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42295         for Linux: use nsec instead of usec, as well as:
42296         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42297         members of type struct timespec.
42298         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42299         New macros.
42300         (struct stat64): Likewise.
42301         (_STATBUF_ST_NSEC): New macro.
42302         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42305         __strtoul_internal rather than strtoul.
42307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42309         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42310         and reject them.
42312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42314         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42315         which preserves existing values.
42316         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42318 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42320         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42321         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42322         greater than FD_SETSIZE.
42324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42326         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42327         allocated, call __vm_protect to finish enabling the existing space, and
42328         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42329         allocate the remainder.
42331 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42333         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42334         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42338         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42339         sysdeps/mach/hurd/readlink.c.
42341         * posix/tst-sysconf.c (posix_options): Only use
42342         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42343         _POSIX_SYNCHRONIZED_IO when they are defined
42344         * sysdeps/mach/hurd/bits/posix_opt.h:
42345         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42346         (_XOPEN_REALTIME): Undefine macro.
42347         (_XOPEN_REALTIME_THREADS): Undefine macro.
42348         (_XOPEN_SHM): Undefine macro.
42349         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42350         macro to -1.
42351         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42352         macro to -1.
42353         (_POSIX_ASYNC_IO): Undefine macro.
42354         (_POSIX_PRIORITIZED_IO): Undefine macro.
42355         (_POSIX_SPIN_LOCKS): Define macro to -1.
42357         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42358         SA_NODEFER, SA_RESETHAND.
42359         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42360         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42361         F_DUPFD_CLOEXEC.
42363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42365         * elf/Makefile (pldd-modules): Define unconditionally.
42367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42369         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42373         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42374         Return ENOENT when name is empty.
42375         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42379         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42381         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42385         Fix mlock in all cases except non-readable pages.
42386         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42387         instead of VM_PROT_ALL as parameter to __vm_wire function.
42389         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42390         (__mkdir): When path is `/', just fail with EEXIST.
42391         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42395         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42396         <sys/uio.h> (for writev).
42397         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42398         and <sys/param.h> (for MIN).
42400 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42402         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42403         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42404         if interrupted.
42406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42409         Depend on against $(link-rpcuserlibs).
42411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42413         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42414         (__libc_stack_end): Do not use attribute_relro.
42415         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42416         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42417         to libthread-provided value.
42418         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42419         attribute_relro.
42421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42423         [BZ #3748]
42424         * bits/libc-lock.h (__libc_once_get): New macro.
42425         * sysdeps/mach/bits/libc-lock.h: Likewise.
42426         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42428         instead of using implementation details.
42430         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42431         * libio/freopen.c: Likewise.
42432         * libio/freopen64.c: Likewise.
42433         * misc/syslog.c: Likewise.
42434         * nscd/connections.c: Likewise.
42435         * nscd/netgroupcache.c: Likewise.
42436         * sysdeps/posix/getcwd.c: Likewise.
42438 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42440         * math/w_ilogbf.c: Add #include <limits.h>.
42442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42444         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42445         path instead of returning without unlocking.
42447         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42448         immediate-write ioctls.
42449         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42453         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42454         __builtin_frame_address instead of making assumptions about the
42455         location of the return address relative to DATA.  Force early load of
42456         the return address.
42457         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42458         __builtin_frame_address.
42460         dup3 for GNU Hurd.
42461         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42462         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42463         implement dup3 and do some further code clean-ups.
42464         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42465         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42469         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42471         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42472         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42473         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42474         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42475         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42476         d->port.lock.
42478         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42479         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42480         when handler == SIG_ERR, not when handler != SIG_ERR.
42482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42484         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42485         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42486         definitions.
42488         accept4 for GNU Hurd.
42489         * include/sys/socket.h (__libc_accept4): New prototype.
42490         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42491         to implement __libc_accept4.
42492         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42493         __libc_accept4.
42494         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42497         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42498         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42499         signal-defines.sym.
42501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42503         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42507         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42508         assertion on O_CLOEXEC flag.
42509         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42510         * hurd/intern-fd.c: Likewise.
42511         * hurd/port2fd.c: Likewise.
42513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42515         [BZ #3906]
42516         * bits/in.h (IPV6_PKTINFO): Define new macro.
42517         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42519 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42521         [BZ #13954]
42522         [BZ #13955]
42523         [BZ #13956]
42524         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42526         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42527         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42529         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42530         * math/libm-test.inc (logb_test) : Additional logb tests.
42532 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42533             Andreas Jaeger  <aj@suse.de>
42535         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42536         * configure: Regenerated.
42537         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42538         * config.make.in (link-obsolete-rpc): New substituted variable.
42539         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42540         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42541         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42542         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42543         so that libc.a contains the symbols.
42544         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42545         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42546         * sunrpc/auth_none.c: Likewise.
42547         * sunrpc/auth_unix.c: Likewise.
42548         * sunrpc/authdes_prot.c: Likewise.
42549         * sunrpc/authuxprot.c: Likewise.
42550         * sunrpc/clnt_gen.c: Likewise.
42551         * sunrpc/clnt_perr.c: Likewise.
42552         * sunrpc/clnt_raw.c: Likewise.
42553         * sunrpc/clnt_simp.c: Likewise.
42554         * sunrpc/clnt_tcp.c: Likewise.
42555         * sunrpc/clnt_udp.c: Likewise.
42556         * sunrpc/clnt_unix.c: Likewise.
42557         * sunrpc/des_crypt.c: Likewise.
42558         * sunrpc/des_soft.c: Likewise.
42559         * sunrpc/get_myaddr.c: Likewise.
42560         * sunrpc/key_call.c: Likewise.
42561         * sunrpc/key_prot.c: Likewise.
42562         * sunrpc/netname.c: Likewise.
42563         * sunrpc/pm_getmaps.c: Likewise.
42564         * sunrpc/pm_getport.c: Likewise.
42565         * sunrpc/pmap_clnt.c: Likewise.
42566         * sunrpc/pmap_prot.c: Likewise.
42567         * sunrpc/pmap_prot2.c: Likewise.
42568         * sunrpc/pmap_rmt.c: Likewise.
42569         * sunrpc/publickey.c: Likewise.
42570         * sunrpc/rpc_cmsg.c: Likewise.
42571         * sunrpc/rpc_common.c: Likewise.
42572         * sunrpc/rpc_dtable.c: Likewise.
42573         * sunrpc/rpc_prot.c: Likewise.
42574         * sunrpc/rpc_thread.c: Likewise.
42575         * sunrpc/rtime.c: Likewise.
42576         * sunrpc/svc.c: Likewise.
42577         * sunrpc/svc_auth.c: Likewise.
42578         * sunrpc/svc_raw.c: Likewise.
42579         * sunrpc/svc_run.c: Likewise.
42580         * sunrpc/svc_tcp.c: Likewise.
42581         * sunrpc/svc_udp.c: Likewise.
42582         * sunrpc/svc_unix.c: Likewise.
42583         * sunrpc/svcauth_des.c: Likewise.
42584         * sunrpc/xcrypt.c: Likewise.
42585         * sunrpc/xdr.c: Likewise.
42586         * sunrpc/xdr_array.c: Likewise.
42587         * sunrpc/xdr_float.c: Likewise.
42588         * sunrpc/xdr_intXX_t.c: Likewise.
42589         * sunrpc/xdr_mem.c: Likewise.
42590         * sunrpc/xdr_rec.c: Likewise.
42591         * sunrpc/xdr_ref.c: Likewise.
42592         * sunrpc/xdr_sizeof.c: Likewise.
42593         * sunrpc/xdr_stdio.c: Likewise.
42595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42597         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42598         change.  Update copyright years.
42600 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42602         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42604 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42605             Joseph Myers  <joseph@codesourcery.com>
42606             Paul Pluzhnikov  <ppluzhnikov@google.com>
42608         [BZ #14012]
42609         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42610         requiring rpcgen.
42611         [cross-compiling] (extra-libs): Likewise.
42612         [cross-compiling] (extra-libs-others): Likewise.
42613         [cross-compiling] (librpcsvc-routines): Likewise.
42614         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42615         [cross-compiling] (omit-deps): Likewise.
42616         (sunrpc-CPPFLAGS): New variable.
42617         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42618         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42619         (cross-rpcgen-objs): New variable.
42620         (extra-objs): Append $(cross-rpcgen-objs).
42621         ($(cross-rpcgen-objs)): New rule.
42622         ($(objpfx)cross-rpcgen): Likewise.
42623         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42624         comment.
42625         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42626         ($(objpfx)x%.stmp): Likewise.
42627         * sunrpc/proto.h [IS_IN_build] (_): Define.
42628         [IS_IN_build] (_libc_intl_domainname): Likewise.
42630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42633         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42634         and R_X86_64_TPOFF64.
42636 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42638         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42639         sysdeps/unix/sysv/syscalls.list.
42640         (stime): Likewise.
42641         (utime): Likewise.
42642         * sysdeps/unix/sysv/syscalls.list: Remove file.
42644 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42646         [BZ #3440]
42647         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42648         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42649         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42650         (__LC_IDENTIFICATION): Make these macros useful in #if
42651         expressions, as required by C99.
42653 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42655         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42656         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42657         after this.
42659 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42661         * stdlib/longlong.h: Updated from GCC.
42663 2012-05-09  Andreas Jaeger  <aj@suse.de>
42665         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42666         default is first entry.
42667         (run_mode): Set type.
42668         (main): Remove informal message about syslog.
42669         (options): Fix typo.
42671         [BZ #14053]
42672         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42673         to asm.
42674         (lrint): Likewise.
42675         (llrintf): Likewise.
42676         (llrint): Likewise.
42677         (rint): Likewise.
42678         (rintf): Likewise.
42679         (nearbyint): Likewise.
42680         (nearbyintf): Likewise.
42682 2012-05-09  Andreas Jaeger  <aj@suse.de>
42683             Pedro Alves  <palves@redhat.com>
42685         * nscd/nscd.c (run_mode): Use enum.
42686         (main): Cleanup coding style issue.
42688 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42689             Andreas Jaeger  <aj@suse.de>
42691         * nscd/nscd.c (go_background): Replaced with...
42692         (run_mode): ... this.
42693         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42694         (options): Add -F --foreground.
42695         (main): Implement it.
42696         (parse_opt): Parse it.
42698 2012-05-09  Andreas Jaeger  <aj@suse.de>
42700         [BZ #14083]
42701         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42702         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42703         -Wconversion warning.
42704         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42705         Likewise.
42707 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42709         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42710         == 0.
42711         (LC_ALL): Use macro-int-constant.
42712         (LC_COLLATE): Likewise.
42713         (LC_CTYPE): Likewise.
42714         (LC_MESSAGES): Likewise.
42715         (LC_MONETARY): Likewise.
42716         (LC_NUMERIC): Likewise.
42717         (LC_TIME): Likewise.
42718         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42719         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42721         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42722         Specify type.
42723         [C99-based standards] (float_t): Expect type.
42724         [C99-based standards] (double_t): Expect type.
42725         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42726         type.
42727         [C99-based standards] (HUGE_VALL): Likewise.
42728         [C99-based standards] (INFINITY): Likewise.
42729         [C99-based standards] (NAN): Likewise.
42730         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42731         [C99-based standards] (FP_NAN): Likewise.
42732         [C99-based standards] (FP_NORMAL): Likewise.
42733         [C99-based standards] (FP_SUBNORMAL): Likewise.
42734         [C99-based standards] (FP_ZERO): Likewise.
42735         [C99-based standards] (FP_FAST_FMA): Use
42736         optional-macro-int-constant.  Specify type.  Require == 1.
42737         [C99-based standards] (FP_FAST_FMAF): Likewise.
42738         [C99-based standards] (FP_FAST_FMAL): Likewise.
42739         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42740         [C99-based standards] (FP_ILOGBNAN): Likewise.
42741         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42742         Specify type.
42743         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42744         [C99-based standards] (math_errhandling): Specify type.
42745         [ISO99 || ISO11] (signgam): Do not allow.
42746         [non-C99-based standards] (copysignf): Do not allow.
42747         [non-C99-based standards] (exp2f): Likewise.
42748         [non-C99-based standards] (log2f): Likewise.
42749         [non-C99-based standards] (modff): Allow.
42750         [non-C99-based standards] (erff): Do not allow.
42751         [non-C99-based standards] (erfcf): Likewise.
42752         [non-C99-based standards] (gammaf): Likewise.
42753         [non-C99-based standards] (hypotf): Likewise.
42754         [non-C99-based standards] (j0f): Likewise.
42755         [non-C99-based standards] (j1f): Likewise.
42756         [non-C99-based standards] (jnf): Likewise.
42757         [non-C99-based standards] (lgammaf): Likewise.
42758         [non-C99-based standards] (tgammaf): Likewise.
42759         [non-C99-based standards] (y0f): Likewise.
42760         [non-C99-based standards] (y1f): Likewise.
42761         [non-C99-based standards] (ynf): Likewise.
42762         [non-C99-based standards] (isnanf): Likewise.
42763         [non-C99-based standards] (acoshf): Likewise.
42764         [non-C99-based standards] (asinhf): Likewise.
42765         [non-C99-based standards] (atanhf): Likewise.
42766         [non-C99-based standards] (cbrtf): Likewise.
42767         [non-C99-based standards] (expm1f): Likewise.
42768         [non-C99-based standards] (ilogbf): Likewise.
42769         [non-C99-based standards] (log1pf): Likewise.
42770         [non-C99-based standards] (logbf): Likewise.
42771         [non-C99-based standards] (nextafterf): Likewise.
42772         [non-C99-based standards] (remainderf): Likewise.
42773         [non-C99-based standards] (rintf): Likewise.
42774         [non-C99-based standards] (scalbf): Likewise.
42775         [non-C99-based standards] (copysignl): Likewise.
42776         [non-C99-based standards] (exp2l): Likewise.
42777         [non-C99-based standards] (log2l): Likewise.
42778         [non-C99-based standards] (modfl): Allow.
42779         [non-C99-based standards] (erfl): Do not allow.
42780         [non-C99-based standards] (erfcl): Likewise.
42781         [non-C99-based standards] (gammal): Likewise.
42782         [non-C99-based standards] (hypotl): Likewise.
42783         [non-C99-based standards] (j0l): Likewise.
42784         [non-C99-based standards] (j1l): Likewise.
42785         [non-C99-based standards] (jnl): Likewise.
42786         [non-C99-based standards] (lgammal): Likewise.
42787         [non-C99-based standards] (tgammal): Likewise.
42788         [non-C99-based standards] (y0l): Likewise.
42789         [non-C99-based standards] (y1l): Likewise.
42790         [non-C99-based standards] (ynl): Likewise.
42791         [non-C99-based standards] (isnanl): Likewise.
42792         [non-C99-based standards] (acoshl): Likewise.
42793         [non-C99-based standards] (asinhl): Likewise.
42794         [non-C99-based standards] (atanhl): Likewise.
42795         [non-C99-based standards] (cbrtl): Likewise.
42796         [non-C99-based standards] (expm1l): Likewise.
42797         [non-C99-based standards] (ilogbl): Likewise.
42798         [non-C99-based standards] (log1pl): Likewise.
42799         [non-C99-based standards] (logbl): Likewise.
42800         [non-C99-based standards] (nextafterl): Likewise.
42801         [non-C99-based standards] (remainderl): Likewise.
42802         [non-C99-based standards] (rintl): Likewise.
42803         [non-C99-based standards] (scalbl): Likewise.
42804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42805         [non-C99-based standards] (FP_*): Do not allow.
42806         [C99-based standards] (FP_*): Change to
42807         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42808         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42809         allow.
42810         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42811         (SIG_ERR): Likewise.
42812         [X/Open-based standards] (SIG_HOLD): Likewise.
42813         (SIG_IGN): Likewise.
42814         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42815         positive value.
42816         (SIGFPE): Likewise.
42817         (SIGILL): Likewise.
42818         (SIGINT): Likewise.
42819         (SIGSEGV): Likewise.
42820         (SIGTER): Likewise.
42821         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42822         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42823         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42824         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42825         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42826         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42827         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42828         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42829         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42830         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42831         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42832         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42833         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42834         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42835         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42836         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42837         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42838         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42839         [X/Open-based standards] (SIGTRAP): Likewise.
42840         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42841         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42842         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42843         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42844         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42845         allow.
42847 2012-05-08  Ian Wienand  <ianw@vmware.com>
42849         [BZ #14080]
42850         * time/tzset.c (__tzset_parse_tz): Update default rules for
42851         daylight time changes in the Energy Policy Act of 2005.
42853 2012-05-09  Andreas Jaeger  <aj@suse.de>
42855         [BZ #13983]
42856         * elf/ldconfig.c (parse_conf): Change string to make clear that
42857         ldconfig only issued a warning if ld.so.conf does not exist.
42859 2012-05-08  David S. Miller  <davem@davemloft.net>
42861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42862         movxtod instead of popping the value on the stack.
42864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42866 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42868         * config.h.in: Add HAVE_ARM_PCS_VFP.
42870 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42872         [BZ #13979]
42873         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42874         checking but the checks are disabled for any reason.
42876 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42878         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42879         and ELF64_R_TYPE with ELFW(R_TYPE).
42881 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42883         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42884         (ulimit): Likewise.
42886         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42887         (settimeofday): Likewise.
42889 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42891         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42892         a struct th_u2 inside the union, and move tu_block/tu_code into
42893         a new th_u3 union of tu_block/tu_code inside of that.  Move
42894         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42895         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42896         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42897         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42898         (th_stuff): Change to th_u1.tu_stuff.
42899         (th_data): Define.
42900         (th_msg): Change to th_u1.th_u2.tu_data.
42902 2012-05-07  David S. Miller  <davem@davemloft.net>
42904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42906         [BZ #14074]
42907         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42908         (SETUP_PIC_REG): Use it.
42909         (SETUP_PIC_REG_LEAF): Use it.
42911 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42913         [BZ #13885]
42914         [BZ #13923]
42915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42916         USE_AS_EXPM1L.
42917         (EXPL_FINITE): Likewise.
42918         (FLDLOG): Likewise.
42919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42920         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42921         e_expl.S.
42922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42923         USE_AS_EXPM1L.
42924         (EXPL_FINITE): Likewise.
42925         (FLDLOG): Likewise.
42926         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42927         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42928         e_expl.S.
42929         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42930         test of -max_value argument for long double.
42931         * sysdeps/i386/fpu/libm-test-ulps: Update.
42932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42934 2012-05-06  David S. Miller  <davem@davemloft.net>
42936         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42937         quad soft-float symbols whose references which are compiler
42938         generated.
42939         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42941 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42943         [BZ #13884]
42944         [BZ #13914]
42945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42946         USE_AS_EXP10L.
42947         (EXPL_FINITE): Likewise.
42948         (FLDLOG): Likewise.
42949         (c0): Likewise.
42950         (c1): Likewise.
42951         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42952         Adjust comments for base varying.
42953         (__expl_finite): Change alias to EXPL_FINITE.
42954         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42955         e_expl.S.
42956         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42957         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42959         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42961         USE_AS_EXP10L.
42962         (EXPL_FINITE): Likewise.
42963         (FLDLOG): Likewise.
42964         (c0): Likewise.
42965         (c1): Likewise.
42966         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42967         Adjust comments for base varying.
42968         (__expl_finite): Change alias to EXPL_FINITE.
42969         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42970         tests for bugs.
42971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42973         [BZ #14064]
42974         * math/libm-test.inc (check_float_internal): Correct ulp
42975         calculation for subnormal expected results.
42977 2012-05-06  Andreas Jaeger  <aj@suse.de>
42979         * Makeconfig (+math-flags): New, set to -frounding-math.
42980         (+cflags): Add +math-flags so that all of glibc gets compiled with
42981         it.
42983         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42985 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42987         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42988         Disable one test.
42990         [BZ #13787]
42991         [BZ #13922]
42992         [BZ #14036]
42993         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42994         (__ieee754_expl): Allow for and saturate large arguments.
42995         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42996         (u_threshold): Likewise.
42997         (__exp): Call __ieee754_exp before checking for overflow and
42998         underflow.
42999         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43000         (u_threshold): Likewise.
43001         (__expf): Call __ieee754_expf before checking for overflow and
43002         underflow.
43003         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43004         (u_threshold): Likewise.
43005         (__expl): Call __ieee754_expl before checking for overflow and
43006         underflow.
43007         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43008         (__ieee754_expl): Allow for and saturate large arguments.
43009         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43010         missing overflow exception on overflow.
43011         (expm1_test): Do not allow missing overflow exception on overflow.
43013         * sysdeps/i386/fpu/e_expl.c: Move to ...
43014         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43015         rather than using inline asm.
43016         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43017         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43018         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43020         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43021         (nice): Likewise.
43022         (poll): Likewise.
43023         (signal): Likewise.
43024         (time): Likewise.
43025         (times): Likewise.
43027 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43029         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43030         sysdeps/unix/common/syscalls.list.
43031         (fchmod): Likewise.
43032         (fchown): Likewise.
43033         (ftruncate): Likewise.
43034         (getrusage): Likewise.
43035         (gettimeofday): Likewise.
43036         (setpgid): Likewise.
43037         (setregid): Likewise.
43038         (setreuid): Likewise.
43039         (sigaction): Likewise.
43040         (truncate): Likewise.
43041         (vhangup): Likewise.
43042         * sysdeps/unix/common/syscalls.list: Remove file.
43043         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43044         * sysdeps/unix/sysv/linux/Implies: Likewise.
43046 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43048         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43050         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43051         Moved to ...
43052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43053         Here.
43054         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43055         to ...
43056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43057         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43058         to ...
43059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43060         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43061         to ...
43062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43063         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43064         to ...
43065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43066         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43067         to ...
43068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43069         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43070         to ...
43071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43072         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43073         to ...
43074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43075         Here.
43076         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43077         to ...
43078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43079         Here.
43080         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43081         to ...
43082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43083         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43084         Moved to ...
43085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43086         Here.
43087         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43088         to ...
43089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43093         * sysdeps/unix/common/bits/dirent.h: Remove file.
43094         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43096         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43097         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43098         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43099         * sysdeps/unix/bsd/isatty.c: Likewise.
43100         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43101         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43102         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43104 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43106         [BZ #13563]
43107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43108         long double comparison inaccuracies.
43109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43112 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43114         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43115         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43117 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43119         [BZ #14049]
43120         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43121         nonzero digits before rounding a hex value.
43122         * stdlib/tst-strtod.c (tests): Add another test.
43124 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43126         * sysdeps/s390/fpu/libm-test-ulps: Update.
43128 2012-05-03  Andreas Jaeger  <aj@suse.de>
43130         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43131         does not get optimized out.
43132         (malloc_opt_barrier): New.
43134 2012-05-03  Andreas Jaeger  <aj@suse.de>
43135             Roland McGrath  <roland@hack.frob.com>
43137         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43138         intermediate file deletion.
43139         (generated): Add .symlist files.
43141 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43143         [BZ #13775]
43144         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43145         Redirect under this condition.
43146         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43147         [__USE_GNU] (__dprintf_chk): Not under this condition.
43148         [__USE_GNU] (__vdprintf_chk): Likewise.
43149         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43150         under this condition.
43151         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43152         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43153         [__USE_XOPEN2K8] (vdprintf): Likewise.
43154         [__USE_GNU] (__dprintf_chk): Not under this condition.
43155         [__USE_GNU] (__vdprintf_chk): Likewise.
43156         [__USE_GNU] (dprintf): Likewise.
43157         [__USE_GNU] (vdprintf): Likewise.
43159 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43161         * elf/Makefile (common-generated): Set this instead of generated for
43162         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43163         $(all-built-dso)-derived lists.
43165 2012-05-03  Andreas Jaeger  <aj@suse.de>
43167         * sysdeps/i386/fpu/libm-test-ulps: Update.
43169         * FAQ: Removed.
43170         * FAQ.in: Likewise.
43171         * scripts/gen-FAQ.pl: Likewise.
43172         * manual/install.texi (Installation): Point to online location of
43173         FAQ.
43174         * Makefile (files-for-dist): Remove FAQ.
43175         (FAQ): Remove.
43177 2012-05-02  Allan McRae  <allan@archlinux.org>
43179         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43180         (LDFLAGS-reldepmod5.so): Likewise.
43181         (LDFLAGS-reldep6mod1.so): Likewise.
43182         (LDFLAGS-reldep6mod4.so): Likewise.
43183         (LDFLAGS-reldep8mod3.so): Likewise.
43184         (LDFLAGS-unload4mod1.so): Likewise.
43185         (LDFLAGS-unload4mod2.so): Likewise.
43186         (LDFLAGS-tst-initorder): Likewise.
43187         (LDFLAGS-tst-initordera2.so): Likewise.
43188         (LDFLAGS-tst-initordera3.so): Likewise.
43189         (LDFLAGS-tst-initordera4.so): Likewise.
43190         (LDFLAGS-tst-initorderb2.so): Likewise.
43191         (LDFLAGS-noload): Likewise.
43192         (LDFLAGS-next): Likewise.
43193         (LDFLAGS-order2mod1.so): Likewise.
43194         (LDFLAGS-order2mod2.so): Likewise.
43195         (LDFLAGS-tst-initorder2): Likewise.
43196         (LDFLAGS-tst-initorder2a.so): Likewise.
43197         (LDFLAGS-tst-initorder2b.so): Likewise.
43198         (LDFLAGS-tst-initorder2c.so): Likewise.
43199         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43201 2012-05-02  David S. Miller  <davem@davemloft.net>
43203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43205 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43207         [BZ #14055]
43208         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43210 2012-05-02  Andreas Jaeger  <aj@suse.de>
43212         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43213         since we manipulate rounding mode.
43214         (CPPFLAGS-test-idouble.c): Likewise.
43215         (CPPFLAGS-test-ifloat.c): Likewise.
43216         (CFLAGS-test-ldouble.c): Likewise.
43217         (CFLAGS-test-double.c): Likewise.
43218         (CFLAGS-test-float.c): Likewise.
43219         (CFLAGS-test-misc.c): Likewise.
43220         (CFLAGS-test-test-fenv.c): Likewise.
43222 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43224         [BZ #2550]
43225         [BZ #2570]
43226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43227         comparisons to determine direction to adjust input.
43229 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43231         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43232         output to the target.
43234         * scripts/localplt.awk: New file.
43235         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43236         (check-localplt-CFLAGS): Variable removed.
43237         ($(all-built-dso:=.jmprel)): New static pattern rule.
43238         (generated): Add those targets.
43239         (localplt-built-dso): New variable.
43240         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43242         * elf/check-localplt.c: File removed.
43244         * scripts/check-execstack.awk: New file.
43245         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43246         (check-execstack-CFLAGS): Variable removed.
43247         ($(objpfx)check-execstack.h): Target removed.
43248         ($(objpfx)execstack-default): New target.
43249         (generated): Add that instead of check-execstack.h.
43250         ($(all-built-dso:=.phdr)): New static pattern rule.
43251         (generated): Add those targets.
43252         * elf/check-execstack.c: File removed.
43254         * scripts/check-textrel.awk: New file.
43255         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43256         (check-textrel-CFLAGS): Variable removed.
43257         (all-built-dso): Use := to define.o
43258         ($(all-built-dso:=.dyn)): New static pattern rule.
43259         (generated): Add those targets.
43260         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43261         * config.make.in (READELF): New substituted variable.
43262         * elf/check-textrel.c: File removed.
43264 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43266         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43267         allow.
43268         * conform/data/ctype.h-data [C99-based standards] (isblank):
43269         Expect function.
43270         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43271         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43273         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43274         Specify type.  Require positive value.
43275         (EILSEQ): Likewise.
43276         (ERANGE): Likewise.
43277         [ISO || POSIX] (EILSEQ): Do not expect.
43278         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43279         Specify type.  Require positive value.
43280         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43281         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43282         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43283         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43284         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43285         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43286         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43287         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43288         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43289         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43290         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43291         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43292         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43293         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43294         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43295         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43296         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43297         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43298         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43299         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43300         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43301         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43302         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43303         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43304         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43305         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43306         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43307         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43308         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43309         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43310         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43311         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43312         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43313         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43314         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43315         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43316         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43317         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43318         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43319         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43320         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43321         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43322         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43323         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43324         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43325         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43326         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43327         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43328         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43329         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43330         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43331         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43332         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43333         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43334         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43335         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43336         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43337         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43338         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43339         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43340         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43341         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43342         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43343         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43344         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43345         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43346         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43347         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43348         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43349         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43350         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43351         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43352         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43353         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43354         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43355         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43356         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43357         Require >= 2.
43358         (FLT_ROUNDS): Expect as macro, not constant.
43359         (FLT_MANT_DIG): Use macro-int-constant.
43360         (DBL_MANT_DIG): Likewise.
43361         (LDBL_MANT_DIG): Likewise.
43362         (FLT_DIG): Likewise.
43363         (DBL_DIG): Likewise.
43364         (LDBL_DIG): Likewise.
43365         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43366         (DBL_MIN_EXP): Likewise.
43367         (LDBL_MIN_EXP): Likewise.
43368         (FLT_MAX_EXP): Use macro-int-constant.
43369         (DBL_MAX_EXP): Likewise.
43370         (LDBL_MAX_EXP): Likewise.
43371         (FLT_MAX_10_EXP): Likewise.
43372         (DBL_MAX_10_EXP): Likewise.
43373         (LDBL_MAX_10_EXP): Likewise.
43374         (FLT_MAX): Use macro-constant.
43375         (DBL_MAX): Likewise.
43376         (LDBL_MAX): Likewise.
43377         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43378         (DBL_EPSILON): Likewise.
43379         (LDBL_EPSILON): Likewise.
43380         (FLT_MIN): Likewise.
43381         (DBL_MIN): Likewise.
43382         (LDBL_MIN): Likewise.
43383         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43384         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43385         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43386         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43387         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43388         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43389         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43390         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43391         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43392         [ISO11] (FLT_TRUE_MIN): Likewise.
43393         [ISO11] (LDBL_TRUE_MIN): Likewise.
43394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43395         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43396         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43397         (SCHAR_MAX): Likewise.
43398         (UCHAR_MAX): Likewise.
43399         (CHAR_MIN): Likewise.
43400         (CHAR_MAX): Likewise.
43401         (MB_LEN_MAX): Use macro-int-constant.
43402         (SHRT_MIN): Use macro-int-constant.  Specify type.
43403         (SHRT_MAX): Likewise.
43404         (USHRT_MAX): Likewise.
43405         (INT_MAX): Likewise.
43406         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43407         bound negative.
43408         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43409         bound with "U".
43410         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43411         bound with "L".
43412         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43413         bound negative.  Suffix upper bound with "L".
43414         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43415         bound with "UL".
43416         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43417         Specify type.
43418         [C99-based standards] (LLONG_MAX): Likewise.
43419         [C99-based standards] (ULLONG_MAX): Likewise.
43420         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43421         == 0.
43422         [ISO11] (max_align_t): Require type.
43423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43425         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43426         from $CFLAGS, without defining away __attribute__ calls.
43427         (checknamespace): Use $CFLAGS_namespace.
43429         * conform/conformtest.pl (@keywords): Only include C99 keywords
43430         for standards based on C99 or C11.
43432         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43433         Disable tests.
43434         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43435         UNIX98]: Likewise.
43437         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43438         usability of symbols in #if.
43440         * conform/conformtest.pl: If macro or constant types start
43441         "promoted:", expect the symbol to be of the following type
43442         promoted by the integer promotions.
43444         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43445         in one place.  Also handle "macro-constant".
43447         * conform/conformtest.pl: Only accept expected macro values with
43448         "==".  Parse all "macro" lines in one place.
43449         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43451         * conform/conformtest.pl: Handle braced types on "constant" lines
43452         instead of handling "typed-constant".
43453         * conform/data/signal.h-data: Use "constant" instead of
43454         "typed-constant".
43456         * conform/conformtest.pl: Handle "optional-" at start of lines in
43457         one place rather than duplicating several cases.  Handle each
43458         format of "macro" line with initial "optional-".
43460         * conform/conformtest.pl: Only accept expected constant or
43461         optional-constant values with "==".  Parse all "constant" lines in
43462         one place.  Parse all "optional-constant" lines in one place.
43463         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43464         * conform/data/fmtmsg.h-data: Likewise.
43465         * conform/data/netinet/in.h-data: Likewise.
43466         * conform/data/tar.h-data: Likewise.
43467         * conform/data/limits.h-data: Use "==" form on "constant" and
43468         "optional-constant" lines.
43470         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43471         Use -std=c99 for XOPEN2K.
43472         (@knownproblems): Remove.
43473         (newtoken): Don't check %isknown.
43475         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43476         Do not expect macro.
43477         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43478         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43479         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43480         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43481         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43482         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43483         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43484         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43485         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43486         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43487         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43488         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43489         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43490         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43491         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43492         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43493         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43494         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43495         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43496         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43497         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43499         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43500         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43501         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43502         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43503         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43504         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43505         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43506         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43507         [XPG3] (acosh): Likewise.
43508         [XPG3] (asinh): Likewise.
43509         [XPG3] (atanh): Likewise.
43510         [XPG3] (cbrt): Likewise.
43511         [XPG3] (expm1): Likewise.
43512         [XPG3] (ilogb): Likewise.
43513         [XPG3] (log1p): Likewise.
43514         [XPG3] (logb): Likewise.
43515         [XPG3] (nextafter): Likewise.
43516         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43517         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43518         [XPG3] (remainder): Likewise.
43519         [XPG3] (rint): Likewise.
43520         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43521         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43522         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43523         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43524         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43525         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43526         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43527         [UNIX98 || XOPEN2K] (scalb): Expect.
43528         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43529         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43530         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43531         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43532         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43533         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43534         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43535         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43536         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43537         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43538         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43539         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43540         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43541         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43542         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43543         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43544         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43545         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43546         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43547         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43548         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43549         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43550         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43551         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43552         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43553         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43554         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43555         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43556         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43557         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43558         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43559         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43560         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43561         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43562         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43563         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43564         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43565         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43566         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43567         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43568         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43569         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43570         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43571         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43572         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43573         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43574         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43575         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43576         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43577         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43578         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43579         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43580         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43581         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43582         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43583         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43584         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43585         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43586         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43587         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43588         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43589         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43590         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43591         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43592         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43593         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43594         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43595         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43596         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43597         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43598         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43599         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43600         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43601         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43602         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43603         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43604         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43605         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43606         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43607         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43608         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43609         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43610         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43611         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43612         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43613         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43614         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43615         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43616         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43617         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43618         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43619         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43620         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43621         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43622         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43623         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43624         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43625         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43626         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43627         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43628         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43629         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43630         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43631         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43632         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43633         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43634         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43635         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43636         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43637         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43638         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43639         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43640         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43641         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43642         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43643         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43644         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43645         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43646         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43647         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43648         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43649         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43650         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43651         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43652         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43653         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43654         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43655         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43656         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43657         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43658         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43659         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43660         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43661         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43662         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43663         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43664         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43666         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43667         _XOPEN_SOURCE_EXTENDED for XPG4.
43669         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43671         * Makeconfig (localtime): Remove variable.
43672         (inst_localtime-file): Likewise.
43674 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43677         Update.
43678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43679         Update.
43680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43681         Update.
43682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43683         Update.
43684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43685         Update.
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43687         Update.
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43689         Update.
43690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43691         Update.
43692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43693         Update.
43695 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #2550]
43698         [BZ #2570]
43699         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43700         comparisons to determine direction to adjust input.
43701         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43702         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43703         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43704         Likewise.
43705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43706         Likewise.
43707         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43708         Likewise.
43709         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43710         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43711         Likewise.
43712         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43713         Likewise.
43714         * math/libm-test.inc (nexttoward_test): Add more tests.
43716 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43718         [BZ #14040]
43719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43720         in version GLIBC_2.1, not GLIBC_2.0.
43721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43722         Likewise.
43724 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43726         [BZ #13942]
43727         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43728         (1 - x) * (1 + x).
43729         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43730         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43731         * math/libm-test.inc (acos_test): Add more tests.
43732         (asin_test): Likewise.
43733         * sysdeps/i386/fpu/libm-test-ulps: Update.
43734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43736         [BZ #14034]
43737         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43738         of square root.
43739         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43740         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43741         * math/libm-test.inc (acos_test_tonearest): New function.
43742         (acos_test_towardzero): Likewise.
43743         (acos_test_downward): Likewise.
43744         (acos_test_upward): Likewise.
43745         (asin_test_tonearest): Likewise.
43746         (asin_test_towardzero): Likewise.
43747         (asin_test_downward): Likewise.
43748         (asin_test_upward): Likewise.
43749         (main): Call the new functions.
43750         * sysdeps/i386/fpu/libm-test-ulps: Update.
43751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43753         [BZ #13884]
43754         [BZ #13924]
43755         * math/e_exp10.c: Include <float.h>.
43756         (__ieee754_exp10): Handle underflow here rather than multiplying
43757         large negative argument by M_LN10.
43758         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43759         of __ieee754_expf.
43760         * math/e_exp10l.c: Include <float.h>.
43761         (__ieee754_exp10l): Handle underflow here rather than multiplying
43762         large negative argument by M_LN10l.
43763         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43764         spurious overflow exception on underflow.
43766 2012-04-29  Marek Polacek  <polacek@redhat.com>
43768         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43769         (__fortify_function): New macro.
43770         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43771         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43772         __extern_always_inline.
43773         * libio/bits/stdio2.h: Likewise.
43774         * libio/bits/stdio.h: Likewise.
43775         * string/string.h: Likewise.
43776         * string/bits/string3.h: Likewise.
43777         * include/stdio.h: Likewise.
43778         * stdlib/bits/stdlib.h: Likewise.
43779         * stdlib/stdlib.h: Likewise.
43780         * rt/bits/mqueue2.h: Likewise.
43781         * rt/mqueue.h: Likewise.
43782         * posix/bits/unistd.h: Likewise.
43783         * posix/unistd.h: Likewise.
43784         * io/bits/poll2.h: Likewise.
43785         * io/bits/fcntl2.h: Likewise.
43786         * io/fcntl.h: Likewise.
43787         * io/sys/poll.h: Likewise.
43788         * misc/bits/syslog.h: Likewise.
43789         * misc/bits/syslog-ldbl.h: Likewise.
43790         * misc/sys/syslog.h: Likewise.
43791         * socket/bits/socket2.h: Likewise.
43792         * socket/sys/socket.h: Likewise.
43793         * debug/tst-chk1.c: Likewise.
43794         * wcsmbs/bits/wchar2.h: Likewise.
43795         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43796         * wcsmbs/wchar.h: Likewise.
43798 2012-04-29  Andreas Jaeger  <aj@suse.de>
43800         * Makerules (tests): Remove enable-check-abi protection.
43801         (check-abi-warn): Remove.
43802         (check-abi-%): Remove check-abi-warn usage.
43804         * configure.in: Remove check-abi configure option.
43805         * configure: Regenerated.
43806         * config.make.in (enable-check-abi): Remove.
43808 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43810         [BZ #14033]
43811         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43812         double functions to double *_finite functions.
43814         [BZ #13941]
43815         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43816         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43817         LDBL_MIN_EXP.
43818         * stdio-common/Makefile (tests): Add tst-sprintf3.
43819         * stdio-common/tst-sprintf3.c: New file.
43821         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43822         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43824 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43826         * conform/conformtest.pl: Remove duplicate typed-constant
43827         handling.
43829 2012-04-28  David S. Miller  <davem@davemloft.net>
43831         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43832         (check-abi-%): Remove AWK script prerequisite and explicit
43833         abilist directory.
43834         (check-abi): Rewrite to just diff the symlist with the abilist.
43835         (config-tls, config-abi-config): Delete, no longer used.
43836         (update-abi-%): Remove AWK script and explicit abilist directory.
43837         (update-abi): Rewrite to simply compare and conditionally copy the
43838         symlist and the sysdep abilist file.  Remove update-abi-config
43839         checks.
43840         * abilist/ld.abilist: Remove.
43841         * abilist/libBrokenLocale.abilist: Remove.
43842         * abilist/libanl.abilist: Remove.
43843         * abilist/libcrypt.abilist: Remove.
43844         * abilist/libdl.abilist: Remove.
43845         * abilist/librt.abilist: Remove.
43846         * abilist/libthread_db.abilist: Remove.
43847         * abilist/libutil.abilist: Remove.
43848         * scripts/extract-abilist.awk: Remove.
43849         * scripts/merge-abilist.awk: Remove.
43850         * sysdeps/generic/libcidn.abilist: New file.
43851         * sysdeps/generic/libnss_compat.abilist: New file.
43852         * sysdeps/generic/libnss_db.abilist: New file.
43853         * sysdeps/generic/libnss_dns.abilist: New file.
43854         * sysdeps/generic/libnss_files.abilist: New file.
43855         * sysdeps/generic/libnss_hesiod.abilist: New file.
43856         * sysdeps/generic/libnss_nis.abilist: New file.
43857         * sysdeps/generic/libnss_nisplus.abilist: New file.
43858         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43859         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43860         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43861         file.
43862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43863         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43864         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43865         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43866         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43867         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43868         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43869         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43870         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43871         file.
43872         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43873         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43874         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43875         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43876         file.
43877         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43878         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43879         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43880         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43881         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43882         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43883         file.
43884         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43885         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43886         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43887         file.
43888         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43890         New file.
43891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43892         New file.
43893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43894         New file.
43895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43896         New file.
43897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43898         New file.
43899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43900         New file.
43901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43902         New file.
43903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43904         New file.
43905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43906         New file.
43907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43908         New file.
43909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43910         New file.
43911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43912         New file.
43913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43914         New file.
43915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43916         file.
43917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43918         New file.
43919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43920         New file.
43921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43922         file.
43923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43924         New file.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43926         New file.
43927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43928         file.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43930         New file.
43931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43932         New file.
43933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43934         New file.
43935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43936         New file.
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43938         New file.
43939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43940         New file.
43941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43943         file.
43944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43945         New file.
43946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43947         file.
43948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43949         file.
43950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43951         file.
43952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43953         file.
43954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43955         file.
43956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43957         New file.
43958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43959         file.
43960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43961         file.
43962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43963         New file.
43964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43965         file.
43966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43968         file.
43969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43970         New file.
43971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43972         file.
43973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43974         file.
43975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43976         file.
43977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43978         file.
43979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43980         file.
43981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43982         New file.
43983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43984         file.
43985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43986         file.
43987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43988         New file.
43989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43990         file.
43991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43992         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43993         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43994         file.
43995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43996         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43997         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43998         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43999         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44000         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44001         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44002         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44003         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44004         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44007         file.
44008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44009         New file.
44010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44011         file.
44012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44013         file.
44014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44015         file.
44016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44017         file.
44018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44019         file.
44020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44021         New file.
44022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44023         New file.
44024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44025         file.
44026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44027         New file.
44028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44029         file.
44030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44032         file.
44033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44034         New file.
44035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44036         file.
44037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44038         file.
44039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44040         file.
44041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44042         file.
44043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44044         file.
44045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44046         New file.
44047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44048         New file.
44049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44050         file.
44051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44052         New file.
44053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44054         file.
44056 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44058         * conform/conformtest.pl: Fix typo in handling typed-constant from
44059         allow-header.
44061 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44063         * README: Cut down references to pre-2.6 Linux kernels and
44064         Linuxthreads.  Update lists of configurations in libc and ports
44065         and sort alphabetically.  Say "or newer" with Linux kernel version
44066         requirements.
44068         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44070 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44072         [BZ #887]
44073         * math/libm-test.inc (logb_test_downward): New test to expose
44074         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44075         rounding mode.
44077 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44079         [BZ #14027]
44080         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44081         to be done.
44082         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44083         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44085 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44087         * sysdeps/unix/i386/brk.S: Remove file.
44088         * sysdeps/unix/i386/dl-brk.S: Likewise.
44089         * sysdeps/unix/i386/pipe.S: Likewise.
44090         * sysdeps/unix/i386/sigreturn.S: Likewise.
44091         * sysdeps/unix/i386/syscall.S: Likewise.
44092         * sysdeps/unix/i386/vfork.S: Likewise.
44093         * sysdeps/unix/i386/wait.S: Likewise.
44095         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44096         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44098         * configure.in (arm*-none*): Do not allow without
44099         --enable-hacker-mode.
44100         (netbsd*): Remove case setting base_os.
44101         (386bsd*): Likewise.
44102         (freebsd*): Likewise.
44103         (bsdi*): Likewise.
44104         (osf*): Likewise.
44105         (sunos*): Likewise.
44106         (ultrix*): Likewise.
44107         (newsos*): Likewise.
44108         (dynix*): Likewise.
44109         (*bsd*): Likewise.
44110         (sysv*): Likewise.
44111         (isc*): Likewise.
44112         (esix*): Likewise.
44113         (sco*): Likewise.
44114         (minix*): Likewise.
44115         (irix4*): Likewise.
44116         (irix6*): Likewise.
44117         (solaris[2-9]*): Likewise.
44118         (none): Likewise.
44119         * configure: Regenerated.
44121 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44123         [BZ #11521]
44124         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44125         overflow or cancellation in calculating denominator.
44126         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44128         down expression to avoid unexpected rounding in newer GCCs.
44129         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44131 2012-04-26  David S. Miller  <davem@davemloft.net>
44133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44134         long-double compat symbols.
44135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44149 2012-04-25  David S. Miller  <davem@davemloft.net>
44151         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44152         HWCAP_* values only after the memory barriers have been defined.
44153         (atomic_full_barrier): Define.
44154         (atomic_read_barrier): Define.
44155         (atomic_write_barrier): Define.
44157 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44159         * shlib-versions: Add libgcc_s version information.
44160         * sysdeps/generic/libgcc_s.h: Remove.
44161         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44162         libgcc_s.h.
44163         * sysdeps/gnu/unwind-resume.c: Likewise.
44164         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44166 2012-04-25  David S. Miller  <davem@davemloft.net>
44168         * sysdeps/unix/sparc/brk.S: Delete.
44169         * sysdeps/unix/sparc/dl-brk.S: Delete.
44170         * sysdeps/unix/sparc/pipe.S: Delete.
44171         * sysdeps/unix/sparc/sysdep.S: Delete.
44172         * sysdeps/unix/sparc/sysdep.h: Delete.
44173         * sysdeps/unix/sparc/vfork.S: Delete.
44174         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44175         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44176         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44177         (ret_ERRVAL, r0, r1, MOVE): Define.
44178         (JUMPTARGET): Remove.
44179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44180         sysdeps/unix/sparc/sysdep.h
44181         (ENTRY, END): Remove.
44182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44184 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44186         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44187         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44188         -DIS_IN_build.
44190         * timezone/README: Update upstream location and email address for
44191         tzcode and tzdata.
44192         * timezone/zdump.c: Update from tzcode 2012b.
44193         * timezone/zic.c: Likewise.
44195         * configure.in (libc_cv_as_needed): Remove test.
44196         * configure: Regenerated.
44197         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44198         conditional definition.
44199         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44200         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44201         * config.make.in (have-as-needed): Remove variable.
44203 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44204             Paul Pluzhnikov  <ppluzhnikov@google.com>
44206         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44207         strings correctly.
44209 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44211         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44212         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44213         * sysdeps/sh/strlen.S: Likewise.
44215 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44217         * sysdeps/unix/fork.S: Remove file.
44218         * sysdeps/unix/i386/fork.S: Likewise.
44219         * sysdeps/unix/sparc/fork.S: Likewise.
44221         * sysdeps/unix/system.c: Remove file.
44222         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44224         * sysdeps/unix/getegid.S: Remove file.
44225         * sysdeps/unix/geteuid.S: Likewise.
44227 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44229         * scripts/check-localplt.awk: New file.
44230         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44231         of diff.
44232         * scripts/data/localplt-generic.data: Add a comment.
44234         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44235         NODE when __dir_mkfile failed.
44236         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44237         Reported by Ludovic Courtès <ludo@gnu.org>.
44239 2012-04-24  Andreas Jaeger  <aj@suse.de>
44241         * Makerules (common-clean): Also remove gen-as-const-headers
44242         files.
44244 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44246         * Makerules (native-compile): Do not change working directory for
44247         build.  Use $(OUTPUT_OPTION) in command.
44248         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44250 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44252         [BZ #13886]
44253         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44254         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44255         * math/libm-test.inc (floor_test): Add more tests.
44256         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44258 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44260         * sysdeps/unix/getdents.c: Remove file.
44261         * sysdeps/unix/sysv/getdents.c: Likewise.
44262         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44264         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44265         sysdeps/unix/mman/syscalls.list.
44266         (mmap): Likewise.
44267         (mprotect): Likewise.
44268         (msync): Likewise.
44269         (munmap): Likewise.
44270         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44271         * sysdeps/unix/mman/syscalls.list: Remove.
44272         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44274         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44275         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44276         * configure: Regenerated.
44277         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44278         $(libgcc_s_suffix).
44279         * config.make.in (libgcc_s_suffix): Remove variable.
44281 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44283         * sysdeps/unix/sysv/gethostname.c: Move to ...
44284         * sysdeps/posix/gethostname.c: ... here.
44286         * sysdeps/unix/execve.S: Remove file.
44288         * sysdeps/unix/_exit.S: Remove file.
44290 2012-04-23  Andreas Jaeger  <aj@suse.de>
44292         [BZ #13739]
44293         * manual/Makefile: Remove make dist support, there's no
44294         need for a stand-alone documentation tar ball.
44295         (TEXI2DVI): Define always, it's not in Makeconfig.
44296         (dist): Removed.
44297         (tar-it): Removed.
44298         (edition): Removed.
44299         (glibc-doc-$(edition).tar): Removed
44300         (%.Z): Removed.
44301         (%.gz): Removed.
44302         (%.uu): Removed.
44303         (ETAGS): Remove, it's in Makeconfig.
44304         (move-if-change): Remove, it's in Makeconfig.
44306 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44308         [BZ #13970]
44309         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44310         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44311         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44312         (strtod_l, strtof_l, strtold_l): Remove __wur.
44313         It is not necessarily an error to ignore strtol's return value.
44314         One can reliably look at the stored endptr to decide whether
44315         the number had valid syntax.
44317 2012-04-21  Andreas Jaeger  <aj@suse.de>
44319         [BZ #13739]
44320         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44322 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44324         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44325         * sysdeps/unix/sysv/Versions: Remove file.
44327 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44329         [BZ #13927]
44330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44332 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44334         [BZ #7064]
44335         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44336         version from __vm86.
44338 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44340         * sysdeps/unix/common/lxstat.c: Remove file.
44341         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44343         * sysdeps/unix/sysv/Makefile: Remove file.
44345         * sysdeps/unix/sysv/direct.h: Remove file.
44347         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44348         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44349         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44350         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44351         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44352         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44353         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44355         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44357         * sysdeps/unix/xmknod.c: Remove file.
44358         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44360         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44362         * sysdeps/unix/sysv/i386/time.S: Remove file.
44364         * sysdeps/unix/fxstat.c: Remove file.
44365         * sysdeps/unix/xstat.c: Likewise.
44366         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44368         * sysdeps/unix/sysv/sigaction.c: Remove file.
44370         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44371         (sysdep_headers): Remove variable.
44372         [termio.h not in sysdep_headers] (generated): Likewise.
44373         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44374         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44375         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44376         * sysdeps/unix/sysv/tcflow.c: Likewise.
44377         * sysdeps/unix/sysv/tcflush.c: Likewise.
44378         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44379         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44380         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44381         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44382         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44384         * sysdeps/unix/siglist.c: Remove file.
44386         * sysdeps/unix/getppid.S: Remove file.
44388         * sysdeps/unix/mkdir.c: Remove file.
44389         * sysdeps/unix/rmdir.c: Likewise.
44391 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44393         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44394         ERR_MAX value.
44395         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44396         errlist-compat value.
44398 2012-04-18  David S. Miller  <davem@davemloft.net>
44400         * sysdeps/generic/memcopy.h (reg_char): Delete.
44401         * debug/strcat_chk.c: Use char, not reg_char.
44402         * debug/strcpy_chk.c: Likewise.
44403         * debug/strncat_chk.c: Likewise.
44404         * debug/strncpy_chk.c: Likewise.
44405         * string/memchr.c: Likewise.
44406         * string/memrchr.c: Likewise.
44407         * string/rawmemchr.c: Likewise.
44408         * string/strcat.c: Likewise.
44409         * string/strchr.c: Likewise.
44410         * string/strchrnul.c: Likewise.
44411         * string/strcmp.c: Likewise.
44412         * string/strcpy.c: Likewise.
44413         * string/strncat.c: Likewise.
44414         * string/strncmp.c: Likewise.
44415         * string/strncpy.c: Likewise.
44417 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44419         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44420         __builtin_memcopy is called when src and dest ranges are known to not
44421         overlap.
44423 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44425         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44426         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44427         fwd_align_merge macro call.
44428         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44429         bwd_align_merge macro call.
44430         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44435         bwd_align_merge macros.
44436         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44437         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44438         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44440 2012-04-18  David S. Miller  <davem@davemloft.net>
44442         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44444 2012-04-18  Andreas Jaeger  <aj@suse.de>
44446         [BZ# 6794]
44447         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44448         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44449         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44451         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44452         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44453         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44455         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44456         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44457         Adjust for changed ldbl-128 files.
44459         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44460         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44461         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44463 2012-04-17  David S. Miller  <davem@davemloft.net>
44465         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44467 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44469         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44470         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44471         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44472         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44473         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44474         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44476 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44478         [BZ #6794]
44479         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44480         * math/libm-test.inc: Add ilogb errno and exception tests.
44481         * math/w_ilogb.c: New file: ilogb wrapper.
44482         * math/w_ilogbf.c: New file: ilogbf wrapper.
44483         * math/w_ilogbl.c: New file: ilogbl wrapper.
44484         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44485         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44486         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44487         exception being thrown with 0.0 as argument.
44488         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44489         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44490         exception being thrown with 0.0 as argument.
44491         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44492         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44493         exception being thrown with 0.0 as argument.
44494         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44495         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44496         exception being thrown with 0.0 as argument.
44497         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44498         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44499         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44500         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44501         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44502         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44503         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44504         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44505         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44507 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44509         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44510         with altivec.
44512 2012-04-16  Marek Polacek  <polacek@redhat.com>
44514         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44516 2012-04-16  Marek Polacek  <polacek@redhat.com>
44518         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44519         operands of fdivp instruction.
44521 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44523         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44524         * elf/tst-auditmod3b.c: Likewise.
44525         * elf/tst-auditmod4b.c: Likewise.
44526         * elf/tst-auditmod5b.c: Likewise.
44527         * elf/tst-auditmod6b.c: Likewise.
44528         * elf/tst-auditmod6c.c: Likewise.
44529         * elf/tst-auditmod7b.c: Likewise.
44530         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44531         * sysdeps/x86_64/preconfigure.in: Likewise.
44532         * sysdeps/x86_64/preconfigure: Regenerated.
44534 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44536         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44537         __ILP32__.
44539 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44542         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44544 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44546         [BZ #13973]
44547         * locale/iso-639.def: Fix gl language name. Spotted by
44548         Yaron Shahrabani.
44550 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44552         [BZ #2074]
44553         * libio/libio.h (__io_write_fn): Update comment.
44555 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44557         [BZ #2074]
44558         * stdio.texi (Hook Functions): The user provided writer function
44559         is not allowed to return -1.
44561 2012-04-11  David S. Miller  <davem@davemloft.net>
44563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44565 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44567         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44568         Add a leading slash to rtkaio.
44570 2012-04-11  Jim Meyering  <meyering@redhat.com>
44572         [BZ #11959]
44573         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44574         It is not necessarily an error to ignore fwrite's return
44575         value.  One can reliably use ferror to test for errors after
44576         the fact.
44578 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44580         * bits/types.h (__snseconds_t): New type.
44581         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44583         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44585         (__SNSECONDS_T_TYPE): Likewise.
44586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44587         (__SNSECONDS_T_TYPE): Likewise.
44588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44589         (__SNSECONDS_T_TYPE): Likewise.
44591 2012-04-10  Andreas Jaeger  <aj@suse.de>
44593         [BZ #2636]
44594         * manual/time.texi (Processor Time): Return type of times is
44595         elapsed real time since an arbitrary point in the past.
44596         (CPU Time): Move CLK_TCK from here...
44597         (Processor Time): ...to here.  Correct description.
44598         * manual/conf.texi (Constants for Sysconf): Correct description of
44599         _SC_CLK_TCK.
44601 2012-04-10  David S. Miller  <davem@davemloft.net>
44603         [BZ #13967]
44604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44605         where the is a gap between DT_REL(A) and DT_JMPREL.
44607 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44609         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44610         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44611         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44613 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44615         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44616         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44617         (dl_main): Handle --inhibit-cache.
44618         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44619         _dl_inhibit_cache.
44620         * elf/dl-load.c (_dl_map_object): Use it.
44621         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44623 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44625         [BZ #13872]
44626         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44627         (__ieee754_powl): Saturate large exponents rather than testing for
44628         overflow of y*log2(x).
44629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44630         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44631         exceptions.
44633         [BZ #11521]
44634         * math/s_ctan.c: Include <float.h>.
44635         (__ctan): Avoid internal overflow or cancellation in calculating
44636         denominator.
44637         * math/s_ctanf.c: Likewise.
44638         * math/s_ctanl.c: Likewise.
44639         * math/s_ctanh.c: Likewise.
44640         * math/s_ctanhf.c: Likewise.
44641         * math/s_ctanhl.c: Likewise.
44642         * math/libm-test.inc (ctan_test): Add more tests.
44643         (ctanh_test): Likewise.
44644         * sysdeps/i386/fpu/libm-test-ulps: Update.
44645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44647 2012-04-09  Andreas Jaeger  <aj@suse.de>
44649         [BZ #6894]
44650         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44651         is an optional BSD extension.
44653         [BZ #10254]
44654         * manual/stdio.texi (Opening Streams): Document additional fopen
44655         parameters.
44657 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44659         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44660         %eax without telling the compiler.
44662 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44664         [BZ # 13963]
44665         * manual/install.texi: Use sourceware.org.
44667 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44669         [BZ #13873]
44670         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44671         (__ieee754_pow): Generate overflow and underflow using huge*huge
44672         and tiny*tiny rather than just returning constant infinity or zero
44673         for large exponents.
44674         * math/libm-test.inc (pow_test): Require overflow exceptions for
44675         applicable cases of large exponents.
44677         [BZ #706]
44678         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44679         (__ieee754_pow): Use iterative multiplication algorithm only for
44680         integer exponents with absolute value below 1024.  Check for odd
44681         integer exponents when using algorithm for real exponents.
44682         * math/libm-test.inc (pow_test): Add more tests.
44683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44685 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44687         [BZ #13705]
44688         * math/libm-test.inc (exp_test): Do not allow overflow exception
44689         on underflow test.
44691 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44693         [BZ #13705]
44694         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44695         instead of __kernel_standard_f.
44697 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44699         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44700         * sysdeps/x86_64/memset_chk.S: Likewise.
44702 2012-04-08  Andreas Jaeger  <aj@suse.de>
44704         [BZ #10153]
44705         * manual/startup.texi (Environment Access): Describe return value
44706         for putenv and setenv.
44708         [BZ #6895]
44709         * manual/filesys.texi (Directory Entries): Add description for
44710         DT_LNK.
44712         [BZ #6890]
44713         * manual/filesys.texi (Directory Entries): Clarify that it's file
44714         system not operating system in the description of DT_UNKNOWN.
44716         [BZ #6578]
44717         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44719 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44721         [BZ #6649]
44722         * manual/llio.texi (Opening and Closing Files): Add cross
44723         reference to explain mode argument.
44725 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44727         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44728         * sysdeps/x86_64/memset_chk.S: Likewise.
44730 2012-04-07  David S. Miller  <davem@davemloft.net>
44732         * elf/elf.h (R_SPARC_WDISP10): Define.
44733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44734         R_SPARC_SIZE32.
44735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44736         R_SPARC_SIZE64 and R_SPARC_H34.
44738 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44741         conditions and remove no longer applicable assertion.
44743 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44745         * bits/byteswap.h: Include <features.h>.
44746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44749 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44751         * bits/byteswap.h (__bswap_16): Removed.
44752         Include <bits/byteswap-16.h> to get __bswap_16.
44753         * sysdeps/i386/bits/byteswap.h: Likewise.
44754         * sysdeps/s390/bits/byteswap.h: Likewise.
44755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44756         * bits/byteswap-16.h: New file.
44757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44758         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44759         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44760         * string/Makefile (headers): Add bits/byteswap-16.h.
44762 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44764         [BZ #13895]
44765         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44766         extra indirection.
44767         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44768         * nss/tst-nss-static.c: New.
44770 2012-04-06  Robert Millan  <rmh@gnu.org>
44772         [BZ #6486]
44773         * manual/llio.texi (File Position Primitive): lseek
44774         refers to WHENCE when it really means OFFSET.
44776 2012-04-06  Andreas Jaeger  <aj@suse.de>
44778         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44779         strncmp declarations.
44781         * abilist/libc.abilist: Add __poll and __ppoll.
44783 2012-04-05  David S. Miller  <davem@davemloft.net>
44785         * scripts/check-local-headers.sh: Accept a host triplet in the
44786         path matched by the exclude regexp.
44788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44789         definition.
44790         * sysdeps/powerpc/powerpc32/dl-machine.h
44791         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44792         * sysdeps/s390/s390-32/dl-machine.h
44793         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44794         * sysdeps/sparc/sparc32/dl-machine.h
44795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44796         * sysdeps/sparc/sparc64/dl-machine.h
44797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44799         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44800         lazy binding.
44801         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44802         undefined symbol errors.
44804         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44805         DT_NEEDED entries.
44807 2012-04-05  Michael Matz  <matz@suse.de>
44809         [BZ #13592]
44810         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44812 2012-04-05  Andreas Jaeger  <aj@suse.de>
44814         [BZ #13908]
44815         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44816         comment.
44818 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44821         which ROUND is no valid rounding mode.
44823 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44825         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44826         read again.
44827         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44829 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44831         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44832         an exception using FPU order intentionally.
44834 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44836         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44837         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44838         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44839         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44841 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44843         [BZ #12340]
44844         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44845         EINVAL when BUFLEN is too smal.
44847 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44849         [BZ #13553]
44850         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44851         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44853 2012-04-03  Andreas Jaeger  <aj@suse.de>
44855         [BZ #13938]
44856         * manual/setjmp.texi (System V contexts): Fix sentence.
44858         [BZ #13926]
44859         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44860         New macro for this case.
44861         [!__GNUC__] (__bswap_64): New inline function for this case.
44862         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44863         * bits/byteswap.h: Likewise.
44864         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44865         ull, guard with __GLIBC_HAVE_LONG_LONG.
44867         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44868         __GLIBC_HAVE_LONG_LONG.
44870         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44871         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44873 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44875         [BZ #13691]
44876         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44877         inptr and inend, rather than using last_ch.
44879 2012-04-02  David S. Miller  <davem@davemloft.net>
44881         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44882         * stdio-common/printf-parse.h (read_int): Change return type to
44883         'int', return -1 on INT_MAX overflow.
44884         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44885         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44886         overflows INT_MAX.  Check for overflow of in-format-string precision
44887         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44888         SIZE_MAX not INT_MAX for integer overflow test.
44889         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44890         skip the construct in the format string but do not record anything.
44891         * stdio-common/bug22.c: Adjust to test both width/prevision
44892         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44893         explicitly for proper errno values.
44895 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44897         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44898         CHAR_MAX.
44899         * string/test-strcmp.c [! WIDE]: Likewise.
44900         * time/tst-mktime2.c: Likewise for INT_MAX.
44901         * string/test-string.h: #include <sys/param.h> for MIN.
44903         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44904         * sysdeps/i386/init-first.c (init): Likewise.
44905         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44906         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44907         * sysdeps/sh/init-first.c (init): Likewise.
44909 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44911         * po/ru.po: Update from translation team.
44912         * po/vi.po: Likewise.
44914 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44916         * resolv/nss_dns/dns-host.c: Merge copyright years.
44918 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44921         Optimize memcpy with prefetch if
44922         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44923         src, dst pointers have unequal 16 byte alignments.
44925 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44927         [BZ #13928]
44928         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44929         from a CNAME entry and return the minimum ttl for the query.
44930         (gaih_getanswer_slice): Likewise.
44932 2012-03-30  Jeff Law  <law@redhat.com>
44934         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44935         due to long keys.
44936         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44937         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44939         * resolv/nss_dns/dns-host.c: Update copyright year.
44941 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44943         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44944         requests to save a system call.  Fix check that all bytes are sent.
44946         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44947         comments for sendmmsg.
44949 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44951         [BZ #13691]
44952         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44953         with only 1 character between 0x0041 and 0x01b0.
44954         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44955         * wcsmbs/tst-mbsnrtowcs.c: New file.
44957 2012-03-29  David S. Miller  <davem@davemloft.net>
44959         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44960         small copies by hand.
44962 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44964         [BZ #13761]
44965         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44966         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44967         group memberships.
44969 2012-03-28  David S. Miller  <davem@davemloft.net>
44971         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44972         that branches into memcpy.
44973         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44976         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44978         bits.
44979         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44980         implementation too.
44981         * sysdeps/sparc/mempcpy.S: New file.
44983         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44984         the IFUNC routine in the libc case.
44985         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44987         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44988         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44989         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44990         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44991         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44992         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44993         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44994         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44996         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44997         loop to 256 bytes instead of 64 bytes and fix test signedness.
44999         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45000         * sysdeps/sparc/sparc32/Makefile: rather than here...
45001         * sysdeps/sparc/sparc64/Makefile: and here.
45003 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45005         * malloc/mallocbug.c: Avoid warnings about unused variables.
45007 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45009         [BZ #13760]
45010         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45011         in the right place. Discard and retry query if response is
45012         larger than input buffer size.
45014 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45016         [BZ #369]
45017         [BZ #2678]
45018         [BZ #3866]
45019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45020         x for large integer exponent.
45021         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45022         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45023         sign of result as needed afterwards.
45024         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45026         result for underflowing pow the same as for overflow.
45027         (__kernel_standard_l): Handle powl overflow and underflow here
45028         rather than calling __kernel_standard.
45029         * math/libm-test.inc (pow_test): Add more tests.
45031         [BZ #3868]
45032         [BZ #13879]
45033         [BZ #13910]
45034         [BZ #13911]
45035         [BZ #13912]
45036         [BZ #13913]
45037         [BZ #13915]
45038         [BZ #13916]
45039         [BZ #13917]
45040         [BZ #13918]
45041         [BZ #13919]
45042         [BZ #13920]
45043         [BZ #13921]
45044         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45045         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45046         (__kernel_standard_l): New function.
45047         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45048         __kernel_standard.
45049         * math/w_acosl.c (__acosl): Likewise.
45050         * math/w_asinl.c (__asinl): Likewise.
45051         * math/w_atan2l.c (__atan2l): Likewise.
45052         * math/w_atanhl.c (__atanhl): Likewise.
45053         * math/w_coshl.c (__coshl): Likewise.
45054         * math/w_exp10l.c (__exp10l): Likewise.
45055         * math/w_exp2l.c (__exp2l): Likewise.
45056         * math/w_fmodl.c (__fmodl): Likewise.
45057         * math/w_hypotl.c (__hypotl): Likewise.
45058         * math/w_j0l.c (__j0l, __y0l): Likewise.
45059         * math/w_j1l.c (__j1l, __y1l): Likewise.
45060         * math/w_jnl.c (__jnl, __ynl): Likewise.
45061         * math/w_lgammal.c (__lgammal): Likewise.
45062         * math/w_log10l.c (__log10l): Likewise.
45063         * math/w_log2l.c (__log2l): Likewise.
45064         * math/w_logl.c (__logl): Likewise.
45065         * math/w_powl.c (__powl): Likewise.
45066         * math/w_remainderl.c (__remainderl): Likewise.
45067         * math/w_scalbl.c (sysv_scalbl): Likewise.
45068         * math/w_sinhl.c (__sinhl): Likewise.
45069         * math/w_sqrtl.c (__sqrtl): Likewise.
45070         * math/w_tgammal.c (__tgammal): Likewise.
45071         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45072         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45073         * math/libm-test.inc (acos_test): Add more tests.
45074         (acosh_test): Likewise.
45075         (asin_test): Likewise.
45076         (atanh_test): Likewise.
45077         (exp_test): Likewise.
45078         (exp10_test): Likewise.
45079         (exp2_test): Likewise.
45080         (expm1_test): Likewise.
45081         (lgamma_test): Likewise.
45082         (log_test): Likewise.
45083         (log10_test): Likewise.
45084         (log1p_test): Likewise.
45085         (log2_test): Likewise.
45086         (pow_test): Do not allow some spurious overflow exceptions.
45087         (sqrt_test): Add more tests.
45088         (tgamma_test): Likewise.
45089         (y0_test): Likewise.
45090         (y1_test): Likewise.
45091         (yn_test): Likewise.
45093 2012-03-27  Anton Blanchard  <anton@samba.org>
45095         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45096         MAP_HUGETLB.
45097         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45098         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45099         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45101 2012-03-27  David S. Miller  <davem@davemloft.net>
45103         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45105         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45106         have-as-vis3 check.
45108 2012-03-27  Andreas Jaeger  <aj@suse.de>
45110         * sysdeps/x86_64/elf/configure.in: Moved to ...
45111         * sysdeps/x86_64/configure.in: ... here.
45112         * sysdeps/x86_64/elf/start.S: Moved to ...
45113         * sysdeps/x86_64/start.S: ... here.
45114         * sysdeps/x86_64/elf/configure: Delete.
45116         * sysdeps/x86_64/configure.in: Merge contents from
45117         sysdeps/i386/configure.in (without i686 check).
45119         * sysdeps/i386/elf/Versions: Merge into ...
45120         * sysdeps/i386/Versions: ... this.
45121         * sysdeps/i386/elf/Versions: Delete file.
45122         * sysdeps/i386/elf/start.S: Moved to ...
45123         * sysdeps/i386/start.S: ...here.
45124         * sysdeps/i386/elf/configure.in: Merge into...
45125         * sysdeps/i386/configure.in: ...here.
45126         * sysdeps/i386/elf/configure.in: Delete file.
45127         * sysdeps/i386/elf/configure: Delete file.
45129         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45130         * debug/backtracesyms.c: ... here.
45131         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45132         * debug/backtracesymsfd.c: ... here.
45133         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45134         * sysdeps/generic/ifunc-sel.h: ... here.
45136         * sysdeps/unix/i386/start.c: Delete file.
45137         * sysdeps/unix/sparc/start.c: Delete file.
45138         * sysdeps/unix/start.c: Delete file.
45140         * sysdeps/sh/elf/configure.in: Moved to ...
45141         * sysdeps/sh/configure.in: ... here.
45142         * sysdeps/sh/elf/start.S: Moved to ...
45143         * sysdeps/sh/start.S: ... here.
45144         * sysdeps/sh/elf/configure: Delete file.
45146         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45147         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45148         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45149         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45150         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45151         * sysdeps/powerpc/powerpc64/start.S: here.
45152         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45153         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45154         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45155         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45156         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45158         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45159         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45160         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45161         * sysdeps/powerpc/powerpc32/start.S: ... here.
45162         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45163         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45164         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45166         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45167         * sysdeps/powerpc/ifunc-sel.h: ... here.
45168         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45169         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45171         * sysdeps/sparc/elf/configure.in: Moved to ...
45172         * sysdeps/sparc/configure.in: ... here.
45173         * sysdeps/sparc/elf/configure: Delete file.
45174         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45175         * sysdeps/sparc/sparc32/start.S: ... here.
45176         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45177         * sysdeps/sparc/sparc64/start.S: ... here.
45178         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45179         * sysdeps/sparc/sparc32/Makefile: ... this.
45180         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45181         * sysdeps/sparc/sparc64/Makefile: ... this.
45183         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45184         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45185         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45186         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45187         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45188         * sysdeps/s390/s390-32/setjmp.S: ... here.
45189         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45190         * sysdeps/s390/s390-32/configure.in: ... here.
45191         * sysdeps/s390/s390-32/elf/configure: Delete file.
45192         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45193         * sysdeps/s390/s390-32/start.S: ... here.
45195         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45196         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45197         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45198         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45199         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45200         * sysdeps/s390/s390-64/setjmp.S: ... here.
45201         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45202         * sysdeps/s390/s390-64/configure.in: ... here
45203         * sysdeps/s390/s390-64/elf/configure: Delete file.
45204         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45205         * sysdeps/s390/s390-64/start.S: ... here.
45206         * sysdeps/s390/s390-64/elf/configure: Delete.
45208         * configure.in: Remove support for elf directories in sysdeps.
45210         * configure: Regenerated.
45211         * sysdeps/i386/configure: Regenerated.
45212         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45213         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45214         * sysdeps/s390/s390-32/configure: Regenerated.
45215         * sysdeps/s390/s390-64/configure: Regenerated.
45216         * sysdeps/sh/configure: Regenerated.
45217         * sysdeps/sparc/configure: Regenerated.
45218         * sysdeps/x86_64/configure: Regenerated.
45220 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45225         denormal result into account.
45227 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45229         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45230         Reported by Allan McRae <allan@archlinux.org>.
45232 2012-03-23  Jeff Law  <law@redhat.com>
45234         * nss/getnssent.c (__nss_getent): Fix typo.
45236 2012-03-23  David S. Miller  <davem@davemloft.net>
45238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45240 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45242         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45243         to pad to uint64_t for each field.
45244         (dl_tls_index): Replace unsigned long with uint64_t.
45246 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45247         Paul Pluzhnikov  <ppluzhnikov@google.com>
45249         [BZ #6528]
45250         * grp/Makefile (otherlibs): Don't set it.
45251         * inet/Makefile (otherlibs): Likewise.
45252         * login/Makefile (otherlibs): Likewise.
45253         * nscd/Makefile (otherlibs): Likewise.
45254         * posix/Makefile (otherlibs): Likewise.
45255         * pwd/Makefile (otherlibs): Likewise.
45256         * rt/Makefile (otherlibs): Likewise.
45257         * sunrpc/Makefile (otherlibs): Likewise.
45258         * nss/Makefile (otherlibs): Likewise.
45259         Add libnss_files to routines and static-only-routines.
45260         ($(objpfx)getent): Remove rule.
45261         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45262         static-only-routines.
45264 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45266         [BZ #13892]
45267         * math/s_cexp.c: Include <float.h>.
45268         (__cexp): Handle exp result overflowing not necessarily
45269         overflowing both real and imaginary parts of result.
45270         * math/s_cexpf.c: Likewise.
45271         * math/s_cexpl.c: Likewise.
45272         * math/libm-test.inc (cexp_test): Add more tests.
45273         * sysdeps/i386/fpu/libm-test-ulps: Update.
45274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45276 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45278         * include/link.h (ELFW): New macro.
45279         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45280         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45282 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45284         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45285         with uint64_t.
45287 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45289         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45290         declaration.
45291         (struct La_x32_retval): Likewise.
45293 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45295         * sysdeps/x86_64/preconfigure.in: New file.
45296         * sysdeps/x86_64/preconfigure: New generated file.
45298 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45300         [BZ #13824]
45301         * math/e_exp2l.c: Include <float.h>.
45302         (__ieee754_exp2l): Handle overflow and underflow cases
45303         separately.  Only pass fractional part of argument to
45304         __ieee754_expl.
45305         * math/libm-test.inc (exp2_test): Add more tests.
45307         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45308         negating x to take absolute value.
45309         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45310         Likewise.
45311         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45312         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45313         Likewise.
45314         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45315         computing low part if x was negated.
45316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45318 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45320         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45321         la_x32_gnu_pltexit.
45322         (pltexit): Cast int_retval to ptrdiff_t.
45323         * elf/tst-auditmod3b.c: Likewise.
45324         * elf/tst-auditmod4b.c: Likewise.
45325         * elf/tst-auditmod5b.c: Likewise.
45326         * elf/tst-auditmod6b.c: Likewise.
45327         * elf/tst-auditmod6c.c: Likewise.
45328         * elf/tst-auditmod7b.c: Likewise.
45330         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45331         and x32_gnu_pltexit.
45333         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45334         __ELF_NATIVE_CLASS.
45335         (La_x32_regs): New macro.
45336         (La_x32_retval): Likewise.
45337         (la_x32_gnu_pltenter): New function prototype.
45338         (la_x32_gnu_pltexit): Likewise.
45340 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45342         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45343         exponent.
45345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45347         * configure.in (libc_cv_cc_nofma): Check for option to disable
45348         generation of FMA instructions.
45349         * configure: Regenerate.
45350         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45351         * sysdeps/ieee754/dbl-64/Makefile: New file.
45352         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45353         Remove brandred-fma4.
45354         (CFLAGS-brandred-fma4.c): Remove.
45355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45356         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45357         define.
45358         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45359         define.
45361 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45363         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45364         LLONG_MAX != LONG_MAX.
45365         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45366         (_fitoa_word): Likewise.
45367         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45368         LLONG_MAX != LONG_MAX.
45369         * stdio-common/_itowa.h: Include <_itoa.h>.
45370         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45371         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45372         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45373         only if not defined.
45374         (_ITOA_WORD_TYPE): Likewise.
45375         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45376         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45378 2012-03-21  David S. Miller  <davem@davemloft.net>
45380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45382 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45384         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45385         of x86_64 when setting libc_cv_slibdir, libdir and
45386         libc_cv_localedir.
45387         * sysdeps/unix/sysv/linux/configure: Regenerated.
45389 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45391         * manual/lang.texi (Old Varargs): Remove section.
45392         (How Variadic): Update menu.
45393         (va_start): Do not mention varargs.h.
45395 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45396             Joseph Myers  <joseph@codesourcery.com>
45398         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45399         link test.
45400         * configure: Regenerated.
45402 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45404         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45405         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45406         conformtest.pl
45408 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45410         * NOTES: Remove.
45411         * Makefile (files-for-dist): Remove NOTES.
45412         (NOTES): Remove rule.
45413         * README: Don't refer to NOTES.
45414         * manual/creature.texi: Don't include macros.texi.
45415         * manual/intro.texi (creature.texi): Remove comment referring to
45416         NOTES.
45418         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45419         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45420         * configure: Regenerated.
45421         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45422         LIBC_TRY_CC_OPTION.
45423         (libc_cv_as_i686): Likewise.
45424         (libc_cv_cc_avx): Likewise.
45425         (libc_cv_cc_sse2avx): Likewise.
45426         (libc_cv_cc_fma4): Likewise.
45427         (libc_cv_cc_novzeroupper): Likewise.
45428         * sysdeps/i386/configure: Regenerated.
45430         [BZ #13883]
45431         * sysdeps/i386/fpu/s_cexp.S: Remove.
45432         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45433         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45434         * math/libm-test.inc (cexp_test): Add more tests.
45435         * sysdeps/i386/fpu/libm-test-ulps: Update.
45436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45438 2012-03-21  Allan McRae  <allan@archlinux.org>
45440         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45442 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45444         [BZ #13871]
45445         * math/w_exp2.c: Do not include <float.h>.
45446         (o_threshold, u_threshold): Remove.
45447         (__exp2): Calculate result before checking finiteness and calling
45448         __kernel_standard.
45449         * math/w_exp2f.c: Likewise.
45450         * math/w_exp2l.c: Likewise.
45451         * math/libm-test.inc (exp2_test): Require overflow exception for
45452         1e6 input.
45454         [BZ #3866]
45455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45456         range of signed 64-bit integers before using fistpll.  Remove
45457         checks for whether integers fit in mantissa bits.
45458         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45459         the range of signed 32-bit integers before using fistpl.  Remove
45460         checks for whether integers fit in mantissa bits.
45461         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45462         (__ieee754_powl): Test for y outside the range of signed 64-bit
45463         integers before using fistpll.  Reduce 64-bit values to 63-bit
45464         ones as needed.
45465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45466         divide-by-zero is raised for zero to large negative powers.
45467         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45468         (__ieee754_powl): Test for y outside the range of signed 64-bit
45469         integers before using fistpll.  Reduce 64-bit values to 63-bit
45470         ones as needed.
45471         * math/libm-test.inc (pow_test): Add more tests.
45473 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45475         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45476         <stdio-common/_itoa.h>.
45477         * debug/segfault.c: Likewise.
45478         * elf/dl-cache.c: Likewise.
45479         * elf/dl-minimal.c: Likewise.
45480         * elf/dl-misc.c: Likewise.
45481         * elf/dl-sysdep.c: Likewise.
45482         * elf/dl-version.c: Likewise.
45483         * elf/rtld.c: Likewise.
45484         * hurd/hurdsock.c: Likewise.
45485         * hurd/lookup-retry.c: Likewise.
45486         * malloc/malloc.c: Likewise.
45487         * malloc/mtrace.c: Likewise.
45488         * nscd/nscd_getgr_r.c: Likewise.
45489         * nscd/nscd_getpw_r.c: Likewise.
45490         * nscd/nscd_getserv_r.c: Likewise.
45491         * posix/getopt_init.c: Likewise.
45492         * posix/wordexp.c: Likewise.
45493         * stdio-common/_itoa.c: Likewise.
45494         * stdio-common/printf_fphex.c: Likewise.
45495         * stdio-common/vfprintf.c: Likewise.
45496         * string/_strerror.c: Likewise.
45497         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45498         * sysdeps/i386/i686/hp-timing.h: Likewise.
45499         * sysdeps/mach/_strerror.c: Likewise.
45500         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45501         * sysdeps/mach/hurd/sethostid.c: Likewise.
45502         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45503         * sysdeps/mach/xpg-strerror.c: Likewise.
45504         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45506         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45507         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45509         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45511         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45512         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45513         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45514         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45515         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45516         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45517         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45518         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45519         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45520         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45522         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45523         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45524         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45526         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45528         * stdio-common/_itoa.h: Moved to ...
45529         * sysdeps/generic/_itoa.h: Here.
45531         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45533         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45534         instead of "_itoa.h" and "_itowa.h".
45535         * stdio-common/vfprintf.: Likewise.
45537 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45539         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45540         <bits/wordsize.h>.
45541         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45542         (__signbit): Likwise.
45543         (llrintf): Likwise.
45544         (llrint): Likwise.
45546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45548         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45549         __WORDSIZE != 64.
45551 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45553         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45554         OVERFLOW_EXCEPTION_OK.
45555         * math/libm-test.inc ("Philosophy"): Update comment about
45556         exception testing.
45557         (OVERFLOW_EXCEPTION): Define.
45558         (OVERFLOW_EXCEPTION_OK): Likewise.
45559         (INVALID_EXCEPTION_OK): Renumber.
45560         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45561         (IGNORE_ZERO_INF_SIGN): Likewise.
45562         (test_exceptions): Handle FE_OVERFLOW.
45563         (exp10_test): Expect overflow exceptions.
45564         (exp2_test): Likewise.
45565         (expm1_test): Likewise.
45566         (nextafter_test): Likewise.
45567         (pow_test): Likewise.
45568         (scalbn_test): Likewise.
45569         (scalbln_test): Likewise.
45571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45573         * sysdeps/x86_64/bits/atomic.h
45574         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45575         64bit integer.
45576         (atomic_exchange_acq): Likewise.
45577         (__arch_exchange_and_add_body): Likewise.
45578         (__arch_add_body): Likewise.
45579         (atomic_add_negative): Likewise.
45580         (atomic_add_zero): Likewise.
45582 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45584         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45585         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45589         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45590         Check __x86_64__ instead of __WORDSIZE.
45592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45594         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45596 2012-03-19  David S. Miller  <davem@davemloft.net>
45598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45600         * sysdeps/sparc/fpu/fenv_private.h: New file.
45601         * sysdeps/sparc/fpu/math_private.h: Use it.
45602         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45603         Remove.
45604         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45605         (libc_feholdexcept_setroundl): Remove.
45606         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45607         Remove.
45608         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45609         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45611 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45613         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45614         int64_t instead of long int.
45615         (INSERT_WORDS64): Likwise.
45617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45619         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45620         _Unwind_GetCFA return to _Unwind_Ptr first.
45622 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45624         [BZ #13629]
45625         * math/s_clog.c: Include <float.h>.
45626         (__clog): Scale large or subnormal inputs.
45627         * math/s_clogf.c: Likewise.
45628         * math/s_clogl.c: Likewise.
45629         * math/s_clog10.c: Include <float.h>.
45630         (M_LOG10_2): Define.
45631         (__clog10): Scale large or subnormal inputs.
45632         * math/s_clog10f.c: Likewise.
45633         * math/s_clog10l.c: Likewise.
45634         * math/libm-test.inc (clog_test): Add more tests.
45635         (clog10_test): Likewise.
45636         * sysdeps/i386/fpu/libm-test-ulps: Update.
45637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45639         [BZ #11451]
45640         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45641         x and y.
45642         * math/libm-test.inc (atan2_test): Add another test.
45644         * Makerules (common-objdir-compile): Remove.
45645         * sysdeps/unix/Makefile (config-generated): Do not add
45646         $(unix-generated) to variable.
45647         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45648         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45649         Remove rule.
45650         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45651         Likewise.
45652         [generic bits/local_lim.h] (before-compile): Do not append to
45653         variable.
45654         [generic bits/local_lim.h] (common-generated): Likewise.
45655         [generic sys/param.h] (before-compile): Do not append to variable.
45656         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45657         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45658         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45659         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45660         include.
45661         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45662         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45663         [generic sys/param.h] ($(addprefix
45664         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45665         [generic sys/param.h] (common-generated): Do not append to
45666         variable.
45667         [generic sys/param.h] (sysdep_headers): Likewise.
45668         [generic bits/errno.h] (before-compile): Do not append to
45669         variable.
45670         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45671         rule.
45672         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45673         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45674         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45675         [generic bits/errno.h] (common-generated): Do not append to
45676         variable.
45677         [generic bits/ioctls.h] (before-compile): Do not append to
45678         variable.
45679         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45680         rule.
45681         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45682         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45683         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45684         rule.
45685         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45686         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45687         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45688         [generic bits/ioctls.h] (common-generated): Do not append to
45689         variable.
45690         [generic sys/syscall.h] (syscall.h): Remove variable.
45691         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45692         rule.
45693         [generic sys/syscall.h] (before-compile): Do not append to
45694         variable.
45695         [generic sys/syscall.h] (common-generated): Likewise.
45696         * sysdeps/unix/errnos-tmpl.c: Remove file.
45697         * sysdeps/unix/errnos.awk: Likewise.
45698         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45699         * sysdeps/unix/ioctls.awk: Likewise.
45700         * sysdeps/unix/mk-local_lim.c: Likewise.
45701         * sysdeps/unix/snarf-ioctls: Likewise.
45703 2012-03-19  Richard Henderson  <rth@twiddle.net>
45705         * sysdeps/i386/fpu/fenv_private.h: New file.
45706         * sysdeps/i386/fpu/math_private.h: Use it.
45707         (math_opt_barrier, math_force_eval): Remove.
45708         (libc_feholdexcept_setround_53bit): Remove.
45709         (libc_feupdateenv_53bit): Remove.
45710         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45711         (math_opt_barrier, math_force_eval): Remove.
45712         (libc_feholdexcept): Remove.
45713         (libc_feholdexcept_setround): Remove.
45714         (libc_fetestexcept, libc_fesetenv): Remove.
45715         (libc_feupdateenv_test): Remove.
45716         (libc_feupdateenv, libc_feholdsetround): Remove.
45717         (libc_feresetround): Remove.
45719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45720         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45722         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45723         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45724         (libc_feupdateenv_testl): New.
45725         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45726         (libc_feupdateenv_testf): New.
45727         (libc_feupdateenv): Use libc_feupdateenv_test.
45728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45731         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45732         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45733         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45734         (libc_feresetround_noex): New.
45735         (libc_feresetround_noexf): New.
45736         (libc_feresetround_noexl): New.
45737         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45738         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45739         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45741         SET_RESTORE_ROUND.
45742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45744         (__cos): Likewise.
45745         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45746         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45747         SET_RESTORE_ROUND_NOEX.
45748         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45749         SET_RESTORE_ROUND_NOEXF.
45750         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45751         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45752         (libc_feholdsetroundf): New.
45753         (libc_feresetround, libc_feresetroundf): New.
45755         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45756         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45757         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45759         * sysdeps/generic/math_private.h: Include <fenv.h>.
45760         (default_libc_feholdexcept): New.
45761         (default_libc_feholdexcept_setround): New.
45762         (default_libc_fesetenv, default_libc_feupdateenv): New.
45763         (libc_feholdexcept): Only define if undefined.
45764         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45765         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45766         (libc_feholdexcept_setroundl): Likewise.
45767         (libc_feholdexcept_setround_53bit): Likewise.
45768         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45769         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45770         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45771         (libc_feupdateenv_53bit): Likewise.
45772         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45773         (libc_feholdexcept): Convert from macro to inline function.
45774         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45775         (libc_fesetenv, libc_feupdateenv): Likewise.
45777         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45778         not previously defined.
45779         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45780         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45781         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45783         * sysdeps/ieee754/flt-32/math_private.h: New file.
45784         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45785         math_private.h below SET_FLOAT_WORD.
45786         (__isnan, __isinf_ns, __finite): Remove.
45787         (__isnanf, __isinf_nsf, __finitef): Remove.
45789 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45793 2012-03-17  David S. Miller  <davem@davemloft.net>
45795         [BZ #6471]
45796         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45797         for 2.16.
45799 2012-03-16  David S. Miller  <davem@davemloft.net>
45801         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45802         warnings.
45804         [BZ #6471]
45805         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45806         properly.
45807         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45808         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45809         sysdep_routines when subdir is sysvipc.
45810         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45811         __getshmlba helper.
45813         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45815 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45817         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45818         [__LP64__].
45820 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45822         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45823         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45824         (__lround): Renamed to ...
45825         (__llround): This.  Replace long int with long long int.
45826         Define lround functions as aliases of llround functions.
45827         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45831         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45832         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45833         adresses to uintptr_t.  Replace "long int" and "unsigned long
45834         int" with "greg_t" on va_arg.
45836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45838         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45839         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45841         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45842         Move e_machine check before EI_CLASS check.  Handle x32
45843         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45844         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45845         SKIP_EM_IA_64 and include
45846         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45848         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45849         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45850         (add_system_dir): New macro.
45852         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45853         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45855 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45857         [BZ #2551]
45858         [BZ #2552]
45859         [BZ #2553]
45860         [BZ #2554]
45861         [BZ #2562]
45862         [BZ #2563]
45863         [BZ #2565]
45864         [BZ #2566]
45865         [BZ #2576]
45866         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45867         (y0): Likewise.
45868         * math/w_j0f.c (j0f): Likewise.
45869         (y0f): Likewise.
45870         * math/w_j0l.c (__j0l): Likewise.
45871         (__y0l): Likewise.
45872         * math/w_j1.c (j1): Likewise.
45873         (y1): Likewise.
45874         * math/w_j1f.c (j1f): Likewise.
45875         (y1f): Likewise.
45876         * math/w_j1l.c (__j1l): Likewise.
45877         (__y1l): Likewise.
45878         * math/w_jn.c (jn): Likewise.
45879         (yn): Likewise.
45880         * math/w_jnf.c (jnf): Likewise.
45881         (ynf): Likewise.
45882         * math/w_jnl.c (__jnl): Likewise.
45883         (__ynl): Likewise.
45884         * math/libm-test.inc (j0_test): Add more tests.
45885         (j1_test): Likewise.
45886         (jn_test): Likewise.  Add trailing semicolon to existing test.
45887         (y0_test): Likewise.
45888         (y1_test): Likewise.
45889         * sysdeps/i386/fpu/libm-test-ulps: Update.
45890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45892         [BZ #13851]
45893         [BZ #13854]
45894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45895         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45896         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45898         (__tanl): Set errno for infinite argument.
45899         * sysdeps/i386/fpu/mptan.c: Remove.
45900         * sysdeps/i386/fpu/s_tan.S: Likewise.
45901         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45902         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45903         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45904         * math/libm-test.inc (tan_test): Add more tests and enable more
45905         tests for double and long double.
45906         * sysdeps/i386/fpu/libm-test-ulps: Update.
45907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45909 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45911         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45912         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45914 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45916         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45917         * configure.in: Use it for both main tree and add-ons.
45918         * configure: Regenerated.
45920 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45922         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45924 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45926         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45927         in comment.
45929         [BZ #13851]
45930         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45931         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45932         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45933         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45934         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45935         infinite argument.
45936         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45938         != 0 for prec == 2.
45939         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45940         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45941         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45942         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45943         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45944         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45945         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45946         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45947         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45948         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45949         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45950         * math/libm-test.inc (cos_test): Add more tests and enable more
45951         tests for long double.
45952         (sin_test): Likewise.
45953         (sincos_test): Likewise.
45954         * sysdeps/i386/fpu/libm-test-ulps: Update.
45955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45957 2012-03-16  David S. Miller  <davem@davemloft.net>
45959         * sysdeps/sparc/fpu/math_private.h: New file.
45961 2012-03-15  David S. Miller  <davem@davemloft.net>
45963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45964         file.
45965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45967         file.
45968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45974         sysdep routines.
45975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45977         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45978         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45980         * sysdeps/sparc/sparc-ifunc.h: New file.
45981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45982         sparc-ifunc.h
45983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45985         Likewise.
45986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45987         Likewise.
45988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45992         Likewise.
45993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45998         Likewise.
45999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46000         Likewise.
46001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46024         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46026 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46028         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46029         scaling.
46030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46032 2012-03-15  Andreas Jaeger  <aj@suse.de>
46034         [BZ #13852]
46035         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46036         ieee754/flt-32 implementation for sin, cos and sincos.
46037         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46038         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46039         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46040         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46041         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46042         ieee754/flt-32 implementation for tan.
46044         * math/libm-test.inc (cos_test): Enable some large input tests for
46045         float as well
46046         (sin_test): Likewise.
46047         (sincos_test): Likewise.
46048         (tan_test): Add tests for large input.
46050         * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 2012-03-15  Andreas Jaeger  <aj@suse.de>
46054         [BZ #13658]
46055         * math/libm-test.inc (cos_test): Add more test cases.
46056         (sin_test): Likewise.
46057         (sincos_test): Likewise.
46059 2012-03-15  Andreas Jaeger  <aj@suse.de>
46061         [BZ #13837]
46062         * math/libm-test.inc (cos_test): Add a test case for large input
46063         value.
46064         (sin_test): Likewise.
46065         (sincos_test): Likewise.
46067 2012-03-15  Andreas Jaeger  <aj@suse.de>
46068             Joseph Myers  <joseph@codesourcery.com>
46070         [BZ #13658]
46071         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46072         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46073         * sysdeps/i386/fpu/branred.c: Likewise.
46074         * sysdeps/i386/fpu/dosincos.c: Likewise.
46075         * sysdeps/i386/fpu/mpa.c: Likewise.
46076         * sysdeps/i386/fpu/s_cos.S: Likewise.
46077         * sysdeps/i386/fpu/s_sin.S: Likewise.
46078         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46079         * sysdeps/i386/fpu/sincos32.c: Likewise.
46081         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46082         Define.
46083         (libc_feupdateenv_53bit): Define.
46084         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46085         Define.
46086         (libc_feupdateenv_53bit): Define.
46088         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46089         53 bit (without extend i386 double precision).
46091         * math/libm-test.inc (sincos_test): Add tests for large input.
46092         (sin): Likewise.
46093         (cos): Likewise.
46095         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46097 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46101 2012-03-15  David S. Miller  <davem@davemloft.net>
46103         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46104         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46105         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46106         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46119         file.
46120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46122         file.
46123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46125         file.
46126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46128         file.
46129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46131         fmin/fmax sysdep routines.
46132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46134 2012-03-14  David S. Miller  <davem@davemloft.net>
46136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46165         routines.
46166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46167         file.
46168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46170         file.
46171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46173         file.
46174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46176         file.
46177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46179         file.
46180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46182         file.
46183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46184         file.
46185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46186         file.
46187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46188         file.
46189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46190         New file.
46191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46192         file.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46194         file.
46195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46197         file.
46198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46200         file.
46201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46203         file.
46204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46206         VIS3 routines.
46208         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46209         New file.
46211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46213         * sysdeps/sparc/configure.in: New file.
46214         * sysdeps/sparc/configure: Generate.
46215         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46216         * configure: Regenerate.
46217         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46218         * config.make.in (have-as-vis3): New.
46219         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46220         available use -Av9d instead of -Av9a.
46221         * sysdeps/sparc/sparc64/Makefile: Likewise.
46222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46224         New file.
46225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46226         file.
46227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46228         New file.
46229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46230         file.
46231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46237         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46238         fzeros/fnegs to load 0x80000000 into a float register instead of
46239         using the stack.
46240         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46242 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46245         bits/syscall.h.
46246         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46247         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46248         ($(inst_includedir)/bits/syscall.h): Remove rule.
46249         ($(objpfx)bits/syscall.d): Include instead of
46250         $(objpfx)syscall-list.d.
46251         (generated): Change syscall-list.h and syscall-list.d to
46252         bits/syscall.h and bits/syscall.d.
46254 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46256         [BZ #13846]
46257         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46259 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46261         [BZ #13841]
46262         * math/s_csqrt.c: Include <float.h>.
46263         (__csqrt): Scale large or subnormal inputs.
46264         * math/s_csqrtf.c: Likewise.
46265         * math/s_csqrtl.c: Likewise.
46266         * math/libm-test.inc (csqrt_test): Add more tests.
46267         * sysdeps/i386/fpu/libm-test-ulps: Update.
46268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46270         [BZ #13840]
46271         * math/libm-test.inc (hypot_test): Add more tests.
46273 2012-03-13  David S. Miller  <davem@davemloft.net>
46275         [BZ #13840]
46276         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46277         double-precision for the calculation instead of scaling.
46279 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46281         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46282         manipulate bits before adding and subtracting TWO52[sx].
46283         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46284         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46285         Likewise.
46286         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46288 2012-03-13  David S. Miller  <davem@davemloft.net>
46290         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46291         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46293         rtld-global-offsets.h
46294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46296         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46297         large parameters.
46299         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46301         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46302         'err' in the ifdef scope in which it is actually used.
46304         * nss/nss_db/db-init.c: Include string.h
46306 2012-03-12  David S. Miller  <davem@davemloft.net>
46308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46309         masking out of the most significant byte of random value used.
46310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46311         Fix coding style in previous change.
46313         * sysdeps/unix/sysv/linux/kernel-features.h
46314         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46315         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46316         expression.
46317         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46318         later.
46320 2012-03-11  David S. Miller  <davem@davemloft.net>
46322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46323         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46325         for 'resultvar' otherwise things get truncated on 64-bit.
46327         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46328         Fix masking out of the most significant byte of random value used.
46330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46332 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46336 2012-03-09  David S. Miller  <davem@davemloft.net>
46338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46339         variables with appropriate CPP guards.
46340         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46341         from the frame pointer, not the stack pointer.  Correct layout
46342         comments.  Fix test on resulting framesize and the management of
46343         the outregs buffer for pltexit.  Preserve floating point return
46344         values across _dl_call_pltexit call.
46345         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46346         framesize and the management of the outregs buffer for pltexit.
46347         Preserve floating point return values across _dl_call_pltexit
46348         call.
46349         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46350         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46351         (la_sparc64_gnu_pltexit): New functions.
46352         (print_exit): Fix format string for return register value.
46354 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46356         * sunrpc/Makefile (others): Add rpcgen.
46357         ($(objpfx)rpcgen): Remove special build rule and dependency on
46358         libc.
46359         * sunrpc/rpcgen.c: New file.
46361 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46363         [BZ #13673]
46364         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46365         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46366         * sysdeps/i386/crti.S: Likewise.
46367         * sysdeps/i386/crtn.S: Likewise.
46368         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46369         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46370         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46371         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46372         * sysdeps/sh/crti.S: Likewise.
46373         * sysdeps/sh/crtn.S: Likewise.
46374         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46376         [BZ #13673]
46377         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46378         with URL.
46379         * locale/programs/locfile-kw.gperf: Likewise.
46380         * locale/programs/charmap-kw.h: Regenerated.
46381         * locale/programs/locfile-kw.h: Likewise.
46383         [BZ #13673]
46384         * intl/plural.y: Replace FSF snail mail address with URL.
46385         * intl/plural.c: Regenerated.
46387 2012-03-09  Richard Henderson  <rth@twiddle.net>
46389         * include/math_private.h: Remove file.
46390         * math/math_private.h: Move file ...
46391         * sysdeps/generic/math_private.h: ... here.
46393         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46394         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46395         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46397         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46398         and <math_private.h>.
46399         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46400         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46401         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46402         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46403         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46405         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46408         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46411         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46412         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46413         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46414         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46415         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46417         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46418         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46420         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46421         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46423         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46425         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46429         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46433         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46434         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46435         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46436         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46437         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46439         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46440         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46441         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46442         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46443         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46445         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46446         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46447         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46448         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46449         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46450         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46451         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46452         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46453         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46454         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46456         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46457         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46458         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46460         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46461         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46462         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46463         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46467         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46468         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46473         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46478         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46480         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46482         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46486         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46487         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46488         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46489         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46490         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46492         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46493         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46494         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46495         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46496         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46497         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46499         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46500         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46501         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46502         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46503         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46504         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46505         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46506         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46507         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46508         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46509         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46510         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46511         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46513         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46516         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46517         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46518         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46519         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46520         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46521         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46522         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46523         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46524         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46525         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46526         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46527         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46528         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46529         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46530         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46531         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46532         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46533         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46534         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46535         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46536         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46537         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46538         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46539         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46540         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46541         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46542         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46543         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46544         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46545         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46546         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46547         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46548         * sysdeps/ieee754/k_standard.c: Likewise.
46549         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46550         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46551         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46552         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46553         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46554         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46556         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46557         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46558         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46559         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46560         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46561         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46562         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46563         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46564         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46565         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46566         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46567         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46568         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46569         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46570         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46573         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46574         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46575         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46576         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46579         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46583         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46584         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46585         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46586         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46590         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46591         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46592         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46593         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46594         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46597         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46600         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46602         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46604         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46605         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46606         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46607         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46610         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46611         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46621         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46622         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46625         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46626         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46633         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46635         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46636         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46637         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46639         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46640         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46641         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46642         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46647         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46648         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46653         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46656         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46657         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46658         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46660         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46661         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46662         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46663         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46664         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46665         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46667         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46668         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46669         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46670         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46671         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46673         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46674         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46682         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46683         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46684         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46685         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46686         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46687         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46688         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46689         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46691         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46692         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46693         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46694         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46695         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46696         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46697         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46698         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46700         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46703         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46704         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46705         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46706         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46708         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46709         * sysdeps/ieee754/s_lib_version.c: Likewise.
46710         * sysdeps/ieee754/s_matherr.c: Likewise.
46711         * sysdeps/ieee754/s_signgam.c: Likewise.
46712         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46714         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46715         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46716         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46717         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46718         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46719         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46720         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46721         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46722         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46723         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46724         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46725         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46726         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46729         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46730         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46734 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46736         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46737         * sunrpc/rpc_main.c: Likewise.
46738         * sunrpc/rpc_svcout.c: Likewise.
46740 2012-03-09  David S. Miller  <davem@davemloft.net>
46742         * include/math_private.h: New file.
46744 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46746         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46747         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46748         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46749         from <bits/socket_type.h>.
46750         (enum __socket_type): Don't define here.
46751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46753         bits/socket_type.h.
46755         [BZ #13566]
46756         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46757         checking __USE_GNU.
46759         * Makerules ($(inst_includedir)/%.h): New rule.
46760         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46761         (install-others): Remove variable setting.
46762         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46764 2012-03-08  Richard Henderson  <rth@twiddle.net>
46766         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46767         from macro to inline function; merge with the
46768         !__LIBC_INTERNAL_MATH_INLINES version.
46769         (__ieee754_sqrtf): Likewise.
46771         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46772         to inline function.
46773         (__rintf, __floor, __floorf): Likewise.
46775         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46776         macro to inline function.
46777         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46779         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46780         not <math/math_private.h>.
46782 2012-03-08  David S. Miller  <davem@davemloft.net>
46784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46785         copyright year.
46786         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46788 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46790         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46791         normalization.
46792         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46793         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46795 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46797         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46798         be defined individually, they must be defined as a block.  Define
46799         S for printing a string instead of hidint the different by using a
46800         macro for adding the 'l'.
46801         * stdio-common/tst-fphex-wide.c: Adjust.
46803 2012-03-07  Marek Polacek  <polacek@redhat.com>
46805         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46807 2012-03-08  Marek Polacek  <polacek@redhat.com>
46809         [BZ #13806]
46810         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46811         * stdio-common/tst-fphex.c: Define a few macros to make the
46812         test reusable.  Use them.
46813         * stdio-common/tst-fphex-wide.c: New file.
46815 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46817         [BZ #6911]
46818         * manual/macros.texi (gnusystems): New macro.
46819         (nongnusystems): Likewise.
46820         (gnulinuxhurdsystems): Likewise.
46821         (gnuhurdsystems): Likewise..
46822         (gnulinuxsystems): Likewise.
46823         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46824         variants of the GNU system, not "GNU system".
46825         * manual/conf.texi: Likewise.
46826         * manual/errno.texi: Likewise.  Update example of errno macro
46827         expansion.
46828         * manual/filesys.texi: Likewise.
46829         (getumask): Document as specific to GNU/Hurd.
46830         * manual/install.texi: Likewise.  Reword some references to
46831         GNU/Linux.
46832         * manual/intro.texi: Likewise.
46833         * manual/io.texi: Likewise.
46834         (File Name Portability): Detail which constraints are inapplicable
46835         to all GNU systems and which are only inapplicable to GNU/Hurd.
46836         * manual/job.texi: Likewise.
46837         * manual/llio.texi: Likewise.
46838         (O_NOCTTY): Document as present on GNU/Linux.
46839         * manual/maint.texi: Likewise.
46840         * manual/memory.texi: Likewise.
46841         * manual/pattern.texi: Likewise.
46842         * manual/pipe.texi: Likewise.
46843         * manual/process.texi: Likewise.
46844         * manual/resource.texi: Likewise.
46845         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46846         child on GNU/Hurd.
46847         * manual/setjmp.texi: Likewise.
46848         * manual/signal.texi: Likewise.
46849         * manual/startup.texi: Likewise.
46850         * manual/stdio.texi: Likewise.
46851         * manual/terminal.texi: Likewise.
46852         (ONLCR): Document as POSIX.
46853         (OXTABS): Document availability on GNU/Linux as XTABS.
46854         (ONOEOT): Document availability separately from other bits.
46855         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46856         * manual/time.texi: Likewise.
46857         * manual/users.texi: Likewise.
46858         * INSTALL: Regenerated.
46859         * sysdeps/gnu/errlist.c: Regenerated.
46861         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46862         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46863         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46864         puts.
46865         * configure: Regenerated.
46867 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46869         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46870         default includes instead of AC_HEADER_CHECK.
46871         * sysdeps/i386/configure: Regenerated.
46873         [BZ #10716]
46874         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46875         * math/s_cacoshf.c (__cacoshf): Likewise.
46876         * math/s_cacoshl.c (__cacoshl): Likewise.
46877         * math/s_casinh.c (__casinh): Set signs of result from argument.
46878         * math/s_casinhf.c (__casinhf): Likewise.
46879         * math/s_casinhl.c (__casinhl): Likewise.
46880         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46881         (casinh_test): Add more tests.
46882         * sysdeps/i386/fpu/libm-test-ulps: Update.
46883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46885 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46887         * po/zh_TW.po: Update from translation team.
46889         * login/Makefile (distribute): Remove variable.
46890         * catgets/Makefile: Likewise.
46891         * mach/Makefile: Likewise.
46892         * malloc/Makefile: Likewise.
46893         * misc/Makefile: Likewise.
46894         * iconv/Makefile: Likewise.
46895         * nscd/Makefile: Likewise.
46896         * hurd/Makefile: Likewise.
46897         * manual/Makefile: Likewise.
46898         * locale/Makefile: Likewise.
46899         * intl/Makefile: Likewise.
46900         * conform/Makefile: Likewise.
46901         * nss/Makefile: Likewise.
46902         * time/Makefile: Likewise.
46903         * soft-fp/Makefile: Likewise.
46904         * dirent/Makefile: Likewise.
46905         * gmon/Makefile: Likewise.
46906         * po/Makefile: Likewise.
46907         * rt/Makefile: Likewise.
46908         * socket/Makefile: Likewise.
46909         * math/Makefile: Likewise.
46910         * signal/Makefile: Likewise.
46911         * debug/Makefile: Likewise.
46912         * elf/Makefile: Likewise.
46913         * timezone/Makefile: Likewise.
46914         * stdlib/Makefile: Likewise.
46915         * iconvdata/Makefile: Likewise.
46916         * sunrpc/Makefile: Likewise.
46917         * io/Makefile: Likewise.
46918         * argp/Makefile: Likewise.
46919         * inet/Makefile: Likewise.
46920         * hesiod/Makefile: Likewise.
46921         * grp/Makefile: Likewise.
46922         * csu/Makefile: Likewise.
46923         * wctype/Makefile: Likewise.
46924         * crypt/Makefile: Likewise.
46925         * libio/Makefile: Likewise.
46926         * string/Makefile: Likewise.
46927         * nis/Makefile: Likewise.
46928         * resolv/Makefile: Likewise.
46929         * stdio-common/Makefile: Likewise.
46930         * wcsmbs/Makefile: Likewise.
46931         * dlfcn/Makefile: Likewise.
46932         * posix/Makefile: Likewise.
46934         [BZ #6959]
46935         * timezone/Makefile: Don't install timezone files, just the programs
46936         and scripts.
46938 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46940         * nss/databases.def: Add missing gshadow entry.
46942         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46944 2012-03-06  Marek Polacek  <polacek@redhat.com>
46946         [BZ #13726]
46947         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46948         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46949         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46950         * stdio-common/tst-long-dbl-fphex.c: New file.
46952 2012-03-06  David S. Miller  <davem@davemloft.net>
46954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46955         (set_obp_int): New function.
46956         (get_obp_int): New function.
46957         (__get_clockfreq_via_dev_openprom): Likewise.
46958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46959         Avoid unused variable warnings on 'val' and use builtin_expect.
46960         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46961         __builtin_expect.
46962         (INLINE_CLONE_SYSCALL): Likewise.
46964 2012-03-05  David S. Miller  <davem@davemloft.net>
46966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46968 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46973         only for |x| >= 40.
46974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46976 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46978         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46979         Replace gettimeofday with __vdso_gettimeofday.
46981         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46982         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46983         __vdso_clock_gettime and __vdso_getcpu.
46985         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46986         time with __vdso_time.
46988 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46990         * manual/lang.texi (size_t): Note types to which size_t may be
46991         equivalent with the GNU C Library, but do not describe when
46992         differences between them are significant.
46994 2012-03-05  Andreas Jaeger  <aj@suse.de>
46996         * sysdeps/i386/fpu/libm-test-ulps: Update.
46998 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47000         [BZ #3976]
47001         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47002         (__ieee754_pow): Save and restore rounding mode and use
47003         round-to-nearest for main computations.
47004         * math/libm-test.inc (pow_test_tonearest): New function.
47005         (pow_test_towardzero): Likewise.
47006         (pow_test_downward): Likewise.
47007         (pow_test_upward): Likewise.
47008         (main): Call the new functions.
47009         * sysdeps/i386/fpu/libm-test-ulps: Update.
47010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47012         [BZ #3976]
47013         * math/libm-test.inc (cosh_test_tonearest): New function.
47014         (cosh_test_towardzero): Likewise.
47015         (cosh_test_downward): Likewise.
47016         (cosh_test_upward): Likewise.
47017         (sinh_test_tonearest): Likewise.
47018         (sinh_test_towardzero): Likewise.
47019         (sinh_test_downward): Likewise.
47020         (sinh_test_upward): Likewise.
47021         (main): Call the new functions.
47022         * sysdeps/i386/fpu/libm-test-ulps: Update.
47023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47025 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47027         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47028         default stack guard is set in last bytes.
47029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47031 2012-03-05  Kees Cook  <keescook@chromium.org>
47033         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47035         [BZ #13656]
47036         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47037         possibly allocate from heap instead of stack.
47038         * stdio-common/bug-vfprintf-nargs.c: New file.
47039         * stdio-common/Makefile (tests): Add nargs overflow test.
47041 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47045 2012-03-03  Marek Polacek  <polacek@redhat.com>
47047         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47048         * math/math_private.h: Likewise.
47049         * stdlib/tst-strtod.c: Likewise.
47050         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47051         * sysdeps/x86_64/bits/atomic.h: Likewise.
47053 2012-03-02  David S. Miller  <davem@davemloft.net>
47055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47059         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47060         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47061         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47062         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47064 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47066         [BZ #13792]
47067         * manual/examples/README: New file, says the example source files
47068         can be used under GPL>=2.
47069         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47070         line containing just "*/".
47071         * manual/examples/add.c: Add copyright header (GPL>=2).
47072         * manual/examples/argp-ex1.c: Likewise.
47073         * manual/examples/argp-ex2.c: Likewise.
47074         * manual/examples/argp-ex3.c: Likewise.
47075         * manual/examples/argp-ex4.c: Likewise.
47076         * manual/examples/atexit.c: Likewise.
47077         * manual/examples/db.c: Likewise.
47078         * manual/examples/dir.c: Likewise.
47079         * manual/examples/dir2.c: Likewise.
47080         * manual/examples/execinfo.c: Likewise.
47081         * manual/examples/filecli.c: Likewise.
47082         * manual/examples/filesrv.c: Likewise.
47083         * manual/examples/fmtmsgexpl.c: Likewise.
47084         * manual/examples/genpass.c: Likewise.
47085         * manual/examples/inetcli.c: Likewise.
47086         * manual/examples/inetsrv.c: Likewise.
47087         * manual/examples/isockad.c: Likewise.
47088         * manual/examples/longopt.c: Likewise.
47089         * manual/examples/memopen.c: Likewise.
47090         * manual/examples/memstrm.c: Likewise.
47091         * manual/examples/mkfsock.c: Likewise.
47092         * manual/examples/mkisock.c: Likewise.
47093         * manual/examples/mygetpass.c: Likewise.
47094         * manual/examples/pipe.c: Likewise.
47095         * manual/examples/popen.c: Likewise.
47096         * manual/examples/rprintf.c: Likewise.
47097         * manual/examples/search.c: Likewise.
47098         * manual/examples/select.c: Likewise.
47099         * manual/examples/setjmp.c: Likewise.
47100         * manual/examples/sigh1.c: Likewise.
47101         * manual/examples/sigusr.c: Likewise.
47102         * manual/examples/stpcpy.c: Likewise.
47103         * manual/examples/strdupa.c: Likewise.
47104         * manual/examples/strftim.c: Likewise.
47105         * manual/examples/strncat.c: Likewise.
47106         * manual/examples/subopt.c: Likewise.
47107         * manual/examples/swapcontext.c: Likewise.
47108         * manual/examples/termios.c: Likewise.
47109         * manual/examples/testopt.c: Likewise.
47110         * manual/examples/testpass.c: Likewise.
47111         * manual/examples/timeval_subtract.c: Likewise.
47113         [BZ #13792]
47114         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47115         function to ...
47116         * manual/timeval_subtract.c.texi: ... here, new file.
47118 2012-03-02  David S. Miller  <davem@davemloft.net>
47120         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47122 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47124         [BZ #3976]
47125         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47126         (__sin): Save and restore rounding mode and use round-to-nearest
47127         for all computations.
47128         (__cos): Save and restore rounding mode and use round-to-nearest
47129         for all computations.
47130         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47131         <fenv.h>.
47132         (tan): Save and restore rounding mode and use round-to-nearest for
47133         all computations.
47134         * math/libm-test.inc (cos_test_tonearest): New function.
47135         (cos_test_towardzero): Likewise.
47136         (cos_test_downward): Likewise.
47137         (cos_test_upward): Likewise.
47138         (sin_test_tonearest): Likewise.
47139         (sin_test_towardzero): Likewise.
47140         (sin_test_downward): Likewise.
47141         (sin_test_upward): Likewise.
47142         (tan_test_tonearest): Likewise.
47143         (tan_test_towardzero): Likewise.
47144         (tan_test_downward): Likewise.
47145         (tan_test_upward): Likewise.
47146         (main): Call the new functions.
47147         * sysdeps/i386/fpu/libm-test-ulps: Update.
47148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47150         [BZ #10135]
47151         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47152         small n, then large n, before computing and testing k+n.
47153         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47155         Likewise.
47156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47157         Likewise.
47158         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47159         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47164         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47166         * math/libm-test.inc (scalbn_test): Add more tests.
47167         (scalbln_test): Likewise.
47169         * manual/filesys.texi (mode_t): Describe constraints on size and
47170         signedness, not exact equivalence to a particular type.
47171         (ino_t): Likewise.
47172         (ino64_t): Likewise.
47173         (dev_t): Likewise.
47174         (nlink_t): Likewise.
47175         (blkcnt_t): Likewise.
47176         (blkcnt64_t): Likewise.
47177         * manual/llio.texi (off_t): Likewise.
47179         [BZ #3976]
47180         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47181         (__ieee754_exp): Save and restore rounding mode and use
47182         round-to-nearest for all computations.
47183         * math/libm-test.inc (exp_test_tonearest): New function.
47184         (exp_test_towardzero): Likewise.
47185         (exp_test_downward): Likewise.
47186         (exp_test_upward): Likewise.
47187         (main): Call the new functions.
47188         * sysdeps/i386/fpu/libm-test-ulps: Update.
47189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47191 2012-03-01  Chris Demetriou  <cgd@google.com>
47193         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47194         have predictable order.
47196 2012-03-01  David S. Miller  <davem@davemloft.net>
47198         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47200         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47201         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47202         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47203         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47205         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47206         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47207         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47209         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47210         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47211         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47212         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47213         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47217         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47218         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47219         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47221         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47222         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47223         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47228         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47229         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47230         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47231         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47234         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47235         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47237         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47238         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47239         * sysdeps/sparc/elf/configure: Regenerated.
47241 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47243         * configure.in (AS, LD): Require binutils 2.20 or later.
47244         * configure: Regenerated.
47245         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47246         as required minimum version.
47247         * INSTALL: Regenerated.
47249         [BZ #2541]
47250         [BZ #4108]
47251         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47252         before squaring exponent.
47253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47254         bottom long double and 27 bits of top long double before squaring
47255         exponent.
47256         * math/libm-test.inc (erfc_test): Add more tests.
47257         * sysdeps/i386/fpu/libm-test-ulps: Update.
47258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47261 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47263         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47264         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47265         containing bit-fields.
47266         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47267         * soft-fp/single.h (_FP_UNION_S): Likewise.
47268         * soft-fp/double.h (_FP_UNION_D): Likewise.
47270 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47272         [BZ #13786]
47273         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47274         not include ../strcmp.S.
47275         [USE_AS_STRNCASECMP_L]: Likewise.
47276         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47277         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47278         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47279         (__strncasecmp_l_ia32): Define as alias to
47280         __strncasecmp_l_nonascii.
47282         [BZ #5794]
47283         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47284         * sysdeps/i386/fpu/libm-test-ulps: Update.
47285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47287         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47290 2012-02-29  Jeff Law  <law@redhat.com>
47292         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47293         out of bounds read.
47295 2012-02-29  Marek Polacek  <polacek@redhat.com>
47297         [BZ #13706]
47298         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47299         * elf/Makefile: Add rules to run tst-unused-dep.out.
47301 2012-02-28  David S. Miller  <davem@davemloft.net>
47303         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47304         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47307         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47308         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47310 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47312         * math/libm-test.inc (llround_test): Move one test from
47313         lround_test.  Use TEST_f_L in moved test.
47314         (lround_test): Move misplaced test to llround_test.  Add testcase
47315         from bug 2561.
47317 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47319         * sysdeps/x86_64/fpu/e_expf.S: New file.
47320         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47322 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47324         [BZ #13637]
47325         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47326         of remain_len that may cause incomplete multi-byte character and
47327         false match.
47328         * posix/bug-regex33.c: New file.
47329         * posix/Makefile (tests): Add bug-regex33.
47331 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47333         * manual/macros.texi: New file.
47334         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47335         * manual/libc.texinfo: Include macros.texi.
47336         * manual/creatute.texi: Likewise.
47337         * manual/install.texi: Likewise.
47338         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47339         @glibcadj{} in references to the GNU C Library.
47340         * manual/charset.texi: Likewise.
47341         * manual/conf.texi: Likewise.
47342         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47343         when not using those macros.
47344         * manual/creature.texi: Likewise.
47345         * manual/crypt.texi: Likewise.
47346         * manual/errno.texi: Likewise.
47347         * manual/filesys.texi: Likewise.
47348         * manual/header.texi: Likewise.
47349         * manual/install.texi: Likewise.
47350         * manual/intro.texi: Likewise.
47351         * manual/io.texi: Likewise.
47352         * manual/job.texi: Likewise.
47353         * manual/lang.texi: Likewise.
47354         * manual/libc.texiinfo: Likewise.
47355         * manual/llio.texi: Likewise.
47356         * manual/locale.texi: Likewise.
47357         * manual/maint.texi: Likewise.
47358         * manual/math.texi: Likewise.
47359         * manual/memory.texi: Likewise.
47360         * manual/message.texi: Likewise.
47361         * manual/nss.texi: Likewise.
47362         * manual/pattern.texi: Likewise.
47363         * manual/process.texi: Likewise.
47364         * manual/resource.texi: Likewise.
47365         * manual/search.texi: Likewise.
47366         * manual/setjmp.texi: Likewise.
47367         * manual/signal.texi: Likewise.
47368         * manual/socket.texi: Likewise.
47369         * manual/startup.texi: Likewise.
47370         * manual/stdio.texi: Likewise.
47371         * manual/string.texi: Likewise.
47372         * manual/sysinfo.texi: Likewise.
47373         * manual/syslog.texi: Likewise.
47374         * manual/terminal.texi: Likewise.
47375         * manual/time.texi: Likewise.
47376         * manual/users.texi: Likewise.
47377         * INSTALL: Regenerated.
47378         * NOTES: Regenerated.
47379         * sysdeps/gnu/errlist.c: Regenerated.
47381 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47383         * include/dirent.h: Include <dirstream.h> before
47384         <dirent/dirent.h>.
47386 2012-02-28  David S. Miller  <davem@davemloft.net>
47388         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47389         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47390         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47391         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47393 2012-02-27  David S. Miller  <davem@davemloft.net>
47395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47397         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47398         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47401         frame pointer instead of stack pointer relative arg slot.
47402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47403         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47404         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47406 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47408         [BZ #3992]
47409         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47411 2012-02-27  David S. Miller  <davem@davemloft.net>
47413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47419         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47420         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47422 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47424         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47425         later.  Allow versions 5-9.
47426         * configure: Regenerated.
47427         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47428         required minimum version and 4.6 as recommended version.  Do not
47429         mention bugs in GCC 2.7 and 2.8.
47430         * INSTALL: Regenerated.
47432 2012-02-27  David S. Miller  <davem@davemloft.net>
47434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47438         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47439         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47440         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47441         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47444         manipulate bits before adding and subtracting TWO112[sx].
47445         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47447 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47449         [BZ #13775]
47450         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47451         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47452         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47453         being in POSIX, because they are in 1003.1-2008.
47455         * rt/tst-aio.c: Include <fcntl.h>.
47456         * rt/tst-aio7.c: Likewise.
47457         * rt/tst-aio64.c: Likewise.
47459         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47461 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47463         * manual/install.texi (--with-headers): Describe headers as
47464         interface headers, not private headers.
47465         (Specific advice for GNU/Linux systems): Describe use of headers
47466         from "make headers_install", not private headers from older
47467         kernels.
47468         * INSTALL: Regenerated.
47469         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47470         Change to 2.6.19.
47471         * sysdeps/unix/sysv/linux/configure: Regenerated.
47473         * manual/llio.texi (fclean): Remove documentation.
47475         * manual/Makefile (libc-texi-generated): New variable.  Include
47476         version.texi.
47477         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47478         $(libc-texi-generated), not duplicated list of files.
47479         (version.texi, stamp-version): New rules.
47480         (realclean): Remove $(libc-texi-generated), not individual files
47481         from that list.  Do not remove dir-add.texinfo.
47482         * manual/libc.texinfo: Comment out uses of edition numbers and
47483         references to printed manual.  Remove last-updated dates.
47484         (EDITION): Comment out.
47485         (ISBN): Likewise.
47486         (VERSION, UPDATED): Remove.
47487         (version.texi): Include.
47489 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47491         * sysdeps/posix/spawni.c: Include <signal.h>.
47492         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47493         * sysdeps/pthread/aio_fsync.c: Likewise.
47495 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47497         * conform/Makefile (tests): Run only when not cross-compiling and
47498         when fast-check is not defined.
47500         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47501         * conform/data/limits.h-data: Fixes for POSIX2008.
47502         * conform/run-conformtest.sh: Run all tests.
47503         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47504         headers.
47505         * include/bits/dlfcn.h: Likewise.
47506         * include/langinfo.h: Likewise.
47507         * include/monetary.h: Likewise.
47508         * include/sys/poll.h: Likewise.
47510         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47511         for __USE_GNU.
47512         * posix/spawn.h: Define __need_sigset_t.
47513         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47514         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47515         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47516         to get sigevent_t only.
47517         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47518         only for __USE_GNU.
47519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47520         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47521         process_vm_writev only for __USE_GNU.
47522         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47524         * conform/Makefile: For now ignore errors from run-conformtest.
47525         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47526         POSIX to avoid namespace pollution.  Don't prepend headers.
47527         * conform/data/aio.h-data: Fixes for POSIX testing.
47528         * conform/data/fcntl.h-data: Likewise.
47529         * conform/data/glob.h-data: Likewise.
47530         * conform/data/grp.h-data: Likewise.
47531         * conform/data/pthread.h-data: Likewise.
47532         * conform/data/pwd.h-data: Likewise.
47533         * conform/data/signal.h-data: Likewise.
47534         * conform/data/spawn.h-data: Likewise.
47535         * conform/data/stdio.h-data: Likewise.
47536         * conform/data/stdlib.h-data: Likewise.
47537         * conform/data/stropts.h-data: Likewise.
47538         * conform/data/sys/mman.h-data: Likewise.
47539         * conform/data/sys/stat.h-data: Likewise.
47540         * conform/data/sys/types.h-data: Likewise.
47541         * conform/data/sys/wait.h-data: Likewise.
47542         * conform/data/time.h-data: Likewise.
47543         * conform/data/unistd.h-data: Likewise.
47544         * conform/data/utime.h-data: Likewise.
47546         * io/sys/stat.h: fchmod was always in POSIX.
47547         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47548         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47549         * rt/aio.h: Define __need_timespec before including <time.h>.
47550         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47551         struct.  Add forward declaration of pthread_attr_t and use it in
47552         sigevent.
47553         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47555         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47556         always remove CLK_TCK definition.
47558 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47560         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47562 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47564         * conform/run-conformtest.sh: New file.
47565         * conform/Makefile: Run run-conformtest for tests.
47566         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47567         support.
47569         * conform/data/uchar.h-data: New file.
47570         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47571         * conform/data/arpa/inet.h-data: Likewise.
47572         * conform/data/assert.h-data: Likewise.
47573         * conform/data/complex.h-data: Likewise.
47574         * conform/data/cpio.h-data: Likewise.
47575         * conform/data/ctype.h-data: Likewise.
47576         * conform/data/dirent.h-data: Likewise.
47577         * conform/data/dlfcn.h-data: Likewise.
47578         * conform/data/errno.h-data: Likewise.
47579         * conform/data/fcntl.h-data: Likewise.
47580         * conform/data/float.h-data: Likewise.
47581         * conform/data/fmtmsg.h-data: Likewise.
47582         * conform/data/fnmatch.h-data: Likewise.
47583         * conform/data/ftw.h-data: Likewise.
47584         * conform/data/glob.h-data: Likewise.
47585         * conform/data/grp.h-data: Likewise.
47586         * conform/data/iconv.h-data: Likewise.
47587         * conform/data/inttypes.h-data: Likewise.
47588         * conform/data/langinfo.h-data: Likewise.
47589         * conform/data/libgen.h-data: Likewise.
47590         * conform/data/limits.h-data: Likewise.
47591         * conform/data/locale.h-data: Likewise.
47592         * conform/data/math.h-data: Likewise.
47593         * conform/data/monetary.h-data: Likewise.
47594         * conform/data/mqueue.h-data: Likewise.
47595         * conform/data/ndbm.h-data: Likewise.
47596         * conform/data/net/if.h-data: Likewise.
47597         * conform/data/netdb.h-data: Likewise.
47598         * conform/data/netinet/in.h-data: Likewise.
47599         * conform/data/nl_types.h-data: Likewise.
47600         * conform/data/poll.h-data: Likewise.
47601         * conform/data/pthread.h-data: Likewise.
47602         * conform/data/pwd.h-data: Likewise.
47603         * conform/data/regex.h-data: Likewise.
47604         * conform/data/sched.h-data: Likewise.
47605         * conform/data/search.h-data: Likewise.
47606         * conform/data/semaphore.h-data: Likewise.
47607         * conform/data/setjmp.h-data: Likewise.
47608         * conform/data/signal.h-data: Likewise.
47609         * conform/data/spawn.h-data: Likewise.
47610         * conform/data/stdarg.h-data: Likewise.
47611         * conform/data/stdio.h-data: Likewise.
47612         * conform/data/stdlib.h-data: Likewise.
47613         * conform/data/string.h-data: Likewise.
47614         * conform/data/strings.h-data: Likewise.
47615         * conform/data/stropts.h-data: Likewise.
47616         * conform/data/sys/ipc.h-data: Likewise.
47617         * conform/data/sys/mman.h-data: Likewise.
47618         * conform/data/sys/msg.h-data: Likewise.
47619         * conform/data/sys/resource.h-data: Likewise.
47620         * conform/data/sys/select.h-data: Likewise.
47621         * conform/data/sys/sem.h-data: Likewise.
47622         * conform/data/sys/shm.h-data: Likewise.
47623         * conform/data/sys/socket.h-data: Likewise.
47624         * conform/data/sys/stat.h-data: Likewise.
47625         * conform/data/sys/statvfs.h-data: Likewise.
47626         * conform/data/sys/time.h-data: Likewise.
47627         * conform/data/sys/timeb.h-data: Likewise.
47628         * conform/data/sys/times.h-data: Likewise.
47629         * conform/data/sys/types.h-data: Likewise.
47630         * conform/data/sys/uio.h-data: Likewise.
47631         * conform/data/sys/un.h-data: Likewise.
47632         * conform/data/sys/utsname.h-data: Likewise.
47633         * conform/data/sys/wait.h-data: Likewise.
47634         * conform/data/syslog.h-data: Likewise.
47635         * conform/data/tar.h-data: Likewise.
47636         * conform/data/termios.h-data: Likewise.
47637         * conform/data/utime.h-data: Likewise.
47638         * conform/data/utmpx.h-data: Likewise.
47639         * conform/data/varargs.h-data: Likewise.
47640         * conform/data/wchar.h-data: Likewise.
47641         * conform/data/wctype.h-data: Likewise.
47642         * conform/data/wordexp.h-data: Likewise.
47644         * include/stropts.h: New file.
47645         * include/uchar.h: New file.
47646         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47647         * include/assert.h: Likewise.
47648         * include/ctype.h: Likewise.
47649         * include/dirent.h: Likewise.
47650         * include/dlfcn.h: Likewise.
47651         * include/fcntl.h: Likewise.
47652         * include/fnmatch.h: Likewise.
47653         * include/glob.h: Likewise.
47654         * include/grp.h: Likewise.
47655         * include/libio.h: Likewise.
47656         * include/locale.h: Likewise.
47657         * include/math.h: Likewise.
47658         * include/net/if.h: Likewise.
47659         * include/netdb.h: Likewise.
47660         * include/netinet/in.h: Likewise.
47661         * include/pthread.h: Likewise.
47662         * include/pwd.h: Likewise.
47663         * include/regex.h: Likewise.
47664         * include/sched.h: Likewise.
47665         * include/search.h: Likewise.
47666         * include/setjmp.h: Likewise.
47667         * include/signal.h: Likewise.
47668         * include/stdio.h: Likewise.
47669         * include/stdlib.h: Likewise.
47670         * include/string.h: Likewise.
47671         * include/sys/cdefs.h: Likewise.
47672         * include/sys/mman.h: Likewise.
47673         * include/sys/msg.h: Likewise.
47674         * include/sys/resource.h: Likewise.
47675         * include/sys/select.h: Likewise.
47676         * include/sys/socket.h: Likewise.
47677         * include/sys/stat.h: Likewise.
47678         * include/sys/statvfs.h: Likewise.
47679         * include/sys/time.h: Likewise.
47680         * include/sys/times.h: Likewise.
47681         * include/sys/uio.h: Likewise.
47682         * include/sys/utsname.h: Likewise.
47683         * include/sys/wait.h: Likewise.
47684         * include/termios.h: Likewise.
47685         * include/time.h: Likewise.
47686         * include/ulimit.h: Likewise.
47687         * include/unistd.h: Likewise.
47688         * include/utime.h: Likewise.
47689         * include/wchar.h: Likewise.
47690         * include/wctype.h: Likewise.
47691         * include/wordexp.h: Likewise.
47693         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47695         * time/time.h: TIME_UTC must be a macro.
47696         Make timespec_get available for ISO C11 only as well.
47698 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47700         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47701         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47703 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47705         * configure.in: Use -o not -a in test for unsupported multi-arch.
47707 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47709         * manual/texinfo.tex: Update to version 2012-01-19.16.
47711 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47713         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47715 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47717         [BZ #13738]
47718         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47719         * manual/fdl-1.3.texi: New file.
47720         * manual/fdl-1.1.texi: File removed.
47722         [BZ #13738]
47723         * manual/libc.texinfo (FDL_VERSION): New @set.
47724         Use it for mention of FDL in cover text.
47725         (Documentation License): Use it in @include file name.
47727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47728             Roland McGrath  <roland@hack.frob.com>
47730         [BZ #5461]
47731         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47732         (not LONG_LONG_MAX and LONG_LONG_MIN.
47733         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47734         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47735         name.
47736         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47738 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47740         [BZ #2547]
47741         [BZ #11365]
47742         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47743         manipulate bits before adding and subtracting TWO23[sx].
47744         * math/libm-test.inc (nearbyint_test): Add more tests.
47746 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47748         [BZ #2548]
47749         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47750         bits before adding and subtracting TWO23[sx].
47751         * math/libm-test.inc (rint_test): Add more tests.
47752         (rint_test_tonearest): Likewise.
47753         (rint_test_towardzero): Likewise.
47754         (rint_test_downward): Likewise.
47755         (rint_test_upward: Likewise.
47757 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47759         [BZ #10110]
47760         * include/stdc-predef.h: New file.  Extracted from features.h.
47761         * include/features.h: Include stdc-predef.h.
47762         * Makefile (headers): Add stdc-predef.h.
47763         * CONFORMANCE (Compiler limitations): Update.
47765 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47767         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47769 2012-02-21  David S. Miller  <davem@davemloft.net>
47771         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47772         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47774 2012-02-20  David S. Miller  <davem@davemloft.net>
47776         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47777         using a normal save/restore sequence, rather than allocating a
47778         dummy stack frame just to store a frame pointer and restore.
47779         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47781 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47783         * manual/install.texi: Fix stray word in line-wrapped comment.
47785 2012-02-20  David S. Miller  <davem@davemloft.net>
47787         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47788         both binutils and gcc support GOTDATA.
47790         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47791         "rd %pc" in the PIC register setup sequences.
47793         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47794         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47795         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47796         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47797         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47799         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47800         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47801         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47802         (SYSCALL_ERROR_HANDLER): Likewise.
47803         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47804         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47806         (SYSCALL_ERROR_HANDLER): Likewise.
47808         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47809         (HAVE_GCC_GOTDATA): New.
47810         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47811         relocation support in both binutils and gcc.
47812         * sysdeps/sparc/elf/configure: Regenerate.
47814         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47815         * sysdeps/sparc/sparc32/elf/configure: Delete.
47816         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47817         * sysdeps/sparc/sparc64/elf/configure: Delete.
47818         * sysdeps/sparc/elf/configure.in: New file.
47819         * sysdeps/sparc/elf/configure: Generate.
47821         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47822         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47823         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47824         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47825         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47829         * manual/install.texi: Do not mention specific glibc version
47830         numbers.
47831         * manual/libc.texinfo (VERSION, UPDATED): Update.
47832         (@copying): Use @copyright{} and range of years.
47834 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47836         [BZ #13695]
47837         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47838         [crti.S not in sysdirs] (generated): Do not append.
47839         [crti.S not in sysdirs] (omit-deps): Likewise.
47840         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47841         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47842         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47843         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47844         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47845         Likewise.
47846         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47847         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47848         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47849         * csu/defs.awk: Remove file.
47850         * sysdeps/generic/initfini.c: Likewise.
47851         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47852         variable.
47853         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47854         Likewise.
47856 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47858         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47859         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47860         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47861         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47862         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47863         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47864         <bits/epoll.h>.
47865         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47866         (__EPOLL_PACKED): Define to empty if not defined by
47867         <bits/epoll.h>.
47868         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47870         bits/epoll.h.
47872 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47874         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47875         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47876         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47877         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47878         <bits/timerfd.h>.
47879         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47881         bits/timerfd.h.
47883 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47885         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47886         in C locale.
47887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47888         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47892 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47895         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47897 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47899         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47900         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47901         defined.
47902         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47903         Likewise.
47904         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47905         entry for 2.16.
47907 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47909         * math/w_acos.c: Use non-signaling floating-point comparisons.
47910         * math/w_acosf.c: Likewise.
47911         * math/w_acosh.c: Likewise.
47912         * math/w_acoshf.c: Likewise.
47913         * math/w_acoshl.c: Likewise.
47914         * math/w_acosl.c: Likewise.
47915         * math/w_asin.c: Likewise.
47916         * math/w_asinf.c: Likewise.
47917         * math/w_asinl.c: Likewise.
47918         * math/w_atanh.c: Likewise.
47919         * math/w_atanhf.c: Likewise.
47920         * math/w_atanhl.c: Likewise.
47921         * math/w_exp2.c: Likewise.
47922         * math/w_exp2f.c: Likewise.
47923         * math/w_exp2l.c: Likewise.
47924         * math/w_j0.c: Likewise.
47925         * math/w_j0f.c: Likewise.
47926         * math/w_j0l.c: Likewise.
47927         * math/w_j1.c: Likewise.
47928         * math/w_j1f.c: Likewise.
47929         * math/w_j1l.c: Likewise.
47930         * math/w_jn.c: Likewise.
47931         * math/w_jnf.c: Likewise.
47932         * math/w_log.c: Likewise.
47933         * math/w_log10.c: Likewise.
47934         * math/w_log10f.c: Likewise.
47935         * math/w_log10l.c: Likewise.
47936         * math/w_log2.c: Likewise.
47937         * math/w_log2f.c: Likewise.
47938         * math/w_log2l.c: Likewise.
47939         * math/w_logf.c: Likewise.
47940         * math/w_logl.c: Likewise.
47941         * math/w_sqrt.c: Likewise.
47942         * math/w_sqrtf.c: Likewise.
47943         * math/w_sqrtl.c: Likewise.
47944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47945         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47947         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47948         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47950 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47952         [BZ #9739]
47953         * manual/string.texi (strnlen): Use correct parameter name in
47954         equivalent expression.
47956 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47958         [BZ #11174]
47959         * manual/users.texi (seteuid): Consistently use neweuid for
47960         argument name.
47962 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47964         [BZ #13704]
47965         * manual/nss.texi (Services in the NSS configuration): Correct
47966         list of services in example configuration file.
47968 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47970         [BZ #11322]
47971         * manual/arith.texi: Remove statements about negative zero
47972         behaving identically to zero.
47974 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47976         [BZ #5993]
47977         * manual/install.texi: Do not document upgrading from libc5.
47979 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47981         [BZ #4596]
47982         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47984 2012-02-18  David S. Miller  <davem@davemloft.net>
47986         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47987         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47988         %o7 across the call.
47989         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47990         instead.
47991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47992         SETUP_PIC_REG_LEAF.
47993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47994         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47995         * sysdeps/sparc/crtn.S: Likewise.
47997 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47999         * aout/Makefile: Remove.
48001 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48003         [BZ #13058]
48004         * manual/examples/argp-ex1.c (main): Format definition in GNU
48005         style.
48006         * manual/examples/argp-ex2.c (main): Likewise.
48007         * manual/examples/argp-ex3.c (main): Likewise.
48008         * manual/examples/argp-ex4.c (main): Likewise.
48009         * manual/examples/longopt.c (main): Use new-style prototype
48010         definition.
48011         * manual/examples/strncat.c (main): Specify return type and use
48012         (void) for arguments.
48013         * manual/examples/subopt.c (main): Use char **argv argument.
48015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48017         [BZ #5077]
48018         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48019         rounding modes.
48021 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48023         [BZ #6907]
48024         * manual/string.texi (strchr): Change when strchrnul is
48025         recommended.
48027 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48029         [BZ #174]
48030         * manual/locale.texi (setlocale): Document LOCPATH.
48032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48034         [BZ #10210]
48035         * manual/process.texi (execle): Move @dots{} before last argument.
48037 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48039         [BZ #12047]
48040         * manual/charset.texi (Generic Charset Conversion): Fix typo
48041         (LC_TYPE -> LC_CTYPE).
48043 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48045         [BZ #5805]
48046         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48047         (scalbnf): Likewise.
48048         (scalbnl): Likewise.
48049         (scalbln): Likewise.
48050         (scalblnf): Likewise.
48051         (scalblnl): Likewise.
48052         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48053         (vwarnx): Likewise.
48054         (verr): Likewise.
48055         (verrx): Likewise.
48056         * manual/filesys.texi (telldir): Use braces around return type.
48057         * manual/llio.texi (mmap): Add space after comma.
48058         (mmap64): Likewise.
48059         * manual/math.texi (jn): Use @var{} on parameter names.
48060         (jnf): Likewise.
48061         (jnl): Likewise.
48062         (yn): Likewise.
48063         (ynf): Likewise.
48064         (ynl): Likewise.
48065         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48066         line.
48067         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48068         "...".
48069         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48070         (sched_get_priority_max): Likewise.
48071         * manual/signal.texi (sigvec): Add space after comma.
48072         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48073         names.
48074         (if_indextoname): Likewise.
48075         (if_freenameindex): Likewise.
48076         (sendto): Use ',' instead of '.' in prototype.
48077         * manual/startup.texi (syscall): Use @dots{} instead of literal
48078         "...".
48079         * manual/stdio.texi (__fpending): Separate initial words of
48080         paragraph from @deftypefun line.
48081         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48082         "...".
48083         (vsyslog): Use @var{} on parameter names.
48084         * manual/terminal.texi (stty): Use @var{} on parameter names.
48085         * manual/users.texi (getutmp): Use @var{} on parameter names.
48086         (getutmpx): Likewise.
48088 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48090         [BZ #6884]
48091         * manual/stdio.texi (fopen): Fix typos in description of
48092         ",ccs=STRING".
48094 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48096         [BZ #4026]
48097         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48098         get clock_id definition.
48100 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48102         [BZ #4822]
48103         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48104         (madvise): Cast every argument to void on its own.
48106 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48108         [BZ #9902]
48109         * manual/startup.texi (Exit Status): Fix typo.
48111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48113         [BZ #10140]
48114         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48115         * manual/examples/argp-ex2.c: Likewise.
48116         * manual/examples/argp-ex3.c: Likewise.
48118 2012-02-16  Richard Henderson  <rth@redhat.com>
48120         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48121         * sysdeps/s390/s390-32/initfini.c: Remove.
48122         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48123         * sysdeps/s390/s390-64/initfini.c: Remove.
48125 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48127         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48128         compiler output for sysdeps/generic/initfini.c.
48129         * sysdeps/sh/elf/initfini.c: Remove file.
48131 2012-02-16  David S. Miller  <davem@davemloft.net>
48133         [BZ #11494]
48134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48136         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48137         * sysdeps/sparc/crti.S: New file.
48138         * sysdeps/sparc/crtn.S: New file.
48139         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48140         * sysdeps/sparc/sparc64/Makefile: Likewise.
48142 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48144         [BZ #3335]
48145         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48147 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48149         [BZ #4822]
48150         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48152         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48153         (write, read, close): Likewise.
48154         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48156 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48158         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48159         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48161         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48162         <bits/signalfd.h>.
48163         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48165         bits/signalfd.h.
48167 2012-02-14  Marek Polacek  <polacek@redhat.com>
48169         * sysdeps/x86_64/crti.S: New file.
48170         * sysdeps/x86_64/crtn.S: New file.
48171         * sysdeps/x86_64/elf/initfini.c: Remove file.
48173 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48175         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48176         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48177         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48178         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48179         <bits/inotify.h>.
48180         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48182         bits/inotify.h.
48184 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48186         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48187         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48188         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48189         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48190         <bits/eventfd.h>.
48191         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48193         bits/eventfd.h.
48195 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48197         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48198         __feraiseexcept instead of feraiseexcept.
48200         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48201         nanosleep invocations.
48202         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48203         strings, and add error checking for a nanosleep invocations.
48205 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48207         Replace FSF snail mail address with URLs, as per GNU coding standards.
48208         Most of the snail mail addresses were wrong anyway, and omitting
48209         them makes the source code easier to maintain.  Almost all of the
48210         changes are to license notices and to locale LC_IDENTIFICATION
48211         addresses, except for this one:
48212         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48213         not its snail mail address.
48215 2012-02-09  Richard Henderson  <rth@twiddle.net>
48217         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48218         of kernel-features.h.
48220         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48222 2012-02-08  Marek Polacek  <polacek@redhat.com>
48224         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48225         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48226         * sysdeps/gnu/_G_config.h: Likewise.
48227         * sysdeps/generic/_G_config.h: Likewise.
48229 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48231         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48232         tests.
48233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48235         * sysdeps/powerpc/powerpc32/crti.S: New file.
48236         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48237         * sysdeps/powerpc/powerpc64/crti.S: New file.
48238         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48240         * Makeconfig (have-initfini): Don't set.
48241         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48242         * configure.in (nopic_initfini): Don't substitute.
48243         * config.h.in (HAVE_INITFINI): Don't #undef.
48244         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48245         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48247 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48249         Support crti.S and crtn.S provided directly by architectures.
48250         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48251         [crti.S in sysdirs] (omit-deps): Likewise.
48252         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48253         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48254         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48255         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48256         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48257         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48258         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48259         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48260         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48261         compiler output for sysdeps/generic/initfini.c.
48262         * sysdeps/i386/elf/Makefile: Remove file.
48263         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48265 2012-02-07  Marek Polacek  <polacek@redhat.com>
48267         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48268         * sysdeps/gnu/_G_config.h: Likewise.
48269         * sysdeps/mach/hurd/_G_config.h: Likewise.
48271 2012-02-07  Marek Polacek  <polacek@redhat.com>
48273         * math/Makefile (tests): Add tst-CMPLX2.
48274         * math/tst-CMPLX2.c: New file.
48276 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48278         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48280         * math/libm-test.inc (jn_test): Add missing L suffix.
48282 2012-02-06  Marek Polacek  <polacek@redhat.com>
48284         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48285         * sysdeps/i386/fpu/e_powf.S: Likewise.
48286         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48287         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48288         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48289         * sysdeps/i386/fpu/e_pow.S: Likewise.
48290         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48291         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48292         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48293         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48294         * sysdeps/i386/fpu/e_log2.S: Likewise.
48295         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48296         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48297         * sysdeps/i386/fpu/e_powl.S: Likewise.
48298         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48299         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48300         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48301         * sysdeps/i386/fpu/e_logl.S: Likewise.
48302         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48303         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48308         * sysdeps/i386/fpu/e_log.S: Likewise.
48309         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48310         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48311         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48312         * sysdeps/i386/fpu/e_logf.S: Likewise.
48313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48315         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48316         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48317         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48318         * sysdeps/i386/fpu/e_log10.S: Likewise.
48319         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48321         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48322         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48324         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48325         * sysdeps/i386/asm-syntax.h: Likewise.
48326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48329         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48330         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48331         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48332         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48333         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48334         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48335         * sysdeps/powerpc/sysdep.h: Likewise.
48336         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48337         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48339 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48341         [BZ #411]
48342         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48344 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48346         * sysdeps/i386/sysdep.h: Include <features.h>.
48347         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48348         version.
48350 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48352         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48353         Define.
48354         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48355         LOAD_PIC_REG_STR.
48357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48359         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48360         (SETUP_PIC_REG): Use GET_PC_THUNK.
48361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48362         macro.
48364 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48366         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48367         for non-PIC compilation.
48368         (SETUP_PIC_REG): Add .p2align directive.
48369         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48370         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48371         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48372         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48373         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48374         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48375         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48377         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48378         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48379         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48380         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48381         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48382         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48383         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48384         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48385         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48386         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48387         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48388         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48390         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48391         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48392         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48397         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48398         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48399         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48400         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48401         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48402         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48403         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48404         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48405         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48406         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48407         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48408         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48409         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48411 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48413         * math/tst-CMPLX.c: Include <stdio.h>.
48415 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48417         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48418         float.
48419         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48420         * sysdeps/sparc/bits/mathdef.h: Likewise.
48422 2012-01-31  Marek Polacek  <polacek@redhat.com>
48424         * libio/libio.h: Don't define _PARAMS.
48425         * locale/programs/config.h: Don't define PARAMS.
48426         * stdlib/strtol_l.c: Likewise.
48427         (__strtol_l): Remove PARAMS from the prototype.
48429 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48431         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48432         names.  Just use the correct names.  Remove unnecessary wrapper
48433         functions.
48434         * malloc/arena.c: Likewise.
48435         * malloc/hooks.c: Likewise.
48437         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48438         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48439         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48441 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48443         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48444         into tail calls.
48445         (update_get_addr): New function.
48446         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48447         GET_ADDR_MODULE parameter.
48449 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48451         * crypt/cert.c: Remove __STDC__ conditionals.
48452         * crypt/crypt-entry.c: Likewise.
48453         * crypt/crypt_util.c: Likewise.
48454         * libio/filedoalloc.c: Likewise.
48455         * libio/fileops.c: Likewise.
48456         * libio/genops.c: Likewise.
48457         * libio/iofclose.c: Likewise.
48458         * libio/iofdopen.c: Likewise.
48459         * libio/iofopen.c: Likewise.
48460         * libio/iofopen64.c: Likewise.
48461         * libio/iogetdelim.c: Likewise.
48462         * libio/iopopen.c: Likewise.
48463         * libio/obprintf.c: Likewise.
48464         * libio/oldfileops.c: Likewise.
48465         * libio/oldiofclose.c: Likewise.
48466         * libio/oldiofdopen.c: Likewise.
48467         * libio/oldiofopen.c: Likewise.
48468         * libio/oldiopopen.c: Likewise.
48469         * libio/wfiledoalloc.c: Likewise.
48470         * libio/wgenops.c: Likewise.
48471         * locale/programs/xmalloc.c: Likewise.
48472         * misc/syslog.c: Likewise.
48473         * stdio-common/xbug.c: Likewise.
48474         * string/memchr.c: Likewise.
48475         * string/memcmp.c: Likewise.
48476         * string/memrchr.c: Likewise.
48477         * string/rawmemchr.c: Likewise.
48478         * sysdeps/posix/getcwd.c: Likewise.
48479         * time/strftime_l.c: Likewise.
48481 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48483         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48484         * config.make.in (config-cflags-sse2avx): Define.
48485         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48486         Fix typo.
48488 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48490         * scripts/config.guess: Update from upstream config git repository.
48491         * scripts/config.sub: Likewise.
48493 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48495         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48496         (EM_NUM): Update.
48497         (R_TILEPRO_*, R_TILEGX_*): New macros.
48499         * scripts/firstversions.awk: Fix bug in version range handling.
48501         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48503         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48505         * include/sys/epoll.h: New file.
48506         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48507         libc_hidden_def.
48509 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48511         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48512         Avoid unnecessary __WORDSIZE == 64 test.
48513         (fmaxf): Use VEX format if possible.
48514         (fmax): Likewise.
48515         (fminf): Likewise.
48516         (fmin): Likewise.
48518         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48519         * math/math_private.h: Remove libc_fegetround* and
48520         libc_fesetround*.
48521         * sysdeps/i386/configure.in: Check for -msse2avx.
48522         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48523         also if SSE2AVX is defined.
48524         Remove libc_fegetround* and libc_fesetround*.
48525         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48526         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48528         of HAS_YMM_USABLE.
48529         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48530         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48531         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48532         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48535         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48537 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48539         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48540         size is not set.
48541         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48543 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48545         [BZ #13618]
48546         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48547         relocation.
48548         * Makeconfig (libm): Define.
48549         * elf/Makefile: Add rules to build and run tst-relsort1.
48550         * elf/tst-relsort1.c: New file.
48551         * elf/tst-relsort1mod1.c: New file.
48552         * elf/tst-relsort1mod2.c: New file.
48554 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48556         * math/s_ldexp.c: Remove __STDC__ conditionals.
48557         * math/s_ldexpf.c: Likewise.
48558         * math/s_ldexpl.c: Likewise.
48559         * math/s_nextafter.c: Likewise.
48560         * math/s_nexttowardf.c: Likewise.
48561         * math/s_significand.c: Likewise.
48562         * math/s_significandf.c: Likewise.
48563         * math/s_significandl.c: Likewise.
48564         * math/w_jnl.c: Likewise.
48565         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48566         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48567         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48568         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48569         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48571         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48574         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48575         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48579         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48580         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48582         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48584         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48585         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48586         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48587         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48588         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48589         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48590         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48591         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48592         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48593         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48594         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48596         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48598         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48599         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48600         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48601         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48602         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48603         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48604         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48605         * sysdeps/ieee754/k_standard.c: Likewise.
48606         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48608         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48609         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48610         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48615         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48637         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48638         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48642         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48645         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48646         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48648         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48649         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48659         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48661         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48662         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48663         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48664         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48665         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48667         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48670         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48671         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48672         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48673         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48674         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48675         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48676         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48677         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48678         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48680         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48681         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48682         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48683         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48684         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48685         * sysdeps/ieee754/s_matherr.c: Likewise.
48686         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48687         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48691 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48693         * crypt/md5.h: Remove __STDC__ conditionals.
48694         * libio/libioP.h: Likewise.
48695         * locale/programs/config.h: Likewise.
48696         * sysdeps/generic/sysdep.h: Likewise.
48697         * sysdeps/i386/asm-syntax.h: Likewise.
48698         * sysdeps/s390/asm-syntax.h: Likewise.
48699         * sysdeps/unix/sysdep.h: Likewise.
48700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48703 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48705         * libio/libio.h: Remove __STDC__ conditionals.
48706         * malloc/obstack.h: Likewise.
48707         * math/complex.h: Likewise.
48708         * math/math.h: Likewise.
48709         * sysdeps/generic/_G_config.h: Likewise.
48710         * sysdeps/gnu/_G_config.h: Likewise.
48711         * sysdeps/mach/hurd/_G_config.h: Likewise.
48712         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48713         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48714         * sysdeps/sparc/bits/mathdef.h: Likewise.
48716 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48718         [BZ #13583]
48719         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48720         Clean up HAS_* macros.
48721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48722         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48723         possible.
48724         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48725         HAS_AVX.
48726         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48727         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48728         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48729         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48730         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48732 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48734         * elf/tst-unique3.cc (gets): Remove declaration.
48735         * elf/tst-unique3lib.cc (gets): Likewise.
48736         * elf/tst-unique3lib2.cc (gets): Likewise.
48737         * elf/tst-unique4.cc (gets): Likewise.
48739 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48741         * include/stdio.h: Add C++ protection.  Add gets declarations and
48742         definitions.
48743         * debug/tst-chk1.c: Don't declare gets here.
48744         * stdio-common/tst-gets.c: Likewise.
48746 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48748         * posix/glob: Remove directory.
48750 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48752         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48754 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48756         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48757         of the non-standard EPFNOSUPPORT.
48759 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48761         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48762         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48763         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48765 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48767         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48769 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48771         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48772         transient errors.
48773         * nscd/grpcache.c (cache_addgr): Likewise.
48774         * nscd/hstcache.c (cache_addhst): Likewise.
48775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48776         * nscd/pwdcache.c (cache_addpw): Likewise.
48777         * nscd/servicescache.c (cache_addserv): Likewise.
48779 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48781         * malloc/malloc.c: Various cleanups.
48782         * malloc/hooks.c: Likewise.
48784         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48785         * stdlib/bug-fmtmsg1.c: New file.
48787         * stdlib/fmtmsg.c (init): Add missing unlock.
48788         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48790 2012-01-12  Marek Polacek  <polacek@redhat.com>
48792         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48793         and _GNU_SOURCE.
48795 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48797         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48798         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48799         macro to ensure uniqueness of label name.
48800         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48801         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48803 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48805         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48808         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48812 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48816         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48817         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48818         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48820         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48822         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48823         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48824         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48827         * math/bits/math-finite.h: Add ldexp support.
48829 2012-01-10  Marek Polacek  <polacek@redhat.com>
48831         * locale/programs/localedef.h (show_archive_content): Add noreturn
48832         attribute.
48834 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48838 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48840         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48842         * io/Makefile (headers): Add bits/poll2.h.
48844 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48847         typo #include statement.
48849 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48851         * include/sys/cdefs.h: Define __attribute_alloc_size.
48852         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48853         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48854         * elf/pldd.c: Likewise.
48855         * iconv/iconv_charmap.c: Likewise.
48856         * iconv/iconvconfig.c: Likewise.
48857         * iconv/strtab.c: Likewise.
48858         * locale/programs/locale.c: Likewise.
48859         * locale/programs/localedef.h: Likewise.
48860         * locale/programs/simple-hash.c: Likewise.
48861         * nscd/nscd.h: Likewise.
48862         * nss/makedb.c: Likewise.
48863         * sysdeps/generic/ldconfig.h: Likewise.
48864         * locale/programs/localedef.c: Remove xmalloc prototype.
48865         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48867 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48869         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48870         appropriate.
48872 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48874         * math/Makefile (tests): Add tst-CMPLX.
48875         * math/tst-CMPLX.c: New file.
48877         * math/complex.h (CMPLXL): Fix typo.
48879         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48880         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48881         GLIBC_2.16.
48882         * debug/tst-chk1.c: Add poll and ppoll tests.
48883         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48884         * include/sys/poll.h: Add hidden proto for ppoll.
48885         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48886         * sysdeps/mach/hurd/ppoll.c: Likewise.
48887         * io/ppoll.c: Likewise.
48888         * debug/poll_chk.c: New file.
48889         * debug/ppoll_chk.c: New file.
48890         * include/bits/poll2.h: New file.
48891         * io/bits/poll2.h: New file.
48893         [BZ #1350]
48894         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48896         * configure.in: static is always set to yes.  Remove.
48897         * config.make.in: Don't set build-static.
48898         * Makeconfig: Remove use of build-static.
48899         * dlfcn/Makefile: Likewise.
48900         * elf/Makefile: Likewise.
48901         * math/Makefile: Likewise.
48902         * misc/Makefile: Likewise.
48903         * nptl/Makefile: Likewise.
48904         * sysdeps/mach/hurd/Makefile: Likewise.
48906         * configure.in: PWD_P is not used anymore.
48907         * config.make.in: Remove PWD_P entry.
48909         * configure.in: Remove last remnants of RANLIB.
48910         No need to check for signed size_t anymore.
48911         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48912         and IA-64.
48913         Remove __builtin_expect test because we require at least gcc 3.4.
48914         * aclocal.m4: Likewise.
48916         * wcsmbs/mbrtoc16.c: Implement using towc function.
48917         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48918         * wcsmbs/wcsmbsload.c: Likewise.
48919         * iconv/gconv_simple.c: Likewise.
48920         * iconv/gconv_int.h: Likewise.
48921         * iconv/gconv_builtin.h: Likewise.
48922         * iconv/iconv_prog.c: Remove CHAR16 handling.
48924         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48926         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48928         * configure.in: Remove --with-elf and --enable-bounded options.
48929         Dont set base_machine for ia64.  More non-ELF conditions removed.
48930         Remove testing and setting of leading underscore information.
48931         * config.make.in (build-bounded): Set to no.
48932         * config.h.in: Remove NO_UNDERSCORES entry.
48933         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48934         them.
48935         * csu/start.c: Remove !NO_UNDERSCORE code.
48936         * locale/localeinfo.h: Likewise.
48937         * sysdeps/generic/machine-gmon.h: Likewise.
48938         * sysdeps/generic/sysdep.h: Likewise.
48939         * sysdeps/i386/sysdep.h: Likewise.
48940         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48941         * sysdeps/mach/sysdep.h: Likewise.
48942         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48943         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48944         * sysdeps/sh/sysdep.h: Likewise.
48945         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48946         * sysdeps/unix/i386/sysdep.S: Likewise.
48947         * sysdeps/unix/sparc/start.c: Likewise.
48948         * sysdeps/unix/sparc/sysdep.S: Likewise.
48949         * sysdeps/unix/sparc/sysdep.h: Likewise.
48950         * sysdeps/unix/start.c: Likewise.
48951         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48952         * sysdeps/x86_64/sysdep.h: Likewise.
48954 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48956         [BZ #13553]
48957         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48958         for non-gcc.
48959         * argp/argp-fmtstream.h: Use const instead __const.
48960         * argp/argp.h: Likewise.
48961         * assert/assert.h: Likewise.
48962         * bits/fenv.h: Likewise.
48963         * bits/sched.h: Likewise.
48964         * bits/sigset.h: Likewise.
48965         * bits/sigthread.h: Likewise.
48966         * catgets/nl_types.h: Likewise.
48967         * conform/data/pthread.h-data: Likewise.
48968         * crypt/crypt-private.h: Likewise.
48969         * crypt/crypt.h: Likewise.
48970         * crypt/crypt_util.c: Likewise.
48971         * ctype/ctype.h: Likewise.
48972         * debug/execinfo.h: Likewise.
48973         * debug/mbsnrtowcs_chk.c: Likewise.
48974         * debug/mbsrtowcs_chk.c: Likewise.
48975         * debug/wcsnrtombs_chk.c: Likewise.
48976         * debug/wcsrtombs_chk.c: Likewise.
48977         * debug/wcstombs_chk.c: Likewise.
48978         * dirent/dirent.h: Likewise.
48979         * dlfcn/dlfcn.h: Likewise.
48980         * elf/neededtest4.c: Likewise.
48981         * grp/grp.h: Likewise.
48982         * gshadow/gshadow.h: Likewise.
48983         * iconv/gconv.h: Likewise.
48984         * iconv/gconv_int.h: Likewise.
48985         * iconv/gconv_simple.c: Likewise.
48986         * iconv/iconv.h: Likewise.
48987         * iconv/loop.c: Likewise.
48988         * iconv/skeleton.c: Likewise.
48989         * include/aio.h: Likewise.
48990         * include/aliases.h: Likewise.
48991         * include/argz.h: Likewise.
48992         * include/arpa/inet.h: Likewise.
48993         * include/assert.h: Likewise.
48994         * include/dirent.h: Likewise.
48995         * include/dlfcn.h: Likewise.
48996         * include/execinfo.h: Likewise.
48997         * include/fcntl.h: Likewise.
48998         * include/fenv.h: Likewise.
48999         * include/glob.h: Likewise.
49000         * include/grp.h: Likewise.
49001         * include/libintl.h: Likewise.
49002         * include/mntent.h: Likewise.
49003         * include/netdb.h: Likewise.
49004         * include/pwd.h: Likewise.
49005         * include/rpc/netdb.h: Likewise.
49006         * include/sched.h: Likewise.
49007         * include/search.h: Likewise.
49008         * include/shadow.h: Likewise.
49009         * include/signal.h: Likewise.
49010         * include/stdio.h: Likewise.
49011         * include/stdlib.h: Likewise.
49012         * include/string.h: Likewise.
49013         * include/sys/socket.h: Likewise.
49014         * include/sys/stat.h: Likewise.
49015         * include/sys/statfs.h: Likewise.
49016         * include/sys/statvfs.h: Likewise.
49017         * include/sys/syslog.h: Likewise.
49018         * include/sys/time.h: Likewise.
49019         * include/sys/uio.h: Likewise.
49020         * include/time.h: Likewise.
49021         * include/unistd.h: Likewise.
49022         * include/utmp.h: Likewise.
49023         * include/wchar.h: Likewise.
49024         * include/wctype.h: Likewise.
49025         * inet/aliases.h: Likewise.
49026         * inet/arpa/inet.h: Likewise.
49027         * inet/netinet/ether.h: Likewise.
49028         * inet/netinet/in.h: Likewise.
49029         * intl/libintl.h: Likewise.
49030         * io/bits/fcntl2.h: Likewise.
49031         * io/fcntl.h: Likewise.
49032         * io/ftw.h: Likewise.
49033         * io/sys/poll.h: Likewise.
49034         * io/sys/stat.h: Likewise.
49035         * io/sys/statfs.h: Likewise.
49036         * io/sys/statvfs.h: Likewise.
49037         * io/utime.h: Likewise.
49038         * libio/bits/stdio.h: Likewise.
49039         * libio/bits/stdio2.h: Likewise.
49040         * libio/libio.h: Likewise.
49041         * libio/libioP.h: Likewise.
49042         * libio/stdio.h: Likewise.
49043         * locale/lc-ctype.c: Likewise.
49044         * locale/locale.h: Likewise.
49045         * login/utmp.h: Likewise.
49046         * malloc/arena.c: Likewise.
49047         * malloc/malloc.c: Likewise.
49048         * malloc/malloc.h: Likewise.
49049         * malloc/mcheck.c: Likewise.
49050         * malloc/mtrace.c: Likewise.
49051         * math/bits/mathcalls.h: Likewise.
49052         * math/fenv.h: Likewise.
49053         * math/math_private.h: Likewise.
49054         * misc/bits/error.h: Likewise.
49055         * misc/bits/syslog.h: Likewise.
49056         * misc/err.h: Likewise.
49057         * misc/error.h: Likewise.
49058         * misc/fstab.h: Likewise.
49059         * misc/mntent.h: Likewise.
49060         * misc/regexp.h: Likewise.
49061         * misc/search.h: Likewise.
49062         * misc/sgtty.h: Likewise.
49063         * misc/sys/mman.h: Likewise.
49064         * misc/sys/syslog.h: Likewise.
49065         * misc/sys/uio.h: Likewise.
49066         * misc/sys/xattr.h: Likewise.
49067         * misc/ttyent.h: Likewise.
49068         * nis/rpcsvc/ypclnt.h: Likewise.
49069         * nss/nss.h: Likewise.
49070         * posix/bits/unistd.h: Likewise.
49071         * posix/fnmatch.h: Likewise.
49072         * posix/glob.h: Likewise.
49073         * posix/sched.h: Likewise.
49074         * posix/spawn.h: Likewise.
49075         * posix/sys/wait.h: Likewise.
49076         * posix/unistd.h: Likewise.
49077         * posix/wordexp.h: Likewise.
49078         * pwd/pwd.h: Likewise.
49079         * resolv/netdb.h: Likewise.
49080         * resource/sys/resource.h: Likewise.
49081         * rt/aio.h: Likewise.
49082         * rt/bits/mqueue2.h: Likewise.
49083         * rt/mqueue.h: Likewise.
49084         * shadow/shadow.h: Likewise.
49085         * signal/signal.h: Likewise.
49086         * socket/send.c: Likewise.
49087         * socket/sendto.c: Likewise.
49088         * socket/sys/socket.h: Likewise.
49089         * stdio-common/printf.h: Likewise.
49090         * stdlib/bits/stdlib.h: Likewise.
49091         * stdlib/fmtmsg.h: Likewise.
49092         * stdlib/monetary.h: Likewise.
49093         * stdlib/stdlib.h: Likewise.
49094         * stdlib/ucontext.h: Likewise.
49095         * streams/stropts.h: Likewise.
49096         * string/argz.h: Likewise.
49097         * string/bits/string2.h: Likewise.
49098         * string/string.h: Likewise.
49099         * string/strings.h: Likewise.
49100         * sunrpc/rpc/auth.h: Likewise.
49101         * sunrpc/rpc/auth_des.h: Likewise.
49102         * sunrpc/rpc/clnt.h: Likewise.
49103         * sunrpc/rpc/netdb.h: Likewise.
49104         * sunrpc/rpc/pmap_clnt.h: Likewise.
49105         * sunrpc/rpc/xdr.h: Likewise.
49106         * sysdeps/generic/inttypes.h: Likewise.
49107         * sysdeps/generic/net/if.h: Likewise.
49108         * sysdeps/generic/sys/swap.h: Likewise.
49109         * sysdeps/gnu/net/if.h: Likewise.
49110         * sysdeps/gnu/utmpx.h: Likewise.
49111         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49112         * sysdeps/i386/i486/bits/string.h: Likewise.
49113         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49114         * sysdeps/s390/bits/string.h: Likewise.
49115         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49116         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49117         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49118         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49119         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49120         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49121         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49122         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49123         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49124         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49125         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49126         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49127         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49128         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49129         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49135         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49136         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49137         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49138         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49139         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49140         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49141         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49143         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49144         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49145         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49146         * sysvipc/sys/ipc.h: Likewise.
49147         * sysvipc/sys/msg.h: Likewise.
49148         * sysvipc/sys/sem.h: Likewise.
49149         * sysvipc/sys/shm.h: Likewise.
49150         * termios/termios.h: Likewise.
49151         * time/sys/time.h: Likewise.
49152         * time/time.h: Likewise.
49153         * wcsmbs/bits/wchar2.h: Likewise.
49154         * wcsmbs/uchar.h: Likewise.
49155         * wcsmbs/wchar.h: Likewise.
49156         * wctype/wctype.h: Likewise.
49158         [BZ #13551]
49159         * Makeconfig: Remove all but ELF support including AIX support.
49160         * Makerules: Likewise.
49161         * config.h.in: Likewise.
49162         * config.make.in: Likewise.
49163         * configure: Likewise.
49164         * configure.in: Likewise.
49165         * csu/Makefile: Likewise.
49166         * csu/version.c: Likewise.
49167         * debug/Makefile: Likewise.
49168         * dlfcn/Makefile: Likewise.
49169         * elf/Makefile: Likewise.
49170         * extra-lib.mk: Likewise.
49171         * iconv/Makefile: Likewise.
49172         * include/libc-symbols.h: Likewise.
49173         * include/shlib-compat.h: Likewise.
49174         * resolv/Makefile: Likewise.
49175         * resolv/res_libc.c: Likewise.
49176         * rt/Makefile: Likewise.
49177         * sysdeps/i386/asm-syntax.h: Likewise.
49178         * sysdeps/i386/sysdep.h: Likewise.
49179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49180         * sysdeps/mach/sysdep.h: Likewise.
49181         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49182         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49183         * sysdeps/s390/asm-syntax.h: Likewise.
49184         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49186         * sysdeps/sh/sysdep.h: Likewise.
49187         * sysdeps/unix/sparc/sysdep.h: Likewise.
49188         * sysdeps/wordsize-32/divdi3.c: Likewise.
49189         * sysdeps/x86_64/sysdep.h: Likewise.
49191         * argp/Versions: Remove _argp_unlock_xxx.
49193         [BZ #13559]
49194         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49195         * abilist/libBrokenLocale.abilist: Likewise.
49196         * abilist/libanl.abilist: Likewise.
49197         * abilist/libc.abilist: Likewise.
49198         * abilist/libcrypt.abilist: Likewise.
49199         * abilist/libdl.abilist: Likewise.
49200         * abilist/libm.abilist: Likewise.
49201         * abilist/libnsl.abilist: Likewise.
49202         * abilist/libpthread.abilist: Likewise.
49203         * abilist/libresolv.abilist: Likewise.
49204         * abilist/librt.abilist: Likewise.
49205         * abilist/libthread_db.abilist: Likewise.
49206         * abilist/libutil.abilist: Likewise.
49207         * abilist/libnss_db.abilist: New file.
49209         * scripts/abilist.awk: Add support for indirect functions.
49211         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49213         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49215         * shlib-versions: Remove entries for ports architectures.
49217         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49218         files in ports.
49219         * elf/stackguard-macros.h: Remove support for IA-64.
49220         * elf/tst-auditmod1.c: Likewise.
49221         * sysdeps/generic/ldsodefs.h: Likewise.
49223         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49224         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49225         configure files.
49227         [BZ #13552]
49228         * configure.in: Remove --enable-omitfp support.
49229         * FAQ.in: Adjust.
49230         * config.make.in: Likewise.
49231         * Makeconfig: Likewise.
49232         * manual/install.texi: Likewise.
49234         In case anyone cares, the IA-64 architecture could move to ports.
49235         * sysdeps/ia64/*: Removed.
49236         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49237         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49239         [BZ #13555]
49240         * configure.in: Remove entries for unsupported architectures.
49242         [BZ #13533]
49243         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49244         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49245         routines.
49246         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49247         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49248         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49249         fall back to using wcrtomb.
49250         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49251         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49252         renaming.
49253         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49254         * wcsmbs/tst-c16c32-1.c: New file.
49256         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49257         local variable.
49259         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49261         * elf/tst-unique3.cc: Add explicit declaration of gets.
49262         * elf/tst-unique3lib.cc: Likewise.
49263         * elf/tst-unique3lib2.cc: Likewise.
49264         * elf/tst-unique4.cc: Likewise.
49266         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49268 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49270         [BZ #13566]
49271         * assert/assert.h (static_assert): Don't define for C++.
49272         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49273         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49275 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49277         * iconv/loop.c (single loop): Fix assertion in storing of
49278         remaining bytes.
49280         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49282 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49284         * posix/getconf.c: Update copyright year.
49285         * nss/getent.c: Likewise.
49286         * nss/makedb.c: Likewise.
49287         * iconv/iconvconfig.c: Likewise.
49288         * iconv/iconv_prog.c: Likewise.
49289         * elf/ldconfig.c: Likewise.
49290         * elf/pldd.c: Likewise.
49291         * elf/sotruss.ksh: Likewise.
49292         * catgets/gencat.c: Likewise.
49293         * csu/version.c: Likewise.
49294         * elf/ldd.bash.in: Likewise.
49295         * elf/sprof.c (print_version): Likewise.
49296         * locale/programs/locale.c: Likewise.
49297         * locale/programs/localedef.c: Likewise.
49298         * login/programs/pt_chown.c: Likewise.
49299         * nscd/nscd.c (print_version): Likewise.
49300         * debug/xtrace.sh: Likewise.
49301         * malloc/memusage.sh: Likewise.
49302         * malloc/mtrace.pl: Likewise.
49303         * debug/catchsegv.sh: Likewise.
49305 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49307         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49308         pure attribute.
49310 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49312         [BZ #13533]
49313         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49314         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49315         transformations.
49316         * iconv/gconv_int.h: Likewise.
49317         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49318         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49319         from libc for GLIBC_2.16.
49320         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49321         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49322         * wcsmbs/uchar.h: Really define mbstate_t.
49323         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49324         * wcsmbs/c16rtomb.c: New file.
49325         * wcsmbs/mbrtoc16.c: New file.
49326         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49327         for C/POSIX locale.
49328         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49329         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49331         * wcsmbs/wchar.h: Add missing __restrict.
49333 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49335         [BZ #13532]
49336         * time/Makefile (routines): Add timespec_get.
49337         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49338         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49339         timespec for ISO C11.
49340         * time/timespec_get.c: New file.
49341         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49342         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49344         [BZ #13531]
49345         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49346         * stdlib/stdlib.h: Declare aligned_alloc.
49347         * Versions.def: Add GLIBC_2.16 for libc.
49348         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49350         [BZ 13527]
49351         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49352         ISO C11.
49354         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49355         code.
49357         [BZ #13528]
49358         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49360         [BZ #13529]
49361         * assert/assert.h (static_assert): Define.
49363         * version.h: Update for 2.16 development version.
49365         [BZ #13526]
49366         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49367         _ISOC11_SOURCE.
49369         * version.h (RELEASE): Bump for 2.15 release.
49370         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49372         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49373         Patch by Marek Polacek <mpolacek@redhat.com>.
49375         * bits/byteswap.h: Protect long long constants with __extension__.
49376         * sysdeps/i386/bits/byteswap.h: Likewise.
49377         * sysdeps/ia64/bits/byteswap.h: Likewise.
49378         * sysdeps/s390/bits/byteswap.h: Likewise.
49379         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49381 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49383         [BZ #13540]
49384         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49385         destination buffer.
49386         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49388 2011-12-23  Marek Polacek  <polacek@redhat.com>
49390         * elf/dl-addr.c (determine_info): Add inline keyword.
49391         * elf/tst-auditmod4b.c (check_avx): Likewise.
49392         * elf/tst-auditmod6b.c (check_avx): Likewise.
49393         * elf/tst-auditmod6c.c (check_avx): Likewise.
49394         * elf/tst-auditmod7b.c (check_avx): Likewise.
49396 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49398         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49399         !__SSE_MATH__.
49401 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49403         [BZ #13540]
49404         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49405         processing for last bytes.
49407 2011-08-06  Bruno Haible  <bruno@clisp.org>
49409         [BZ #13061]
49410         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49411         U+0385, not to U+1FEE.
49413         [BZ #13062]
49414         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49415         entry for U+00A5 U+0301.
49417 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49419         [BZ #13166]
49420         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49421         buffer for the output is too small.
49423         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49424         optimization.
49426         [BZ #13185]
49427         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49428         SSE flags if possible.
49430 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49432         [BZ #13540]
49433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49434         processing for last bytes.
49436 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49438         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49439         (syscall-list-default-options, syscall-list-default-condition)
49440         (syscall-list-includes): Define.
49441         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49442         list of ABIs and options and #if conditions for each ABI.  Do not
49443         handle common syscalls between ABIs specially.
49444         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49445         Remove.
49446         (syscall-list-variants, syscall-list-32bit-options)
49447         (syscall-list-32bit-condition, syscall-list-64bit-options)
49448         (syscall-list-64bit-condition): Define.
49449         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49450         (syscall-list-variants, syscall-list-32bit-options)
49451         (syscall-list-32bit-condition, syscall-list-64bit-options)
49452         (syscall-list-64bit-condition): Define.
49453         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49454         Remove.
49455         (syscall-list-variants, syscall-list-32bit-options)
49456         (syscall-list-32bit-condition, syscall-list-64bit-options)
49457         (syscall-list-64bit-condition): Define.
49458         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49459         Remove.
49460         (syscall-list-variants, syscall-list-32bit-options)
49461         (syscall-list-32bit-condition, syscall-list-64bit-options)
49462         (syscall-list-64bit-condition): Define.
49464 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49466         * locale/iso-639.def: Add brx entry.
49468         [BZ #13328]
49469         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49470         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49472         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49473         __feraiseexcept_renamed.
49475 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49477         [BZ #13538]
49478         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49479         EPOLLET with unsigned values.
49480         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49481         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49483         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49484         to large cancellation.
49485         * math/s_cacoshf.c: Likewise.
49486         * math/s_cacoshl.c: Likewise.
49488 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49490         [BZ #13305]
49491         [BZ #12786]
49492         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49493         * math/s_cacoshf.c: Likewise.
49494         * math/s_cacoshl.c: Likewise.
49496 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49498         [BZ #13439]
49499         * iconv/gconv.h: Define __GCONV_SWAP.
49500         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49501         * iconvdata/utf-16.c: Likewise.
49502         * iconvdata/utf-32.c: Likewise.
49504 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49506         [BZ #13524]
49507         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49508         numerator after shifting it by one limb.
49510 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49513         under [__USE_EXTERN_INLINES].
49515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49517         [BZ #13446]
49518         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49520 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49522         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49523         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49524         optimized code.
49525         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49526         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49527         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49528         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49529         for strncasecmp/strncasecmp_l compilation.
49530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49531         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49533 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49535         [BZ #13484]
49536         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49537         of __asm__.
49539 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49541         [BZ #13506]
49542         * time/tzfile.c (__tzfile_read): Check values from file header.
49544 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49546         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49547         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49548         * powerpc/powerpc32/dl-start.S: Likewise.
49549         * powerpc/powerpc32/elf/start.S: Likewise.
49550         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49551         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49552         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49553         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49554         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49555         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49556         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49557         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49558         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49559         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49560         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49561         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49562         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49563         * powerpc/powerpc32/memset.S: Likewise.
49564         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49565         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49566         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49567         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49568         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49569         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49570         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49571         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49572         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49573         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49574         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49575         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49576         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49578 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49580         * math/libm-test.inc: Added more nearbyint tests.
49581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49586 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49588         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49589         FD_CLOEXEC.
49591 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49593         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49594         Add wcscpy-ssse3 wcscpy-c.
49595         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49596         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49597         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49598         * sysdeps/x86_64/wcschr.S: New file.
49599         * sysdeps/x86_64/wcsrchr.S: New file.
49600         * string/test-strcmp.c: Remove checking of wcscmp function for
49601         wrong alignments.
49602         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49603         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49604         wcsrchr-sse2 wcsrchr-c.
49605         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49606         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49607         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49608         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49609         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49610         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49611         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49612         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49613         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49614         * wcsmbc/wcschr.c (WCSCHR): New macro.
49616 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49618         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49619         * wcsmbs/test-wcsrchr.c: New file.
49620         * string/test-strrchr.c: Add wcsrchr support.
49621         (WIDE): New macro.
49622         * wcsmbs/test-wcscpy.c: New file.
49623         * string/test-strcpy.c: Add wcscpy support.
49624         (WIDE): New macro.
49626 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49628         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49629         the inner loop.
49631 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49633         [BZ #13472]
49634         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49636 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49638         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49639         Minor optimizations.
49641         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49642         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49643         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49645 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49647         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49648         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49649         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49650         for gcc to avoid warnings.
49651         * inet/Makefile (tests): Add tst-checks.
49652         * inet/tst-checks.c: New file.
49654         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49655         warning.
49657         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49658         __wmemcmp_sse2.
49660         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49661         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49663         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49665 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49667         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49668         problem.
49670         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49672 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49675         conditional on GCC version.
49676         (__arch_compare_and_exchange_val_8_acq)
49677         (__arch_compare_and_exchange_val_16_acq)
49678         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49679         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49680         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49682 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49684         * sysdeps/sh/backtrace.c: New file.
49686 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49688         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49689         parenthesis.
49691 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49693         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49694         falling back to utime.
49696 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49698         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49699         expectations for float.
49701 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49703         * locale/weight.h (findidx): Add parameter len.
49704         * locale/weightwc.h (findidx): Likewise.
49705         * posix/fnmatch_loop.c (FCT): Adjust caller.
49706         * posix/regcomp.c (build_equiv_class): Likewise.
49707         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49708         * posix/regexec.c (check_node_accept_bytes): Likewise.
49709         * string/strcoll_l.c (STRCOLL): Likewise.
49710         * string/strxfrm_l.c (STRXFRM): Likewise.
49712 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49714         * Makefile.in: Remove CVSOPT handling.
49715         * configure.in: Remove use of AC_REVISION.
49716         * iconvdata/Makefile (distribute): No need to filter out CVS.
49717         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49718         handling.
49720 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49723         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49724         [USE_AS_STRNCASECMP_L]: Likewise.
49725         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49726         NO_TLS_DIRECT_SEG_REFS.
49727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49728         Fix argument offsets for non-PIC.
49729         [USE_AS_STRNCASECMP_L]: Likewise.
49730         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49731         NO_TLS_DIRECT_SEG_REFS.
49733 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49735         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49736         O_CLOEXEC.
49737         * locale/loadlocale.c (_nl_load_locale): Likewise.
49739 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49741         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49742         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49743         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49744         (SYSCALL_GETTIME): Set errno on error.
49746         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49747         count references to noai6ai_cached.
49749 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49751         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49753         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49754         FD_CLOEXEC for /proc/self/maps.
49756         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49757         FD_CLOEXEC for /proc/meminfo.
49759         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49760         gai.conf.
49762         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49763         FD_CLOEXEC for given file.
49765         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49767         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49768         FD_CLOEXEC for /etc/hosts.
49769         (_gethtent): Likewise.
49771         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49773         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49774         cancellation and set FD_CLOEXEC for /etc/netgroup.
49776         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49777         reading /etc/publickey.
49779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49780         allow cancellation when reading /etc/group.
49782         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49783         cancellation.
49784         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49786         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49787         when using data file.
49789         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49791         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49792         (write_nis_obj): Use "c" and "e" in fopen.
49794         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49796         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49798         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49800         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49802         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49803         locale.alias.
49805         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49807         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49809         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49811         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49812         file parsing and set FD_CLOEXEC.
49814 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49816         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49818 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49820         * malloc/arena.c (arena_get2): Don't call reused_arena when
49821         _int_new_arena failed.
49823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49825         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49826         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49827         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49828         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49830         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49831         to compile strcasecmp and strncasecmp.
49832         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49833         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49837 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49839         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49840         locale-defines.sym to gen-as-const-headers.
49841         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49842         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49844         to compile strcasecmp and strncasecmp.
49845         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49846         strcasecmp_l and strncasecmp_l.
49847         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49848         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49849         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49850         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49851         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49852         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49853         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49854         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49855         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49856         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49857         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49859 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49861         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49862         result of SYSDEP_GETTIME_CPU to retval.
49863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49864         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49866         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49867         variable.
49869         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49870         mantissa words.
49871         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49873         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49874         from unused variable.
49876         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49877         DWARF definitions.
49878         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49879         for assembling.
49881         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49882         over namespaces.
49884         * sunrpc/rpc_prot.c (rejected): Fix case value.
49886         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49887         unsigned long long int to avoid warnings in shift.
49889         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49890         of use of trans.
49891         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49892         variable tmp.
49894         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49895         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49896         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49898         * nis/nis_table.c (nis_list): Use variable of correct type for
49899         result of __follow_path call.
49901 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49903         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49904         of math functions ceil, trunc, floor, round, and sqrt, when
49905         avaliable on the platform.
49906         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49907         name clash.
49908         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49909         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49910         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49912 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49914         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49917 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49919         * include/unistd.h: Fix __readlink return type.
49920         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49922 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49924         * stdlib/ucontext.h: Undo last change for makecontext.
49926 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49928         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49930         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49931         * setjmp/setjmp.h: Mark functions as non-leaf.
49932         * setjmp/bits/setjmp2.h: Likewise.
49933         * stdlib/ucontext.h: Likewise.
49935 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49937         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49938         (reused_arena): Don't check arena limit.
49939         (arena_get2): Atomically check arena limit.
49941 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49943         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49944         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49947         instructions.
49949 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49951         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49952         handler when locking.
49954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49955         Fix size of allocated buffer.
49957 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49959         [BZ #10103]
49960         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49961         declarations for long double functions.
49962         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49964         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49966 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49968         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49969         installed.
49971         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49972         is disabled.
49974 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49976         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49978 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49980         * include/alloca.h (stackinfo_alloca_round): Define.
49981         (extend_alloca): Use it.
49982         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49983         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49984         here.
49986         * scripts/check-local-headers.sh: Ignore libaudit.h.
49988         * nscd/Makefile (extra-objs): Make recursively expanded.
49990 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49992         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49995         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49996         * posix/tst-rfc3484-2.c: Likewise.
49997         * posix/tst-rfc3484-3.c: Likewise.
49999         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50000         process_vm_writev.
50001         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50002         process_vm_writev.
50003         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50004         process_vm_writev from libc using GLIBC_2.15 version.
50006         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50008 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50010         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50011         stack usage.
50013 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50015         [BZ #13367]
50016         * nss/getent.c (initgroups_keys): Show error message in case no group
50017         names are given.
50019         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50020         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50021         __bump_nl_timestamp.
50022         * nscd/connections (nscd_init): When host database is served open
50023         netlink socket and request notification about configuration changes.
50024         (main_loop_poll): Track netlink file descriptor and bump timestamp
50025         in case data becomes available.
50026         (main_loop_epoll): Likewise.
50027         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50028         (database_pers_head): Add extra_data fileds.
50029         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50030         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50031         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50032         Adjust caller.
50033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50034         in6ai data, call __free_in6ai.
50035         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50036         Add -DHAVE_NETLINK.
50037         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50038         interface information.  Reuse previous data if netlink timestamp
50039         is not changed.
50040         (__bump_nl_timestamp): New function.
50041         (__free_in6ai): New function.
50043 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50045         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50046         close_not_cancel_no_status here.
50047         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50049 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50051         [BZ #13276]
50052         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50053         return value.
50055         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50056         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50057         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50059 2011-07-03  Andreas Jaeger  <aj@suse.de>
50061         [BZ #10709]
50062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50063         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50064         * math/libm-test.inc (sin_test): Add test case.
50066 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50068         [BZ #13337]
50069         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50070         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50072         * elf/chroot_canon.c (chroot_canon): Cleanups.
50074         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50076         [BZ #13335]
50077         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50078         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50080         * string/test-strchr.c: Make usable for strchrnul testing.
50081         * string/test-strchrnul.c: New file.
50082         * string/Makefile (strop-tests): Add strchrnul.
50084         * po/it.po: Update from translation team.
50085         * po/es.po: Likewise.
50087 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50089         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50090         the three constants needed as parameters.  Drop the others.
50091         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50092         __m128i_strloadu_tolower.
50093         Create and initialize variable zero and use it in all the places
50094         where _mm_setzero_si128 was used.
50096         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50097         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50098         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50099         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50100         anymore.
50101         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50102         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50103         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50104         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50105         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50106         __mpranred, __mptan.
50107         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50108         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50109         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50110         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50111         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50112         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50113         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50114         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50115         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50117 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50119         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50120         redefine if SHARED.
50121         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50124         wide char related routines to wcsmbs subdir.
50126 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50128         [BZ #13344]
50129         * misc/sys/cdefs.h (__THROWNL): Define.
50130         * posix/unistd.h: Use __THREADNL instead of __THREAD
50131         for memory synchronization functions.
50133 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50135         [BZ #13349]
50136         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50137         doesn't exist.
50138         * manual/stdio.texi (Obstack Streams): Node removed.
50140 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50142         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50143         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50144         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50146         * math/math_private.h (math_force_eval): Allow non-addressable
50147         arguments.
50148         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50152         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50153         file is not needed.
50155         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50162         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50163         Add AVX variants.
50164         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50165         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50166         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50167         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50168         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50169         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50170         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50171         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50172         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50173         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50174         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50175         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50176         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50177         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50178         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50179         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50180         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50181         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50182         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50184         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50185         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50187         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50188         place.  Use VEX encoding when compiling for AVX.
50190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50192         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50193         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50195         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50197 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50199         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50200         useless if() expression.
50201         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50203         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50205         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50206         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50211         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50212         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50213         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50214         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50215         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50216         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50217         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50218         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50219         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50221         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50223 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50225         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50226         condition.
50227         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50229 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50231         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50232         .text section.  Avoid duplicate constants.
50233         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50235         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50241         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50242         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50243         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50244         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50245         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50246         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50247         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50248         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50249         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50250         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50252         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50253         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50254         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50255         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50256         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50257         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50258         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50259         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50260         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50261         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50262         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50263         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50264         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50265         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50266         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50267         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50268         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50269         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50271         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50272         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50273         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50274         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50275         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50276         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50277         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50279 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50281         * sysdeps/x86_64/dla.h: Move to ...
50282         * sysdeps/x86_64/fpu/dla.h: ...here.
50283         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50284         situations.  Use __builtin_fma only for gcc 4.6 and up.
50286         * config.make.in: Add have-mfma4 entry.
50287         * configure.in: Substitute libc_cv_cc_fma4.
50288         * math/Makefile (dbl-only-routines): Add sincostab.
50289         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50290         Use __sincostab not sincos.
50291         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50292         name is a macro.
50293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50297         using __copysign.
50298         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50299         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50300         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50301         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50302         and __inv.
50303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50304         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50305         __copysign.
50306         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50307         define aliases when function name is a macro.
50308         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50309         sysdeps/ieee754/dbl-64/sincos.tbl.
50310         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50311         fma4-enabled routines.
50312         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50313         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50314         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50315         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50317         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50319         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50320         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50321         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50322         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50323         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50324         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50325         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50326         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50327         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50328         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50329         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50330         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50332         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50333         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50335         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50337         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50338         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50339         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50340         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50341         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50343         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50344         rename.
50345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50354 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50356         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50358 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50362         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50363         prediction.
50364         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50366         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50367         Remove unused variable magic_bits.
50368         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50370         * string/strnlen.c: Define and use STRNLEN macro.
50371         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50372         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50374         * wcsmbs/wcslen.c: Define and use WCSLEN.
50375         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50376         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50377         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50378         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50379         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50380         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50381         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50383 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50386         strnlen-sse2-no-bsf.
50387         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50389         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50390         Add strnlen support.
50391         (USE_AS_STRNLEN): New macro.
50392         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50394         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50395         * sysdeps/x86_64/wcslen.S: New file.
50397 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50399         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50400         XMM-moves are used for copying on small sizes.
50402 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50404         * wcsmbs/Makefile (strop-tests): Add wcschr.
50405         * wcsmbs/test-wcschr.c: New file.
50406         * string/test-strchr.c: Update.
50407         Add wcschr support.
50408         (WIDE): New macro.
50410 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50412         * wcsmbs/Makefile (strop-tests): Add wcslen.
50413         * wcsmbs/test-wcslen.c: New file.
50414         * string/test-strlen.c: Update.
50415         Add wcslen support.
50416         (WIDE): New macro.
50418 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50420         * po/it.po: Update from translation team.
50422 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50424         * sysdeps/x86_64/wcscmp.S: Update.
50425         Fix wrong comparison semantics.
50426         wcscmp shall use signed comparison not unsigned.
50427         Don't use substraction to avoid overflow bug.
50428         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50429         * wcsmbc/wcscmp.c: Likewise.
50430         * string/test-strcmp.c: Likewise.
50431         Add new tests to check cases with negative values.
50433 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50435         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50436         * sysdeps/x86_64/dla.h: ...here.  New file.
50437         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50442         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50447 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50450         __ynl_finite aliases.
50452 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50456         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50457         define DLA_FMA.
50458         [DLA_FMA] (EMULV): Use DLA_FMA.
50459         [DLA_FMA] (MUL12): Use EMULV.
50460         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50461         that are not needed.
50462         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50470 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50472         * math/s_nan.c: Undef __nan.
50473         * math/s_nanf.c: Undef __nanf.
50474         * math/s_nanl.c: Undef __nanl.
50475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50476         "math_private.h".
50478 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50480         * math/s_catan.c: Add branch predictions.
50481         * math/s_catanf.c: Likewise.
50482         * math/s_catanh.c: Likewise.
50483         * math/s_catanhf.c: Likewise.
50484         * math/s_catanhl.c: Likewise.
50485         * math/s_catanl.c: Likewise.
50486         * math/s_cexp.c: Likewise.
50487         * math/s_cexpf.c: Likewise.
50488         * math/s_cexpl.c: Likewise.
50489         * math/s_clog.c: Likewise.
50490         * math/s_clog10.c: Likewise.
50491         * math/s_clog10f.c: Likewise.
50492         * math/s_clog10l.c: Likewise.
50493         * math/s_clogf.c: Likewise.
50494         * math/s_clogl.c: Likewise.
50495         * math/s_csqrt.c: Likewise.
50496         * math/s_csqrtf.c: Likewise.
50497         * math/s_csqrtl.c: Likewise.
50498         * math/s_ctanf.c: Likewise.
50499         * math/s_ctanh.c: Likewise.
50500         * math/s_ctanhf.c: Likewise.
50501         * math/s_ctanhl.c: Likewise.
50502         * math/s_ctanl.c: Likewise.
50504         * math/math_private.h: Define __nan, __nanf, __nanl.
50505         * math/s_cacosh.c: Include <math_private.h>.
50506         * math/s_cacoshl.c: Likewise.
50507         * math/s_casinh.c: Likewise.
50508         * math/s_casinhf.c: Likewise.
50509         * math/s_casinhl.c: Likewise.
50510         * math/s_ccos.c: Rely entire on ccosh.
50511         * math/s_ccosf.c: Rely entire on ccoshf.
50512         * math/s_ccosl.c: Rely entirely on ccoshl.
50513         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50514         Remove tests for FE_INVALID.
50515         * math/s_ccoshf.c: Likewise.
50516         * math/s_ccoshl.c: Likewise.
50517         * math/s_csin.c: Likewise.
50518         * math/s_csinf.c: Likewise.
50519         * math/s_csinh.c Likewise.
50520         * math/s_csinhf.c: Likewise.
50521         * math/s_csinhl.c: Likewise.
50522         * math/s_csinl.c: Likewise.
50523         * math/s_ctan.c: Likewise.
50524         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50525         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50528 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50531         compilation problems.
50533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50534         __builtin_expect.
50536 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50538         * sysdeps/i386/configure.in: Test for -mfma4 option.
50539         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50540         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50541         COMMON_CPUID_INDEX_80000001.
50542         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50543         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50544         use it if FMA3 is not supported.
50545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50547         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50548         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50550 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50552         [BZ #12892]
50553         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50554         it would create a cycle with a link time dependency.
50556 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50558         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50559         instruction.
50560         * string/Makefile (strop-tests): Add rawmemchr.
50561         * string/test-rawmemchr.c: New file.
50563         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50564         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50565         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50566         when compiling str{,n}casecmp and when AVX is available.  Hook up
50567         new optimized code in initializers.
50569 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50571         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50572         __feraiseexcept instead of feraiseexcept.
50574 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50576         * math/math_private.h: Define defaults for libc_fetestexcept and
50577         libc_feupdateenv.
50578         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50579         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50580         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50581         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50582         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50583         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50584         libc_fetestexcept and libc_feupdateenv.
50586         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50587         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50588         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50589         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50590         libc_feholdexcept_setround.
50592         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50593         Add s_nearbyint-c and s_nearbyintf-c.
50594         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50595         nearbyintf inlines.
50596         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50597         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50598         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50599         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50601         * math/math_private.h: Define defaults for libc_fegetround,
50602         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50603         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50604         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50605         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50606         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50607         standard functions.
50608         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50609         Remove comments and hacks for old compiler versions.
50610         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50611         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50612         libc_feholdexceptl.
50614 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50616         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50617         (__feraiseexcept_renamed): Add __NTH.
50618         (feraiseexcept): Add __NTH.  Rename local variables to fix
50619         namespace violations.
50621 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50625         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50627         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50628         recently added interfaces.
50629         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50631         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50632         about macro parameter expansion.
50634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50635         __NO_MATH_INLINES is defined.  Cleanups.
50637         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50638         and __floorf is target has SSE4.1.
50639         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50640         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50641         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50642         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50644         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50645         name.
50646         (floorf): Likewise.
50648         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50650 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50652         * misc/sys/cdefs.h: Fix last change.
50654         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50655         database lookup.
50657 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50659         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50661         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50663         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50664         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50666         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50668         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50669         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50670         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50671         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50672         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50673         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50674         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50675         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50676         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50677         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50678         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50679         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50680         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50681         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50682         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50685         ceil, ceilf, floor, floorf.
50687         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50688         Perform IRELATIVE relocations last.
50690         * elf/do-rel.h: Add another parameter nrelative, replacing the
50691         local variable with the same name.  Change name of the function
50692         to end in Rel or Rela (uppercase).
50693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50694         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50695         elf_dynamic_do_##reloc function.
50697 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50699         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50700         is sufficient, at least on modern CPUs.
50702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50704         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50705         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50707         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50708         __expl_finite.
50709         * math/bits/math-finite.h: Add entries for exp.
50710         * math/e_expl.c: Add __*_finite alias.
50711         * sysdeps/i386/fpu/e_exp.S: Likewise.
50712         * sysdeps/i386/fpu/e_expf.S: Likewise.
50713         * sysdeps/i386/fpu/e_expl.c: Likewise.
50714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50716         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50719         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50720         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50722         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50723         is sufficient, at least on modern CPUs.
50725         * ctype/ctype-info.c (__ctype_init): Define.
50726         * include/ctype.h (__ctype_init): Declare.
50727         (__ctype_b_loc): The variable is always initialized.
50728         (__ctype_toupper_loc): Likewise.
50729         (__ctype_tolower_loc): Likewise.
50730         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50731         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50733 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50735         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50737         * configure.in: Also look in $cxxmachine/include for C++ system
50738         headers.
50740 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50742         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50743         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50744         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50745         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50747         (USE_AS_WMEMCMP): New macro.
50748         Fixing indents.
50749         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50750         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50751         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50752         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50754         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50755         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50756         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50757         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50758         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50759         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50760         (USE_AS_WMEMCMP): New macro.
50761         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50762         * sysdeps/string/test-memcmp.c: Update.
50763         Fix simple_wmemcmp.
50764         Add new tests.
50765         * wcsmbs/wmemcmp.c: Update.
50766         (WMEMCMP): New macro.
50767         Fix overflow bug.
50769 2011-10-12  Andreas Jaeger  <aj@suse.de>
50771         [BZ #13268]
50772         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50774 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50776         * libio/iofwide.c (do_length): Avoid warning.
50778         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50780 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50782         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50784         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50785         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50786         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50787         * sysdeps/i386/i686/fpu/e_log.S: New file.
50788         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50789         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50791         * ctype/ctype.h: Add support for inlined isXXX functions when
50792         compiling C++ code.
50794 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50796         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50798         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50800 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50802         [BZ #13291]
50803         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50805 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50808         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50809         feraiseexcept.
50811         * sysdeps/x86_64/memrchr.S: Check for zero size.
50813         * string/stratcliff.c: Add memrchr tests.
50815 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50818         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50819         rawmemchr-sse2 rawmemchr-sse2-bsf.
50820         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50821         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50822         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50823         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50824         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50825         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50826         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50827         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50828         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50829         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50830         * string/memrchr.c (MEMRCHR): New macro.
50832 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50834         Add integration with gcc's -ffinite-math-only and optimize wrapper
50835         functions in libm.
50836         * Versions.def: Define GLIBC_2.15 version for libm.
50837         * math/Makefile (headers): Add bits/math-finite.h.
50838         * math/bits/math-finite.h: New file.
50839         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50840         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50841         * math/e_acoshl.c: Add __*_finite alias.
50842         * math/e_acosl.c: Likewise.
50843         * math/e_asinl.c: Likewise.
50844         * math/e_atan2l.c: Likewise.
50845         * math/e_atanhl.c: Likewise.
50846         * math/e_coshl.c: Likewise.
50847         * math/e_exp10.c: Likewise.
50848         * math/e_exp10f.c: Likewise.
50849         * math/e_exp10l.c: Likewise.
50850         * math/e_exp2l.c: Likewise.
50851         * math/e_fmodl.c: Likewise.
50852         * math/e_gammal_r.c: Likewise.
50853         * math/e_hypotl.c: Likewise.
50854         * math/e_j0l.c: Likewise.
50855         * math/e_j1l.c: Likewise.
50856         * math/e_jnl.c: Likewise.
50857         * math/e_lgammal_r.c: Likewise.
50858         * math/e_log10l.c: Likewise.
50859         * math/e_log2l.c: Likewise.
50860         * math/e_logl.c: Likewise.
50861         * math/e_powl.c: Likewise.
50862         * math/e_sinhl.c: Likewise.
50863         * math/e_sqrtl.c: Likewise.
50864         * math/e_scalb.c: Completely rewritten and optimized.
50865         * math/e_scalbf.c: Likewise.
50866         * math/e_scalbl.c: Likewise.
50867         * math/w_acos.c: Likewise.
50868         * math/w_acosf.c: Likewise.
50869         * math/w_acosl.c: Likewise.
50870         * math/w_acosh.c: Likewise.
50871         * math/w_acoshf.c: Likewise.
50872         * math/w_acoshl.c: Likewise.
50873         * math/w_asin.c: Likewise.
50874         * math/w_asinf.c: Likewise.
50875         * math/w_asinl.c: Likewise.
50876         * math/w_atan2.c: Likewise.
50877         * math/w_atan2f.c: Likewise.
50878         * math/w_atan2l.c: Likewise.
50879         * math/w_atanh.c: Likewise.
50880         * math/w_atanhf.c: Likewise.
50881         * math/w_atanhl.c: Likewise.
50882         * math/w_exp10.c: Likewise.
50883         * math/w_exp10f.c: Likewise.
50884         * math/w_exp10l.c: Likewise.
50885         * math/w_fmod.c: Likewise.
50886         * math/w_fmodf.c: Likewise.
50887         * math/w_fmodl.c: Likewise.
50888         * math/w_j0.c: Likewise.
50889         * math/w_j0f.c: Likewise.
50890         * math/w_j0l.c: Likewise.
50891         * math/w_j1.c: Likewise.
50892         * math/w_j1f.c: Likewise.
50893         * math/w_j1l.c: Likewise.
50894         * math/w_jn.c: Likewise.
50895         * math/w_jnf.c: Likewise.
50896         * math/w_log.c: Likewise.
50897         * math/w_logf.c: Likewise.
50898         * math/w_logl.c: Likewise.
50899         * math/w_log10.c: Likewise.
50900         * math/w_log10f.c: Likewise.
50901         * math/w_log10l.c: Likewise.
50902         * math/w_log2.c: Likewise.
50903         * math/w_log2f.c: Likewise.
50904         * math/w_log2l.c: Likewise.
50905         * math/w_pow.c: Likewise.
50906         * math/w_powf.c: Likewise.
50907         * math/w_powl.c: Likewise.
50908         * math/w_remainder.c: Likewise.
50909         * math/w_remainderf.c: Likewise.
50910         * math/w_remainderl.c: Likewise.
50911         * math/w_scalb.c: Likewise.
50912         * math/w_scalbf.c: Likewise.
50913         * math/w_scalbl.c: Likewise.
50914         * math/w_sqrt.c: Likewise.
50915         * math/w_sqrtf.c: Likewise.
50916         * math/w_sqrtl.c: Likewise.
50917         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50918         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50919         used.
50920         * math/math_private.h: Declare __kernel_standard_f.
50921         * math/w_cosh.c: Remove cruft and optimize a bit.
50922         * math/w_coshf.c: Likewise.
50923         * math/w_coshl.c: Likewise.
50924         * math/w_exp2.c: Likewise.
50925         * math/w_exp2f.c: Likewise.
50926         * math/w_exp2l.c: Likewise.
50927         * math/w_hypot.c: Likewise.
50928         * math/w_hypotf.c: Likewise.
50929         * math/w_hypotl.c: Likewise.
50930         * math/w_lgamma.c: Likewise.
50931         * math/w_lgamma_r.c: Likewise.
50932         * math/w_lgammaf.c: Likewise.
50933         * math/w_lgammaf_r.c: Likewise.
50934         * math/w_lgammal.c: Likewise.
50935         * math/w_lgammal_r.c: Likewise.
50936         * math/w_sinh.c: Likewise.
50937         * math/w_sinhf.c: Likewise.
50938         * math/w_sinhl.c: Likewise.
50939         * math/w_tgamma.c: Likewise.
50940         * math/w_tgammaf.c: Likewise.
50941         * math/w_tgammal.c: Likewise.
50942         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50944         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50945         Minor optimizations.  Pretty printing.  Remove cruft.
50946         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50947         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50948         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50949         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50950         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50951         * sysdeps/i386/fpu/e_asin.S: Likewise.
50952         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50953         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50954         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50955         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50957         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50958         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50959         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50960         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50961         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50962         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50963         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50964         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50965         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50966         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50967         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50968         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50969         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50970         * sysdeps/i386/fpu/e_log.S: Likewise.
50971         * sysdeps/i386/fpu/e_log10.S: Likewise.
50972         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50973         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50974         * sysdeps/i386/fpu/e_log2.S: Likewise.
50975         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50977         * sysdeps/i386/fpu/e_logf.S: Likewise.
50978         * sysdeps/i386/fpu/e_logl.S: Likewise.
50979         * sysdeps/i386/fpu/e_pow.S: Likewise.
50980         * sysdeps/i386/fpu/e_powf.S: Likewise.
50981         * sysdeps/i386/fpu/e_powl.S: Likewise.
50982         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50983         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50984         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50985         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50986         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50988         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50989         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50990         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50995         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50997         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51012         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51015         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51016         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51017         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51018         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51019         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51029         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51030         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51031         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51032         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51033         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51034         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51036         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51037         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51038         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51039         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51040         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51041         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51042         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51043         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51044         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51046         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51047         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51048         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51049         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51050         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51051         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51056         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51058         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51059         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51065         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51067         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51068         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51070         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51072         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51073         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51074         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51075         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51077         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51079         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51080         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51081         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51082         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51083         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51084         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51085         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51086         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51087         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51088         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51089         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51090         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51091         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51092         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51093         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51094         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51095         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51097         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51099         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51100         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51101         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51102         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51103         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51104         (__isnanf): Likewise.
51105         (__isinf_ns): Likewise.
51106         (__isinf_nsf): Likewise.
51107         (__finite): Likewise.
51108         (__finitef): Likewise.
51109         (__ieee754_sqrt): Define as macro.
51110         (__ieee754_sqrtf): Define as macro.
51111         (__ieee754_sqrtl): Define as macro.
51112         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51113         inlined copy.
51114         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51115         __FINITE_MATH_ONLY__ consistent.
51116         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51118 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51120         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51121         of rawmemchr.
51123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51125 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51127         * po/ja.po: Update from translation team.
51129 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51131         * locale/programs/locarchive.c (prepare_address_space): New function.
51132         (create_archive, enlarge_archive, open_archive): Use it.
51134         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51135         inside [SHARED], where it is used.
51137         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51139         * nss/getent.c (netgroup_keys): Remove unused variable.
51140         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51142 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51144         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51145         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51146         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51147         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51148         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51150         * math/Makefile (libm-calls): Add s_isinf_ns.
51151         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51152         * math/multc3.c: Likewise.
51153         * math/s_casin.c: Likewise.
51154         * math/s_casinf.c: Likewise.
51155         * math/s_casinl.c: Likewise.
51156         * math/s_ccos.c: Likewise.
51157         * math/s_ccosf.c: Likewise.
51158         * math/s_ccosl.c: Likewise.
51159         * math/s_ctan.c: Likewise.
51160         * math/s_ctanf.c: Likewise.
51161         * math/s_ctanh.c: Likewise.
51162         * math/s_ctanhf.c: Likewise.
51163         * math/s_ctanhl.c: Likewise.
51164         * math/s_ctanl.c: Likewise.
51165         * math/w_fmod.c: Likewise.
51166         * math/w_fmodf.c: Likewise.
51167         * math/w_fmodl.c: Likewise.
51168         * math/w_remainder.c: Likewise.
51169         * math/w_remainderf.c: Likewise.
51170         * math/w_remainderl.c: Likewise.
51171         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51172         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51175         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51176         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51177         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51178         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51180         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51181         of the number.
51182         * stdio-common/printf_fphex.c: Likewise.
51183         * stdio-common/printf_size.c: Likewise.
51185         * math/e_exp10.c: Include math_private.h using <...> not "...".
51186         * math/e_exp10f.c: Likewise.
51187         * math/e_exp10l.c: Likewise.
51188         * math/e_exp2l.c: Likewise.
51189         * math/e_j0l.c: Likewise.
51190         * math/e_j1l.c: Likewise.
51191         * math/e_jnl.c: Likewise.
51192         * math/e_lgammal_r.c: Likewise.
51193         * math/e_rem_pio2l.c: Likewise.
51194         * math/e_scalb.c: Likewise.
51195         * math/e_scalbf.c: Likewise.
51196         * math/e_scalbl.c: Likewise.
51197         * math/k_cosl.c: Likewise.
51198         * math/k_sinl.c: Likewise.
51199         * math/k_tanl.c: Likewise.
51200         * math/s_cacoshf.c: Likewise.
51201         * math/s_catan.c: Likewise.
51202         * math/s_catanf.c: Likewise.
51203         * math/s_catanh.c: Likewise.
51204         * math/s_catanhf.c: Likewise.
51205         * math/s_catanhl.c: Likewise.
51206         * math/s_catanl.c: Likewise.
51207         * math/s_ccosh.c: Likewise.
51208         * math/s_ccoshf.c: Likewise.
51209         * math/s_ccoshl.c: Likewise.
51210         * math/s_cexp.c: Likewise.
51211         * math/s_cexpf.c: Likewise.
51212         * math/s_cexpl.c: Likewise.
51213         * math/s_clog.c: Likewise.
51214         * math/s_clog10.c: Likewise.
51215         * math/s_clog10f.c: Likewise.
51216         * math/s_clog10l.c: Likewise.
51217         * math/s_clogf.c: Likewise.
51218         * math/s_clogl.c: Likewise.
51219         * math/s_csin.c: Likewise.
51220         * math/s_csinf.c: Likewise.
51221         * math/s_csinh.c: Likewise.
51222         * math/s_csinhf.c: Likewise.
51223         * math/s_csinhl.c: Likewise.
51224         * math/s_csinl.c: Likewise.
51225         * math/s_csqrt.c: Likewise.
51226         * math/s_csqrtf.c: Likewise.
51227         * math/s_csqrtl.c: Likewise.
51228         * math/s_ctan.c: Likewise.
51229         * math/s_ctanf.c: Likewise.
51230         * math/s_ctanh.c: Likewise.
51231         * math/s_ctanhf.c: Likewise.
51232         * math/s_ctanhl.c: Likewise.
51233         * math/s_ctanl.c: Likewise.
51234         * math/s_ldexp.c: Likewise.
51235         * math/s_ldexpf.c: Likewise.
51236         * math/s_ldexpl.c: Likewise.
51237         * math/s_significand.c: Likewise.
51238         * math/s_significandf.c: Likewise.
51239         * math/s_significandl.c: Likewise.
51240         * math/w_acos.c: Likewise.
51241         * math/w_acosf.c: Likewise.
51242         * math/w_acosh.c: Likewise.
51243         * math/w_acoshf.c: Likewise.
51244         * math/w_acoshl.c: Likewise.
51245         * math/w_acosl.c: Likewise.
51246         * math/w_asin.c: Likewise.
51247         * math/w_asinf.c: Likewise.
51248         * math/w_asinl.c: Likewise.
51249         * math/w_atan2.c: Likewise.
51250         * math/w_atan2f.c: Likewise.
51251         * math/w_atan2l.c: Likewise.
51252         * math/w_atanh.c: Likewise.
51253         * math/w_atanhf.c: Likewise.
51254         * math/w_atanhl.c: Likewise.
51255         * math/w_cosh.c: Likewise.
51256         * math/w_coshf.c: Likewise.
51257         * math/w_coshl.c: Likewise.
51258         * math/w_dremf.c: Likewise.
51259         * math/w_exp10.c: Likewise.
51260         * math/w_exp10f.c: Likewise.
51261         * math/w_exp10l.c: Likewise.
51262         * math/w_exp2.c: Likewise.
51263         * math/w_exp2f.c: Likewise.
51264         * math/w_fmod.c: Likewise.
51265         * math/w_fmodf.c: Likewise.
51266         * math/w_fmodl.c: Likewise.
51267         * math/w_hypot.c: Likewise.
51268         * math/w_hypotf.c: Likewise.
51269         * math/w_hypotl.c: Likewise.
51270         * math/w_j0.c: Likewise.
51271         * math/w_j0f.c: Likewise.
51272         * math/w_j0l.c: Likewise.
51273         * math/w_j1.c: Likewise.
51274         * math/w_j1f.c: Likewise.
51275         * math/w_j1l.c: Likewise.
51276         * math/w_jn.c: Likewise.
51277         * math/w_jnf.c: Likewise.
51278         * math/w_jnl.c: Likewise.
51279         * math/w_lgamma.c: Likewise.
51280         * math/w_lgamma_r.c: Likewise.
51281         * math/w_lgammaf.c: Likewise.
51282         * math/w_lgammaf_r.c: Likewise.
51283         * math/w_lgammal.c: Likewise.
51284         * math/w_lgammal_r.c: Likewise.
51285         * math/w_log.c: Likewise.
51286         * math/w_log10.c: Likewise.
51287         * math/w_log10f.c: Likewise.
51288         * math/w_log10l.c: Likewise.
51289         * math/w_log2.c: Likewise.
51290         * math/w_log2f.c: Likewise.
51291         * math/w_log2l.c: Likewise.
51292         * math/w_logf.c: Likewise.
51293         * math/w_logl.c: Likewise.
51294         * math/w_pow.c: Likewise.
51295         * math/w_powf.c: Likewise.
51296         * math/w_powl.c: Likewise.
51297         * math/w_remainder.c: Likewise.
51298         * math/w_remainderf.c: Likewise.
51299         * math/w_remainderl.c: Likewise.
51300         * math/w_scalb.c: Likewise.
51301         * math/w_scalbf.c: Likewise.
51302         * math/w_scalbl.c: Likewise.
51303         * math/w_sinh.c: Likewise.
51304         * math/w_sinhf.c: Likewise.
51305         * math/w_sinhl.c: Likewise.
51306         * math/w_sqrt.c: Likewise.
51307         * math/w_sqrtf.c: Likewise.
51308         * math/w_sqrtl.c: Likewise.
51309         * math/w_tgamma.c: Likewise.
51310         * math/w_tgammaf.c: Likewise.
51311         * math/w_tgammal.c: Likewise.
51313         * po/ja.po: Update from translation team.
51315 2011-09-29  Andreas Jaeger  <aj@suse.de>
51317         [BZ #13179]
51318         * sunrpc/netname.c (netname2host): Fix logic.
51320         [BZ #6779]
51321         [BZ #6783]
51322         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51323         correctly.
51324         * math/w_remainder.c (__remainder): Likewise.
51325         * math/w_remainderf.c (__remainderf): Likewise.
51326         * math/libm-test.inc (remainder_test): Add test cases.
51328 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51330         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51331         sdiv_qrnnd.
51333 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51335         * string/test-memcmp.c: Avoid unncessary #defines.
51336         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51338 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51340         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51341         Use new sse2 version for core i3 - i7 as it's faster
51342         than sse42 version.
51343         (bit_Prefer_PMINUB_for_stringop): New.
51344         * sysdeps/x86_64/rawmemchr.S: Update.
51345         Replace with faster SSE2 version.
51346         * sysdeps/x86_64/memrchr.S: New file.
51347         * sysdeps/x86_64/memchr.S: Update.
51348         Replace with faster SSE2 version.
51350 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51352         * elf/dl-load.c (lose): Add cast to avoid warning.
51354 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51356         * po/ca.po: Update from translation team.
51358         * inet/getnetgrent_r.c: Hook up nscd.
51359         * nscd/Makefile (routines): Add nscd_netgroup.
51360         (nscd-modules): Add netgroupcache.
51361         (CFLAGS-netgroupcache.c): Define.
51362         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51363         (cache_search): Add const to second parameter.
51364         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51365         INNETGR.
51366         (dbs): Add netgrdb entry.
51367         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51368         (verify_persistent_db): Handle netgrdb.
51369         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51370         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51371         GETFDNETGR.
51372         (netgroup_response_header): Define.
51373         (innetgroup_response_header): Define.
51374         (datahead): Add netgroup_response_header and innetgroup_response_header
51375         elements.
51376         * nscd/nscd.conf: Add entries for netgroup cache.
51377         * nscd/nscd.h (dbtype): Add netgrdb.
51378         (_PATH_NSCD_NETGROUP_DB): Define.
51379         (netgroup_iov_disabled): Declare.
51380         (xmalloc, xcalloc, xrealloc): Move declarations here.
51381         (cache_search): Adjust prototype.
51382         Add netgroup-related prototypes.
51383         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51384         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51385         (__nscd_innetgr): Declare.
51386         * nscd/selinux.c (perms): Use access_vector_t as element type and
51387         add netgroup-related initializers.
51388         * nscd/netgroupcache.c: New file.
51389         * nscd/nscd_netgroup.c: New file.
51390         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51391         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51392         For four parameters use innetgr.
51393         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51394         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51395         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51396         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51398         * nscd/connections.c (register_traced_file): Don't register file
51399         for disabled databases.
51401 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51403         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51405         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51406         from tree and freeing node.
51408 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51410         * nss/nsswitch.c (__nss_database_lookup): Handle
51411         nss_parse_service_list out of memory case.
51413 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51415         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51416         out of memory case.
51418 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51420         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51421         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51422         pass it down.
51423         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51424         elf_machine_rela, elf_machine_lazy_rel.
51425         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51426         (ELF_DYNAMIC_DO_REL): Likewise.
51427         (ELF_DYNAMIC_DO_RELA): Likewise.
51428         (ELF_DYNAMIC_RELOCATE): Likewise.
51429         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51430         to ELF_DYNAMIC_DO_REL.
51431         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51432         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51433         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51434         elf_machine_rela.
51435         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51436         skip_ifunc, don't call ifunc function if non-zero.
51437         (elf_machine_rela): Likewise.
51438         (elf_machine_lazy_rel): Likewise.
51439         (elf_machine_lazy_rela): Likewise.
51440         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51441         (elf_machine_lazy_rel): Likewise.
51442         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51443         Likewise.
51444         (elf_machine_lazy_rel): Likewise.
51445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51446         Likewise.
51447         (elf_machine_lazy_rel): Likewise.
51448         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51449         (elf_machine_lazy_rel): Likewise.
51450         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51451         (elf_machine_lazy_rel): Likewise.
51452         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51453         (elf_machine_lazy_rel): Likewise.
51454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51455         (elf_machine_lazy_rel): Likewise.
51456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51457         (elf_machine_lazy_rel): Likewise.
51458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51459         (elf_machine_lazy_rel): Likewise.
51461 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51463         * nss/nss_files/files-init.c (_nss_files_init): Use static
51464         initialization for all the *_traced_file variables.
51466 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51468         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51470 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51472         [BZ #13226]
51473         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51475 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51477         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51478         Reread the line before reparsing it.
51480 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51482         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51484 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51485             Maxim Kuvyrkov  <maxim@codesourcery.com>
51486             Joseph Myers  <joseph@codesourcery.com>
51488         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51489         if needed for __stack_chk_guard.
51491 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51493         * sysdeps/posix/spawni.c (script_execute): Always define it.
51494         It will be optimized away if unused.
51495         (maybe_script_execute): New function.
51496         (__spawni): Call it.
51498         * Makerules: Don't include tls.make.
51499         (config-tls): Always set to thread.
51500         * tls.make.c: File removed.
51502 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51504         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51505         * config.make.in (CPPFLAGS-config): New substituted variable.
51507 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51511         [BZ #13192]
51512         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51513         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51515 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51517         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51518         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51520         (CALL_FAIL): Likewise.
51521         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51522         (CALL_FAIL): Macro removed.
51523         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51525 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51527         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51528         for __FINITE_MATH_ONLY__ == 1.
51530 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51532         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51533         __ieee754_sqrt instead of sqrt.
51534         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51535         __ieee754_sqrtf instead of sqrtf.
51536         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51537         __floorf instead of floorf.
51538         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51539         __floorf, __truncf instead of floorf, truncf.
51541 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51543         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51545         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51546         __extern_always_inline.
51547         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51548         32-bit.
51550 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51552         * elf/rtld.c (dl_main): Also relocate in dependency order when
51553         doing symbol dependency testing.
51555 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51558         Always define `refsym'.
51560 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51562         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51563         (__FD_ELT): Renamed from __FDELT.
51564         * misc/bits/select2.h (__FD_ELT): Likewise.
51565         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51566         __FD_MASK instead of __FDELT, __FDMASK.
51567         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51568         Likewise.
51569         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51570         Likewise.
51572         * elf/Makefile (gen-ldd): Fix pattern.
51574         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51575         (init_tls): Likewise.
51577 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51579         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51581 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51583         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51584         `struct cmsghdr *' instead of `void *'.
51585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51586         Likewise.
51588 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51590         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51591         if non-absolute.
51592         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51593         ldd_rewrite_script.
51595 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51597         * configure.in: Remove --with-tls option.
51598         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51599         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51600         out in case it is missing.
51601         * sysdeps/ia64/elf/configure.in: Likewise.
51602         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51603         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51604         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51605         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51606         * sysdeps/sh/elf/configure.in: Likewise.
51607         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51608         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51609         * sysdeps/x86_64/elf/configure.in: Likewise.
51610         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51611         * sysdeps/mach/hurd/tls.h: Likewise.
51613         [BZ #13067]
51614         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51616         [BZ #13090]
51617         * configure.in: Fix use of AC_INIT.
51619         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51621 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51623         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51624         __set_errno.
51625         * malloc/hooks.c: Likewise.
51627         [BZ #11929]
51628         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51629         variables statically.
51630         (narenas): Initialize.
51631         (list_lock): Initialize.
51632         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51633         initializtion of main_arena and list_lock.  Small cleanups.
51634         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51635         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51636         Add initializers to main_arena and mp_.
51637         (malloc_state): Remove pagesize member.  Change all users to use
51638         GLRO(dl_pagesize).
51640         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51641         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51642         is always initialized.
51644         * malloc/malloc.c: Removed unused configurations and dead code.
51645         * malloc/arena.c: Likewise.
51646         * malloc/hooks.c: Likewise.
51647         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51649         * include/tls.h: Removed.  USE___THREAD must always be defined.
51650         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51651         * elf/dl-libc.c: Likewise.
51652         * elf/dl-tsd.c: Likewise.
51653         * include/errno.h: Likewise.
51654         * include/netdb.h: Likewise.
51655         * include/resolv.h: Likewise.
51656         * inet/herrno-loc.c: Likewise.
51657         * inet/herrno.c: Likewise.
51658         * malloc/arena.c: Likewise.
51659         * malloc/hooks.c: Likewise.
51660         * malloc/malloc.c: Likewise.
51661         * resolv/res-state.c: Likewise.
51662         * resolv/res_libc.c: Likewise.
51663         * sysdeps/i386/dl-machine.h: Likewise.
51664         * sysdeps/ia64/dl-machine.h: Likewise.
51665         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51666         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51667         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51669         * sysdeps/sh/dl-machine.h: Likewise.
51670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51671         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51672         * sysdeps/unix/i386/sysdep.S: Likewise.
51673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51674         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51679         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51683         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51684         * sysdeps/x86_64/dl-machine.h: Likewise.
51685         * tls.make.c: Likewise.
51687         * configure.in: Remove --with-__thread option.  Make tests for
51688         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51689         tls_model attribute fail if no support is available.  Remove
51690         USE_IN_LIBIO.
51691         * Makeconfig: Adjust for dropped configure option.  All features are
51692         now mandatory.
51693         * Makerules: Likewise.
51694         * Versions.def: Likewise.
51695         * argp/argp-fmtstream.c: Likewise.
51696         * argp/argp-fmtstream.h: Likewise.
51697         * argp/argp-help.c: Likewise.
51698         * assert/assert.c: Likewise.
51699         * config.h.in: Likewise.
51700         * config.make.in: Likewise.
51701         * configure: Likewise.
51702         * configure.in: Likewise.
51703         * csu/Versions: Likewise.
51704         * csu/init.c: Likewise.
51705         * elf/tst-audit2.c: Likewise.
51706         * elf/tst-tls10.c: Likewise.
51707         * elf/tst-tls10.h: Likewise.
51708         * elf/tst-tls11.c: Likewise.
51709         * elf/tst-tls12.c: Likewise.
51710         * elf/tst-tls14.c: Likewise.
51711         * elf/tst-tlsmod11.c: Likewise.
51712         * elf/tst-tlsmod12.c: Likewise.
51713         * elf/tst-tlsmod13.c: Likewise.
51714         * elf/tst-tlsmod13a.c: Likewise.
51715         * elf/tst-tlsmod14a.c: Likewise.
51716         * elf/tst-tlsmod15b.c: Likewise.
51717         * elf/tst-tlsmod16a.c: Likewise.
51718         * elf/tst-tlsmod16b.c: Likewise.
51719         * elf/tst-tlsmod7.c: Likewise.
51720         * elf/tst-tlsmod8.c: Likewise.
51721         * elf/tst-tlsmod9.c: Likewise.
51722         * gmon/gmon.c: Likewise.
51723         * grp/fgetgrent_r.c: Likewise.
51724         * grp/putgrent.c: Likewise.
51725         * hurd/fopenport.c: Likewise.
51726         * include/libc-symbols.h: Likewise.
51727         * include/tls.h: Likewise.
51728         * intl/gettextP.h: Likewise.
51729         * intl/loadinfo.h: Likewise.
51730         * locale/global-locale.c: Likewise.
51731         * locale/localeinfo.h: Likewise.
51732         * mach/devstream.c: Likewise.
51733         * malloc/arena.c: Likewise.
51734         * malloc/set-freeres.c: Likewise.
51735         * misc/err.c: Likewise.
51736         * misc/getttyent.c: Likewise.
51737         * misc/mntent_r.c: Likewise.
51738         * posix/getopt.c: Likewise.
51739         * posix/wordexp.c: Likewise.
51740         * pwd/fgetpwent_r.c: Likewise.
51741         * resolv/Versions: Likewise.
51742         * resolv/res_hconf.c: Likewise.
51743         * shadow/fgetspent_r.c: Likewise.
51744         * shadow/putspent.c: Likewise.
51745         * stdio-common/printf_fphex.c: Likewise.
51746         * stdio-common/tmpfile.c: Likewise.
51747         * stdlib/abort.c: Likewise.
51748         * stdlib/fmtmsg.c: Likewise.
51749         * sunrpc/auth_unix.c: Likewise.
51750         * sunrpc/clnt_perr.c: Likewise.
51751         * sunrpc/clnt_tcp.c: Likewise.
51752         * sunrpc/clnt_udp.c: Likewise.
51753         * sunrpc/clnt_unix.c: Likewise.
51754         * sunrpc/openchild.c: Likewise.
51755         * sunrpc/svc_simple.c: Likewise.
51756         * sunrpc/svc_tcp.c: Likewise.
51757         * sunrpc/svc_udp.c: Likewise.
51758         * sunrpc/svc_unix.c: Likewise.
51759         * sunrpc/xdr.c: Likewise.
51760         * sunrpc/xdr_array.c: Likewise.
51761         * sunrpc/xdr_rec.c: Likewise.
51762         * sunrpc/xdr_ref.c: Likewise.
51763         * sunrpc/xdr_stdio.c: Likewise.
51765 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51767         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51769 2011-07-03  Andreas Jaeger  <aj@suse.de>
51771         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51772         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51773         regenerate with gen-libm-tests.pl.
51775 2010-05-12  Petr Baudis  <pasky@suse.cz>
51777         [BZ #11589]
51778         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51779         around j0() zero points by switching to j1().
51780         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51783         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51785 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51787         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51788         instead of 0.
51789         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51790         instead of 0.
51791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51792         Patch in part by Pavel Roskin <proski@gnu.org>.
51794         [BZ #13138]
51795         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51796         realloc.
51797         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51798         Free memory block if necessary.
51800         [BZ #12847]
51801         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51802         be NULL.  Don't lock in this case.
51804 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51806         * elf/elf.h (ELFOSABI_GNU): New macro.
51807         (ELFOSABI_LINUX): Define to that.
51809 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51811         * string/strncat.c (strncat): Undef the symbol in case it has been
51812         defined in bits/string.h.
51814 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51816         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51818         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51819         link map.
51821 2011-08-17  Andreas Jaeger  <aj@suse.de>
51823         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51825 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51826             Ian Lance Taylor  <iant@google.com>
51828         * math/libm-test.inc (lround_test): New testcase.
51829         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51831 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51833         * Makefile: Remove support for automatic cvs check-ins.
51834         * Makerules: Likewise.
51835         * config.make.in: Likewise.
51836         * configure.in: Likewise.
51837         * intl/Makefile: Likewise.
51838         * locale/Makefile: Likewise.
51839         * po/Makefile: Likewise.
51840         * posix/Makefile: Likewise.
51841         * sysdeps/gnu/Makefile: Likewise.
51842         * sysdeps/mach/hurd/Makefile: Likewise.
51843         * sysdeps/sparc/sparc32/Makefile: Likewise.
51845         [BZ #13118]
51846         * posix/Makefile (bug-regex32-ENV): Define.
51847         Patch by John Stanley <jpsinthemix@verizon.net>.
51849         * misc/Makefile (headers): Add bits/select2.h.
51850         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51851         * misc/bits/select2.h: New file.
51852         * include/bits/select2.h: New file.
51853         * debug/Makefile (routines): Add fdelt_chk.
51854         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51855         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51856         FD_ISSET.
51857         * debug/fdelt_chk.c: New file.
51859         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51860         * wcsmbs/test-wmemcmp.c: Likewise.
51861         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51862         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51864 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51866         * string/Makefile (strop-tests): Add memcmp.
51867         * string/test-wmemcmp.c: New file.
51868         * string/test-memcmp.c: Add wmemcmp support.
51870 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51872         [BZ #13153]
51873         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51874         2011-07-19 change.
51876         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51877         garbage value in a __mach_port_mod_refs call in the cases of the
51878         task-self and thread-self ports.
51880 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51882         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51884 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51886         * elf/dl-load.c (lose): Check for non-null L.
51888 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51890         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51892         * elf/dl-libc.c (dlerror_run): Pass back error code from
51893         dl_catch_error.
51895         [BZ #13123]
51896         * elf/dl-load.c (lose): Free l_origin if it is valid.
51898         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51899         names.
51900         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51901         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51903         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51904         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51905         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51907 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51909         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51910         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51911         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51912         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51913         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51914         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51915         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51916         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51917         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51918         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51920 2011-08-15  Alan Modra  <amodra@gmail.com>
51922         [BZ #13092]
51923         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51924         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51925         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51926         ppc_mcount to static-only-routines.
51927         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51928         __mcount_internal.
51929         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51930         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51932 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51934         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51935         for finite and infinity parameters.
51937 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51940         and add nop instructions for throughput optimization.
51941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51943 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51946         aligned copy for power7 with vector-scalar instructions.
51947         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51949 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51952         AVX check.
51954 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51956         [BZ #13144]
51957         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51958         last change.
51960 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51962         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51963         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51964         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51966         clock_gettime.
51968 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51970         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51971         Forgot to demangle the pointer.
51973         * sysdeps/i386/sysdep.h: Define atom_text_section.
51974         * sysdeps/x86_64/sysdep.h: Likewise.
51975         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51976         section with atom_text_section.
51977         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51978         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51979         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51981         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51983         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51984         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51985         already be defined.  Change to take two parameters and don't assign
51986         result to variable.  Adjust all users.
51987         Define INTERNAL_GETTIME if not already defined.
51988         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51989         call.
51990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51991         HAVE_CLOCK_GETTIME_VSYSCALL.
51992         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51994         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51995         gettimeofday vsyscall, just use time.
51997 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52000         <errno.h>.
52002 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52004         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52005         syscall on x86-64.
52006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52007         syscall.
52008         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52009         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52010         syscall if possible.
52012 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52014         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52015         e_ident.  Don't pass to find_mapsXX.
52016         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52021         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52022         * sysdeps/x86_64/multiarch/strchr.S: Update.
52023         Check bit_slow_BSF bit.
52024         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52028 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52030         [BZ #13134]
52031         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52032         before glibc 2.15.
52033         (tryshell): Define.
52034         (__spawni): Change last parameter to be flag.  Test
52035         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52036         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52037         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52038         * posix/spawni.c: Likewise.
52039         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52040         * posix/spawnp.c: Likewise.  Change normal version to use
52041         SPAWN_XFLAGS_USE_PATH.
52042         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52043         SPAWN_XFLAGS_TRY_SHELL.
52045         [BZ #13150]
52046         * posix/glob.h: Remove gcc 1.x support.
52048         [BZ #13068]
52049         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52051 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52054         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52055         strrchr-sse2-bsf
52056         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52057         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52058         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52059         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52060         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52063 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52065         * sysdeps/x86_64/wcscmp.S: New file.
52067         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52068         wcscmp-c wcscmp-sse2
52069         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52070         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52071         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52072         * wcsmbs/wcscmp.c: Allow renaming.
52074 2011-09-05  David S. Miller  <davem@davemloft.net>
52076         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52077         stack slot, rather than the struct return pointer slot.
52078         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52079         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52081         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52083 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52085         * po/ja.po: Update from translation team.
52087         [BZ #13144]
52088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52089         kernel in 64-bit binaries.
52091 2011-09-01  David S. Miller  <davem@davemloft.net>
52093         * elf/elf.h (HWCAP_SPARC_*): Move to..
52094         * sysdeps/sparc/sysdep.h: this new file and add new values.
52095         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52096         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52097         _DL_HWCAP_COUNT to 24.
52098         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52099         entries.
52100         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52101         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52102         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52104         instead of magic constants.
52105         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52107 2011-08-31  David S. Miller  <davem@davemloft.net>
52109         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52111         Reimplement to do errno handling inline.
52112         (SYSCALL_ERROR_HANDLER): New macro.
52113         (__SYSCALL_STRING): Do not do errno handling in asm.
52114         (__CLONE_SYSCALL_STRING): Delete.
52115         (__INTERNAL_SYSCALL_STRING): Delete.
52116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52117         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52118         (PSEUDO): Reimplement to do errno handling inline.
52119         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52120         (SYSCALL_ERROR_HANDLER): New macro.
52121         (__SYSCALL_STRING): Do not do errno handling in asm.
52122         (__CLONE_SYSCALL_STRING): Delete.
52123         (__INTERNAL_SYSCALL_STRING): Delete.
52124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52125         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52126         i386.
52127         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52128         (inline_syscall*): Add 'err' argument.
52129         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52130         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52131         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52132         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52134         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52135         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52137 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52139         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52141 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52143         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52144         directive.
52146 2011-08-24  David S. Miller  <davem@davemloft.net>
52148         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52150 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52152         * elf/Makefile: Add rules to build and run unload8 test.
52153         * elf/unload8.c: New file.
52154         * elf/unload8mod1.c: New file.
52155         * elf/unload8mod1x.c: New file.
52156         * elf/unload8mod2.c: New file.
52157         * elf/unload8mod3.c: New file.
52159         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52160         it wasn't used.
52162 2011-08-23  David S. Miller  <davem@davemloft.net>
52164         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52165         subtract stack bias.
52166         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52167         %sp not %fp in calculations.
52168         (_JMPBUF_UNWINDS_ADJ): Likewise.
52170         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52171         (aio_suspend): Call it to force an exception region around the
52172         AIO_MISC_WAIT() invocation.
52174 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52176         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52177         backslash.
52179 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52181         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52182         protection macro.
52183         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52184         and <dl-machine.h>.
52185         (Elf64_FuncDesc): Remove.
52187 2011-08-22  David S. Miller  <davem@davemloft.net>
52189         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52190         sigaltstack check, add missing cfi directives.
52191         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52192         missing cfi directives, and sigaltstack handling.
52194 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52196         [BZ #11724]
52197         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52198         object is seen twice.
52199         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52201         * elf/Makefile (distribute): Add tst-initorder2.c.
52202         (tests): Add tst-initorder2.
52203         (modules-names): Add tst-initorder2a tst-initorder2b
52204         tst-initorder2c tst-initorder2d.  Add rules to build them.
52205         ($(objpfx)tst-initorder2.out): New rule.
52206         * elf/tst-initorder2.c: New file.
52207         * elf/tst-initorder2.exp: New file.
52209 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52211         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52213         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52214         dependencies back to end of function.
52216         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52217         $(elfobjdir)/ld.so.
52219 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52222         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52224         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52225         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52226         of __vdso_gettimeofday.
52227         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52228         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52229         attribute_hidden.
52230         (_libc_vdso_platform_setup): Remove initialization of
52231         __vdso_gettimeofday and __vdso_time.
52233 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52235         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52236         and fgetc_unlocked.
52237         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52238         getc_unlocked.
52240         * elf/dl-open.c (add_to_global): Report additions to the global scope
52241         for LD_DEBUG=scopes.
52242         (dl_open_worker): Also print scope of newly loaded dependencies.
52243         (_dl_show_scope): Indicate if there is no scope.
52245         [BZ #13114]
52246         * stdio-common/Makefile (tests): Add bug24.
52247         * stdio-common/bug24.c: New file.
52249 2011-08-19  Andreas Jaeger  <aj@suse.de>
52251         [BZ #13114]
52252         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52253         non-existant file when using close-on-exec mode.
52255 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52258         the very first instruction.
52260         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52261         the CFI state in the end.
52262         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52263         inclusion of dl-trampoline.h.
52264         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52266 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52268         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52269         expectations for long double.
52271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52272         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52274 2011-08-14  David S. Miller  <davem@davemloft.net>
52276         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52277         artificual limit depends upon the system page size.
52279 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52281         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52282         * resolv/Makefile: Define CFLAGS-libresolv.
52284 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52286         * nss/makedb.c (compute_tables): Make variables used in nested
52287         function static.
52289 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52291         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52292         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52293         if buffer was too small.
52295         * elf/pldd.c (main): Attach to all threads in the process.
52296         Rewrite /proc handling to use *at functions.
52298 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52300         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52301         specifies first scope to show.
52302         (dl_open_worker): Update callers.  Move printing scope of new
52303         object to before the relocation.
52304         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52305         * sysdeps/generic/ldsodefs.h: Update declaration.
52307         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52308         string for the scope number.
52310 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52312         * nscd/servicescache.c (cache_addserv): Make sure written is always
52313         initialized.
52315 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52317         * sysdeps/i386/i486/bits/atomic.h
52318         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52319         statement expression, so as to suppress "set but not used" warning.
52320         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52322         * string/strncat.c (STRNCAT): Use prototype definition.
52324         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52325         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52326         -Iprograms here.
52327         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52328         (localedef-modules): Add localedef.
52329         (locale-modules): Add locale.
52331         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52332         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52333         to avoid a warning.
52335 2011-08-14  David S. Miller  <davem@davemloft.net>
52337         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52338         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52340 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52342         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52343         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52344         * elf/rtld.c (dl_main): Set l_name of vDSO.
52345         Call _dl_show_scope when DL_DEBUG_SCOPES.
52346         (process_dl_debug): Recognize scopes flag and also set it for all.
52347         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52348         Declare _dl_show_scope.
52350         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52351         (do_dlopen): Pass caller_dlopen to dl_open.
52352         (__libc_dlopen_mode): Initialize caller_dlopen.
52354         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52355         of libc.  Make tolower call locale-independent.  Optimize a bit by
52356         using isdigit instead of isalnum.
52357         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52359 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52361         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52362         was a dependency or dynamically loaded.
52364 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52366         * intl/l10nflist.c: Allow architecture-specific pop function.
52367         * sysdeps/x86_64/l10nflist.c: New file.
52369         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52370         classification.
52372 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52374         * include/dirent.h: Add libc_hidden_proto for scandirat and
52375         scandirat64.  Don't declare __scandirat64.
52376         * dirent/scandirat.c: Add libc_hidden_def.
52377         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52378         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52380 2011-08-10  David S. Miller  <davem@davemloft.net>
52382         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52383         enum.
52384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52386         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52388 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52390         * Versions.def [libc]: Add GLIBC_2.15.
52391         * dirent/Makefile (routines): Add scandirat and scandirat64.
52392         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52393         GLIBC_2.15.
52394         * dirent/dirent.h: Declare scandirat and scandirat64.
52395         * dirent/scandirat.c: New file.
52396         * dirent/scandirat64.c: New file.
52397         * sysdeps/wordsize-64/scandirat.c: New file.
52398         * sysdeps/wordsize-64/scandirat64.c: New file.
52399         * dirent/opendir.c: Define opendirat.
52400         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52401         using scandirat.
52402         * dirent/scandir64.c: Adjust for scandir.c change.
52403         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52404         __scandirat64, and __scandir_cancel_handler.
52405         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52406         additional parameter and use openat instead of open (outside of ld.so).
52407         Add new __opendir as wrapper around __opendirat.
52408         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52409         here without requiring old scandirat implementation.
52411 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52413         * dirent/scandir.c (cancel_handler): Renamed to
52414         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52415         defined.  Adjust users.
52416         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52419 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52421         * string/test-string.h (IMPL): Use __STRING to expand name and then
52422         stringify it.
52424         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52425         of cleanups.
52427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52429         * string/Makefile: Update.
52430         (strop-tests): Append strncat.
52431         * string/test-wcscmp.c: New file.
52432         New comprehensive test for wcscmp.
52433         * string/test-strcmp.c: Update.
52434         (WIDE): New define.
52436 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52438         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52439         line.
52441 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52444         encoding to ACE if AI_IDN.
52446 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52449         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52451 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52453         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52454         Fix overflow bug in strncat.
52455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52457         * string/test-strncat.c: Update.
52458         Add new tests for checking overflow bugs.
52460 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52463         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52464         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52465         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52466         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52467         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52468         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52469         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52470         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52473         (USE_AS_STRCAT): Define.
52474         Add strcat and strncat support.
52475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52477 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52479         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52480         __n bigger than INT_MAX+1.
52481         (__strncmp_g): Likewise.
52483 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52485         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52486         * libio/stido.h: Likewise.
52488         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52489         (AF_NFC): Define.
52490         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52491         (AF_NFC): Define.
52493         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52495         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52496         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52497         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52499         [BZ #13021]
52500         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52501         installed.
52503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52504         typo.
52505         (_dl_x86_64_save_sse): Likewise.
52507 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52509         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52510         OSXSAVE.
52511         (_dl_x86_64_save_sse): Likewise.
52513         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52515         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52517 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52520         change.
52521         (_dl_x86_64_save_sse): Use correct AVX check.
52523 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52526         bug in strncpy/strncat.
52527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52529 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52531         * string/tester.c (test_strcat): Add tests for different alignments
52532         of source and destination.
52533         (test_strncat): Likewise.
52535 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52537         [BZ #12852]
52538         * posix/glob.c (glob): Check passed in values before using them in
52539         expressions to avoid some overflows.
52540         (glob_in_dir): Likewise.
52542         [BZ #13007]
52543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52544         check for AVX enablement so that we don't crash with old kernels and
52545         new hardware.
52546         * elf/tst-audit4.c: Add same checks here.
52547         * elf/tst-audit6.c: Likewise.
52549         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52551 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52553         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52555 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52557         * po/cs.po: Update from translation team.
52558         * po/bg.po: Likewise.
52560 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52562         * misc/sys/cdefs.h: Add support for const attribute.
52563         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52564         to gnu_dev_{major,minor,makedev} functions.
52566 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52568         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52570 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52572         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52573         strlen results.
52575 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52578         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52579         register in order to avoid conflicts with the soft frame pointer
52580         being held in r11 when necessary.
52581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52582         (INTERNAL_VSYSCALL_NCS): Likewise.
52584 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52586         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52587         * elf/dl-fini.c (_dl_fini): Adjust caller.
52588         * elf/dl-close.c (_dl_close_worker): Likewise.
52589         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52591 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52593         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52594         "aux_cache->nlibs < 0".
52596         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52597         in the reload-count case.
52599 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52602         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52603         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52604         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52605         * sysdeps/x86_64/multiarch/strcat.S: New file.
52606         * sysdeps/x86_64/multiarch/strncat.S: New file.
52607         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52608         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52609         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52610         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52611         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52612         (USE_AS_STRCAT): Define.
52613         Add strcat and strncat support.
52614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52616         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52617         * string/strncat.c: Update.
52618         (USE_AS_STRNCAT): Define.
52619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52620         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52621         and i7.
52622         * sysdeps/x86_64/multiarch/init-arch.h
52623         (bit_Prefer_PMINUB_for_stringop): New.
52624         (index_Prefer_PMINUB_for_stringop): Likewise.
52625         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52626         bit_Prefer_PMINUB_for_stringop.
52628 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52630         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52631         buffer64.
52632         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52633         of casting of buffer.
52634         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52635         buffer32 and buffer64.
52636         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52637         writes instead of casting of buffer.
52638         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52639         buffer32.
52640         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52641         casting of buffer.
52643 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52645         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52647 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52649         * nscd/nscd.c (termination_handler): Don't do anything for a database
52650         if it has not yet been initialized.
52652 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52654         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52656 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52658         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52660 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52662         * po/nl.po: Update from translation team.
52663         * po/sv.po: Likewise.
52665 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52667         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52668         now disallowed by GCC.
52670         * configure.in (use-default-link): Default to yes if a test -shared
52671         link meets our qualifications.
52672         * configure: Regenerated.
52674         * config.make.in (output-format): New variable.
52675         * configure.in: Check for ld --print-output-format support.
52676         * configure: Regenerated.
52677         * Makerules ($(common-objpfx)format.lds)
52678         [$(output-format) != unknown]: Just use $(output-format),
52679         instead of the linker-script munging.
52681 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52683         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52684         of $(common-objpfx)shlib.lds.
52685         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52687         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52688         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52690         * configure.in (-z relro check): Adjust test code to add a large
52691         writable data section after it.
52692         * configure: Regenerated.
52694 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52696         * configure.in (-z relro check): Fix test code to make the variable
52697         truly const.
52698         * configure: Regenerated.
52700 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52702         * nscd/nscd.h (struct traced_file): Define.
52703         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52704         elements.  Add traced_files.
52705         (inotify_fd): Declare.
52706         (register_traced_file): Declare.
52707         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52708         (inotify_fd): Export.
52709         (resolv_conf_descr): Remove.
52710         (nscd_init): Move inotify descriptor creation to main.
52711         Don't register files for notification here.
52712         (register_traced_file): New function.
52713         (invalidate_cache): Don't use reset_res to determine whether to call
52714         res_init, go through the list of registered files.
52715         (main_loop_poll): The inotify descriptors are now stored in the
52716         structures for the traced files.
52717         (main_loop_epoll): Likewise
52718         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52719         to __nss_disable_nscd.
52720         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52721         for a database anymore.  Check the records for all the registered
52722         files instead.
52723         * nss/Makefile (libnss_files-routines): Add files-init.
52724         (libnss_db-routines): Add db-init.
52725         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52726         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52727         * nss/nss_db/db-init.c: New file.
52728         * nss/nss_files/files-init.c: New file.
52729         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52730         __nss_lookup_function.
52731         (__nss_lookup_function): Call nss_load_library.
52732         (nss_load_all_libraries): New function.
52733         (__nss_disable_nscd): Take parameter with callback function for files
52734         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52735         used for the cached services.
52736         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52737         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52738         options for features to all the files in nscd.
52740         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52742 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52744         * csu/elf-init.c (__libc_csu_init): Comment typo.
52746 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52748         * po/pl.po: Update from translation team.
52749         * po/ja.po: Likewise.
52750         * po/ru.po: Likewise.
52751         * po/ko.po: Likewise.
52752         * po/fr.po: Likewise.
52754 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52756         * configure.in (.ctors/.dtors header and trailer check):
52757         Use an empirical test on a built program.
52758         * configure: Regenerated.
52760         * configure.in (-z relro check): Use an empirical test on a built DSO.
52761         Detect, but do not require, on ia64.
52762         * configure: Regenerated.
52764         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52765         Update tests that use readelf to use $READELF instead.
52766         * configure: Regenerated.
52768 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52770         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52771         if the result is not used.
52773 2011-07-05  Andreas Jaeger  <aj@suse.de>
52775         [BZ#9696]
52776         * stdlib/tst-strtod.c: Add testcase.
52778 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52780         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52781         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52782         The latter has a higher limit.  Take additional parameter to pass to
52783         the new function.
52784         (__pathconf): Pass file to __statfs_link_max.
52785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52786         __statfs_link_max.
52787         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52788         __statfs_link_max.
52790         [BZ #12868]
52791         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52792         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52793         Handle Lustre.
52794         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52795         (__statfs_filesize_max): Likewise.
52796         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52798 2011-07-05  Andreas Jaeger  <aj@suse.de>
52800         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52802 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52804         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52805         `status' variable.
52806         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52807         Likewise.
52809 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52811         * Makefile (strop-tests): Add strncat.
52812         * string/test-strncat.c: New file.
52814 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52816         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52818 2011-06-21  Andreas Jaeger  <aj@suse.de>
52820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52821         Copy rule from iconvdata/Makefile.
52823 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52825         [BZ #12922]
52826         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52827         but no long options are defined, just return 'W'.
52829 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52831         [BZ #9696]
52832         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52834 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52836         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52837         netgroups to read.
52838         (innetgr): Likewise.
52840 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52842         * config.make.in (install_root): Default to $(DESTDIR).
52844 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52846         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52848 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52850         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52852         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52853         containing directory rather than embedding absolute directory names.
52855         * scripts/check-local-headers.sh: Rewritten using awk.
52856         Match by word, not by line.  Print error messages for matches.
52857         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52859         * Makerules [shlib-lds-flags empty]:
52860         ($(common-objpfx)libc_pic.opts): New target.
52861         ($(common-objpfx)libc_pic.os.clean): New target.
52862         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52864         * config.make.in (OBJCOPY): New variable.
52865         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52866         * configure: Regenerated.
52868         * config.make.in (use-default-link): New variable.
52869         * configure.in (use_default_link): Grok --with-default-link to set it.
52870         * configure: Regenerated.
52871         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52872         (shlib-lds, shlib-lds-flags): Define to empty.
52874         * Makerules (shlib-lds): New variable.
52875         (shlib-lds-flags): New variable.
52876         (build-shlib, build-moduile, build-module-asneeded): Use it.
52877         ($(common-objpfx)libc.so): Use $(shlib-lds).
52878         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52879         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52881         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52882         DT_FLAGS/DT_FLAGS_1 with zero flags.
52884         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52885         linker script munging.
52887 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52889         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52890         as 128-bit value.
52891         * crypt/sha512.c (sha512_process_block): Perform total addition using
52892         128-bit if possible.
52893         (__sha512_finish_ctx): Likewise.
52894         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52895         as 64-bit value.
52896         * crypt/sha256.c (SWAP64): Define.
52897         (sha256_process_block): Perform total addition using 64-bit if
52898         possible.
52899         (__sha256_finish_ctx): Likewise.
52901 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52903         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52905         * nscd/hstcache.c (cache_addhst): Likewise.
52906         * nscd/grpcache.c (cache_addgr): Likewise.
52907         * nscd/aicache.c (addhstaiX): Likewise
52908         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52910 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52912         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52914         * nscd/hstcache.c (cache_addhst): Likewise.
52915         * nscd/grpcache.c (cache_addgr): Likewise.
52916         * nscd/aicache.c (addhstaiX): Likewise
52918 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52920         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52921         domain only when needed.
52923 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52926         is always restored.
52928 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52930         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52931         are re-adding the entry.
52932         * nscd/servicescache.c (cache_addserv): Likewise.
52934 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52936         * sysdeps/generic/dl-irel.h: fix protection against multiple
52937         inclusions.
52938         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52940 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52942         [BZ #12935]
52943         * malloc/memusage.sh: Fix quoting in message.
52944         * debug/xtrace.sh: Likewise.
52946         * configure.in: Remove support for --experimental-malloc option, make
52947         it the default.
52948         * config.make.in: Likewise.
52949         * malloc/Makefile: Likewise.
52951 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52953         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52954         two-byte characters.
52956 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52958         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52959         AC_CACHE_CHECK invocation.
52960         * configure: Regenerated.
52962         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52964 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52966         [BZ #12350]
52967         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52968         bit from old_res_options.
52970         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52972         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52973         value type for setfct.
52975 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52978         __gettimeofday instead of gettimeofday.
52980 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52982         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52984 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52986         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52989         info.
52991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52994         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52995         strcpy-sse2-unaligned strncpy-sse2-unaligned
52996         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52997         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52998         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52999         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53000         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53002         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53003         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53004         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53005         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53006         (STRCPY): Support SSE2 and SSSE3 versions.
53008 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53010         [BZ #12874]
53011         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53012         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53013         kernels which artificially limit size of requests.
53015 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53018         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53019         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53020         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53021         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53022         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53023         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53024         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53026         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53027         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53028         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53029         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53030         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53031         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53033         Enable unaligned load optimization for Intel Core i3, i5 and i7
53034         processors.
53035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53036         Define.
53037         (index_Fast_Unaligned_Load): Define.
53038         (HAS_FAST_UNALIGNED_LOAD): Define.
53040 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53042         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53044 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53046         [BZ #12907]
53047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53048         until it is clear that the information is realy needed.
53049         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53051 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53055 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53058         /sys/devices/system/cpu/online if it is usable.
53060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53061         reading the information from the /proc filesystem to once a second.
53063 2011-06-21  Andreas Jaeger  <aj@suse.de>
53065         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53066         NULL after inclusion of kernel headers.
53068 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53070         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53071         calls to internal_setent.
53073         [BZ #12885]
53074         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53075         addresses using gethostbyname4_r ignore IPv4 addresses.
53077         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53078         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53080         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53082 2011-06-20  David S. Miller  <davem@davemloft.net>
53084         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53085         inclusions.
53086         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53088         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53089         (elf_irel): Use it.
53090         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53091         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53092         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53093         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53094         * sysdeps/x86_64/dl-irel.h: Likewise.
53096         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53097         * elf/dl-sym.c: Likewise.
53099 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53101         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53102         need to dereference resplen2.
53104 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53106         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53110         * Makeconfig: Define vardbdir and inst_vardbdir.
53111         * nss/Makefile: Add rules to install db-Makefile.
53113         * nss/nss_db/db-XXX.c: Cleanup.
53115         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53116         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53117         GLIBC_PRIVATE.
53118         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53119         * nss/makedb.c: Implement -g option to specify that value strings
53120         are generated and should not be added to table iterated over for
53121         get*ent calls.
53122         * nss/nss_db/db-initgroups.c: New file.
53124         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53125         interface.
53127         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53128         (internal_getgrouplist): Adjust to name change.
53129         Update use_initgroups_entry if this is not the first call.
53130         * nss/databases.def: Add initgroups entry.
53132         * nss/makedb.c (compute_tables): Check result of multiple hash table
53133         sizes to minimize maximum chain length.
53135 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53137         * Versions.def: Add entry for libnss_db.
53138         * shlib-versions: Likewise.
53139         * nss/Makefile: Add rules to build libnss_db.
53140         * nss/Versions: Add libnss_db information.  Organize libnss_files
53141         entries better.
53142         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53143         makedb progra.  Some minor improvements to generate smaller files.
53144         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53145         here from...
53146         * nss/makedb.c: ...here.
53147         Improve database format to be smaller and require less memory at
53148         runtime.
53149         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53150         db anymore.
53151         * nss/nss_db/db-netgrp.c: Likewise.
53152         * nss/nss_db/db-open.c: Likewise.
53153         * nss/nss_files/flies-XXX.x: Adjust comments.
53154         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53155         * nss/nss_files/files-grp.c: Likewise.
53156         * nss/nss_files/files-hosts.c: Likewise.
53157         * nss/nss_files/files-network.c: Likewise.
53158         * nss/nss_files/files-proto.c: Likewise.
53159         * nss/nss_files/files-pwd.c: Likewise.
53160         * nss/nss_files/files-rpc.c: Likewise.
53161         * nss/nss_files/files-service.c: Likewise.
53162         * nss/nss_files/files-sgrp.c: Likewise.
53163         * nss/nss_files/files-spwd.c: Likewise.
53164         * nss/nss_db/db-alias.c: Removed.
53165         * nss/nss_db/dummy-db.h: Removed.
53167 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53169         * nss/makedb.c: Rewritten to not use database library.
53170         * nss/Makefile: Update to build new makedb program.
53172 2011-06-14  Andreas Jaeger  <aj@suse.de>
53174         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53175         memset declaration.
53177 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53180         tmpbuf.
53182 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53184         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53185         * elf/Makefile ($(objpfx)ld.so): Likewise.
53187         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53188         Don't list ld.so twice in dependencies.
53190         * posix/bug-regex31.c: Include <stdlib.h>.
53192         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53194         * nis/nss_compat/compat-spwd.c
53195         (getspent_next_nss_netgr): Remove unused variable.
53196         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53198         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53199         nonmembers" output to use the right array.
53201         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53203         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53205         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53206         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53207         * catgets/gencat.c (read_input_file): Likewise.
53208         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53210         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53211         variable definition inside #if's controlling its use.
53213         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53215         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53217         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53219         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53220         unreachable code.
53222         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53224         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53225         * configure: Regenerated.
53227         * Makerules: Revert last change.
53228         * elf/Makefile: Likewise.
53230 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53232         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53233         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53234         (reloc-link): Likewise.
53236 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53238         * elf/Makefile: Add rules to build pldd.
53239         * elf/pldd.c: New file.
53240         * elf/pldd-xx.c: New file.
53242 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53244         * version.h: Update for 2.15 development version.
53246 2011-06-07  David S. Miller  <davem@davemloft.net>
53248         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53249         ifuncs.
53250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53251         elf_machine_lazy_rel): Likewise.
53252         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53254         elf_machine_lazy_rel): Likewise.
53255         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53256         dl_hwcap via passed in argument.
53257         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53258         Likewise.
53260 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53262         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53264 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53266         [BZ #12849]
53267         * manual/fdl-1.1.texi: New file, verbatim from:
53268         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53269         * manual/lgpl-2.1.texi: New file, verbatim from:
53270         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53271         * manual/Makefile (licenses): New variable, list those new file names.
53272         (texis): Use it.
53273         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53275         * manual/fdl.texi: File removed.
53276         * manual/lesser.texi: File removed.
53277         * manual/libc.texinfo (Copying, Documentation License):
53278         Use new @include file names, put @appendix directive before @include.
53280 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53282         [BZ #12841]
53283         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53284         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53285         (mq_open): Add __NTH.
53287 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53290         Assume Intel Core i3/i5/i7 processor if AVX is available.
53292 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53295         typo.
53297 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53299         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53300         memory.  Use alloca_account.  Fix memory leak when retrying.
53302 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53304         * version.h (RELEASE): Bump for 2.14 release.
53305         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53307         * config.make.in (RANLIB): Remove entry.
53309 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53311         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53312         (libc.pot): Work around missing support for .ksh extension in xgettext.
53314         [BZ #12684]
53315         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53316         if both request failed.
53317         (send_dg): In case of server errors clear resplen or *resplen2.
53319         [BZ #12454]
53320         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53321         when there are multiple maps.
53322         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53323         (_dl_fini): Remove test here.
53325         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53327 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53329         [BZ #12350]
53330         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53331         bit from old_res_options.
53332         (gaih_inet): Likewise.
53334         [BZ #11099]
53335         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53336         as signed.
53338         * resolv/res_init.c (res_setoptions): Make the code more compact.
53340         [BZ #11558]
53341         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53342         set RES_USEVC.
53344         [BZ #11634]
53345         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53347         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53349         [BZ #11781]
53350         * malloc/malloc.h: Declare malloc hook variables as volatile.
53352         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53353         in last patch.
53355         [BZ #11799]
53356         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53357         raise in the comment.
53358         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53359         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53360         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53362 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53364         [BZ #12811]
53365         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53366         grow the buffers more if it already has to be sufficient.
53367         (build_wcs_upper_buffer): Likewise.
53368         * posix/regexec.c (check_matching): Likewise.
53369         (clean_state_log_if_needed): Likewise.
53370         (extend_buffers): Don't enlarge buffers beyond size of the input
53371         buffer.
53372         Patches mostly by Emil Wojak <emil@wojak.eu>.
53373         * posix/bug-regex32.c: New file.
53374         * posix/Makefile (tests): Add bug-regex32.
53376         * locale/findlocale.c (_nl_find_locale): Return right away if
53377         _nl_explode_name failed.
53378         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53380         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53382         * debug/xtrace.sh: Unify messages.
53383         * malloc/memusage.sh: Likewise.
53385         [BZ #12813]
53386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53387         time symbol from vDSO.  Substitute with vsyscall if not available.
53388         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53389         __vdso_time.
53391         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53392         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53393         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53394         Add sendmmsg and internal_sendmmsg.
53395         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53396         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53399         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53400         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53401         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53403 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53405         [BZ #12813]
53406         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53407         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53408         available.
53409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53410         __vdso_getcpu.
53412         [BZ #12814]
53413         * iconvdata/Makefile (tests): Add bug-iconv9.
53414         * iconvdata/bug-iconv9.c: New file.
53416 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53418         [BZ #12814]
53419         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53421 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53423         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53424         (struct user_regs_struct): Change intcs field back to cs.
53426 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53428         * po/ja.po: Update from translation team.
53430 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53432         [BZ #12795]
53433         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53434         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53436 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53438         * stdlib/longlong.h: Update from GCC.
53440 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53442         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53443         parameter name.
53444         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53445         Add parameter name.
53446         (__sysconf): Pass it down.
53448 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53450         [BZ #12671]
53451         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53452         some situations.
53453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53454         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53455         add in in __libc_use_alloca calls.  Adjust callers.
53456         (glob): Use malloc in some situations.
53458         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53459         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53460         pltexit.
53462 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53464         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53465         and CLOCK_BOOTTIME_ALARM.
53467         [BZ #12782]
53468         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53469         is returned.
53471         * string/_strerror.c (__strerror_r): Print negative errors as signed
53472         numbers.
53474         [BZ #12777]
53475         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53476         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53477         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53479         * configure.in: Fix typo in redirection and correct removal of test
53480         files in two cases.
53482         [BZ #12788]
53483         * locale/setlocale.c (new_composite_name): Fix test to check for
53484         identical name of all categories.
53486         [BZ #12792]
53487         * libio/filedoalloc.c (local_isatty): New function.
53488         (_IO_file_doallocate): Use local_isatty.
53489         * stdio-common/perror.c (perror): In case a new stream is used
53490         forward the stream error.
53491         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53492         error flag.
53494 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53496         [BZ #11869]
53497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53498         alloca.
53499         * include/alloca.h (extend_alloca_account): Define.
53501         [BZ #11857]
53502         * posix/regex.h: Fix comments with documentation of user-accessible
53503         fields after compilation and describe correct free'ing of pattern
53504         after re_compile_pattern.
53505         Patch by Reuben Thomas <rrt@sc3d.org>.
53507 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53509         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53510         and -mno-altivec to prevent the compiler from using Altivec and/or
53511         VSX instructions when the corresponding registers are not available.
53513 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53515         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53517 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53519         * libio/freopen.c (freopen): Use __dup2, not dup2.
53520         * libio/freopen64.c (freopen64): Likewise.
53522 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53524         [BZ #12775]
53525         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53526         * math/Makefile (tests): Add test-powl.
53527         (CFLAGS-test-powl.c): Define.
53528         * math/test-powl.c: New file.
53530 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53532         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53534 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53536         [BZ #11837]
53537         * iconvdata/gb18030.c: Update to GB18020-2005.
53539 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53541         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53542         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53543         Patch by Aharon Robbins <arnold@skeeve.com>.
53545         [BZ #11892]
53546         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53547         on the stack.
53549         [BZ #11895]
53550         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53551         through underflows.
53553         [BZ #12766]
53554         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53555         point to strings before performing equality test for error_one_per_line
53556         mode.
53558         [BZ #11697]
53559         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53561         [BZ #11820]
53562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53563         (struct user_fpregs_struct): Avoid __uint*_t types.
53565         [BZ #6420]
53566         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53567         symbol info.  Use it instead of calling _dl_addr locally.
53568         (lock_and_info): New function.
53569         (tr_freehook): Call lock_and_info and pass symbol info as additional
53570         parameter to tr_where.
53571         (tr_mallochook): Likewise.
53572         (tr_reallochook): Likewise.
53573         (tr_memalignhook): Likewise.
53575         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53576         used and couldn't be at all thread-safe.
53578 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53580         * libio/freopen.c (freopen): Don't close old file descriptor
53581         before the new one is opened.  Instead dup the new file descriptor
53582         to the old one after the new stream is created.
53583         * libio/freopen64.c (freopen64): Likewise.
53584         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53585         * libio/fileops.c (_IO_new_file_close_it): Handle new
53586         _IO_FLAGS2_NOCLOSE flag.
53587         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53588         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53589         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53590         _IO_FLAGS2_NOCLOSE flag.
53591         * include/unistd.h: Add hidden_proto for dup3.
53592         Define __have_dup3.
53593         * io/dup3.c: Define hidden symbol.
53594         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53596         [BZ #7101]
53597         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53598         when an incomplete long option is used.
53599         * posix/tst-getopt_long1.c: New file.
53600         * posix/Makefile (tests): Add tst-getopt_long1.
53602         [BZ #10138]
53603         * scripts/config.guess: Update from autoconf-2.68.
53604         * scripts/config.sub: Likewise.
53606         [BZ #10157]
53607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53608         tests into ...
53609         (has_cpuclock): ...this.  New function.
53610         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53611         macro here based on has_cpuclock code.
53613         [BZ #10149]
53614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53615         First byte (not low byte) is now always NUL.
53616         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53619         Use non-cancelable interfaces.
53621         [BZ #9809]
53622         * locale/iso-639.def: Add entry for Sorani.
53624         [BZ #11901]
53625         * include/stdlib.h: Move include protection to the right place.
53626         Define abort_msg_s.  Declare __abort_msg with it.
53627         * stdlib/abort.c (__abort_msg): Adjust type.
53628         * assert/assert.c (__assert_fail_base): New function.  Majority
53629         of code from __assert_fail.  Allocate memory for __abort_msg with
53630         mmap.
53631         (__assert_fail): Now call __assert_fail_base.
53632         * assert/assert-perr.c: Remove bulk of implementation.  Use
53633         __assert_fail_base.
53634         * include/assert.hL Declare __assert_fail_base.
53635         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53636         mmap.
53637         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53639 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53641         [BZ #11952]
53642         [BZ #12453]
53643         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53644         until all modules are registered in the DTV.
53645         * elf/Makefile: Add rules to build and run tst-tls19.
53646         * elf/tst-tls19.c: New file.
53647         * elf/tst-tls19mod1.c: New file.
53648         * elf/tst-tls19mod2.c: New file.
53649         * elf/tst-tls19mod3.c: New file.
53650         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53652         [BZ #12083]
53653         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53654         correctly.
53656         [BZ #12601]
53657         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53658         two-byte sequence errors.
53659         * iconvdata/Makefile (tests): Add bug-iconv8.
53660         * iconvdata/bug-iconv8.c: New file.
53662         [BZ #12626]
53663         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53664         buf2 definition.
53666         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53668         [BZ #12432]
53669         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53670         (dummy_getcfa): New function.
53671         (init): Get _Unwind_GetCFA address, use dummy if not found.
53672         (backtrace_helper): In recursion check, also check whether CFA changes.
53673         (__backtrace): Completely initialize arg.
53675         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53676         storing incomplete byte sequence in state object.  Avoid testing for
53677         guaranteed too small input if we know there is enough data available.
53679 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53681         * Makeconfig (+link-pie): Indent.
53682         * Rules (binaries-pie): Define if $(have-fpie) and
53683         $(build-shared).
53684         (binaries-shared): Also filter out $(binaries-pie).
53685         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53686         * nscd/Makefile (others-pie): Add nscd.
53687         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53688         ($(objpfx)nscd): Remove command override.
53689         * login/Makefile (others-pie): Add pt_chown.
53690         ($(objpfx)pt_chown): Remove command override.
53691         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53692         remove command overrides.
53694 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53696         * libio/tst_putwc.c: Fix error messages.
53698         [BZ #12724]
53699         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53700         currently writing and seek to current position when not.
53701         * libio/Makefile (tests): Add bug-fclose1.
53702         * libio/bug-fclose1.c: New file.
53704 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53706         [BZ #12511]
53707         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53708         don't set DF_1_NODELETE here.
53709         (do_lookup_x): When entering new entry test for copy relocation
53710         and if necessary set DF_1_NODELETE flag.
53711         * elf/tst-unique4.cc: New file.
53712         * elf/tst-unique4.h: New file.
53713         * elf/tst-unique4lib.cc: New file.
53714         * elf/Makefile: Add rules to build and run tst-unique4.
53715         Patch by Piotr Bury <pbury@goahead.com>.
53717 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53719         [BZ #12052]
53720         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53722         [BZ #12625]
53723         * misc/mntent_r.c (addmntent): Flush the stream after the output
53725         [BZ #12393]
53726         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53727         (is_trusted_path_normalize): Skip initial colon.  Append slash
53728         to empty buffer.  Duplicate is_trusted_path code but allow
53729         constructed patch to be prefix.
53730         (is_dst): Allow $ORIGIN followed by /.
53731         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53732         Correct testing of result of is_trusted_path_normalize
53733         (decompose_rpath): Fix warning.
53735 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53737         [BZ #11257]
53738         * grp/initgroups.c (internal_getgrouplist): When we found the service
53739         list through the initgroups entry in nsswitch.conf do not always
53740         continue on a successful lookup.  Don't always use the
53741         __nss_group_database value if it is set.
53742         * nss/nsswitch.conf (initgroups): Change action for successful db
53743         lookup to continue for compatibility.
53745 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53747         [BZ #11532]
53748         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53749         and CP774 modules.
53750         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53751         and CP774 modules.
53752         * iconvdata/tst-tables.sh: Likewise.
53753         * iconvdata/cp770.c: New file.
53754         * iconvdata/cp771.c: New file.
53755         * iconvdata/cp772.c: New file.
53756         * iconvdata/cp773.c: New file.
53757         * iconvdata/cp774.c: New file.
53758         * iconvdata/testdata/CP770: New file.
53759         * iconvdata/testdata/CP770..UTF8: New file.
53760         * iconvdata/testdata/CP771: New file.
53761         * iconvdata/testdata/CP771..UTF8: New file.
53762         * iconvdata/testdata/CP772: New file.
53763         * iconvdata/testdata/CP772..UTF8: New file.
53764         * iconvdata/testdata/CP773: New file.
53765         * iconvdata/testdata/CP773..UTF8: New file.
53766         * iconvdata/testdata/CP774: New file.
53767         * iconvdata/testdata/CP774..UTF8: New file.
53769         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53770         END CHARMAP line.
53771         * iconvdata/gen-8bit-gap.sh: Likewise.
53772         * iconvdata/gen-8bit.sh: Likewise.
53774         * locale/iso-639.def: Add ary entry.
53776         [BZ #11258]
53777         * locale/C-translit.h.in: Add U20A1 transliteration.
53779         [BZ #12178]
53780         * locale/iso-639.def: Add wae entry.
53781         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53783         [BZ #12545]
53784         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53785         for n.
53787         [BZ #12711]
53788         * locale/C-translit.h.in: Add entry for U20B9.
53789         Patch by pravin.d.s@gmail.com.
53791 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53793         [BZ #12713]
53794         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53795         ENAMETOOLONG use generic getcwd.
53796         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53797         in rtld.  Use *stat64.
53798         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53799         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53800         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53801         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53802         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53803         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53804         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53805         __fstatat64 macros.
53806         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53807         * dirent/rewinddir.c: Add libc_hidden_def.
53808         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53809         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53811         * include/dirent.h (__alloc_dir): Add flags parameter.
53812         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53813         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53814         __alloc_dir.
53815         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53816         from fdopendir if O_CLOEXEC is already set.
53818 2011-03-15  Alan Modra  <amodra@gmail.com>
53820         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53821         l_tls_firstbyte_offset non-zero.  Save padding offset in
53822         l_tls_firstbyte_offset for later use.
53823         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53824         freeing static tls block.
53826 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53828         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53829         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53830         being defined by the kernel headers.
53832 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53834         [BZ #12734]
53835         * resolv/resolv.h: Define RES_NOTLDQUERY.
53836         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53837         no-tld-query and set RES_NOTLDQUERY.
53838         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53839         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53840         modern BIND to search name as TLD unless forbidden.
53842 2011-05-07  Petr Baudis  <pasky@suse.cz>
53843             Ulrich Drepper  <drepper@gmail.com>
53845         [BZ #12393]
53846         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53847         (is_trusted_path): ...to here.
53848         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53849         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53850         using is_trusted_path_normalize() in setuid scripts.
53852 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53854         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53855         __BEGIN/__END_DECLS.
53857 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53859         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53860         NSS_STATUS_NOTFOUND if no record was found.
53862 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53864         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53865         (headers-not-in-tirpc): Remove rpc/netdb.h
53866         * resolv/netdb.h: Revert last change.
53868 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53870         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53871         circular dependency between libgcc.a and libc.a.
53873 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53875         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53876         * nis/Makefile: Don't install rpcsvc/*.
53877         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53878         instead of <rpc/types.h>.
53879         (MAXHOSTNAMELEN): Define.
53881 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53883         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53885 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53887         [BZ #12714]
53888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53889         gethostbyname4_r when IPv6 results are possible.
53891 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53893         [BZ #12723]
53894         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53895         _PC_PIPE_BUF handling.
53897 2011-04-30  Bruno Haible  <bruno@clisp.org>
53899         [BZ #12717]
53900         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53901         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53902         to 'int'.
53903         * inet/getnameinfo.c (getnameinfo): Likewise.
53905 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53907         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53908         to groups setting in database lookup.
53909         * nss/nsswitch.conf: Add initgroups entry.
53911 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53913         [BZ #12685]
53914         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53915         mode string.
53916         Patch by Eric Blake <eblake@redhat.com>.
53918 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53920         * sunrpc/Makefile (need-export-routines): Add svc_run.
53921         (routines): Remove svc_run.
53922         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53923         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53924         * sunrpc/svc_run.c (svc_run): Likewise.
53925         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53927 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53929         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53930         problem in reallocation in last patch.
53932 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53934         * sunrpc/Makefile: Move inclusion of Rules.
53936 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53938         * nss/nss_files/files-initgroups.c: New file.
53939         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53940         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53941         _nss_files_initgroups_dyn.
53943 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53945         * elf/elf.h (R_ARM_IRELATIVE): Define.
53947 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53949         * po/ru.po: Update from translation team.
53951 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53953         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53954         dependencies.
53956 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53958         [BZ #12653]
53959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53960         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53961         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53965 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53967         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53968         differing bytes.
53969         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53973 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53975         [BZ #12420]
53976         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53977         storing it.
53978         * stdlib/bug-getcontext.c: New file.
53979         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53981 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53983         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53984         instructions into .machine "z9-109".
53985         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53986         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53988 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53990         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53991         between environment variables and auxiliary vector.
53993 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53995         * Makefile: Add rules to build linkobj/libc.so.
53996         * include/libc-symbols.h: Define libc_hidden_nolink.
53997         * include/rpc/auth.h: Mark functions which are to be hidden.
53998         * include/rpc/auth_des.h: Likewise.
53999         * include/rpc/auth_unix.h: Likewise.
54000         * include/rpc/clnt.h: Likewise.
54001         * include/rpc/des_crypt.h: Likewise.
54002         * include/rpc/key_prot.h: Likewise.
54003         * include/rpc/pmap_clnt.h: Likewise.
54004         * include/rpc/pmap_prot.h: Likewise.
54005         * include/rpc/pmap_rmt.h: Likewise.
54006         * include/rpc/rpc_msg.h: Likewise.
54007         * include/rpc/svc.h: Likewise.
54008         * include/rpc/svc_auth.h: Likewise.
54009         * include/rpc/xdr.h: Likewise.
54010         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54011         * nss/Makefile: Likewise.
54012         * sunrpc/Makefile: Don't install headers.  Build library with normal
54013         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54014         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54015         for the compat linking library.  Remove use of INTDEF/INTUSE.
54016         * sunrpc/auth_none.c: Likewise.
54017         * sunrpc/auth_unix.c: Likewise.
54018         * sunrpc/authdes_prot.c: Likewise.
54019         * sunrpc/authuxprot.c: Likewise.
54020         * sunrpc/clnt_gen.c: Likewise.
54021         * sunrpc/clnt_perr.c: Likewise.
54022         * sunrpc/clnt_raw.c: Likewise.
54023         * sunrpc/clnt_simp.c: Likewise.
54024         * sunrpc/clnt_tcp.c: Likewise.
54025         * sunrpc/clnt_udp.c: Likewise.
54026         * sunrpc/clnt_unix.c: Likewise.
54027         * sunrpc/des_crypt.c: Likewise.
54028         * sunrpc/des_soft.c: Likewise.
54029         * sunrpc/get_myaddr.c: Likewise.
54030         * sunrpc/key_call.c: Likewise.
54031         * sunrpc/key_prot.c: Likewise.
54032         * sunrpc/netname.c: Likewise.
54033         * sunrpc/pm_getmaps.c: Likewise.
54034         * sunrpc/pm_getport.c: Likewise.
54035         * sunrpc/pmap_clnt.c: Likewise.
54036         * sunrpc/pmap_prot.c: Likewise.
54037         * sunrpc/pmap_prot2.c: Likewise.
54038         * sunrpc/pmap_rmt.c: Likewise.
54039         * sunrpc/publickey.c: Likewise.
54040         * sunrpc/rpc_cmsg.c: Likewise.
54041         * sunrpc/rpc_common.c: Likewise.
54042         * sunrpc/rpc_dtable.c: Likewise.
54043         * sunrpc/rpc_prot.c: Likewise.
54044         * sunrpc/rpc_thread.c: Likewise.
54045         * sunrpc/rtime.c: Likewise.
54046         * sunrpc/svc.c: Likewise.
54047         * sunrpc/svc_auth.c: Likewise.
54048         * sunrpc/svc_authux.c: Likewise.
54049         * sunrpc/svc_raw.c: Likewise.
54050         * sunrpc/svc_run.c: Likewise.
54051         * sunrpc/svc_simple.c: Likewise.
54052         * sunrpc/svc_tcp.c: Likewise.
54053         * sunrpc/svc_udp.c: Likewise.
54054         * sunrpc/svc_unix.c: Likewise.
54055         * sunrpc/svcauth_des.c: Likewise.
54056         * sunrpc/xcrypt.c: Likewise.
54057         * sunrpc/xdr.c: Likewise.
54058         * sunrpc/xdr_array.c: Likewise.
54059         * sunrpc/xdr_float.c: Likewise.
54060         * sunrpc/xdr_intXX_t.c: Likewise.
54061         * sunrpc/xdr_mem.c: Likewise.
54062         * sunrpc/xdr_rec.c: Likewise.
54063         * sunrpc/xdr_ref.c: Likewise.
54064         * sunrpc/xdr_sizeof.c: Likewise.
54065         * sunrpc/xdr_stdio.c: Likewise.
54067 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54069         [BZ #12650]
54070         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54071         * sysdeps/ia64/dl-tls.h: Likewise.
54072         * sysdeps/powerpc/dl-tls.h: Likewise.
54073         * sysdeps/s390/dl-tls.h: Likewise.
54074         * sysdeps/sh/dl-tls.h: Likewise.
54075         * sysdeps/sparc/dl-tls.h: Likewise.
54076         * sysdeps/x86_64/dl-tls.h: Likewise.
54077         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54079 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54081         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54082         rpath element also skip the following colon.
54083         (expand_dynamic_string_token): Add is_path parameter and pass
54084         down to DL_DST_REQUIRED and _dl_dst_substitute.
54085         (decompose_rpath): Call expand_dynamic_string_token with
54086         non-zero is_path.  Ignore empty rpaths.
54087         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54088         with zero is_path.
54090 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54093         Make cancelable.
54095 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54097         [BZ #12655]
54098         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54099         Patch by Filipe David Manana <fdmanana@apache.org>.
54101 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54104         Maintain aligned stack.
54105         (CHECK_RSP): Remove unused macro.
54107 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54109         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54112 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54114         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54116         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54118 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54120         [BZ #12518]
54121         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54122         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54123         * sysdeps/x86_64/memmove.c: New file.
54124         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54125         (memcpy): Renamed to ...
54126         (__new_memcpy): This.
54127         (memcpy): Provide GLIBC_2_14 memcpy.
54128         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54129         (memcpy): Provide GLIBC_2_2_5 memcpy.
54131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54133         [BZ #12631]
54134         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54136 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54138         * misc/syncfs.c: New file.
54139         * misc/Makefile (routines): Add syncfs.
54140         * posix/unistd.h: Declare syncfs.
54141         * sysdeps/unix/syscalls.list: Add syncfs.
54143 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54145         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54146         open_by_handle_at.
54147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54148         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54150         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54152         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54153         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54157         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54158         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54161         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54165         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54166         sync_file_range.c with -fexceptions.
54167         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54168         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54169         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54170         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54171         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54174         sync_file_range as cancellation point
54175         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54176         now a wrapper around __call_sync_file_range with cancellation handling.
54177         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54178         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54179         function name to __call_sync_file_range.
54180         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54181         Add call_sync_file_range.
54183 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54186         bits/timex.h.
54188 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54190         * iconv/iconv.h: Fix typo in comment.
54191         * io/fcntl.h: Likewise.
54192         * libio/stdio.h: Likewise.
54193         * posix/spawn.h: Likewise.
54194         * posix/unistd.h: Likewise.
54195         * stdlib/stdlib.h: Likewise.
54196         * time/time.h: Likewise.
54197         * wcsmbs/wchar.h: Likewise.
54199         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54200         open_by_handle): Add.
54201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54202         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54203         Augment a few comments.
54204         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54206         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54209         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54210         open_by_handle.
54212         * io/fcntl.h (AT_EMPTY_PATH): Define.
54214 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54216         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54217         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54218         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54219         to...
54220         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54221         * Versions.def: Add GLIBC_2.14.
54222         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54223         Export.
54225 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54227         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54228         round counter.
54229         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54231 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54233         [BZ #12597]
54234         * string/test-strncmp.c (do_page_test): New function.
54235         (check2): Likewise.
54236         (test_main): Call check2.
54237         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54239 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54241         [BZ #12587]
54242         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54243         Handle cache information in CPU leaf 4.
54244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54246 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54248         [BZ #12583]
54249         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54250         character representation.
54251         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54253 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54255         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54256         END(__isnan) to END(__isnanf) to match function entry point/label
54257         EALIGN(__isnanf,...).
54259 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54261         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54263 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54265         [BZ #12510]
54266         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54267         copy from the symbol referenced in the relocation to initialize the
54268         used variable.
54269         Patch by Piotr Bury <pbury@goahead.com>.
54270         * elf/Makefile: Add rules to build and tst-unique3.
54271         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54272         * elf/tst-unique3.cc: New file.
54273         * elf/tst-unique3.h: New file.
54274         * elf/tst-unique3lib.cc: New file.
54275         * elf/tst-unique3lib2.cc: New file.
54277         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54279 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54281         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54282         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54283         to _start.
54285 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54287         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54288         to-be-loaded object along a path to loader is ld.so.
54290 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54291             Ulrich Drepper  <drepper@gmail.com>
54293         * sysdeps/x86_64/memset.S: After aligning destination, code
54294         branches to different locations depending on the value of
54295         misalignment, when multiarch is enabled. Fix this.
54297 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54299         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54300         Set _x86_64_preferred_memory_instruction for AMD processsors.
54301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54302         Set bit_Prefer_SSE_for_memop for AMD processors.
54304 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54306         * libio/fmemopen.c (fmemopen): Optimize a bit.
54308 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54310         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54312 2011-03-03  Roland McGrath  <roland@redhat.com>
54314         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54316 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54318         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54319         __bzero_ultra1 instead of __memset_ultra1.
54321 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54322             Ulrich Drepper  <drepper@gmail.com>
54324         [BZ #12509]
54325         * include/link.h (struct link_map): Add l_orig_initfini.
54326         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54327         returning unsuccessfully.
54328         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54329         close of a file loaded at startup, restore the original l_initfini
54330         list.
54331         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54332         list, store the pointer.
54333         * elf/Makefile ($(objpfx)noload-mem): New rule.
54334         (noload-ENV): Define.
54335         (tests): Add $(objpfx)noload-mem.
54336         * elf/noload.c: Include <memcheck.h>.
54337         (main): Call mtrace.  Close all opened handles.
54339 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54341         [BZ #12454]
54342         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54343         dependencies are missing.
54345 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54347         Fix __if_freereq crash: Unlike the generic version which uses free,
54348         Hurd needs munmap.
54349         * sysdeps/mach/hurd/ifreq.h: New file.
54351 2011-01-27  Petr Baudis  <pasky@suse.cz>
54352             Ulrich Drepper  <drepper@gmail.com>
54354         [BZ 12445]#
54355         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54356         to extend_alloca().
54357         * stdio-common/bug23.c: New file.
54358         * stdio-common/Makefile (tests): Add bug23.
54360 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54361             Ulrich Drepper  <drepper@gmail.com>
54363         [BZ #12489]
54364         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54365         before performing relro protection.  At old place add assertion
54366         to make sure nothing changed.
54368 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54369             Glauber de Oliveira Costa  <glommer@gmail.com>
54371         * elf/elf.h: Add new ARM TLS relocs.
54373 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54376         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54377         cast from r3.
54378         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54379         'tests' variable.
54380         * sysdeps/wordsize-64/tst-writev.c: New file.
54382 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54384         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54385         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54386         insns in _dl_start to prevent a TOC reference before relocs are
54387         resolved.
54389 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54391         [BZ #12469]
54392         * Makeconfig: Remove RANLIB definition.
54393         * Makerules: Don't use RANLIB.
54394         * aclocal.m4: Remove ranlib test.
54395         * configure.in: No need to check for ranlib.
54396         * elf/rtld-Rules: Don't use RANLIB.
54398 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54400         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54401         protection macro.
54402         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54403         inclusion protection macro.
54405         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54406         SIGRTMIN and SIGRTMAX and print information in that case only when
54407         SIGRTMIN is defined.
54409 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54411         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54412         arginfo fn returning -1.
54414         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54415         and thousands string is zero terminated.
54417 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54420         sysdeps/unix/sysv/linux/bits/socket.h.
54422 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54424         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54425         (__CPU_COUNT): Remove old macros.
54426         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54427         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54428         (__CPU_ALLOC, __CPU_FREE): Add macros.
54429         (__sched_cpualloc, __sched_cpufree): Add declarations.
54431 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54433         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54434         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54435         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54436         (readdhstai): Return value of addhstaiX call.
54437         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54438         (addgrbyX): Return value returned by cache_addgr.
54439         (readdgrbyname): Return value returned by addgrbyX.
54440         (readdgrbygid): Likewise.
54441         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54442         (addpwbyX): Return value returned by cache_addpw.
54443         (readdpwbyname): Return value returned by addhstbyX.
54444         (readdpwbyuid): Likewise.
54445         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54446         (addservbyX): Return value returned by cache_addserv.
54447         (readdservbyname): Return value returned by addservbyX:
54448         (readdservbyport): Likewise.
54449         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54450         (addhstbyX): Return value returned by cache_addhst.
54451         (readdhstbyname): Return value returned by addhstbyX.
54452         (readdhstbyaddr): Likewise.
54453         (readdhstbynamev6): Likewise.
54454         (readdhstbyaddrv6): Likewise.
54455         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54456         (readdinitgroups): Return value returned by addinitgroupsX.
54457         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54458         (prune_cache): Keep track of timeout value of re-added entries.
54459         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54460         * nscd/nscd.h: Adjust prototypes of readd* functions.
54462 2011-02-04  Roland McGrath  <roland@redhat.com>
54464         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54465         (nis_stats): Likewise.
54466         * nis/nis_modify.c (nis_modify): Likewise.
54467         * nis/nis_remove.c (nis_remove): Likewise.
54468         * nis/nis_add.c (nis_add): Likewise.
54470         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54472         * posix/fnmatch_loop.c: Add some consts.
54474         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54476 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54478         [BZ #12460]
54479         * config.make.in (config-cflags-novzeroupper): Define.
54480         * configure.in: Substitute libc_cv_cc_novzeroupper.
54481         * elf/Makefile (AVX-CFLAGS): Define.
54482         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54483         (CFLAGS-tst-auditmod4a.c): Likewise.
54484         (CFLAGS-tst-auditmod4b.c): Likewise.
54485         (CFLAGS-tst-auditmod6b.c): Likewise.
54486         (CFLAGS-tst-auditmod6c.c): Likewise.
54487         (CFLAGS-tst-auditmod7b.c): Likewise.
54488         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54490 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54492         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54493         function to the callback.
54494         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54496 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54498         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54499         of errno.
54501 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54503         [BZ #11724]
54504         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54505         of constructors.
54506         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54507         of destructors.
54508         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54510         [BZ #11724]
54511         * elf/Makefile: Add rules to build and run new test.
54512         * elf/tst-initorder.c: New file.
54513         * elf/tst-initorder.exp: New file.
54514         * elf/tst-initordera1.c: New file.
54515         * elf/tst-initordera2.c: New file.
54516         * elf/tst-initordera3.c: New file.
54517         * elf/tst-initordera4.c: New file.
54518         * elf/tst-initorderb1.c: New file.
54519         * elf/tst-initorderb2.c: New file.
54520         * elf/tst-order-a1.c: New file.
54521         * elf/tst-order-a2.c: New file.
54522         * elf/tst-order-a3.c: New file.
54523         * elf/tst-order-a4.c: New file.
54524         * elf/tst-order-b1.c: New file.
54525         * elf/tst-order-b2.c: New file.
54526         * elf/tst-order-main.c: New file.
54527         New test case by George Gensure <werkt0@gmail.com>.
54529 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54532         decoding ACE if AI_CANONIDN.
54534 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54536         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54538 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54540         * version.h (RELEASE): Bump for 2.13 release.
54541         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54543         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54546         MADV_NOHUGEPAGE.
54547         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54548         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54552         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54554         * posix/getconf.c: Update copyright year.
54555         * catgets/gencat.c: Likewise.
54556         * csu/version.c: Likewise.
54557         * debug/catchsegv.sh: Likewise.
54558         * debug/xtrace.sh: Likewise.
54559         * elf/ldconfig.c: Likewise.
54560         * elf/ldd.bash.in: Likewise.
54561         * elf/sprof.c (print_version): Likewise.
54562         * iconv/iconv_prog.c: Likewise.
54563         * iconv/iconvconfig.c: Likewise.
54564         * locale/programs/locale.c: Likewise.
54565         * locale/programs/localedef.c: Likewise.
54566         * malloc/memusage.sh: Likewise.
54567         * malloc/mtrace.pl: Likewise.
54568         * nscd/nscd.c (print_version): Likewise.
54569         * nss/getent.c: Likewise.
54571         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54572         PF_CAIF, and PF_ALG.
54573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54575 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54577         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54578         (modules-names): Use them.
54579         (ifunc-test-modules, ifunc-pie-tests): Define.
54580         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54581         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54582         (test-extras): Likewise.
54583         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54584         $(compile-command.c).
54585         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54586         (all-built-dso): Define.
54587         (check-textrel.out, check-execstack.out): Depend on it.
54589         * configure.in: Don't override --enable-multi-arch.
54591 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54593         [BZ #6812]
54594         * nscd/hstcache.c (tryagain): Define.
54595         (cache_addhst): Return tryagain not notfound for temporary errors.
54596         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54597         failed.
54599 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54601         [BZ #10563]
54602         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54603         to make the syscall.
54604         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54606         [BZ #12378]
54607         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54608         and fall back to matching as normal character if the string ends before
54609         the matching ']' is found.  This is what POSIX requires.
54610         * posix/testfnm.c: Adjust test result.
54611         * posix/globtest.sh: Adjust test result.  Add new test.
54612         * posix/tst-fnmatch.input: Likewise.
54613         * posix/tst-fnmatch2.c: Add new test.
54615 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54617         * elf/Makefile (check-execstack): Revert last change.  Depend on
54618         check-execstack.h.
54619         (check-execstack.h): New target.
54620         (generated): Add check-execstack.h.
54621         * elf/check-execstack.c: Include "check-execstack.h".
54622         (main): Revert last change.
54623         (handle_file): Return zero if GNU_STACK is absent and
54624         DEFAULT_STACK_PERMS doesn't include PF_X.
54626 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54628         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54629         in child fails because the descriptor is already closed.
54630         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54631         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54632         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54634         [BZ #12397]
54635         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54636         syscall.
54638         [BZ #10484]
54639         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54640         temporary buffer used to handle multi lookups locally.
54641         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54643 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54645         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54646         loader is ld.so.
54648 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54650         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54651         alignment for SSE2.
54653 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54655         [BZ #12394]
54656         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54657         characters.  When rounding increased number of integer digits recompute
54658         number of groups.
54659         * stdio-common/tst-grouping.c: New file.
54660         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54662 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54664         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54665         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54667         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54668         void.
54669         * bits/select.h: Likewise.
54671 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54673         * po/ja.po: Update from translation team.
54675 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54677         [BZ #11155]
54678         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54679         implementation just like for lxstat, fxstatat, et al.
54681 2010-12-27  Jim Meyering  <meyering@redhat.com>
54683         [BZ #12348]
54684         * posix/regexec.c (build_trtable): Return failure indication upon
54685         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54687 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54689         [BZ #12201]
54690         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54691         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54693         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54695         [BZ #12207]
54696         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54698         [BZ #12204]
54699         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54700         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54702 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54704         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54705         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54706         script has SORT_BY_INIT_PRIORITY.
54707         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54708         NO_CTORS_DTORS_SECTIONS is defined.
54709         * elf/soinit.c: Likewise.
54710         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54711         NO_CTORS_DTORS_SECTIONS is defined.
54712         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54713         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54714         * sysdeps/sh/init-first.c: Likewise.
54715         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54717 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54719         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54720         always use the slow path.
54722 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54724         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54725         similar rule which adds the sysdep directories to the header search in
54726         order to pick up the correct platform stackinfo.h.
54727         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54728         perform test if it is, otherwise return successfully without testing.
54729         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54730         DEFAULT_STACK_PERMS define in stackinfo.h.
54731         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54732         defined in stackinfo.h.
54733         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54734         DEFAULT_STACK_PERMS defined in stackinfo.h.
54735         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54736         * sysdeps/ia64/stackinfo.h: Likewise.
54737         * sysdeps/s390/stackinfo.h: Likewise.
54738         * sysdeps/sh/stackinfo.h: Likewise.
54739         * sysdeps/sparc/stackinfo.h: Likewise.
54740         * sysdeps/x86_64/stackinfo.h: Likewise.
54741         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54742         PF_X for powerpc64.  Retain PF_X for powerpc32.
54744 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54746         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54747         accurately.
54748         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54749         GETDENTS_64BIT_ALIGNED.
54751 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54753         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54755 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54758         _GNU_SOURCE.
54760         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54761         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54762         Remove __restrict.
54763         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54764         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54766 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54768         [BZ #11655]
54769         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54770         are initialized.
54772 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54774         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54776 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54778         * po/it.po: Update from translation team.
54780 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54783         unused codes.
54785 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54787         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54789 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54791         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54792         specially.
54793         (gaih_getanswer_slice): Likewise.
54795 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54799 2010-05-31  Petr Baudis  <pasky@suse.cz>
54801         [BZ #11149]
54802         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54803         silently even in the chroot mode.
54805 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54807         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54808         last patch a bit.  Pretty printing
54810 2010-05-31  Petr Baudis <pasky@suse.cz>
54812         [BZ #10085]
54813         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54814         initialization of skip_initgroups_dyn.
54816 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54818         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54821 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54823         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54825 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54827         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54828         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54829         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54830         ($(objpfx)tst-fnmatch-mem): New rule.
54831         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54832         * posix/tst-fnmatch.c (main): Call mtrace.
54834 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54837         Support Intel processor model 6 and model 0x2c.
54839 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54841         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54842           signed comparison.
54844 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54846         [BZ #12205]
54847         * string/test-strncasecmp.c (check_result): New function.
54848         (do_one_test): Use it.
54849         (check1): New function.
54850         (test_main): Use it.
54851         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54852         Support strcasecmp and strncasecmp.
54854 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54856         [BZ #12194]
54857         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54858         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54860 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54862         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54863         IFUNC support.
54864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54865         memset-x86-64.
54866         * sysdeps/x86_64/multiarch/bzero.S: New file.
54867         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54868         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54869         * sysdeps/x86_64/multiarch/memset.S: New file.
54870         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54872         Set bit_Prefer_SSE_for_memop for Intel processors.
54873         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54874         Define.
54875         (index_Prefer_SSE_for_memop): Define.
54876         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54878 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54880         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54881         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54883 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54885         [BZ #12191]
54886         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54887         (__x86_64_raw_data_cache_size_half): Likewise.
54888         (__x86_64_raw_shared_cache_size): Likewise.
54889         (__x86_64_raw_shared_cache_size_half): Likewise.
54891         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54892         (__x86_64_raw_data_cache_size_half): Likewise.
54893         (__x86_64_raw_shared_cache_size): Likewise.
54894         (__x86_64_raw_shared_cache_size_half): Likewise.
54895         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54896         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54897         and __x86_64_raw_shared_cache_size_half.  Round
54898         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54899         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54900         to multiple of 256 bytes.
54902 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54904         [BZ #12167]
54905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54906         of inacessible symlinks.  Verify result of symlink before returning it.
54907         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54908         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54910 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54912         * math/math.h (isinf): Fix typo in comment.
54914 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54916         * po/da.po: Update from translation team.
54918 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54920         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54921         is added to the list.
54923 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54924             Ulrich Drepper  <drepper@gmail.com>
54926         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54927         the global list here.  Move code to...
54928         (_dl_add_to_namespace_list): ...here.  New function.
54929         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54930         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54931         * elf/dl-load.c (lose): Don't remove the element from the list.
54932         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54933         (_dl_map_object): Likewise.
54935 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54937         [BZ #12159]
54938         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54939         into all bytes of SSE register.
54940         Patch by Richard Li <richardpku@gmail.com>.
54942 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54944         [BZ #12140]
54945         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54946         perturbing.
54948 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54950         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54951         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54952         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54953         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54955         submachine.
54956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54958 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54960         * include/dlfcn.h (__RTLD_SECURE): Define.
54961         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54962         mode & __RTLD_SECURE instead.
54963         (open_path): Rename preloaded parameter to secure.
54964         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54965         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54966         * elf/dl-deps.c (openaux): Likewise.
54967         * elf/rtld.c (struct map_args): Remove is_preloaded.
54968         (map_doit): Don't use it.
54969         (dl_main): Likewise.
54970         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54971         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54973 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54975         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54976         (sysd-rules-targets): Remove duplicates.
54977         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54978         rtld-%.$o dependency.
54980 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54982         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54983         _dl_map_object do it.
54985 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54987         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54988         fast fma builtins, define the macros in the C99 standard.
54989         (FP_FAST_FMAF): Likewise.
54990         (FP_FAST_FMAL): Likewise.
54991         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54993         * bits/mathdef.h: Update copyright year.
54994         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54996 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54998         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54999         builtins, define the macros in the C99 standard.
55000         (FP_FAST_FMAF): Likewise.
55001         (FP_FAST_FMAL): Likewise.
55002         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55003         multiply/add.
55004         (FP_FAST_FMAF): Likewise.
55006 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55008         [BZ #3268]
55009         * math/libm-test.inc (fma_test): Some new testcases.
55010         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55012         y and infinite z.  Do multiplication by C already in long double.
55013         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55015         y and infinite z.  Do bitwise or of inexact bit into u.d.
55016         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55017         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55018         * sysdeps/i386/fpu/s_fma.S: Removed.
55019         * sysdeps/i386/fpu/s_fmal.S: Removed.
55021 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55023         [BZ #3268]
55024         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55026         computation is not scheduled after fetestexcept.  Fix value
55027         of minimum denormal long double.
55029 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55031         [BZ #3268]
55032         * math/libm-test.inc (fma_test): Add some more tests.
55033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55034         correctly.
55036 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55038         * scripts/data/localplt-s390-linux-gnu.data: New file.
55039         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55041 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55043         [BZ #3268]
55044         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55045         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55046         instead of dbl-64.
55047         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55048         inlines.
55049         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55051         if one of x and y is very large and the other is subnormal.
55052         * sysdeps/s390/fpu/s_fmaf.c: New file.
55053         * sysdeps/s390/fpu/s_fma.c: New file.
55054         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55055         * sysdeps/powerpc/fpu/s_fma.S: New file.
55056         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55057         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55058         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55060 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55062         [BZ #3268]
55063         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55064         fma tests.
55065         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55066         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55067         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55068         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55069         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55070         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55073 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55075         [BZ #12078]
55076         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55077         * posix/bug-regex31.input: Add test case.
55079 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55081         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55082         * posix/bug-regex31.input: New file.
55084         [BZ #12078]
55085         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55086         (parse_sub_exp): Fix last change, use postorder.
55088         * posix/bug-regex31.c: New file.
55089         * posix/Makefile: Add rules to build and run bug-regex31.
55091         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55093         [BZ #12078]
55094         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55096         [BZ #12108]
55097         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55098         to have entries in sys_siglist.
55100         [BZ #12093]
55101         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55102         be NULL.
55104 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55106         [BZ #3268]
55107         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55108         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55109         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55110         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55111         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55112         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55113         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55114         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55115         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55116         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55117         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55119         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55120         * math/ftestexcept.c (fetestexcept): Likewise.
55121         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55122         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55123         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55124         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55125         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55126         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55127         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55129 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55131         [BZ #12107]
55132         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55133         newline.
55135 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55137         * string/bug-strstr1.c: New file.
55138         * string/Makefile: Add rules to build and run bug-strstr1.
55140 2010-10-05  Eric Blake  <eblake@redhat.com>
55142         [BZ #12092]
55143         * string/str-two-way.h (two_way_long_needle): Always clear memory
55144         when skipping input due to the shift table.
55146 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55148         [BZ #12005]
55149         * malloc/mcheck.c: Handle large requests.
55151         [BZ #12077]
55152         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55153         for strncmp and strncasecmp.
55154         * string/stratcliff.c: Add tests for strcmp and strncmp.
55155         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55157 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55159         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55160         __set_fpscr.
55162 2010-09-30  Andreas Jaeger  <aj@suse.de>
55164         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55165         (CGROUP_SUPER_MAGIC): Define.
55166         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55167         Handle btrfs and cgroup file systems.
55168         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55169         Likewise.
55171 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55173         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55174         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55176 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55178         [BZ #12067]
55179         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55180         trying to locate the ELF header.
55182 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55184         [BZ #11611]
55185         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55186         Mask out sign-bit copies when constructing f_fsid.
55188 2010-09-24  Petr Baudis <pasky@suse.cz>
55190         * debug/stack_chk_fail_local.c: Add missing licence exception.
55191         * debug/warning-nop.c: Likewise.
55193 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55195         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55196         implementing getdents64 using getdents syscall, set d_type if
55197         __ASSUME_GETDENTS32_D_TYPE.
55199 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55201         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55202         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55204 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55206         [BZ #12037]
55207         * posix/unistd.h: Undo change of feature selection for ftruncate from
55208         2010-01-11.
55210 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55212         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55213         detection.
55215 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55217         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55218         fanotify_mark.
55219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55221 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55223         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55224         variables after CHECK_SP call.
55225         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55227 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55228             Ulrich Drepper  <drepper@redhat.com>
55230         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55231         re-relocationg ld.so.
55232         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55233         _dl_init_paths call.
55234         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55235         here anymore.
55237 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55239         * resolv/res_init.c (__res_vinit): Count the default server we added.
55241 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55242             Ulrich Drepper  <drepper@redhat.com>
55244         [BZ #11968]
55245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55246         (____longjmp_chk): Use %ebx for saving value across system call.
55247         Add unwind info.
55249 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55251         * manual/Makefile: Don't mix pattern rules with normal rules.
55253 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55255         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55256         operation.
55257         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55258         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55259         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55260         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55262         Likewise.
55264 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55266         [BZ #11979]
55267         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55268         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55270 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55272         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55273         * sysdeps/x86_64/addmul_1.S: Likewise.
55274         * sysdeps/x86_64/lshift.S: Likewise.
55275         * sysdeps/x86_64/mul_1.S: Likewise.
55276         * sysdeps/x86_64/rshift.S: Likewise.
55277         * sysdeps/x86_64/sub_n.S: Likewise.
55278         * sysdeps/x86_64/submul_1.S: Likewise.
55280 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55282         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55283         Define __sched_param instead of SCHED_* and sched_param when
55284         <bits/sched.h> is included with __need_schedparam defined.
55285         * bits/sched.h [__need_schedparam]
55286         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55287         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55288         (__defined_schedparam): Define to 1.
55289         (__sched_param): New structure, identical to sched_param.
55290         (__need_schedparam): Undefine.
55292 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55294         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55295         (epoll_create1): Declare.
55297         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55299 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55301         [BZ #7066]
55302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55303         shifting retval into place.
55305 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55307         * nis/rpcsvc/nis.h: Update copyright notice.
55308         * nis/rpcsvc/nis.x: Likewise.
55309         * nis/rpcsvc/nis_callback.h: Likewise.
55310         * nis/rpcsvc/nis_callback.x: Likewise.
55311         * nis/rpcsvc/nis_object.x: Likewise.
55312         * nis/rpcsvc/nis_tags.h: Likewise.
55313         * nis/rpcsvc/yp.h: Likewise.
55314         * nis/rpcsvc/yp.x: Likewise.
55315         * nis/rpcsvc/ypupd.h: Likewise.
55316         * nis/yp_xdr.c: Likewise.
55317         * nis/ypupdate_xdr.c: Likewise.
55319         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55320         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55321         (pmap_getport): Use __libc_rpc_getport.
55322         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55323         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55324         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55326 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55329         fanotify_mark.
55331 2010-08-27  Roland McGrath  <roland@redhat.com>
55333         * sysdeps/i386/i686/multiarch/Makefile
55334         (CFLAGS-varshift.c): New variable.
55336 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55338         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55339         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55343         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55345 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55347         * sysdeps/x86_64/strlen.S: Unroll the loop.
55348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55349         strlen-sse2 strlen-sse2-bsf.
55350         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55351         __strlen_no_bsf if bit_Slow_BSF is set.
55352         (__strlen_sse42): Removed.
55353         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55354         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55356 2010-08-25  Roland McGrath  <roland@redhat.com>
55358         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55359         * sysdeps/x86_64/multiarch/varshift.c: New file.
55360         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55361         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55362         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55365 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55368         strlen-sse2 strlen-sse2-bsf.
55369         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55370         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55371         (__strlen_sse2): Removed.
55372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55375         bit_Slow_BSF for Atom.
55376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55377         (index_Slow_BSF): Define.
55378         (HAS_SLOW_BSF): Define.
55380 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55382         [BZ #10851]
55383         * resolv/res_init.c (__res_vinit): When no server address at all
55384         is given default to loopback.
55386 2010-08-24  Roland McGrath  <roland@redhat.com>
55388         * configure.in: Remove config-name.h generation.
55389         * configure: Regenerated.
55390         * config-name.in: File removed.
55391         * scripts/config-uname.sh: New file.
55392         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55393         ($(objdir)config-name.h): New target.
55395         * sunrpc/rpc_parse.h: Avoid nested comment.
55397 2010-08-24  Richard Henderson  <rth@redhat.com>
55398             Ulrich Drepper  <drepper@redhat.com>
55399             H.J. Lu  <hongjiu.lu@intel.com>
55401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55403         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55404         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55405         _mm_alignr_epi8 with _mm_loadu_si128.
55406         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55407         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55408         (__m128i_shift_right): Removed.
55409         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55410         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55411         * sysdeps/x86_64/multiarch/varshift.h: New file.
55412         * sysdeps/x86_64/multiarch/varshift.S: New file.
55414 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55416         * configure.in: Move assembler checks to before sysdep dir checking.
55418 2010-08-20  Petr Baudis  <pasky@suse.cz>
55420         * LICENSES: Sync the sunrpc license.
55422 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55424         * sunrpc/auth_des.c: Update copyright notice once again.
55425         * sunrpc/auth_none.c: Likewise.
55426         * sunrpc/auth_unix.c: Likewise.
55427         * sunrpc/authdes_prot.c: Likewise.
55428         * sunrpc/authuxprot.c: Likewise.
55429         * sunrpc/bindrsvprt.c: Likewise.
55430         * sunrpc/clnt_gen.c: Likewise.
55431         * sunrpc/clnt_perr.c: Likewise.
55432         * sunrpc/clnt_raw.c: Likewise.
55433         * sunrpc/clnt_simp.c: Likewise.
55434         * sunrpc/clnt_tcp.c: Likewise.
55435         * sunrpc/clnt_udp.c: Likewise.
55436         * sunrpc/clnt_unix.c: Likewise.
55437         * sunrpc/des_crypt.c: Likewise.
55438         * sunrpc/des_soft.c: Likewise.
55439         * sunrpc/get_myaddr.c: Likewise.
55440         * sunrpc/getrpcport.c: Likewise.
55441         * sunrpc/key_call.c: Likewise.
55442         * sunrpc/key_prot.c: Likewise.
55443         * sunrpc/openchild.c: Likewise.
55444         * sunrpc/pm_getmaps.c: Likewise.
55445         * sunrpc/pm_getport.c: Likewise.
55446         * sunrpc/pmap_clnt.c: Likewise.
55447         * sunrpc/pmap_prot.c: Likewise.
55448         * sunrpc/pmap_prot2.c: Likewise.
55449         * sunrpc/pmap_rmt.c: Likewise.
55450         * sunrpc/rpc/auth.h: Likewise.
55451         * sunrpc/rpc/auth_unix.h: Likewise.
55452         * sunrpc/rpc/clnt.h: Likewise.
55453         * sunrpc/rpc/des_crypt.h: Likewise.
55454         * sunrpc/rpc/key_prot.h: Likewise.
55455         * sunrpc/rpc/netdb.h: Likewise.
55456         * sunrpc/rpc/pmap_clnt.h: Likewise.
55457         * sunrpc/rpc/pmap_prot.h: Likewise.
55458         * sunrpc/rpc/pmap_rmt.h: Likewise.
55459         * sunrpc/rpc/rpc.h: Likewise.
55460         * sunrpc/rpc/rpc_des.h: Likewise.
55461         * sunrpc/rpc/rpc_msg.h: Likewise.
55462         * sunrpc/rpc/svc.h: Likewise.
55463         * sunrpc/rpc/svc_auth.h: Likewise.
55464         * sunrpc/rpc/types.h: Likewise.
55465         * sunrpc/rpc/xdr.h: Likewise.
55466         * sunrpc/rpc_clntout.c: Likewise.
55467         * sunrpc/rpc_cmsg.c: Likewise.
55468         * sunrpc/rpc_common.c: Likewise.
55469         * sunrpc/rpc_cout.c: Likewise.
55470         * sunrpc/rpc_dtable.c: Likewise.
55471         * sunrpc/rpc_hout.c: Likewise.
55472         * sunrpc/rpc_main.c: Likewise.
55473         * sunrpc/rpc_parse.c: Likewise.
55474         * sunrpc/rpc_parse.h: Likewise.
55475         * sunrpc/rpc_prot.c: Likewise.
55476         * sunrpc/rpc_sample.c: Likewise.
55477         * sunrpc/rpc_scan.c: Likewise.
55478         * sunrpc/rpc_scan.h: Likewise.
55479         * sunrpc/rpc_svcout.c: Likewise.
55480         * sunrpc/rpc_tblout.c: Likewise.
55481         * sunrpc/rpc_util.c: Likewise.
55482         * sunrpc/rpc_util.h: Likewise.
55483         * sunrpc/rpcinfo.c: Likewise.
55484         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55485         * sunrpc/rpcsvc/key_prot.x: Likewise.
55486         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55487         * sunrpc/rpcsvc/mount.x: Likewise.
55488         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55489         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55490         * sunrpc/rpcsvc/rex.x: Likewise.
55491         * sunrpc/rpcsvc/rstat.x: Likewise.
55492         * sunrpc/rpcsvc/rusers.x: Likewise.
55493         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55494         * sunrpc/rpcsvc/spray.x: Likewise.
55495         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55496         * sunrpc/rtime.c: Likewise.
55497         * sunrpc/svc.c: Likewise.
55498         * sunrpc/svc_auth.c: Likewise.
55499         * sunrpc/svc_authux.c: Likewise.
55500         * sunrpc/svc_raw.c: Likewise.
55501         * sunrpc/svc_run.c: Likewise.
55502         * sunrpc/svc_simple.c: Likewise.
55503         * sunrpc/svc_tcp.c: Likewise.
55504         * sunrpc/svc_udp.c: Likewise.
55505         * sunrpc/svc_unix.c: Likewise.
55506         * sunrpc/svcauth_des.c: Likewise.
55507         * sunrpc/xcrypt.c: Likewise.
55508         * sunrpc/xdr.c: Likewise.
55509         * sunrpc/xdr_array.c: Likewise.
55510         * sunrpc/xdr_float.c: Likewise.
55511         * sunrpc/xdr_mem.c: Likewise.
55512         * sunrpc/xdr_rec.c: Likewise.
55513         * sunrpc/xdr_ref.c: Likewise.
55514         * sunrpc/xdr_sizeof.c: Likewise.
55515         * sunrpc/xdr_stdio.c: Likewise.
55517         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55518         handling.
55520 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55522         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55524 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55526         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55528         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55529         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55530         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55531         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55532         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55533         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55536         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55537         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55538         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55541 2010-07-26  Anton Blanchard  <anton@samba.org>
55543         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55544         * malloc/arena.c (heap_trim): Likewise.
55546 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55548         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55549         here.  Not...
55550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55551         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55553 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55555         * sysdeps/i386/elf/Makefile: New file.
55557 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55559         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55560         from fanotify_init.
55561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55564 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55566         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55567         of strncasecmp_l.
55568         * sysdeps/multiarch/strcmp.S: Likewise.
55570 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55572         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55573         strncase_l-nonascii.
55574         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55575         Add strncase_l-ssse3.
55576         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55577         * sysdeps/x86_64/strcmp.S: Likewise.
55578         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55579         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55580         * sysdeps/x86_64/strncase.S: New file.
55581         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55582         * sysdeps/x86_64/strncase_l.S: New file.
55583         * string/Makefile (strop-tests): Add strncasecmp.
55584         * string/test-strncasecmp.c: New file.
55586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55587         warning.
55589         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55590         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55592 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55594         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55596 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55598         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55602 2010-05-01  Alan Modra  <amodra@gmail.com>
55604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55605         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55606         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55607         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55608         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55609         tidying.  Don't tail-call __sigjmp_save for static lib.
55610         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55611         save location.
55612         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55613         (CALL_MCOUNT): Add eh info, and nop after bl.
55614         (TAIL_CALL_SYSCALL_ERROR): New macro.
55615         (PSEUDO_RET): Use it.
55616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55617         Correct save location of integer regs and cr.
55618         (_dl_profile_resolve): Correct cr save location.  Delete nops
55619         after bl when SHARED.  Reduce cfi size a little by better
55620         placement of cfi directives.
55621         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55622         make a stack frame.  Instead use parm save area as a temp.
55623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55624         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55626         Don't make a stack frame for parent, use parm save area.
55627         Increase child stack frame to 112 bytes.  Don't save unused reg,
55628         and adjust reg usage.  Set up cfi on error recovery and
55629         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55631         (__makecontext): Add dummy nop after jump to exit.
55632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55633         Use correct parm save area and cr save, reduce stack frame.
55634         Correct cfi for possible PSEUDO_RET frame setup.
55635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55636         Branch to local label emitted by PSEUDO_RET rather than
55637         __syscall_error.
55639 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55641         [BZ #11904]
55642         * locale/programs/locale.c (print_assignment): New function.
55643         (show_locale_vars): Use it.
55645 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55647         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55648         field.
55649         (struct statfs64): Likewise.
55650         (_STATFS_F_FLAGS): Define.
55651         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55653         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55654         (ST_VALID): Define locally.
55655         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55656         __statvfs_getflags, use the provided value.
55657         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55658         __ASSUME_STATFS_F_FLAGS.
55660         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55662         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55663         Add sys/fanotify.h.
55664         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55665         fanotify_mask for GLIBC_2.13.
55666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55667         fanotify_init and fanotify_mark.
55668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55669         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55672         Add prlimit.
55673         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55674         prlimit64 for GLIBC_2.13.
55675         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55676         prlimit64.
55677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55678         syscall.
55679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55681         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55684         add prlimit alias.
55685         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55687         [BZ #11903]
55688         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55689         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55691         * nss/Makefile: Add rules to build and run tst-nss-test1.
55692         * shlib-versions: Add entry for libnss_test1.
55693         * nss/nss_test1.c: New file.
55694         * nss/tst-nss-test1.c: New file.
55696         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55697         (__nss_configure_lookup): Set appropriate entry in
55698         __nss_configure_lookup to true.
55699         * nss/nsswitch.h: Define enum with indeces of databases in
55700         databases and __nss_database_custom arrays.  Declare
55701         __nss_database_custom.
55702         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55703         to avoid using nscd when custom rules are installed.
55704         * nss/getXXbyYY_r.c: Likewise.
55705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55707         * nss/nss_files/files-parse.c: Whitespace fixes.
55709 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55711         [BZ #11883]
55712         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55713         * posix/fnmatch_loop.c: Likewise.
55715 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55717         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55718         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55719         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55720         * Versions.def [GLIBC_2.13]: Add.
55722 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55725         Also fail if tpwd after pwuid call is NULL.
55727 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55729         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55730         when converting to ms.
55732 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55734         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55735         EOPNOTSUPP errors with ENOTTY.
55736         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55737         EOPNOTSUPP errors with ENOTTY.
55739 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55742         Add strcasecmp_l-ssse3.
55743         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55744         strcasecmp.
55745         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55746         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55749 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55751         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55753         * string/Makefile (strop-tests): Add strcasecmp.
55754         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55755         strcasecmp_l-nonascii.
55756         (gen-as-const-headers): Add locale-defines.sym.
55757         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55758         * sysdeps/x86_64/strcasecmp.S: New file.
55759         * sysdeps/x86_64/strcasecmp_l.S: New file.
55760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55761         * sysdeps/x86_64/locale-defines.sym: New file.
55762         * string/test-strcasecmp.c: New file.
55764         * string/test-strcasestr.c: Test both ends of the range of characters.
55765         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55767 2010-07-29  Roland McGrath  <roland@redhat.com>
55769         [BZ #11856]
55770         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55772 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55774         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55775         for ld.so.
55777 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55779         * manual/memory.texi (Malloc Tunable Parameters): Document
55780         M_PERTURB.
55782 2010-07-26  Roland McGrath  <roland@redhat.com>
55784         [BZ #11840]
55785         * configure.in (-fgnu89-inline check): Set and substitute
55786         gnu89_inline, not libc_cv_gnu89_inline.
55787         * configure: Regenerated.
55788         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55790 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55792         * string/test-strnlen.c: New file.
55793         * string/Makefile (strop-tests): Add strnlen.
55794         * string/tester.c (test_strnlen): Add a few more test cases.
55795         * string/tst-strlen.c: Better error reporting.
55797         * sysdeps/x86_64/strnlen.S: New file.
55799 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55802         lower-latency instructions.
55804 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55806         * string/test-strcasestr.c: New file.
55807         * string/test-strstr.c: New file.
55808         * string/Makefile (strop-tests): Add strstr and strcasestr.
55809         * string/str-two-way.h: Don't undefine MAX.
55810         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55812 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55815         strcasestr-nonascii.
55816         (CFLAGS-strcasestr-nonascii.c): Define.
55817         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55819         Remove unused attribute.
55821 2010-07-20  Roland McGrath  <roland@redhat.com>
55823         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55824         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55825         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55826         like LD_HWCAP_MASK can disable hwcaps.
55828 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55830         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55832 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55834         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55835         call in strcasestr.
55836         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55837         __strcasestr_sse42_nonascii.
55838         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55839         strcasestr-nonascii.c.
55840         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55842 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55844         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55849 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55852         fcntl.
55854 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55856         [BZ #11577]
55857         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55858         dl_signal_cerror.
55860 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55862         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55863         _PC_PIPE_BUF using F_GETPIPE_SZ.
55865 2010-07-05  Roland McGrath  <roland@redhat.com>
55867         * manual/arith.texi (Rounding Functions): Fix rint description
55868         implicit in round description.
55870 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55872         * elf/Makefile: Fix linking for a few tests to make recent linker
55873         happy.
55875 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55877         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55878         $(common-objpfx)libc_nonshared.a.
55880 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55882         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55883         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55884         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55885         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55886         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55887         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55889         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55904         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55905         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55906         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55907         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55908         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55909         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55910         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55911         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55912         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55913         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55914         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55915         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55931 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55933         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55934         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55935         * string/memmove.c (memmove): Renamed to ...
55936         (MEMMOVE): ...this.  Default to memmove.
55937         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55938         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55939         (END_CHK): Define.
55940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55941         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55942         mempcpy-ssse3-back memmove-ssse3-back.
55943         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55945         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55946         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55947         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55948         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55949         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55950         * sysdeps/x86_64/multiarch/memmove.c: New file.
55951         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55952         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55953         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55954         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55957         Define.
55958         (index_Fast_Copy_Backward): Define.
55959         (HAS_ARCH_FEATURE): Define.
55960         (HAS_FAST_REP_STRING): Define.
55961         (HAS_FAST_COPY_BACKWARD): Define.
55963 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55966         Restore proper fallback handling.
55968 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55970         [BZ #11701]
55971         * posix/group_member.c (__group_member): Correct checking loop.
55973         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55974         OOM in getpwuid_r correctly.  Return error number when the caller
55975         should return, otherwise -1.
55976         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55977         call returning > 0 value.
55978         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55980 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55982         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55983         libc_nonshared.a from targets in modules-names.
55985 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55987         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55988         requires it.
55990 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55993         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55994         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55997 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55999         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56001 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56003         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56004         and F_GETPIPE_SZ.
56005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56010         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56012 2010-06-14  Roland McGrath  <roland@redhat.com>
56014         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56016 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56018         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56019         __REDIRECT followed by __THROW.
56020         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56021         * posix/getopt.h (getopt): Likewise.
56023 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56025         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56026         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56027         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56028         in AT_FLAGS.
56029         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56030         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56032 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56034         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56036 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56038         [BZ #11640]
56039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56040         Properly check family and model.
56042 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56046 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56048         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56050 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56052         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56053         symbol reference.
56055 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56057         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56058         symbol reference.
56060 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56063         and internal_recvmmsg.
56064         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56065         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56066         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56067         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56069         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56070         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56071         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56073 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56075         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56077 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56079         POWER7 optimizations.
56080         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56081         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56083 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56085         * version.h: Update for 2.13 development version.
56087 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56089         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56090         exceptions.  Return 0.
56092 2010-05-07  Roland McGrath  <roland@redhat.com>
56094         * elf/ldconfig.c (main): Add a const.
56096 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56098         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56099         (args_options): Add no-idn option.
56100         (ahosts_keys_int): Add idn_flags to ai_flags.
56101         (parse_option): Handle 'i' option to clear idn_flags.
56103         * malloc/malloc.c (_int_free): Possible race in the most recently
56104         added check.  Only act on the data if no current modification
56105         happened.
56107 See ChangeLog.17 for earlier changes.