m68k: force inlining bswap functions
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4         (__bswap_64): Mark as __always_inline.
5
6 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7
8         [BZ #15378]
9         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10         when none of the search directories exist.
11
12 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13
14         [BZ #17869]
15         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16         power8 in .machine directive.
17
18         [BZ #17868]
19         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20         set dependency from opd value.
21
22 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23
24         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26         architecture.
27
28 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29
30         [BZ #17870]
31         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32         with uint64_t.
33         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34         (uint64_t) 1.
35         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37         Replace 1UL with (uint64_t) 1.
38         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39         int with uint64_t.
40
41 2015-01-23  Roland McGrath  <roland@hack.frob.com>
42
43         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
44         (if_freenameindex): Likewise.
45
46         * resource/getrlimit64.c: Add missing libc_hidden_def.
47
48 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
49
50         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
51         __label__.
52         (_FP_FMA): Likewise.
53         (_FP_TO_INT_ROUND): Likewise.
54         (_FP_FROM_INT): Likewise.
55
56 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57
58         [BZ #16418]
59         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
60         Make code racy and cancel safe.
61
62 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
63
64         * sysdeps/arm/unwind-resume.h: Fix copyright year.
65         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
66         attribution.
67
68         * pwd/tst-getpw.c: Rewrite.
69
70         [BZ #17702]
71         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
72         (modules-names): Add moddummy1 and moddummy2.
73         ($(objpfx)tst-rec-dlopen): Define.
74         * dlfcn/moddummy1.c: New file.
75         * dlfcn/moddummy2.c: New file.
76         * dlfcn/tst-rec-dlopen.c: New file.
77         * elf/dl-cache.c (_dl_load_cache_lookup):
78         Return char*. Copy result with alloca/strcpy/strdup.
79         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
80         returns char*. Free cached. If not saving realname
81         free cached.
82         * elf/dl-open.c (dl_open_worker): Do not assert that
83         _r_debug->r_state is RT_CONSISTENT.
84         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
85         returns char*.
86
87 2015-01-21  Torvald Riegel  <triegel@redhat.com>
88             Carlos O'Donell  <carlos@redhat.com>
89
90         [BZ #12674]
91         * nptl/sem_waitcommon.c: New file.
92         * nptl/sem_wait.c: Include sem_waitcommon.c.
93         (__sem_wait_cleanup, do_futex_wait): Remove.
94         (__new_sem_wait): Adapt.
95         (__new_sem_trywait): New function.
96         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
97         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
98         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
99         (sem_timedwait): Adapt.
100         * nptl/sem_post.c (__new_sem_post): Adapt.
101         (futex_wake): New function.
102         (__old_sem_post): Add release MO fence.
103         * nptl/sem_open.c (sem_open): Adapt.
104         * nptl/sem_init.c (__new_sem_init): Adapt.
105         (futex_private_if_supported): New function.
106         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
107         (__old_sem_getvalue): Add using previous code.
108         * sysdeps/nptl/internaltypes.h: Adapt.
109         * nptl/tst-sem13.c (do_test): Adapt.
110         * nptl/tst-sem11.c (main): Adapt.
111         * nptl/sem_trywait.c: Remove.
112         * nptl/DESIGN-sem.txt: Remove.
113         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
114         (gen-as-const-headers): Remove structsem.sym.
115         * nptl/structsem.sym: Remove.
116         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
117         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
118         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
119         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
120         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
121         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
122         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
123         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
124         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
125         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
126         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
127         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
128         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
129         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
130         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
131         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
132         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
133         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
134         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
135         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
136         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
137         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
138
139 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
140
141         * INSTALL: Regenerated.
142
143         * po/libc.pot: Regenerated.
144
145 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
146             Sandra Loosemore  <sandra@codesourcery.com>
147             Andrew Jenner  <andrew@codesourcery.com>
148             Joseph Myers  <joseph@codesourcery.com>
149             Nathan Sidwell  <nathan@codesourcery.com>
150
151         * NEWS: Mention new Nios II port.
152         * sysdeps/nios2/Implies: New file.
153         * sysdeps/nios2/Makefile: New file.
154         * sysdeps/nios2/Subdirs: New file.
155         * sysdeps/nios2/Versions: New file.
156         * sysdeps/nios2/__longjmp.S: New file.
157         * sysdeps/nios2/abort-instr.h: New file.
158         * sysdeps/nios2/backtrace.c: New file.
159         * sysdeps/nios2/bits/endian.h: New file.
160         * sysdeps/nios2/bits/fenv.h: New file.
161         * sysdeps/nios2/bits/link.h: New file.
162         * sysdeps/nios2/bits/setjmp.h: New file.
163         * sysdeps/nios2/bsd-_setjmp.S: New file.
164         * sysdeps/nios2/bsd-setjmp.S: New file.
165         * sysdeps/nios2/configure: New generated file.
166         * sysdeps/nios2/configure.ac: New file.
167         * sysdeps/nios2/crti.S: New file.
168         * sysdeps/nios2/crtn.S: New file.
169         * sysdeps/nios2/dl-init.c: New file.
170         * sysdeps/nios2/dl-machine.h: New file.
171         * sysdeps/nios2/dl-sysdep.h: New file.
172         * sysdeps/nios2/dl-tls.h: New file.
173         * sysdeps/nios2/dl-trampoline.S: New file.
174         * sysdeps/nios2/gccframe.h: New file.
175         * sysdeps/nios2/gmp-mparam.h: New file.
176         * sysdeps/nios2/jmpbuf-offsets.h: New file.
177         * sysdeps/nios2/jmpbuf-unwind.h: New file.
178         * sysdeps/nios2/ldsodefs.h: New file.
179         * sysdeps/nios2/libc-tls.c: New file.
180         * sysdeps/nios2/libm-test-ulps: New file.
181         * sysdeps/nios2/machine-gmon.h: New file.
182         * sysdeps/nios2/math-tests.h: New file.
183         * sysdeps/nios2/math_private.h: New file.
184         * sysdeps/nios2/memusage.h: New file.
185         * sysdeps/nios2/nptl/Makefile: New file.
186         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
187         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
188         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
189         * sysdeps/nios2/nptl/pthreaddef.h: New file.
190         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
191         * sysdeps/nios2/nptl/tls.h: New file.
192         * sysdeps/nios2/preconfigure: New file.
193         * sysdeps/nios2/s_fma.c: New file.
194         * sysdeps/nios2/s_fmaf.c: New file.
195         * sysdeps/nios2/setjmp.S: New file.
196         * sysdeps/nios2/sfp-machine.h: New file.
197         * sysdeps/nios2/sotruss-lib.c: New file.
198         * sysdeps/nios2/stackguard-macros.h: New file.
199         * sysdeps/nios2/stackinfo.h: New file.
200         * sysdeps/nios2/start.S: New file.
201         * sysdeps/nios2/sysdep.h: New file.
202         * sysdeps/nios2/tls-macros.h: New file.
203         * sysdeps/nios2/tst-audit.h: New file.
204         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
205         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
206         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
207         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
208         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
209         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
210         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
211         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
212         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
213         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
214         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
215         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
216         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
217         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
218         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
219         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
220         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
221         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
222         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
223         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
224         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
225         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
226         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
227         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
228         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
229         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
230         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
231         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
232         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
233         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
234         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
235         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
236         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
237         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
238         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
239         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
240         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
241         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
242         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
243         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
244         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
245         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
246         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
247         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
248
249 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
250
251         [BZ #17844]
252         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
253         (getutent): Use weak_alias in non SHARED case
254         and default_symbol_version in SHARED case.
255         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
256         (getutent_r, pututline): Likewise.
257         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
258         (getutid): Likewise.
259         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
260         (getutid_r): Likewise.
261         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
262         (getutline): Likewise.
263         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
264         (getutline_r): Likewise.
265         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
266         (updwtmp): Likewise.
267
268 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
269
270         [BZ #17848]
271         * sysdeps/s390/s390-32/memcmp.S
272         (memcmp_g5): Rename to __memcmp_g5.
273         * sysdeps/s390/s390-32/memcpy.S
274         (memcpy_g5): Rename to __memcpy_g5.
275         Jump to __memcpy_mvcle instead of memcpy_mvcle.
276         (memcpy_mvcle) Rename to __memcpy_mvcle.
277         * sysdeps/s390/s390-32/memset.S
278         (memset_g5): Rename to __memset_g5.
279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
280         (IFUNC_RESOLVE): Prefix ifunc-resolve function
281         and use prefixed functions.
282         * sysdeps/s390/s390-32/multiarch/memcmp.S
283         (memcmp_z196): Rename to __memcmp_z196.
284         (memcmp_z10): Rename to __memcmp_z10.
285         (memcmp): Set alias to __memcmp_g5.
286         (bcmp): Set alias to __memcmp_g5.
287         * sysdeps/s390/s390-32/multiarch/memcpy.S
288         (memcpy_z196): Rename to __memcpy_z196.
289         Jump to __memcpy_mvcle instead of memcpy_mvcle.
290         (memcpy_z10): Rename to __memcpy_z10.
291         Jump to __memcpy_mvcle instead of memcpy_mvcle.
292         (memcpy): Set alias to __memcpy_g5.
293         * sysdeps/s390/s390-32/multiarch/memset.S
294         (memset_z196): Rename to __memset_z196.
295         Jump to __memset_mvcle instead of memset_mvcle.
296         (memset_z10): Rename to __memset_z10.
297         Jump to __memset_mvcle instead of memset_mvcle.
298         (memset_mvcle) Rename to __memset_mvcle.
299         (memset): Set alias to __memset_g5.
300         * sysdeps/s390/s390-64/memcmp.S
301         (memcmp_z900): Rename to __memcmp_z900.
302         * sysdeps/s390/s390-64/memcpy.S
303         (memcpy_z900): Rename to __memcpy_z900.
304         Jump to __memcpy_mvcle instead of memcpy_mvcle.
305         (memcpy_mvcle) Rename to __memcpy_mvcle.
306         * sysdeps/s390/s390-64/memset.S
307         (memset_z900): Rename to __memset_z900.
308         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
309         (IFUNC_RESOLVE): Prefix ifunc-resolve function
310         and use prefixed functions.
311         * sysdeps/s390/s390-64/multiarch/memcmp.S
312         (memcmp_z196): Rename to __memcmp_z196.
313         (memcmp_z10): Rename to __memcmp_z10.
314         (memcmp): Set alias to __memcmp_z900.
315         (bcmp): Set alias to __memcmp_z900.
316         * sysdeps/s390/s390-64/multiarch/memcpy.S
317         (memcpy_z196): Rename to __memcpy_z196.
318         Jump to __memcpy_mvcle instead of memcpy_mvcle.
319         (memcpy_z10): Rename to __memcpy_z10.
320         Jump to __memcpy_mvcle instead of memcpy_mvcle.
321         (memcpy): Set alias to __memcpy_z900.
322         * sysdeps/s390/s390-64/multiarch/memset.S
323         (memset_z196): Rename to __memset_z196.
324         Jump to __memset_mvcle instead of memset_mvcle.
325         (memset_z10): Rename to __memset_z10.
326         Jump to __memset_mvcle instead of memset_mvcle.
327         (memset_mvcle) Rename to __memset_mvcle.
328         (memset): Set alias to __memset_z900.
329
330 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
331
332         [BZ #17748]
333         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
334         __fesetenv instead of fesetenv.
335
336 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
337
338         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
339         macro.
340
341 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
342
343         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
344         regression on LE.
345
346         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
347         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
349         strncmp-power8 object.
350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
351         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
352         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
353         * NEWS: Update.
354
355 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
356             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
357
358         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
359         trailing byte check.
360
361 2015-01-13  David S. Miller  <davem@davemloft.net>
362
363         * include/signal.h (__sigreturn): Guard with __USE_MISC.
364
365 2015-01-13  Roland McGrath  <roland@hack.frob.com>
366
367         * login/logout.c (logout): Use memset rather than bzero.
368         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
369         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
370         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
371         (_gethtbyaddr): Likewise.
372         * locale/programs/simple-hash.c (bcopy): Macro removed.
373
374 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
375
376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
377         Add strcmp-power8 object.
378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
379         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
380         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
381         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
382         __strcmp_power8 implementation.
383         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
384         * NEWS: Update.
385
386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
387         Add strncpy-power8 and stpncpy-power8 objects.
388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
389         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
390         implementations.
391         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
393         __stpncpy_power8 implementation.
394         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
395         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
396         __strncpy_power8 implementation.
397         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
398         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
399         * NEWS: Update.
400
401         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
402         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
403         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
404
405         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
406         strncat-power8 object.
407         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
408         __strcat_power8 implementation.
409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
410         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
411         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
412         optimized strcat for power8.
413
414         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
415         strcpy-power8 and stpcpy-power8 objects.
416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
417         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
418         implementations.
419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
420         multiarch stpcpy implementation for POWER8.
421         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
422         multiarch strcpy implementation for POWER8.
423         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
424         __strcpy_power8 function.
425         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
426         stpcpy for POWER8.
427         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
428         strcpy for POWER8.
429         * NEWS: Update.
430
431 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
432
433         [BZ #16009]
434         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
435         weights and rules. Use do_xfrm_cached if data fits in cache,
436         do_xfrm otherwise.  Moved former main loop to...
437         * (do_xfrm_cached): New function.
438         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
439         find_idx, find_position and stack_push.
440         * (find_idx): New function.
441         * (find_position): Likewise.
442         * localedata/sort-test.sh: Added test run for do_xfrm.
443         * localedata/xfrm-test.c (main): Added command line option
444         -nocache to run the test with strings that are too large for
445         the STRXFRM cache.
446
447 2015-01-13  Torvald Riegel  <triegel@redhat.com>
448
449         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
450         variable to lll_futex_wake call, not the value itself.
451
452 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
453
454         [BZ #17803]
455         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
456         twom64.  Adjust value to 0x1p-64L.
457         (__scalblnl): Only return standard underflowing result for K <=
458         -64 not K <= -63; adjust exponent for underflowing result by 64
459         not 63.
460         * math/libm-test.inc (scalbn_test_data): Add more tests.
461         (scalbln_test_data): Likewise.
462
463         [BZ #17834]
464         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
465         0x1p63L.
466         (__scalblnl): Get new exponent of adjusted subnormal value from ES
467         not HX.
468         * math/libm-test.inc (scalbn_test_data): Add more tests.
469         (scalbln_test_data): Likewise.
470
471 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
472             Stefani Seibold  <stefani@seibold.net>
473
474         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
475         (sysdep_routines): Add dl-vdso here, ...
476         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
477         (sysdep_routines): ... not here.
478         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
479         fallback when vDSO is not presented.
480         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
481         Define with libc_hidden_proto/libc_hidden_data_def definitions.
482         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
483         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
484         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
485         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
486         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
487         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
488         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
489         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
490         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
491         fallback configurable symbol when vDSO is not available.
492         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
493         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
494         be able to redefine fallback symbol when vDSO is not available.
495         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
496         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
497
498 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
499
500         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
501         (TLS_INIT_TP): Add tm_capable initialization.
502         (TLS_DEFINE_INIT_TP): Likewise.
503         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
504         TCB.
505         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
506         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
507         calculation.
508         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
509         transactoion is lock elision is built and TCB tm_capable is set.
510         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
512         (INTERNAL_SYSCALL_NCS): Likewise.
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
514         (INTERNAL_SYSCALL_NCS): Likewise.
515         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
516
517         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
518         for powerpc.
519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
520         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
521         and remove it for 32 bits case.
522         [pthread_rwlock_t] (__rwelision): New field for lock elision.
523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
524         initialization.
525         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
526         Disable lock elision with rdlocks if elision is not available.
527
528         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
529         (sysdep_routines): Add lock elision objects.
530         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
531         [pthread_mutex_t] (__spins): Rework to add lock elision field.
532         [pthread_mutex_t] (__elision): Add field.
533         [__PTHREAD_SPINS]: Adjust to init lock elision field.
534         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
535         elision definitions for powerpc.
536         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
537         implementation of lock elision for powerpc.
538         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
539         implementation of timed lock elision for powerpc.
540         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
541         implementation of trylock with lock elision for powerpc.
542         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
543         implementaion of unlock for lock elision for powerpc.
544         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
545         automatic enable lock elision for mutexes.
546         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
547         transaction execution definitions for powerpc.
548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
549         definitions.
550         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
551         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
552         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
553         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
554         * NEWS: Update.
555
556 2015-01-09  Roland McGrath  <roland@hack.frob.com>
557
558         * sysdeps/posix/shm-directory.c: Use <> rather than ""
559         for #include of <shm-directory.h>.
560
561 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
562
563         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
564         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
565
566 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
567
568         [BZ #17791]
569         * NEWS: Mention bug fix.
570         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
571         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
572         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
573
574 2015-01-09  Torvald Riegel <triegel@redhat.com>
575
576         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
577
578 2015-01-09  Torvald Riegel <triegel@redhat.com>
579
580         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
581
582 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
583
584         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
585         pointer and cast to uintptr_t.
586
587 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
588
589         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
590         removed.
591         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
592
593 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
594
595         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
596         of 0.
597
598 2015-01-08  Roland McGrath  <roland@hack.frob.com>
599
600         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
601         <nptl/pthreadP.h> instead.
602         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
603
604         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
605         already defined.
606         [__SIGRTMIN] (init): Function removed.
607         [__SIGRTMIN] (initialized): Variable removed.
608         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
609         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
610         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
611         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
612         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
613         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
614         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
615         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
616         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
617         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
618         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
619         * sysdeps/nptl/allocrtsig.c: New file.
620         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
621         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
622         * sysdeps/generic/testrtsig.h: File removed.
623
624         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
625         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
626
627         * nptl/nptl-init.c (pthread_functions): Conditionalize
628         .ptr__nptl_setxid initialization on [SIGSETXID].
629
630         * sysdeps/nptl/sys/procfs.h: New file.
631         * nptl_db/Makefile (headers): Add it.
632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
633
634         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
635         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
636         * nptl/pthread_attr_setaffinity.c: Include it.
637         * nptl/pthread_setattr_default_np.c: Likewise.
638         * nptl/check-cpuset.h: New file.
639
640 2015-01-08  Richard Henderson  <rth@redhat.com>
641
642         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
643         (CFLAGS-tst-execstack-prog.c): Likewise.
644         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
645
646 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
647             Sandra Loosemore  <sandra@codesourcery.com>
648             Andrew Jenner  <andrew@codesourcery.com>
649             Joseph Myers  <joseph@codesourcery.com>
650             Nathan Sidwell  <nathan@codesourcery.com>
651
652         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
653         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
654         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
655         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
656         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
657         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
658         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
659         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
660         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
661         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
662         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
663         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
664         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
665         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
666         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
667         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
668         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
669
670 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
671
672         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
673         timespec struct member in syscall macro.
674         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
675         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
676         first timeval struct member in syscall macro.
677         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
678
679 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
680
681         [BZ #17748]
682         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
683         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
684         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
685         __feupdateenv and define as weak alias of __feupdateenv.  Use
686         libm_hidden_weak.
687         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
688         libm_hidden_def.
689         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
690         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
691         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
692         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
693         libm_hidden_def.
694         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
695         __feupdateenv and define as weak alias of __feupdateenv.  Use
696         libm_hidden_weak.
697         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
698         libm_hidden_def.
699         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
700         __feupdateenv and define as weak alias of __feupdateenv.  Use
701         libm_hidden_weak.
702         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
703         libm_hidden_def.
704         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
705         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
706         (__feupdateenv): Likewise.
707         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
708         __feupdateenv and define as weak alias of __feupdateenv.  Use
709         libm_hidden_weak.
710         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
711         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
712         libm_hidden_def.
713         * sysdeps/tile/math_private.h (__feupdateenv): New inline
714         function.
715         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
716         libm_hidden_def.
717         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
718         __feupdateenv instead of feupdateenv.
719         (default_libc_feupdateenv_test): Likewise.
720         (libc_feresetround_ctx): Likewise.
721
722 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
723
724         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
725         prototype.
726
727 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
728
729         * posix/regcomp.c (parse_bracket_exp): Initialize type to
730         COLL_SYM in a couple of places to avoid uninitialized variable
731         wanings on tilegx gcc 4.8.2.
732
733 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
734
735         * sysdeps/aarch64/strcpy.S: New file.
736         * sysdeps/aarch64/stpcpy.S: New file.
737         * NEWS: Updated.
738
739 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
740
741         * sysdeps/aarch64/strrchr.S: New file.
742         * NEWS: Updated.
743
744 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
745
746         [BZ #17658]
747         * stdlib/setenv.c: Fix memory leak when setting large,
748         duplicate string.
749
750 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
751
752         [BZ #17273]
753         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
754         and tabs from buffer before parsing fstab entry.
755         * misc/tst-mntent.c (main): Add test for mount entry with
756         trailing spaces and tabs.
757
758 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
759
760         [BZ #17748]
761         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
762         * math/fesetround.c (fesetround): Rename to __fesetround and
763         define as weak alias of __fesetround.  Use libm_hidden_weak.
764         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
765         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
766         * sysdeps/arm/fesetround.c (fesetround): Likewise.
767         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
768         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
769         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
770         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
771         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
772         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
773         __fesetround_inline.
774         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
775         __fesetround_inline instead of __fesetround.
776         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
777         __fesetround and define as weak alias of __fesetround.  Use
778         libm_hidden_weak.  Call __fesetround_inline instead of
779         __fesetround.
780         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
781         __fesetround and define as weak alias of __fesetround.  Use
782         libm_hidden_weak.
783         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
784         Likewise.
785         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
786         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
787         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
788         * sysdeps/tile/math_private.h (__fesetround): New inline function.
789         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
790         __fesetround and define as weak alias of __fesetround.  Use
791         libm_hidden_weak.
792         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
793         __fesetround instead of fesetround.
794         (default_libc_feholdexcept_setround): Likewise.
795         (libc_feholdsetround_ctx): Likewise.
796         (libc_feholdsetround_noex_ctx): Likewise.
797
798         [BZ #17748]
799         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
800         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
801         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
802         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
803         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
804         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
805         define as weak alias of __fesetenv.  Use libm_hidden_weak.
806         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
807         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
808         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
809         define as weak alias of __fesetenv.  Use libm_hidden_weak.
810         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
811         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
812         define as weak alias of __fesetenv.  Use libm_hidden_weak.
813         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
814         libm_hidden_def.
815         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
816         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
817         Likewise.
818         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
819         define as weak alias of __fesetenv.  Use libm_hidden_weak.
820         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
821         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
822         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
823         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
824         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
825         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
826         __fesetenv instead of fesetenv.
827         (libc_feresetround_noex_ctx): Likewise.
828         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
829         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
830         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
831         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
832         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
833         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
835         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
836         (__feupdateenv): Likewise.
837         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
838         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
839         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
840         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
841
842 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
843
844         [BZ #17806]
845         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
846         addresses have been freed.
847
848 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
849
850         * resolv/res_init.c (__res_vinit): Improve comments about nserv
851         and nservall.
852
853 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
854
855         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
856         Clean up check_pf allocation pattern. addresses
857
858 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
859
860         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
861         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
862         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
863         * nptl/pthread_exit.c (__pthread_exit): Likewise.
864         * nptl/pthread_join.c (pthread_join): Likewise.
865         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
866         * sysdeps/posix/waitid.c (__waitid): Likewise.
867         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
868         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
869         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
870         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
872         Likewise.
873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
874         (__libc_pread64): Likewise.
875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
876         (__libc_pwrite): Likewise.
877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
878         (__libc_pwrite64): Likewsie.
879         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
880         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
881         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
882         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
883         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
884         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
887         Likewise.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
889         (__libc_pread64): Likewise.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
891         Likewise.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
893         (__libc_pwrite64): Likewise.
894         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
895         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
896         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
897         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
898         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
899         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
900         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
901         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
902         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
903         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
904         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
905         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
906         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
907         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
908         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
909         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
910         Likewise.
911
912 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
913
914         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
915         (CFLAGS-test-double.c): Likewise.
916         (CFLAGS-test-ldouble.c): Likewise.
917         (CPPFLAGS-test-ifloat.c): Likewise.
918         (CPPFLAGS-test-idouble.c): Likewise.
919         (CPPFLAGS-test-ildoubl.c): Likewise.
920         (CFLAGS-test-test-fenv.c): Remove variable.
921         (CFLAGS-test-misc.c): Likewise.
922
923 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
924
925         [BZ #17797]
926         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
927         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
928         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
929         CLOCKS_PER_SEC == 1000000.
930         * time/clocktest.c (main): Replace %ld with %jd and cast to
931         intmax_t.
932
933 2015-01-05  Roland McGrath  <roland@hack.frob.com>
934
935         * sysdeps/generic/unwind-resume.h: New file.
936         * sysdeps/gnu/unwind-resume.c: Include it.
937         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
938         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
939         argument list.
940         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
941         global rather than static.
942         (_Unwind_Resume): Update user.
943         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
944         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
945         rather than static.  Add __attribute__ ((cold)).
946         (_Unwind_Resume, __gcc_personality_v0): Update callers.
947         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
948         * sysdeps/arm/arm-unwind-resume.S: New file.
949         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
950         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
951         * sysdeps/arm/Makefile [$(subdir) = csu]
952         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
953         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
954         Add rt-arm-unwind-resume.
955         [$(subdir) = nptl]
956         (libpthread-sysdep_routines, libpthread-shared-only-routines):
957         Add pt-arm-unwind-resume.
958         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
959         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
960
961 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
962
963         [BZ #17748]
964         * include/fenv.h (__feholdexcept): Declare.  Use
965         libm_hidden_proto.
966         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
967         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
968         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
969         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
970         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
971         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
972         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
973         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
974         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
975         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
976         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
977         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
978         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
979         (feholdexcept): Likewise.
980         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
981         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
982         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
983         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
984         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
985         __feholdexcept instead of feholdexcept.
986         (default_libc_feholdexcept_setround): Likewise.
987
988 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
989
990         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
991         to avoid using stl/str to align destination.
992
993 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
994
995         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
996
997 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
998
999         [BZ #17796]
1000         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1001         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1002         Define as weak alias not strong alias.
1003
1004 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1005
1006         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1007         bltzal with addiupc.
1008         (RTLD_START): Ditto.
1009
1010 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1011
1012         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1013         for __vdso_* functions in declarations.
1014         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1015         definitions.
1016         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1017         INTERNAL_VSYSCALL): Use struct return types to check for error.
1018
1019         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1020         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1021         function with cast from llround().
1022         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1023         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1024         Define.
1025
1026 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1027
1028         [BZ #17793]
1029         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1030         Define as weak alias not strong alias.
1031
1032         [BZ #17635]
1033         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1034         ...
1035         * ctype/ctype-extn.c: ... here.
1036         (__isblank_l): Move to ...
1037         * ctype/ctype-c99_l.c: ... here.  New file.
1038         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1039         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1040         Remove variable.
1041         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1042         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1043         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1044         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1045         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1046
1047         [BZ #17777]
1048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1049         (posix_fadvise64): Define as weak alias not strong alias.
1050         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1051         (posix_fallocate64): Likewise.
1052         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1053         Remove variable.
1054         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1055         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1056         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1057         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1058         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1059
1060 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1061
1062         [BZ #16191]
1063         * NEWS: Mention bug fix.
1064         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1065         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1066         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1067         (HOST_STACK_END_ADDR): Likewise.
1068
1069 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1070
1071         [BZ #17748]
1072         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1073         * math/fegetround.c (fegetround): Rename to __fegetround and
1074         define as weak alias of __fegetround.  Use libm_hidden_weak.
1075         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1076         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1077         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1078         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1079         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1080         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1081         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1082         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1083         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1084         Undefine after rather than before function definition; use
1085         parentheses around function name in definition.
1086         (__fegetround): Also undefine macro after function definition.
1087         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1088         __fegetround and define as weak alias of __fegetround.  Use
1089         libm_hidden_weak.  Do not undefine as macro.
1090         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1091         Likewise.
1092         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1093         __fegetround and define as weak alias of __fegetround.  Use
1094         libm_hidden_weak.
1095         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1096         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1097         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1098         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1099         __fegetround and define as weak alias of __fegetround.  Use
1100         libm_hidden_weak.
1101         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1102         __fegetround instead of fegetround.
1103
1104         [BZ #17782]
1105         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1106         Condition macro definition on [__USE_MISC].
1107
1108         [BZ #17781]
1109         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1110         (struct sigaction): Change type of sa_flags field to int.
1111
1112         [BZ #17780]
1113         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1114         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1115         __glibc_reserved0.
1116
1117         * nptl/version.c (banner): Use single year in copyright notice.
1118
1119         * NEWS: Update copyright dates.
1120         * catgets/gencat.c (print_version): Likewise.
1121         * csu/version.c (banner): Likewise.
1122         * debug/catchsegv.sh: Likewise.
1123         * debug/pcprofiledump.c (print_version): Likewise.
1124         * debug/xtrace.sh (do_version): Likewise.
1125         * elf/ldconfig.c (print_version): Likewise.
1126         * elf/ldd.bash.in: Likewise.
1127         * elf/pldd.c (print_version): Likewise.
1128         * elf/sotruss.sh: Likewise.
1129         * elf/sprof.c (print_version): Likewise.
1130         * iconv/iconv_prog.c (print_version): Likewise.
1131         * iconv/iconvconfig.c (print_version): Likewise.
1132         * locale/programs/locale.c (print_version): Likewise.
1133         * locale/programs/localedef.c (print_version): Likewise.
1134         * login/programs/pt_chown.c (print_version): Likewise.
1135         * malloc/memusage.sh (do_version): Likewise.
1136         * malloc/memusagestat.c (print_version): Likewise.
1137         * malloc/mtrace.pl: Likewise.
1138         * manual/libc.texinfo: Likewise.
1139         * nptl/version.c (banner): Likewise.
1140         * nscd/nscd.c (print_version): Likewise.
1141         * nss/getent.c (print_version): Likewise.
1142         * nss/makedb.c (print_version): Likewise.
1143         * posix/getconf.c (main): Likewise.
1144         * scripts/test-installation.pl: Likewise.
1145         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1146
1147 2015-01-02  Will Newton  <will.newton@linaro.org>
1148
1149         * sysdeps/arm/armv7/configure: Removed.
1150         * sysdeps/arm/armv7/configure.ac: Likewise.
1151
1152 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1153
1154         * All files with FSF copyright notices: Update copyright dates
1155         using scripts/update-copyrights.
1156         * intl/plural.c: Regenerated.
1157         * locale/programs/charmap-kw.h: Likewise.
1158         * locale/programs/locfile-kw.h: Likewise.
1159
1160 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1161
1162         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1163
1164 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1165
1166         [BZ #17748]
1167         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1168         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1169         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1170         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1171         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1172         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1173         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1174         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1175         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1176         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1177         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1178         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1179         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1180         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1181         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1182         libm_hidden_def.
1183         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1184         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1185         Likewise.
1186         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1187         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1188         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1189         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1190         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1191         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1192         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1193         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1194         __fegetenv instead of fegetenv.
1195         (libc_feholdsetround_noex_ctx): Likewise.
1196
1197 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1198
1199         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1200         (Elf_MIPS_ABIFlags_v0): New structure.
1201         (EF_MIPS_FP64): Define.
1202         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1203         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1204         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1205         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1206         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1207         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1208         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1209         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1210         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1211         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1212         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1213         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1214         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1215         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1216         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1217         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1218         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1219         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1220         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1221         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1222         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1223         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1224         field.
1225         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1226         EF_MIPS_FP64.
1227         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1228         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1229         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1230         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1231         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1232         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1233         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1234         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1235         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1236         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1237         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1238         record the current FP ABI extension.
1239         (mips-mode-switch): Define to show if kernel headers support mode
1240         switching.
1241         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1242         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1243         supported SYSV ABI version to 3.
1244         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1245         feature.
1246
1247 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1248             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1249
1250         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1251         path.
1252         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1253
1254 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1255
1256         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1257         __fegetround and redefine to call __fegetround.  Remove condition
1258         on [!__NO_MATH_INLINES].
1259         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1260         function.
1261         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1262         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1263         Remove macro.
1264         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1265         instead of <fenv_libc.h>.
1266         (__llrintl): Call fegetround instead of __fegetround.
1267         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1268         instead of <fenv_libc.h>.
1269         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1270         (__lrintl): Call fegetround instead of __fegetround.
1271         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1272         instead of <fenv_libc.h>.
1273         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1274         (__rintl): Call fegetround instead of __fegetround.
1275
1276 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1277
1278         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1279         arrays.
1280
1281 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1282
1283         [BZ #17775]
1284         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1285         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1286         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1287
1288 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1289
1290         * sysdeps/i386/tls-macros.h: Include <features.h>.
1291         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1292         (TLS_IE): Likewise.
1293         (TLS_LD): Likewise.
1294         (TLS_GD): Likewise.
1295         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1296         define for GCC >= 5.0.
1297
1298 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1299
1300         * math/test-fenv.c (test_single_exception, set_single_exc,
1301         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1302         feexcp_mask_test, feenable_test, fe_single_test): Add
1303         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1304         case where they are not used.
1305         * math/libm-test.inc: Likewise.
1306         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1307         unused in the absence of FP rounding/exception support.
1308         * stdio-common/tst-printf-round.c: Likewise.
1309         * stdlib/tst-strtod-round.c: Likewise.
1310         * stdlib/tst-strtod-underflow.c: Likewise.
1311
1312 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1313
1314         [BZ #17723]
1315         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1316         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1317         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1318         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1319         libm_hidden_weak.
1320         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1321         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1322         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1323         libm_hidden_def.
1324         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1325         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1326         libm_hidden_weak.
1327         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1328         Likewise.
1329         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1330         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1331         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1332         libm_hidden_weak.
1333         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1334         libm_hidden_def.
1335         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1336         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1337         (__feraiseexcept): Likewise.
1338         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1339         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1340         libm_hidden_weak.
1341         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1342         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1343         libm_hidden_def.
1344         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1345         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1346         Use libm_hidden_def.
1347         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1348         libm_hidden_def.
1349         (feraiseexcept): Define as weak not strong alias.  Use
1350         libm_hidden_weak.
1351         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1352         New inline function.  Factored out of ...
1353         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1354         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1355         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1356         feraiseexcept.
1357         * math/w_acos.c (__acos): Likewise.
1358         * math/w_asin.c (__asin): Likewise.
1359         * math/w_ilogb.c (__ilogb): Likewise.
1360         * math/w_j0.c (y0): Likewise.
1361         * math/w_j1.c (y1): Likewise.
1362         * math/w_jn.c (yn): Likewise.
1363         * math/w_log.c (__log): Likewise.
1364         * math/w_log10.c (__log10): Likewise.
1365         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1366         * sysdeps/aarch64/fpu/math_private.h
1367         (libc_feupdateenv_test_aarch64): Likewise.
1368         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1369         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1370         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1371         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1372         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1373         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1374         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1375         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1376         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1377         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1378
1379 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1380
1381         [BZ #17732]
1382         * io/test-utime.c (main): Replace %ld with %jd and cast to
1383         intmax_t.
1384         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1385         * nptl/tst-mutex5.c: Include <stdint.h>.
1386         (do_test): Replace %ld with %jd and cast to intmax_t.
1387         * posix/tst-regex.c (run_test): Likewise.
1388         (run_test_backwards): Likewise.
1389         * rt/tst-clock.c: Include <stdint.h>.
1390         (clock_test): Replace %ld with %jd and cast to intmax_t.
1391         * rt/tst-cpuclock1.c: Include <stdint.h>.
1392         (do_test): Replace %lu with %ju and cast to uintmax_t.
1393         * rt/tst-cpuclock2.c: Include <stdint.h>.
1394         (do_test): Replace %lu with %ju and cast to uintmax_t.
1395         * rt/tst-mqueue1.c: Include <stdint.h>.
1396         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1397         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1398         intmax_t.
1399         * rt/tst-mqueue4.c (do_test): Likewise.
1400         * rt/tst-timer4.c: Include <stdint.h>.
1401         (check_ts): Replace %ld with %jd and cast to intmax_t.
1402         (do_test): Likewise.
1403         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1404         and cast to intmax_t.
1405         * sysdeps/pthread/tst-timer.c (main): Likewise.
1406         * time/clocktest.c (main): Likewise.
1407         * time/tst-posixtz.c (do_test): Likewise.
1408         * timezone/tst-timezone.c (main): Likewise.
1409
1410 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1411             H.J. Lu  <hongjiu.lu@intel.com>
1412
1413         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1414         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1415         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1416         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1417         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1418         version if bit_Fast_Unaligned_Load is set.
1419         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1420         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1421         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1422         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1423         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1424         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1426         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1427         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1428         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1429         to 4.
1430         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1431         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1432         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1433         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1434
1435 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1436
1437         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1438         instead of #if to avoid a Wundef warning.
1439         * stdlib/tst-limits.c (do_test): Likewise.
1440
1441         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1442         parallel other exception macros.
1443         (fegetenv): Convert from macro to extern inline so that it applies
1444         retroactively to inline functions already seen by the compiler.
1445         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1446
1447         * posix/Makefile (before-compile): Use $(objpfx) for
1448         posix-conf-vars-def.h.
1449
1450 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1451
1452         * posix/getconf.c (main): Use size_t for type of I.
1453         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1454         NSPEC.
1455
1456         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1457         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1458         * posix/posix-envs.def: Likewise.
1459         * sysdeps/posix/sysconf.c: Likewise.
1460         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1461         (specs): Remove array.
1462         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1463         array.
1464
1465         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1466         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1467         (__sysconf): Use CONF_IS_* macros.
1468
1469         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1470         ($(objpfx)posix-conf-vars-def.h): New target.
1471         * posix/posix-conf-vars.list: New file.
1472         * posix/posix-conf-vars.h: New file.
1473         * posix/confstr.c: Include posix-conf-vars.h.
1474         (confstr): Use CONF_IS_* macros.
1475         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1476         CONF_IS_* macros.
1477         * scripts/gen-posix-conf-vars.awk: New file.
1478
1479 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1480
1481         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1482         fegetround): Add no-op macros to avoid linknamespace issues.
1483
1484         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1485         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1486
1487         * sysdeps/unix/sysv/linux/tile/sysdep.h
1488         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1489         assembly-specific section to avoid a redefinition warning.
1490
1491         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1492         long before casting to pointer to avoid a cast warning.
1493
1494 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1495
1496         * sysdeps/tile/tilegx/Implies: New file.
1497
1498 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1499
1500         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1501
1502 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1503
1504         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1505
1506 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1507
1508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1509         not define.
1510         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1511         <kernel-features.h>.
1512         (__utimes) [__NR_utimes]: Make code unconditional.
1513         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1514         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1515         (__ASSUME_UTIMES): Do not undefine.
1516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1517         (__ASSUME_UTIMES): Likewise.
1518         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1519         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1520         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1521         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1522
1523 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1524
1525         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1526
1527 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1528
1529         [BZ #17747]
1530         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1531         alias to weak alias for j0l, y0l.
1532         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1533         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1534
1535         [BZ #17746]
1536         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1537         conversion.
1538
1539 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1540
1541         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1542         to zero if not already defined.
1543
1544 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1545
1546         [BZ #17724]
1547         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1548         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1549         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1550         (char *) casts added.
1551         * sysdeps/ieee754/k_standardf.c: New file.
1552         * sysdeps/ieee754/k_standardl.c: Likewise.
1553         * math/Makefile (libm-support): Remove k_standard.
1554         (libm-calls): Add k_standard.
1555
1556 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1557
1558         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1559         Optimize to avoid an unnecessary FPCR read.
1560
1561 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1562
1563         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1564         Optimize to reduce FPCR/FPSR accesses.
1565
1566 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1567
1568         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1569         Call libc_fetestexcept_aarch64.
1570
1571 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1572
1573         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1574         Call libc_fesetround_aarch64.
1575
1576 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1577
1578         [BZ #17733]
1579         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1580         (__bind): Do not define as weak alias.
1581         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1582         define.
1583         (__getsockname): Do not define as weak alias.
1584
1585 2014-12-22  Will Newton  <will.newton@linaro.org>
1586
1587         * manual/install.texi: Document that we require bison 2.7
1588         or above.
1589         * INSTALL: Regenerate.
1590         * configure.ac: Use AC_CHECK_PROG_VER instead of
1591         AC_PATH_PROG when checking for bison and check for
1592         version 2.7 or above.
1593         * configure: Regenerate.
1594
1595 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1596
1597         [BZ #17745]
1598         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1599         * sysdeps/tile/ffsll.c (ffsll): To here.
1600
1601         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1602
1603 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1604
1605         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1606         if not defined.
1607         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1608         definition.
1609         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1610         hidden ___tls_get_addr.
1611         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1612         hidden __tls_get_addr.
1613         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1614         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1615         Likewise.
1616
1617 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1618
1619         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1620         _dl_init call.
1621
1622 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1623
1624         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1625         from "call _dl_init@PLT".
1626         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1627
1628 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1629
1630         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1631         guarantees.
1632
1633 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1634
1635         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1636
1637 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1638
1639         [BZ #17744]
1640         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1641         strnlen.
1642
1643 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1644
1645         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1646         of multu on MIPSr6.
1647         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1648         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1649         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1650         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1651         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1652
1653 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1654
1655         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1656         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1657         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1658         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1659         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1660         mips32r6/mips64r6.
1661         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1662
1663 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1664
1665         * string/strncat.c (STRNCAT): Simplify implementation.
1666
1667 2014-12-19  David S. Miller  <davem@davemloft.net>
1668
1669         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1670         access the quad as both a long double and as a series of 4 words.
1671
1672         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1673         link_map->l_info array access.
1674
1675 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1676
1677         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1678
1679         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1680         * math/atest-exp2.c (TIMEOUT): Likewise.
1681         * math/atest-sincos.c (TIMEOUT): Likewise.
1682
1683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1684
1685         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1686         -Wno-error with -fno-builtin-lround.
1687
1688 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1689
1690         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1691         Contains futex constants and functions moved over from ...
1692         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1693         <lowlevellock-futex.h>.
1694         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1695         (lll_timedwait_tid): Add comments and parentheses around macro
1696         arguments.
1697
1698 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1699
1700         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1701         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1702         (__lll_private_flag): Remove.
1703         (lll_futex_wait): Likewise.
1704         (lll_futex_timed_wait): Likewise.
1705         (lll_futex_wake): Likewise.
1706         (lll_futex_requeue): Likewise.
1707         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1708         (__lll_timedwait_tid): Spell out argument names.
1709         (lll_timedwait_tid): Add comments and parentheses around macro
1710         arguments.
1711         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1712         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1713
1714 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1715
1716         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1717         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1718         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1719         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1720         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1721         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1722         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1723         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1724         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1725         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1727         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1730         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1731         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1732         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1733         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1734         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1735
1736 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1737
1738         * sysdeps/x86_64/x32/Makefile: New file.
1739
1740 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1741
1742         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1743         1L with (mp_limb_t) 1.
1744
1745 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1746
1747         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1748         * nptl/libc_pthread_init.c: ... here.
1749         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1750         * nptl/register-atfork.c: ... here.
1751
1752         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1753         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1754         Use assert_perror to check its return value.
1755         (__gai_create_helper_thread): Likewise.
1756
1757         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1758
1759         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1760
1761 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1762
1763         [BZ #17725]
1764         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1765         __profil_counter.
1766         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1769         Likewise.
1770         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1771         Likewise.
1772         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1773         (profil_counter): Likewise.
1774         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1775         (profil_counter): Likewise.
1776         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1777         Likewise.
1778         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1779         Likewise.
1780         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1781         (profil_counter): Likewise.
1782         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1783         Likewise.
1784         [!__profil_counter] (profil_counter): Define as weak alias of
1785         __profil_counter.
1786         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1787         (profil_counter): Rename to __profil_counter.
1788         [!__profil_counter] (profil_counter): Define as weak alias of
1789         __profil_counter.
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1791         (profil_counter): Rename to __profil_counter.
1792         [!__profil_counter] (profil_counter): Define as weak alias of
1793         __profil_counter.
1794         * sysdeps/posix/profil.c: Update comment referring to
1795         profil_counter.
1796         (__profil): Use __profil_counter instead of profil_counter.
1797         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1798         __profil_counter.  Use __profil_counter_ushort and
1799         __profil_counter_uint in definitions.
1800         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1801         instead of profil_counter_uint and profil_counter_ushort.
1802
1803         [BZ #17722]
1804         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1805         define as weak alias of __inet_makeaddr.
1806         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1807         as weak alias of __inet_addr.
1808         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1809         as weak alias of __inet_pton.  Use libc_hidden_weak.
1810         * include/arpa/inet.h (__inet_pton): Declare.  Use
1811         libc_hidden_proto.
1812         (inet_makeaddr): Don't use libc_hidden_proto.
1813         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1814         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1815         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1816         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1817         Remove variable.
1818         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1819         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1820
1821 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1822
1823         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1824
1825 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1826
1827         * stdio-common/bug-vfprintf-nargs.c (do_test):
1828         Cast value to intptr_t to avoid format warning
1829         for usage with PRIdPTR printing macro.
1830
1831 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1832
1833         * libio/tst-widetext.c (do_test):
1834         Use format type %td instead of %Zd for ptrdiff_t
1835         in order to avoid format warning.
1836
1837 2014-12-17  Andreas Schwab  <schwab@suse.de>
1838
1839         * nscd/mem.c (gc): Add size_t cast to match printf format.
1840
1841 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1842
1843         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1844         (init): Apply PTR_MANGLE to pointers before storing them.
1845         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1846         before using them.
1847
1848 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1849
1850         [BZ #17719]
1851         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1852         define as weak alias of __memrchr.
1853         (__memrchr): Do not define as strong alias of memrchr.
1854         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1855         Remove variable.
1856         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1857         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1858         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1859
1860         [BZ #17717]
1861         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1862         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1863         (if_indextoname): Rename to __if_indextoname and define as weak
1864         alias of __if_indextoname.  Use libc_hidden_weak.
1865         (if_freenameindex): Rename to __if_freenameindex and define as
1866         weak alias of __if_freenameindex.
1867         (if_nameindex): Rename to __if_nameindex and define as weak alias
1868         of __if_nameindex.
1869         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1870         __if_nametoindex and define as weak alias of __if_nametoindex.
1871         Use libc_hidden_weak.
1872         (if_freenameindex): Rename to __if_freenameindex and define as
1873         weak alias of __if_freenameindex.
1874         (if_nameindex): Rename to __if_nameindex and define as weak alias
1875         of __if_nameindex.
1876         (if_indextoname): Rename to __if_indextoname and define as weak
1877         alias of __if_indextoname.  Use libc_hidden_weak.
1878         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1879         __if_nametoindex and define as weak alias of __if_nametoindex.
1880         Use libc_hidden_weak.
1881         (if_freenameindex): Rename to __if_freenameindex and define as
1882         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1883         (if_nameindex_netlink): Use __if_freenameindex instead of
1884         if_freenameindex.
1885         (if_nameindex): Rename to __if_nameindex and define as weak alias
1886         of __if_nameindex.  Use libc_hidden_weak.
1887         (if_indextoname): Rename to __if_indextoname and define as weak
1888         alias of __if_indextoname.  Use libc_hidden_weak.
1889         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1890         libc_hidden_proto.
1891         [!_ISOMAC] (__if_freenameindex): Likewise.
1892         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1893         if_nametoindex.
1894         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1895         variable.
1896         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1897         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1898         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1899         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1900         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1901         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1902         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1903
1904         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1905         Remove variable.
1906         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1907         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1908
1909 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1910
1911         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1912         subscript above bounds'
1913
1914         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1915         bounds.
1916
1917 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1918
1919         * libio/tst-fopenloc.c: Use test-skeleton.c.
1920
1921         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1922         (entry): Rename to ITEM.
1923         (do_test, comp): Adjust.
1924
1925         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1926
1927 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1928
1929         * string/tester.c: Include <libc-internal.h>.
1930         (test_memset): Ignore -Wmemset-transposed-args.
1931
1932 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1933
1934         * misc/tst-mntent2.c (do_test): Fix warning.
1935
1936 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1937
1938         * elf/tst-unique4lib.cc(a): Mark as used.
1939
1940 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1941
1942         [BZ #17630]
1943         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1944         names.
1945
1946 2014-12-16  Allan McRae  <allan@archlinux.org>
1947
1948         * stdio-common/Makefile (tests): Re-add bug26.
1949
1950 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1951
1952         [BZ #17657]
1953         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1954         static array.
1955
1956 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1957
1958         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1959         (__lll_lock_wait): Likewise.
1960         (__lll_timedlock_wait): Likewise.
1961         (__lll_timedwait_tid): Likewise.
1962         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1963         (__lll_robust_timedlock_wait): Likewise.
1964         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1965         (lll_cond_trylock): Likewise.
1966         (__lll_lock): Likewise.
1967         (__lll_robust_lock): Likewise.
1968         (__lll_cond_lock): Likewise.
1969         (lll_robust_cond_lock): Likewise.
1970         (__lll_timedlock): Likewise.
1971         (__lll_robust_timedlock): Likewise.
1972         (__lll_unlock): Likewise.
1973         (__lll_robust_unlock): Likewise.
1974         (lll_wait_tid): Likewise.
1975         (lll_timedwait_tid): Likewise.
1976
1977 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1978
1979         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1980
1981 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1982
1983         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1984
1985 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1986
1987         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1988         * stdio-common/tst-sprintf.c: Likewise.
1989
1990 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1991
1992         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1993
1994 2014-12-15  Jeff Law  <law@redhat.com>
1995
1996         [BZ #16617]
1997         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1998         on the heap.  (CVE-2012-3406)
1999         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2000         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2001         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2002
2003 2014-12-15  Will Newton  <will.newton@linaro.org>
2004
2005         * manual/install.texi: Bump required version of texinfo
2006         to 4.7 from 4.5.
2007         * INSTALL: Regenerated.
2008         * configure.ac: Check for makeinfo version 4.7 and above.
2009         * configure: Regenerated.
2010
2011 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2012
2013         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2014         PREFIX, string constant to insert between directory and name.
2015         * sysdeps/posix/shm_open.c: Update caller.
2016         * sysdeps/posix/shm_unlink.c: Likewise.
2017         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2018         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2019         (SEM_SHM_PREFIX): New macro.
2020         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2021         [$(have-thread-library) = no].
2022         * nptl/Makefile (libpthread-routines): Add shm-directory.
2023         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2024         * sysdeps/nptl/shm-directory.h: New file.
2025         * sysdeps/posix/shm-directory.c
2026         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2027         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2028         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2029         INTERNAL_SYSCALL.
2030         (__where_is_shmfs): Function removed.
2031         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2032         Variables removed.
2033         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2034         Use SHM_GET_NAME.
2035         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2036
2037         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2038         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2039         unconditional for use inside libpthread.
2040         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2041
2042 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2043
2044         * nptl/pthread_getaffinity.c: New file.
2045         * nptl/pthread_setaffinity.c: New file.
2046         * nptl/pthread_getname.c: New file.
2047         * nptl/pthread_setname.c: New file.
2048
2049         * nptl/pthread_create.c (START_THREAD_DEFN)
2050         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2051
2052 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2053             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054
2055         * resolv/res_send.c (send_vc): Disable warning resplen may
2056         be used uninitialized.
2057
2058 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2059
2060         * nptl/tst-mutex6.c
2061         (ATTR_NULL): New define checks ATTR against NULL.
2062         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2063         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2064
2065 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2066
2067         [BZ #17581]
2068         * malloc/hooks.c
2069         (mem2mem_check): Revert my previous change.
2070         (malloc_check_get_size): Revert my previous change.
2071         (mem2chunk_check): Revert my previous change.
2072
2073 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2074
2075         * sysdeps/posix/shm-directory.c: New file.
2076         * sysdeps/posix/shm-directory.h: New file.
2077         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2078         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2079         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2080         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2081         Transmute EPERM to EACCES.
2082         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2083         from ...
2084         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2085         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2086
2087 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2088
2089         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2090         pointer and cast to uintptr_t.
2091         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2093         Add cast to avoid warning.
2094         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2095
2096 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2097
2098         * nptl/semaphore.h: Move to ...
2099         * sysdeps/pthread/semaphore.h: ... here.
2100         * Makefile (installed-headers): Change nptl/semaphore.h to
2101         sysdeps/pthread/semaphore.h.
2102
2103 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2104
2105         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2106         generated error format strings.
2107
2108         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2109         -Wformat-extra-args warnings for scanf formats.
2110         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2111         test of zero-length format (duh).
2112         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2113         corner-case scanf format test.
2114         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2115         generated fprintf format string.
2116         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2117         corner-case sprintf format tests.
2118         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2119         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2120         -Wformat-extra-args warnings throughout.
2121         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2122         (CFLAGS-scanf4.c): Likewise.
2123         (CFLAGS-scanf7.c): Likewise.
2124         (CFLAGS-tst-sprintf.c): Likewise.
2125         (CFLAGS-tst-printf.c): Likewise.
2126         (CFLAGS-tst-printfsz.c): Likewise.
2127
2128 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2129
2130         * include/cpio.h: New file.
2131         * include/fmtmsg.h: Likewise.
2132
2133         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2134         corresponding format argument to size_t.
2135         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2136         arguments.
2137         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2138         corresponding format argument to size_t.
2139         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2140         arguments.
2141         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2142         corresponding format argument to size_t.
2143         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2144         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2145         (CFLAGS-tst-mbswcs2.c): Likewise.
2146         (CFLAGS-tst-mbswcs3.c): Likewise.
2147         (CFLAGS-tst-mbswcs4.c): Likewise.
2148         (CFLAGS-tst-mbswcs5.c): Likewise.
2149         (CFLAGS-tst-trans.c): Likewise
2150
2151 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2152
2153         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2154         rather than assuming they won't contain any '%'s.
2155
2156 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2157
2158         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2159         inhibit_loop_to_libcall to avoid recursive calls.
2160         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2161         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2162
2163 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2164
2165         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2166         prototype.
2167
2168 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2169
2170         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2171         integer value instead of boolean.
2172
2173 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2174
2175         * malloc/malloc.c: Fix powerof2 check.
2176
2177 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2178
2179         * locale/programs/locfile.h (maybe_swap_uint32):
2180         Remove inline and add unused attribute.
2181
2182 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2183
2184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2185         Truncating assembler expression to a .long expression.
2186
2187 2014-12-11  Andreas Schwab  <schwab@suse.de>
2188
2189         * elf/rtld.c (struct map_args): Constify str member.
2190         (do_preload): Constify fname argument.
2191
2192 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2193
2194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2195         constants definition.
2196
2197 2014-12-11  Andreas Schwab  <schwab@suse.de>
2198
2199         [BZ #16657]
2200         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2201         FORCE_ELISION instead of DO_ELISION.
2202         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2203         Remove.
2204         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2205         Likewise.
2206
2207         * iconvdata/gconv-modules: Remove duplicate entry.
2208
2209 2014-12-11  Will Newton  <will.newton@linaro.org>
2210
2211         Merge gettext 0.19.3 into intl/.
2212
2213         This involves a number of cosmetic changes to comments
2214         and ANSI function definitions and prototypes throughout
2215         all the files. The gettext copyright header is used but
2216         with the date ranges taken from the glibc copy.
2217
2218         * NEWS: Add gettext merge to 2.21.
2219         * intl/bindtextdom.c: Switch to gettext copyright.
2220         Use ANSI definitions and prototypes.
2221         Use gl_* locking primitives rather than __libc_* ones.
2222         Use __builtin_expect rather than __glibc_likely/unlikely.
2223         * intl/dcgettext.c: Switch to gettext copyright.
2224         Use ANSI definitions and prototypes.
2225         * intl/dcigettext.c: Switch to gettext copyright.
2226         Use ANSI definitions and prototypes.
2227         (INTDIV0_RAISES_SIGFPE): New define.
2228         Use gl_* locking primitives rather than __libc_* ones.
2229         Include eval-plural.h instead of plural-eval.c.
2230         Use __builtin_expect rather than __glibc_likely/unlikely.
2231         * intl/dcngettext.c: Switch to gettext copyright.
2232         Use ANSI definitions and prototypes.
2233         * intl/dgettext.c: Likewise.
2234         * intl/dngettext.c: Likewise.
2235         * intl/plural-eval.c: Renamed to...
2236         * intl/eval-plural.h: ...this.
2237         * intl/explodename.c: Switch to gettext copyright.
2238         Use ANSI definitions and prototypes.
2239         (_nl_explode_name): Use strchr instead of __rawmemchr.
2240         * intl/finddomain.c: Switch to gettext copyright.
2241         Use ANSI definitions and prototypes.
2242         Use gl_* locking primitives rather than __libc_* ones.
2243         (_nl_find_domain): Use malloc rather than alloca for
2244         allocation of temporary locale name.
2245         * intl/gettext.c: Switch to gettext copyright.
2246         Use ANSI definitions and prototypes.
2247         * intl/gettextP.h: Switch to gettext copyright.
2248         Use ANSI definitions and prototypes.
2249         Use gl_* locking primitives rather than __libc_* ones.
2250         * intl/gmo.h: Switch to gettext copyright.
2251         (struct sysdep_string): Move struct segment_pair outside of
2252         struct definition.
2253         * intl/hash-string.c: Use ANSI definitions and prototypes.
2254         * intl/hash-string.h: Switch to gettext copyright.
2255         Use ANSI definitions and prototypes.
2256         * intl/l10nflist.c: Switch to gettext copyright.
2257         Use ANSI definitions and prototypes.
2258         (_nl_normalize_codeset): Avoid integer overflow.
2259         * intl/loadinfo.h: Switch to gettext copyright.
2260         Use ANSI definitions and prototypes.
2261         (LIBINTL_DLL_EXPORTED): New define.
2262         (PATH_SEPARATOR): New define.
2263         * intl/loadmsgcat.c: Switch to gettext copyright.
2264         * intl/localealias.c: Switch to gettext copyright.
2265         Use ANSI definitions and prototypes.
2266         (_nl_expand_alias): Use PATH_SEPARATOR.
2267         * intl/ngettext.c: Switch to gettext copyright.
2268         Use ANSI definitions and prototypes.
2269         * intl/plural-exp.c: Likewise.
2270         * intl/plural-exp.h: Switch to gettext copyright.
2271         Use ANSI definitions and prototypes.
2272         (struct expression): Move definition of enum operator outside
2273         of struct definition.
2274         * intl/plural.c: Regenerate.
2275         * intl/plural.y: Switch to gettext copyright.
2276         Use ANSI definitions and prototypes.
2277         Port to bison 3.0.
2278         * intl/textdomain.c: Switch to gettext copyright.
2279         Use ANSI definitions and prototypes.
2280         Use gl_* locking primitives rather than __libc_* ones.
2281
2282 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2283
2284         * debug/warning-nop.c: Add used atrribute.
2285
2286 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2287
2288         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2289
2290         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2291         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2292         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2293
2294 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2295             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2296
2297         [BZ #17634]
2298         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2299         Undefine after defining function.  Define as weak alias of
2300         __wcschr.  Use libc_hidden_weak.
2301         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2302         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2303         (libc_hidden_def): Also define __GI___wcschr alias.
2304         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2305         __wcschr and define as weak alias of __wcschr.
2306         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2307         __wcschr.
2308         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2309         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2310         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2311         libc_hidden_weak.  Do not use libc_hidden_def.
2312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2313         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2314         __GI___wcschr alias.
2315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2316         [IS_IN (libc)] (wcschr): Define as macro expanding to
2317         __redirect_wcschr.
2318         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2319         [IS_IN (libc)] (__wcschr_power6): Likewise.
2320         [IS_IN (libc)] (__wcschr_power7): Likewise.
2321         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2322         instead of wcschr.
2323         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2324         __libc_wcschr.
2325         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2326         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2327         __wcschr and define as weak alias of __wcschr.  Use
2328         libc_hidden_builtin_def.
2329         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2330         as weak alias of __wcschr.  Use libc_hidden_weak.
2331         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2332         wcschr.
2333         * time/era.c (_nl_init_era_entries): Likewise.
2334         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2335         variable.
2336         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2337         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2338
2339 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2340
2341         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2342         format for long int variable.
2343
2344 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2345
2346         [BZ #10672]
2347         * manual/search.texi: (Array Sort Function): Remove claim how to make
2348         qsort stable.
2349
2350 2014-12-10  Andreas Schwab  <schwab@suse.de>
2351
2352         [BZ #12847]
2353         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2354         user-controlled locks.
2355
2356 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2357
2358         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2359         register.
2360
2361 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2362
2363         * configure.ac (--disable-werror): New configure option.
2364         (enable_werror): New AC_SUBST.
2365         * configure: Regenerated.
2366         * config.make.in (enable-werror): New variable.
2367         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2368         -Wno-error=undef.
2369         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2370         * manual/install.texi (Configuring and compiling): Document
2371         --disable-werror.
2372         * INSTALL: Regenerated.
2373         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2374         (CFLAGS-tst-chk2.c): Likewise.
2375         (CFLAGS-tst-chk3.c): Likewise.
2376         (CFLAGS-tst-chk4.cc): Likewise.
2377         (CFLAGS-tst-chk5.cc): Likewise.
2378         (CFLAGS-tst-chk6.cc): Likewise.
2379         (CFLAGS-tst-lfschk1.c): Likewise.
2380         (CFLAGS-tst-lfschk2.c): Likewise.
2381         (CFLAGS-tst-lfschk3.c): Likewise.
2382         (CFLAGS-tst-lfschk4.cc): Likewise.
2383         (CFLAGS-tst-lfschk5.cc): Likewise.
2384         (CFLAGS-tst-lfschk6.cc): Likewise.
2385
2386         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2387         (main): Disable -Wdeprecated-declarations around calls to
2388         register_printf_function.
2389
2390         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2391         (do_test): Disable -Wdiv-by-zero around some calls to
2392         fwrite_unlocked and fread_unlocked.
2393
2394         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2395         (DIAG_POP_NEEDS_COMMENT): Likewise.
2396         (_DIAG_STR1): Likewise.
2397         (_DIAG_STR): Likewise.
2398         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2399         * stdio-common/bug21.c: Include <libc-internal.h>.
2400         (do_test): Disable -Wformat around call to sscanf.
2401         * stdio-common/scanf14.c: Include <libc-internal.h>.
2402         (main): Disable -Wformat around some calls to scanf functions.
2403
2404 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2405
2406         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2407
2408 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2409
2410         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2411         stack variable alignment.
2412
2413 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2414
2415         [BZ #17682]
2416         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2417         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2418         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2419         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2420         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2421         __getrlimit instead of getrlimit.
2422         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2423         __gettimeofday instead of gettimeofday.
2424         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2425         Likewise.
2426         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2427         Likewise.
2428         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2429         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2430         Remove variable.
2431         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2432         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2433
2434 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2435
2436         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2437         for wide-character tests.
2438
2439 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2440
2441         * io/openat64.c: #include <libc-internal.h>
2442         (__openat64): Prototypify.  Use ignore_value on MODE.
2443         * io/openat.c: Likewise.
2444         * misc/reboot.c: #include <libc-internal.h>
2445         (reboot): Prototypify.  Use ignore_value on HOWTO.
2446         * misc/ptrace.c: #include <libc-internal.h>
2447         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2448
2449 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2450
2451         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2452         XPG4, UNIX98 and XOPEN2K.
2453         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2454         Remove variable.
2455         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2456
2457 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2458
2459         * libio/fileops.c: Use ISO C style for function definitions.
2460         * libio/iofopen.c: Likewise.
2461         * libio/wfileops.c: Likewise.
2462
2463         [BZ #17653]
2464         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2465         offset on EOF.
2466         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2467         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2468         (fgets_func): Function pointer to fgets and fgetws.
2469         (do_ftell_test): Add test to verify ftell value after read
2470         EOF.
2471         (do_test): Set fgets_func.
2472
2473         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2474         O_TRUNC flag for w and w+ modes.
2475         (do_rewind_test): Likewise.
2476         (do_ftell_test): Likewise.
2477         (do_write_test): Likewise.
2478
2479         [BZ #17647]
2480         * libio/fileops.c (do_ftell): Seek only when there are
2481         unflushed writes.
2482         * libio/wfileops.c (do_ftell_wide): Likewise.
2483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2484         test case.
2485         (do_one_test): Call it.
2486
2487 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2488
2489         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2490         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2491         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2492         Remove variable.
2493         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2494         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2495         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2496
2497 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2498
2499         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2500         Remove variable.
2501         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2502
2503         [BZ #17668]
2504         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2505         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2506         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2507         __freeifaddrs.  Use libc_hidden_weak.
2508         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2509         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2510         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2511         __freeifaddrs.  Use libc_hidden_weak.
2512         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2513         __getifaddrs and define as weak alias of __getifaddrs.  Use
2514         libc_hidden_weak.
2515         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2516         __freeifaddrs.  Use libc_hidden_weak.
2517         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2518         Remove variable.
2519         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2520         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2521
2522 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2523
2524         [BZ #17601]
2525         * sysdeps/mips/start.S (__start): Use indirect jump to call
2526         __libc_start_main.
2527
2528 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2529
2530         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2531
2532         * nptl/tst-mutex1.c: Include <stdbool.h>.
2533         [!ATTR] (ATTR_NULL): New macro.
2534         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2535         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2536         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2537
2538         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2539         to char *.
2540
2541         [BZ #17665]
2542         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2543         Change conditional to [__USE_MISC].
2544
2545         [BZ #17664]
2546         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2547         fgets_unlocked.
2548         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2549         __fgets_unlocked.
2550         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2551         fgets_unlocked.
2552         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2553         Remove variable.
2554         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2555         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2556         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2557         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2558         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2559         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2560         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2561         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2562         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2563
2564         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2565
2566 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2567
2568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2569         Remove strpbrk objects.
2570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2571         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2573         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2574         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2575         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2576
2577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2578         Remove strcspn objects.
2579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2580         (__libc_ifunc_impl_list): Remove strcspn implementation.
2581         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2582         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2583         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2584         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2585
2586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2587         Remove strspn objetcs.
2588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2589         (__libc_ifunc_impl_list): Remove strspn implementation.
2590         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2591         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2592         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2593         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2594
2595 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2596
2597         [BZ #17581]
2598         * malloc/hooks.c
2599         (mem2mem_check): Add a terminator to the chain of checking blocks.
2600         (malloc_check_get_size): Use it here.
2601         (mem2chunk_check): Ditto.
2602
2603 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2604
2605         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2606         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2607
2608 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2609
2610         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2611
2612         * nptl/nptl-init.c: Include libc-internal.h.
2613         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2614
2615         * elf/ldconfig.c (search_dir): Expand comment.
2616
2617 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2618
2619         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2620         variable.
2621         (linknamespace-symlist-stdlibs-tests): Likewise.
2622         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2623         instead of $(objpfx)symlist-stdlibs.
2624         (linknamespace-libs-isoc): New variable.
2625         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2626         (linknamespace-libs-ISO): New variable.
2627         (linknamespace-libs-ISO99): Likewise.
2628         (linknamespace-libs-ISO11): Likewise.
2629         (linknamespace-libs-XPG3): Likewise.
2630         (linknamespace-libs-XPG4): Likewise.
2631         (linknamespace-libs-POSIX): Likewise.
2632         (linknamespace-libs-UNIX98): Likewise.
2633         (linknamespace-libs-XOPEN2K): Likewise.
2634         (linknamespace-libs-POSIX2008): Likewise.
2635         (linknamespace-libs-XOPEN2K8): Likewise.
2636         ($(objpfx)symlist-stdlibs): Replace by
2637         $(linknamespace-symlist-stdlibs-tests).  Use
2638         $(linknamespace-libs-$*) as set of libraries.
2639         ($(linknamespace-header-tests)): Update dependencies.  Use
2640         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2641         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2642         * conform/linknamespace.pl: Remove comment about considering
2643         definitions of symbols from irrelevant libraries.
2644
2645 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2646
2647         [BZ #13862]
2648         * elf/dl-tls.c: Include <atomic.h>.
2649         (oom): Remove #ifdef SHARED/#endif.
2650         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2651         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2652         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2653         big enough.
2654         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2655         * nptl/Makefile (tests): Add tst-stack4.
2656         (modules-names): Add tst-stack4mod.
2657         ($(objpfx)tst-stack4): New.
2658         (tst-stack4mod.sos): Likewise.
2659         ($(objpfx)tst-stack4.out): Likewise.
2660         ($(tst-stack4mod.sos)): Likewise.
2661         (clean): Likewise.
2662         * nptl/tst-stack4.c: New file.
2663         * nptl/tst-stack4mod.c: Likewise.
2664
2665 2014-11-27  J. Brown  <jb999@gmx.de>
2666
2667         * sysdeps/x86/bits/string.h: Add recent CPUs.
2668
2669 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2670
2671         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2672         sigblock.
2673
2674         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2675         feof.
2676
2677         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2678         variable.
2679
2680 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2681
2682         * nscd/connections.c: Include libc-internal.h because of macro
2683         usage ignore_value.
2684
2685 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2686
2687         * string/bits/string3.h (__warn_memset_zero_len): Don't
2688         declare for gcc newer than 5.0.
2689         (memset): Don't test for zero-length __LEN for gcc newer than
2690         5.0.
2691
2692 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2693
2694         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2695         size_t for %zu format.
2696
2697         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2698         difference, not %ju.
2699
2700 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2701
2702         * include/libc-internal.h (ignore_value): New macro.
2703         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2704         with ignore_value.
2705
2706         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2707         definition.
2708
2709         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2710         pthread_cleanup_push to void *.
2711
2712         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2713         Undefine.
2714
2715         [BZ #16619]
2716         [BZ #16740]
2717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2718         instead of 1L << 52.
2719
2720         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2721         * libio/bug-rewind2.c (do_test): Likewise.
2722
2723         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2724         * debug/test-strcpy_chk-ifunc.c: Likewise.
2725         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2726         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2727         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2728         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2729         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2730         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2731         * Rules [$(multi-arch) = no] (tests): Do not filter out
2732         $(tests-ifunc).
2733         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2734         * debug/Makefile (tests-ifunc): Remove variable.
2735         (tests): Do not add $(tests-ifunc).
2736         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2737         (tests): Do not add $(tests-ifunc).
2738         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2739         [TEST_IFUNC]: Remove conditionals.
2740         * string/test-string.h (TEST_IFUNC): Remove macro.
2741         [TEST_IFUNC]: Remove conditionals.
2742
2743         * string/test-strchr.c [!WIDE] (L): New macro.
2744         [WIDE] (L): Likewise.
2745         (check1): Use CHAR instead of char.  Use L on string and character
2746         constants.
2747
2748 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2749
2750         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2751         tests.
2752         * sysdeps/powerpc/bits/atomic.h
2753         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2754         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2755         (atomic_exchange_and_add_acq): Likewise.
2756         (atomic_exchange_and_add_rel): Likewise.
2757         * sysdeps/powerpc/powerpc32/bits/atomic.h
2758         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2759         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2760         * sysdeps/powerpc/powerpc64/bits/atomic.h
2761         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2762         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2763
2764 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2765
2766         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2767         Change synchronization of __sched_fifo_min_prio and
2768         __sched_fifo_max_prio.
2769         * nptl/pthread_mutexattr_getprioceiling.c
2770         (pthread_mutexattr_getprioceiling): Likewise.
2771         * nptl/pthread_mutexattr_setprioceiling.c
2772         (pthread_mutexattr_setprioceiling): Likewise.
2773         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2774         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2775         Likewise.
2776
2777 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2778
2779         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2780         void.
2781
2782 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2783
2784         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2785         third argument const.
2786
2787 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2788
2789         fnmatch: work around GCC compiler warning bug with uninit var
2790         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2791         This works around a bug with x86-64 GCC 4.9.2 and earlier
2792         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2793         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2794         used uninitialized in this function [-Wmaybe-uninitialized]".
2795
2796 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2797
2798         * posix/bug-regex31.c (main): Return RES not 0.
2799
2800 2014-11-25  Anton Blanchard <anton@samba.org>
2801
2802         * sysdeps/powerpc/bits/atomic.h
2803         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2804
2805 2014-11-24  Sterling Augustine  <saugustine@google.com>
2806
2807         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2808
2809 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2810
2811         [BZ #17608]
2812         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2813
2814 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2815
2816         [BZ #17633]
2817         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2818         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2819         variable.
2820         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2821         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2822
2823 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2824
2825         * string/strncpy.c (strncpy): Improve performance by using memset.
2826
2827 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2828
2829         * string/strcpy.c (strcpy):
2830         Improve performance by using strlen and memcpy.
2831
2832 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2833
2834         * string/strcoll_l.c (get_next_seq): __always_inline.
2835         * string/strcoll_l.c (do_compare): __always_inline.
2836
2837 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2838
2839         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2840         defined.
2841         * include/mqueue.h: Likewise.
2842         * include/stdlib.h: Likewise.
2843
2844         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2845         (get_null_defines): Adjust.
2846         * sunrpc/Makefile: Adjust comment.
2847         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2848         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2849         (CFLAGS-interp.c): Likewise.
2850         (CFLAGS-ldconfig.c): Likewise.
2851         (CPPFLAGS-.os): Likewise.
2852         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2853         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2854         * extra-modules.mk (extra-modules.mk): Likewise.
2855         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2856         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2857         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2858         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2859         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2860         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2861         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2862         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2863         * iconvdata/Makefile (CPPFLAGS): Likewise.
2864         (cpp-srcs-left): Add libof for all iconvdata routines.
2865         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2866         * include/assert.h: Likewise.
2867         * include/ctype.h: Likewise.
2868         * include/errno.h: Likewise.
2869         * include/libc-symbols.h: Likewise.
2870         * include/math.h: Likewise.
2871         * include/netdb.h: Likewise.
2872         * include/resolv.h: Likewise.
2873         * include/stdio.h: Likewise.
2874         * include/stdlib.h: Likewise.
2875         * include/string.h: Likewise.
2876         * include/sys/stat.h: Likewise.
2877         * include/wctype.h: Likewise.
2878         * intl/l10nflist.c: Likewise.
2879         * libidn/idn-stub.c: Likewise.
2880         * libio/libioP.h: Likewise.
2881         * nptl/libc_multiple_threads.c: Likewise.
2882         * nptl/pthreadP.h: Likewise.
2883         * posix/regex_internal.h: Likewise.
2884         * resolv/res_hconf.c: Likewise.
2885         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2886         * sysdeps/arm/memmove.S: Likewise.
2887         * sysdeps/arm/sysdep.h: Likewise.
2888         * sysdeps/generic/_itoa.h: Likewise.
2889         * sysdeps/generic/symbol-hacks.h: Likewise.
2890         * sysdeps/gnu/errlist.awk: Likewise.
2891         * sysdeps/gnu/errlist.c: Likewise.
2892         * sysdeps/i386/i586/memcpy.S: Likewise.
2893         * sysdeps/i386/i586/memset.S: Likewise.
2894         * sysdeps/i386/i686/memcpy.S: Likewise.
2895         * sysdeps/i386/i686/memmove.S: Likewise.
2896         * sysdeps/i386/i686/mempcpy.S: Likewise.
2897         * sysdeps/i386/i686/memset.S: Likewise.
2898         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2899         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2900         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2901         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2902         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2903         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2904         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2905         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2906         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2914         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2915         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2916         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2917         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2918         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2919         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2920         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2921         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2922         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2924         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2925         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2926         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2927         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2928         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2931         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2934         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2935         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2936         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2938         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2939         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2942         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2943         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2944         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2945         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2946         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2947         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2949         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2950         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2952         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2953         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2954         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2955         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2956         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2958         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2959         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2960         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2961         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2962         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2963         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2964         * sysdeps/posix/closedir.c: Likewise.
2965         * sysdeps/posix/opendir.c: Likewise.
2966         * sysdeps/posix/readdir.c: Likewise.
2967         * sysdeps/posix/rewinddir.c: Likewise.
2968         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2969         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2971         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2972         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2979         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2981         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2982         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2983         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2986         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2988         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2989         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2990         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2991         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2992         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2994         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2996         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3004         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3005         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3006         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3007         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3008         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3009         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3010         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3012         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3014         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3015         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3016         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3017         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3018         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3019         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3022         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3025         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3026         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3027         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3028         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3029         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3031         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3032         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3033         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3034         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3035         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3037         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3038         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3039         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3040         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3041         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3042         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3043         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3044         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3045         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3046         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3047         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3048         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3051         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3052         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3054         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3055         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3056         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3057         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3058         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3059         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3060         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3064         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3066         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3067         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3069         * sysdeps/unix/alpha/sysdep.S: Likewise.
3070         * sysdeps/unix/alpha/sysdep.h: Likewise.
3071         * sysdeps/unix/make-syscalls.sh: Likewise.
3072         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3074         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3075         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3076         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3077         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3078         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3079         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3080         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3082         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3083         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3085         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3086         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3087         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3088         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3089         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3090         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3091         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3092         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3094         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3095         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3096         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3097         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3098         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3101         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3102         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3106         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3110         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3111         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3112         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3113         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3114         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3115         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3118         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3122         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3123         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3124         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3125         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3126         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3128         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3130         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3131         * sysdeps/x86_64/memcpy.S: Likewise.
3132         * sysdeps/x86_64/memmove.c: Likewise.
3133         * sysdeps/x86_64/memset.S: Likewise.
3134         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3135         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3136         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3137         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3138         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3141         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3142         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3143         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3144         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3145         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3146         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3147         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3148         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3149         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3150         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3151         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3152         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3153         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3154         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3155         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3156         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3157         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3158         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3159         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3160         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3161         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3162         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3163         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3164         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3165         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3166         * sysdeps/x86_64/strcmp.S: Likewise.
3167
3168         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3169
3170         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3171         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3172         * elf/rtld-Rules: Likewise.
3173         * elf/setup-vdso.h: Likewise.
3174         * include/assert.h: Likewise.
3175         * include/bits/stdlib-float.h: Likewise.
3176         * include/errno.h: Likewise.
3177         * include/sys/stat.h: Likewise.
3178         * include/unistd.h: Likewise.
3179         * sysdeps/aarch64/setjmp.S: Likewise.
3180         * sysdeps/alpha/setjmp.S: Likewise.
3181         * sysdeps/arm/__longjmp.S: Likewise.
3182         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3183         * sysdeps/arm/setjmp.S: Likewise.
3184         * sysdeps/arm/sysdep.h: Likewise.
3185         * sysdeps/generic/_itoa.h: Likewise.
3186         * sysdeps/generic/dl-sysdep.h: Likewise.
3187         * sysdeps/generic/ldsodefs.h: Likewise.
3188         * sysdeps/i386/dl-tls.h: Likewise.
3189         * sysdeps/i386/setjmp.S: Likewise.
3190         * sysdeps/m68k/setjmp.c: Likewise.
3191         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3192         * sysdeps/mach/hurd/opendir.c: Likewise.
3193         * sysdeps/posix/getcwd.c: Likewise.
3194         * sysdeps/posix/opendir.c: Likewise.
3195         * sysdeps/posix/profil.c: Likewise.
3196         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3197         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3198         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3200         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3201         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3202         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3203         * sysdeps/s390/dl-tls.h: Likewise.
3204         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3205         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3206         * sysdeps/sh/sh3/setjmp.S: Likewise.
3207         * sysdeps/sh/sh4/setjmp.S: Likewise.
3208         * sysdeps/unix/alpha/sysdep.h: Likewise.
3209         * sysdeps/unix/arm/sysdep.S: Likewise.
3210         * sysdeps/unix/i386/sysdep.S: Likewise.
3211         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3212         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3213         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3214         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3217         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3218         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3219         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3220         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3221         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3222         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3226         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3229         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3230         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3231         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3234         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3235         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3238         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3239         * sysdeps/x86_64/setjmp.S: Likewise.
3240
3241         * include/math.h: Use IS_IN instead of IS_IN_libm.
3242         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3243         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3244         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3245         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3247         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3248         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3249         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3251         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3252         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3253         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3254         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3255         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3256         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3257         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3258         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3259         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3260         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3261         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3262         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3263         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3264         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3265         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3266         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3267         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3269         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3270         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3271         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3272         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3273         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3274         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3276         Likewise.
3277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3278         Likewise.
3279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3280         Likewise.
3281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3282         Likewise.
3283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3284         Likewise.
3285         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3286         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3287         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3288         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3289         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3290         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3296         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3297         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3298         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3299         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3300         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3301         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3303         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3304         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3305         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3306         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3309         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3311         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3312
3313         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3314         * nptl/pthreadP.h: Likewise.
3315         * nptl_db/structs.def: Likewise.
3316         * sysdeps/arm/sysdep.h: Likewise.
3317         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3318         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3319         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3320         * sysdeps/unix/alpha/sysdep.h: Likewise.
3321         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3323         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3324         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3325         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3326         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3329         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3330         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3331         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3332         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3333         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3334         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3342         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3343         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3344         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3345         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3346         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3347
3348         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3349         * nptl/pthreadP.h: Likewise.
3350         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3351         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3352         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3353         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3354         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3355         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3356         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3357         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3358         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3359         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3360         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3361         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3368         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3371         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3372         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3373         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3374
3375         * dlfcn/dladdr.c: Use IS_IN.
3376         * dlfcn/dladdr1.c: Likewise.
3377         * dlfcn/dlclose.c: Likewise.
3378         * dlfcn/dlerror.c: Likewise.
3379         * dlfcn/dlinfo.c: Likewise.
3380         * dlfcn/dlmopen.c: Likewise.
3381         * dlfcn/dlopen.c: Likewise.
3382         * dlfcn/dlsym.c: Likewise.
3383         * dlfcn/dlvsym.c: Likewise.
3384
3385         * include/ifaddrs.h: Use IS_IN.
3386         * inet/check_pf.c: Likewise.
3387         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3388         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3389
3390         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3391         IS_IN_ldconfig.
3392         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3393         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3394
3395         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3396         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3397         IS_IN (libc).
3398
3399         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3400
3401         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3402         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3403         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3404         * include/libc-symbols.h (IS_IN_LIB): New macro.
3405         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3406         * include/netdb.h: Likewise.
3407         * include/stap-probe.h: Remove all uses of IN_LIB.
3408
3409         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3410         instead of IN_MODULE.
3411         * include/libc-symbols.h (IN_MODULE): Define using
3412         MODULE_NAME.
3413         (PASTE_NAME, PASTE_NAME1): New macros.
3414         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3415         of IN_LIB.
3416         (STAP_PROBE_ASM): Likewise.
3417
3418 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3419
3420         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3421         __mach_init in dlopened libc.
3422
3423 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3424
3425         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3426         * sysdeps/arm/preconfigure: Regenerate.
3427
3428 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3429
3430         * nptl/pthread_create.c (__pthread_create_2_1): Set
3431         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3432         when copying values from IATTR into PD.
3433
3434 2014-11-21  Will Newton  <will.newton@linaro.org>
3435             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3436
3437         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3438         Refactor inline-asm.  Also add comment.
3439
3440         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3441         ElfW macro instead of hardcoded Elf64 types.
3442         (la_aarch64_gnu_pltenter): Likewise.
3443         * sysdeps/aarch64/dl-machine.h
3444         (elf_machine_runtime_setup): Use ElfW(Addr).
3445
3446         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3447         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3448         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3449         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3450         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3451         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3452         (R_AARCH64_TLS_DTPMOD): This.
3453         (R_AARCH64_TLS_DTPREL64): Rename to ...
3454         (R_AARCH64_TLS_DTPREL): This.
3455         (R_AARCH64_TLS_TPREL64): Rename to ...
3456         (R_AARCH64_TLS_TPREL): This.
3457         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3458         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3459         R_AARCH64_TLS_TPREL64.
3460         (elf_machine_rela): Likewise.
3461
3462 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3463
3464         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3465         by setting it to 0.  64b atomics are not supported currently.
3466
3467 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3468
3469         [BZ #16469]
3470         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3471         search domain names.
3472
3473 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3474
3475         [BZ #16469]
3476         * NEWS: Update.
3477         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3478         trailing dot.
3479         * posix/tst-getaddrinfo5.c: New.
3480         * posix/Makefile (tests): Add it.
3481
3482 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3483
3484         [BZ #14498]
3485         * NEWS: Fixed.
3486         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3487         after parsing line but before break_if_match.
3488         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3489         if there is a protocol mismatch.
3490
3491 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3492
3493         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3494         because the potential race is on the user-supplied stream.
3495
3496 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3497
3498         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3499         string literal if not passed a buffer.
3500         * manual/job.texi (ctermid): Update reasoning, note deviation
3501         from posix, suggest mtasurace when not passed a buffer, for
3502         future non-preliminary safety notes.
3503
3504 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3505
3506         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3507         of not passing it a buffer.
3508         Reported by Peng Haitao.
3509
3510 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3511
3512         * manual/Makefile ($(objpfx)stamp-summary): Require
3513         check-safety.sh to pass.
3514         * manual/check-safety.sh: Wish for verification that every
3515         @deftypefn and @deftypefun is followed by a @safety remark.
3516
3517 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3518
3519         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3520
3521         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3522         PTHREAD_CANCEL_ASYNCHRONOUS.
3523         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3524         send SIGCANCEL.
3525
3526         * nptl/default-sched.h: New file.
3527         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3528         * nptl/pthread_create.c: Include it.
3529         (__pthread_create_2_1): Use collect_default_sched instead of making
3530         Linux syscalls here directly.
3531
3532 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3533
3534         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3535         __pthread_once): Use C11 atomics.
3536
3537 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3538
3539         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3540
3541 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3542
3543         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3544         atomic_thread_fence_acquire, atomic_thread_fence_release,
3545         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3546         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3547         atomic_compare_exchange_weak_relaxed,
3548         atomic_compare_exchange_weak_acquire,
3549         atomic_compare_exchange_weak_release,
3550         atomic_exchange_acquire, atomic_exchange_release,
3551         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3552         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3553         atomic_fetch_and_acquire,
3554         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3555
3556 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3557
3558         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3559         USE_ATOMIC_COMPILER_BUILTINS): Define.
3560         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3562         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3564         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3566         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3568         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3570         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3572         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3574         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3576         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3578         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3580         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3582         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3584         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3586         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3588         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3590         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3592         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3595         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3596         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3598         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3600
3601 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3602
3603         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3604         the sched_priority value here.  It was already checked when the user
3605         called pthread_attr_setschedparam.
3606
3607         * nptl/tst-bad-schedattr.c: New file.
3608         * nptl/Makefile (tests): Add it.
3609
3610 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3611             Florian Weimer  <fweimer@redhat.com>
3612             Joseph Myers  <joseph@codesourcery.com>
3613             Adam Conrad  <adconrad@0c3.net>
3614             Andreas Schwab  <schwab@suse.de>
3615             Brooks  <bmoses@google.com>
3616
3617         [BZ #17625]
3618         * wordexp-test.c (__dso_handle): Add prototype.
3619         (__register_atfork): Likewise.
3620         (__app_register_atfork): New function.
3621         (registered_forks): New global.
3622         (register_fork): New function.
3623         (test_case): Add 3 new tests for WRDE_CMDSUB.
3624         (main): Call __app_register_atfork.
3625         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3626         fork count is non-zero fail the test.
3627         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3628         is set.
3629         (parse_dollars): Remove check for WRDE_NOCMD.
3630         (parse_dquote): Likewise.
3631
3632 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3633
3634         * Makeconfig (built-modules): List non-library modules to be
3635         built.
3636         (module-cppflags): Include libc-modules.h for
3637         everything except shlib-versions.v.i.
3638         (CPPFLAGS): Use it.
3639         (before-compile): Add libc-modules.h.
3640         ($(common-objpfx)libc-modules.h,
3641         $(common-objpfx)libc-modules.stmp): New targets.
3642         (common-generated): Add libc-modules.h and libc-modules.stmp.
3643         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3644         * include/libc-symbols.h: Don't include libc-modules.h.
3645         * include/libc-modules.h: Remove file.
3646         * scripts/gen-libc-modules.awk: New script to generate
3647         libc-modules.h.
3648         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3649         Depend on libc-modules.stmp.
3650
3651         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3652
3653         * Makeconfig (in-module): Get value of libof set for the
3654         translation unit.
3655         (CPPFLAGS): Use $(in-module).
3656         * Makerules: Don't suffix routine names for nonlib.
3657         * include/libc-modules.h: New file.
3658         * include/libc-symbols.h: Include libc-modules.h
3659         (IS_IN): New macro to replace IS_IN_* macros.
3660         * elf/Makefile: Set libof-* for each routine.
3661         * elf/rtld-Rules: Likewise.
3662         * extra-modules.mk: Likewise.
3663         * iconv/Makefile: Likewise.
3664         * iconvdata/Makefile: Likewise.
3665         * locale/Makefile: Likewise.
3666         * malloc/Makefile: Likewise.
3667         * nss/Makefile: Likewise.
3668         * sysdeps/gnu/Makefile: Likewise.
3669         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3670         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3671         * sysdeps/s390/s390-64/Makefile: Likewise.
3672         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3673         CPPFLAGS for nscd instead of nonlib.
3674
3675 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3676
3677         * nptl/createthread.c: New file.
3678
3679         * nptl/createthread.c: Moved ...
3680         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3681
3682         * nptl/createthread.c: Add proper top-line comment.
3683         (do_clone): Folded into ...
3684         (create_thread): ... here.  Take new arguments STOPPED_START and
3685         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3686         increment __nptl_threads, do event-reporting logic, do
3687         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3688         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3689         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3690         just send SIGCANCEL.
3691         * nptl/pthread_create.c: Forward-declare create_thread before
3692         including createthread.c.
3693         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3694         declaration, and new macro START_THREAD_SELF to replace argument.
3695         Remove return statement.
3696         (report_thread_creation): New function.
3697         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3698         synchronization logic, and __nptl_nthreads increment here, around
3699         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3700         PD->parent_cancelhandling here, before create_thread.  When
3701         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3702         __deallocate_stack, and ENOMEM translation here.
3703
3704 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3705
3706         [BZ #17616]
3707         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3708         (mptwo): Rename to __mptwo.
3709         (__inv): Use __mptwo instead of mptwo.
3710         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3711         (mptwo): Rename to __mptwo.
3712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3713         of mpone and __mptwo instead of mptwo.
3714         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3715         instead of mpone.
3716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3717         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3718         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3719         of mpone and __mptwo instead of mptwo.
3720         (__mpranred): Use __mpone instead of mpone.
3721         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3722         variable.
3723         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3724         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3725         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3726         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3727         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3728         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3729         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3730         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3731         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3732         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3733         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3734         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3735         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3736         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3737         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3738         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3739         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3740         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3741         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3742
3743 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3744
3745         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3746         replace BSD Handler xref with BSD Signal Handling.
3747
3748 2014-11-17  Richard Henderson  <rth@redhat.com>
3749
3750         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3751         (_FP_PACK_RAW_2): Remove.
3752         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3753         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3754         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3755         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3756         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3757         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3758         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3759         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3760         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3761         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3762         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3763         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3764         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3765         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3766         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3767         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3768
3769 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3770
3771         * signal/signal.h [__USE_MISC]
3772         (struct sigvec): Remove type.
3773         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3774         (sigvec): Remove declaration.
3775         * sysdeps/posix/sigvec.c: Moved ...
3776         * signal/sigvec.c: ... here, replacing old file.
3777         (struct sigvec): New type, copied from old signal.h definition.
3778         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3779         (__sigvec): Convert definition to prototype.
3780         (sigvec): Replace weak_alias with compat_symbol.
3781         * signal/Versions (libc: GLIBC_2.21): New version set.
3782         * include/signal.h: Remove __sigvec declaration.
3783         * sysdeps/unix/bsd/sigvec.c: Remove file.
3784         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3785         * manual/signal.texi (BSD Handler): Remove subsection.
3786         Move siginterrupt up to ...
3787         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3788         (Blocking in BSD): Fold subsection into its parent.
3789         * NEWS: Mention sigvec removal.
3790
3791 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3792
3793         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3794         (DLA_FMS): Make definition conditional only on [__FMA4__].
3795         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3796         definition.
3797
3798         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3799         Make definition conditional only on [PROF].
3800         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3801         definition.
3802         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3803         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3804
3805         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3806         !__GNUC__].
3807         * include/signal.h (__sigpause): Move declaration above call to
3808         libc_hidden_proto.
3809         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3810         variable.
3811         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3812         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3813
3814 2014-11-14  David S. Miller  <davem@davemloft.net>
3815
3816         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3817         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3818
3819 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3820
3821         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3822         * configure: Regenerated.
3823         * manual/install.texi (Tools for Compilation): Document a
3824         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3825         compiler verified to work.
3826         * INSTALL: Regenerated.
3827
3828         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3829         redeclare with asm name.
3830         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3831         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3832         including <string.h>.
3833         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3834         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3835         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3836         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3837         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3838         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3839         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3840
3841 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3842
3843         * stdlib/strtol.c (__strtol): Use prototype definition.
3844
3845         [BZ #17594]
3846         * stdlib/strtol.c (SYM__): New macro.
3847         (SYM__1): Likewise.
3848         (__strtol): Likewise.
3849         (strtol): Rename to __strtol and define as weak alias of
3850         __strtol.  Use libc_hidden_weak.
3851
3852 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3853
3854         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3855         Use numbered labels in inline assembly.
3856
3857 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3858
3859         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3860         Add setjmp LIBC_PROBE.
3861         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3862         Likewise.
3863         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3864         Add longjmp, longjmp_target LIBC_PROBE.
3865         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3866         Likewise.
3867
3868 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3869
3870         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3871         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3872         to get rid of unused variable warning.
3873
3874 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3875
3876         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3877         Check for unwind_backtrace ==  NULL only in SHARED case.
3878         (__backchain_backtrace): Compile only in SHARED case.
3879         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3880         Likewise.
3881         (__backchain_backtrace): Declare as static.
3882
3883 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3884
3885         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3886         (__libc_multiple_threads_ptr): Variable moved ...
3887         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3888
3889 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3890
3891         * conform/GlibcConform.pm: New file.
3892         * conform/conformtest.pl: Use GlibcConform module.
3893         * conform/linknamespace.pl: New file.
3894         * conform/list-header-symbols.pl: Likewise.
3895         * conform/Makefile (linknamespace-symlists-base): New variable.
3896         (linknamespace-symlists-tests): Likewise.
3897         (linknamespace-header-base): Likewise.
3898         (linknamespace-header-tests): Likewise.
3899         (tests-special): Add new tests.
3900         ($(linknamespace-symlists-tests)): New rule.
3901         (linknamespace-libs): New variable.
3902         ($(objpfx)symlist-stdlibs): New rule.
3903         ($(linknamespace-header-tests)): Likewise.
3904         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3905         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3906         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3907         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3908         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3909         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3910         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3911         (test-xfail-ISO/math.h/linknamespace): Likewise.
3912         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3913         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3914         (test-xfail-ISO/time.h/linknamespace): Likewise.
3915         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3916         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3917         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3918         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3919         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3920         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3921         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3922         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3923         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3924         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3925         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3926         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3927         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3928         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3929         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3930         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3931         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3932         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3933         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3934         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3935         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3936         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3937         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3938         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3939         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3940         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3941         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3942         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3943         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3944         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3945         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3946         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3947         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3948         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3949         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3950         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3951         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3952         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3953         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3954         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3955         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3956         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3957         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3958         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3959         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3960         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3961         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3962         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3963         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3964         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3965         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3966         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3967         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3968         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3969         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3970         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3971         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3972         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3973         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3974         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3975         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3976         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3977         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3978         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3979         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3980         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3981         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3982         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3983         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3984         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3985         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3986         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3987         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3988         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3989         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3990         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3991         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3992         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3993         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3994         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3995         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3996         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3997         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3998         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3999         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4000         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4001         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4002         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4003         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4004         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4005         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4006         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4007         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4008         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4009         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4010         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4011         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4012         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4013         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4014         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4015         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4016         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4017         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4018         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4019         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4020         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4021         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4022         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4023         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4024         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4025         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4026         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4027         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4028         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4029         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4030         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4031         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4032         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4033         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4034         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4035         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4036         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4037         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4038         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4039         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4040         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4041         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4042         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4043         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4044         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4045         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4046         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4047         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4048         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4049         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4050         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4051         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4052         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4053         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4054         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4055         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4056         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4057         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4058         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4059         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4060         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4061         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4062         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4063         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4064         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4065
4066         [BZ #17589]
4067         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4068         of fgets_unlocked.
4069
4070         [BZ #17585]
4071         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4072         (memmem): Rename to __memmem and define as weak alias of
4073         __memmem.  Use libc_hidden_weak.
4074         (__memmem): Use libc_hidden_def.
4075         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4076         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4077         memmem.
4078
4079         [BZ #17582]
4080         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4081         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4082         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4083         and define as weak alias of __fgets_unlocked.  Use
4084         libc_hidden_weak.
4085         (__fgets_unlocked): Use libc_hidden_def.
4086         * include/stdio.h (__fgets_unlocked): Declare.  Use
4087         libc_hidden_proto.
4088         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4089         __fgets_unlocked instead of fgets_unlocked.
4090         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4091         (GET_NPROCS_CONF_PARSER): Likewise.
4092         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4093         (GET_NPROCS_CONF_PARSER): Likewise.
4094
4095         [BZ #17574]
4096         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4097         weak alias of __wmemset.  Use libc_hidden_weak.
4098         (__wmemset): Use libc_hidden_def.
4099         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4100         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4101         of wmemset.
4102
4103         [BZ #17573]
4104         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4105         with asm name __mempcpy.
4106         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4107
4108         [BZ #17572]
4109         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4110         and define as weak alias of __rawmemchr.
4111         (__rawmemchr): Do not define as strong alias of rawmemchr.
4112
4113         [BZ #17571]
4114         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4115         alias of __qsort_r.
4116         (qsort): Call __qsort_r instead of qsort_r.
4117         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4118         (__qsort_r): Declare.  Call libc_hidden_proto.
4119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4120         instead of qsort_r.
4121         * nscd/gai.c (__qsort_r): Define to qsort_r.
4122         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4123         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4124         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4125
4126         [BZ #17570]
4127         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4128         define as weak alias of __malloc_info.
4129
4130         [BZ #17584]
4131         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4132         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4133         (__rewinddir): Use libc_hidden_def.
4134         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4135         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4136         (__rewinddir): Use libc_hidden_def.
4137         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4138         weak alias of __rewinddir.  Don't use libc_hidden_def.
4139         (__rewinddir): Use libc_hidden_def.
4140         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4141         (__rewinddir): Use libc_hidden_proto.
4142         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4143         rewinddir.
4144         (__getcwd): Use __rewinddir instead of rewinddir.
4145
4146         [BZ #17583]
4147         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4148         alias of __fileno.  Use libc_hidden_weak.
4149         (__fileno): Use libc_hidden_def.
4150         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4151         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4152         alias of __ftello.
4153         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4154         __ftello.
4155         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4156         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4157         libc_hidden_def.
4158         (fread_unlocked): Don't use libc_hidden_ver.
4159         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4160         and define as weak alias of __fread_unlocked.  Don't use
4161         libc_hidden_def.
4162         (__fread_unlocked): Use libc_hidden_def.
4163         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4164         (ftello): Don't use libc_hidden_proto.
4165         (__ftello): Declare.  Use libc_hidden_proto.
4166         (fread_unlocked): Don't use libc_hidden_proto.
4167         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4168         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4169         and __ftello instead of fileno, fread_unlocked and ftello.
4170
4171 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4172
4173         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4174         GOT12.
4175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4176         Likewise.
4177         (_dl_start_user): Likewise.
4178         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4179
4180 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4181             Siddhesh Poyarekar  <siddhesh@redhat.com>
4182
4183         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4184         Move argv and envp down instead of moving argc up.
4185         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4186
4187 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4188
4189         [BZ #17506]
4190         * test-skeleton.c (main): Return successful if one of
4191         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4192         * string/tst-strcoll-overflow.c: Define expected status.
4193
4194 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4195
4196         [BZ #17475]
4197         * locale/iso-639.def: Define Bhili and Tulu language codes.
4198
4199 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4200
4201         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4202
4203 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4204
4205         [BZ #17555]
4206         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4207
4208 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4209
4210         * configure.ac: Updated check of minimal required version to
4211         2.22.
4212         * manual/install.texi (Tools for Compilation): Updated version
4213         number.
4214         * configure: Regenerated.
4215         * INSTALL: Likewise.
4216
4217 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4218
4219         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4220         __tls_get_addr.
4221
4222 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4223
4224         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4225         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4226         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4227         libc_hidden_weak.
4228         (waitpid): Define as alias of __waitpid.
4229         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4230         __waitpid.
4231         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4232         libc_hidden_weak.
4233         (waitpid): Define as alias of __waitpid.
4234         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4235         __libc_waitpid alias.
4236         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4237         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4240         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4241         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4242         alias.
4243         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4244         __waitpid.
4245         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4246         libc_hidden_weak.
4247         (waitpid): Define as alias of __waitpid.
4248
4249 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4250
4251         * manual/llio.texi: Add comment that write safety has been
4252         fixed in Linux.
4253
4254         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4255         (localplt-build-dso): Add elf/ld.so.
4256         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4257         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4258         and free for ld.so.
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4260         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4262         Likewise.
4263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4264         Likewise.
4265         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4266         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4267         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4268         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4269         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4270         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4271         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4272         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4273         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4274         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4275         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4276
4277 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4278
4279         [BZ #14132]
4280         * include/libc-symbols.h (INTUSE): Remove macro.
4281         (INTDEF): Likewise.
4282         (INTVARDEF): Likewise.
4283         (_INTVARDEF): Likewise.
4284         (INTDEF2): Likewise.
4285         (INTVARDEF2): Likewise.
4286         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4287         rtld_hidden_def instead of INTVARDEF.
4288         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4289         (_dl_starting_up_internal): Remove declaration.
4290         (_dl_starting_up): Use rtld_hidden_proto.
4291         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4292         declaration.
4293         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4294         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4295         _dl_starting_up.
4296         * elf/dl-writev.h (_dl_writev): Likewise.
4297         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4298         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4299         _dl_starting_up_internal.
4300
4301 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4302
4303         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4304         test-skeleton.c.
4305
4306 2014-11-05  Will Newton  <will.newton@linaro.org>
4307
4308         * benchtests/Makefile: (bench-malloc): Add malloc thread
4309         scalability benchmark.
4310         * benchtests/bench-malloc-threads.c: New file.
4311
4312 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4313
4314         * sysdeps/aarch64/strchrnul.S: New file.
4315
4316 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4317
4318         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4319         definition.
4320         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4321         Likwise.
4322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4323         Likewise.
4324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4325         Likewise.
4326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4327         Likewise.
4328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4329         Likewise.
4330
4331 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4332
4333         * catgets/test-gencat.c: Use test-skeleton.c.
4334         * catgets/tst-catgets.c: Likewise.
4335         * csu/tst-empty.c: Likewise.
4336         * elf/tst-audit2.c: Likewise.
4337         * elf/tst-global1.c: Likewise.
4338         * elf/tst-pathopt.c: Likewise.
4339         * elf/tst-piemod1.c: Likewise.
4340         * elf/tst-tls10.c: Likewise.
4341         * elf/tst-tls11.c: Likewise.
4342         * elf/tst-tls12.c: Likewise.
4343         * gnulib/tst-gcc.c: Likewise.
4344         * iconvdata/tst-e2big.c: Likewise.
4345         * iconvdata/tst-loading.c: Likewise.
4346         * iconv/tst-iconv1.c: Likewise.
4347         * iconv/tst-iconv2.c: Likewise.
4348         * inet/test-inet6_opt.c: Likewise.
4349         * inet/tst-gethnm.c: Likewise.
4350         * inet/tst-network.c: Likewise.
4351         * inet/tst-ntoa.c: Likewise.
4352         * intl/tst-codeset.c: Likewise.
4353         * intl/tst-gettext2.c: Likewise.
4354         * intl/tst-gettext3.c: Likewise.
4355         * intl/tst-ngettext.c: Likewise.
4356         * intl/tst-translit.c: Likewise.
4357         * io/test-stat.c: Likewise.
4358         * libio/test-fmemopen.c: Likewise.
4359         * libio/tst-freopen.c: Likewise.
4360         * libio/tst-sscanf.c: Likewise.
4361         * libio/tst-ungetwc1.c: Likewise.
4362         * libio/tst-ungetwc2.c: Likewise.
4363         * libio/tst-widetext.c: Likewise.
4364         * localedata/tst-ctype.c: Likewise.
4365         * localedata/tst-digits.c: Likewise.
4366         * localedata/tst-leaks.c: Likewise.
4367         * localedata/tst-mbswcs1.c: Likewise.
4368         * localedata/tst-mbswcs2.c: Likewise.
4369         * localedata/tst-mbswcs3.c: Likewise.
4370         * localedata/tst-mbswcs4.c: Likewise.
4371         * localedata/tst-mbswcs5.c: Likewise.
4372         * localedata/tst-setlocale.c: Likewise.
4373         * localedata/tst-trans.c: Likewise.
4374         * localedata/tst-wctype.c: Likewise.
4375         * localedata/tst-xlocale1.c: Likewise.
4376         * login/tst-grantpt.c: Likewise.
4377         * malloc/tst-calloc.c: Likewise.
4378         * malloc/tst-malloc.c: Likewise.
4379         * malloc/tst-mallocstate.c: Likewise.
4380         * malloc/tst-mcheck.c: Likewise.
4381         * malloc/tst-mtrace.c: Likewise.
4382         * malloc/tst-obstack.c: Likewise.
4383         * math/atest-exp2.c: Likewise.
4384         * math/atest-exp.c: Likewise.
4385         * math/atest-sincos.c: Likewise.
4386         * math/test-matherr.c: Likewise.
4387         * math/test-misc.c: Likewise.
4388         * math/test-powl.c: Likewise.
4389         * math/tst-definitions.c: Likewise.
4390         * misc/tst-dirname.c: Likewise.
4391         * misc/tst-efgcvt.c: Likewise.
4392         * misc/tst-fdset.c: Likewise.
4393         * misc/tst-hsearch.c: Likewise.
4394         * misc/tst-mntent2.c: Likewise.
4395         * nptl/tst-sem7.c: Likewise.
4396         * nptl/tst-sem8.c: Likewise.
4397         * nptl/tst-sem9.c: Likewise.
4398         * nss/test-netdb.c: Likewise.
4399         * posix/tst-fnmatch.c: Likewise.
4400         * posix/tst-getlogin.c: Likewise.
4401         * posix/tst-gnuglob.c: Likewise.
4402         * posix/tst-mmap.c: Likewise.
4403         * pwd/tst-getpw.c: Likewise.
4404         * resolv/tst-inet_ntop.c: Likewise.
4405         * rt/tst-timer.c: Likewise.
4406         * stdio-common/test-fseek.c: Likewise.
4407         * stdio-common/test-popen.c: Likewise.
4408         * stdio-common/test-vfprintf.c: Likewise.
4409         * stdio-common/tst-cookie.c: Likewise.
4410         * stdio-common/tst-fileno.c: Likewise.
4411         * stdio-common/tst-gets.c: Likewise.
4412         * stdio-common/tst-obprintf.c: Likewise.
4413         * stdio-common/tst-perror.c: Likewise.
4414         * stdio-common/tst-sprintf2.c: Likewise.
4415         * stdio-common/tst-sprintf3.c: Likewise.
4416         * stdio-common/tst-sprintf.c: Likewise.
4417         * stdio-common/tst-swprintf.c: Likewise.
4418         * stdio-common/tst-tmpnam.c: Likewise.
4419         * stdio-common/tst-unbputc.c: Likewise.
4420         * stdio-common/tst-wc-printf.c: Likewise.
4421         * stdlib/tst-environ.c: Likewise.
4422         * stdlib/tst-fmtmsg.c: Likewise.
4423         * stdlib/tst-limits.c: Likewise.
4424         * stdlib/tst-rand48-2.c: Likewise.
4425         * stdlib/tst-rand48.c: Likewise.
4426         * stdlib/tst-random2.c: Likewise.
4427         * stdlib/tst-random.c: Likewise.
4428         * stdlib/tst-strtol.c: Likewise.
4429         * stdlib/tst-strtoll.c: Likewise.
4430         * stdlib/tst-tls-atexit.c: Likewise.
4431         * stdlib/tst-xpg-basename.c: Likewise.
4432         * string/test-ffs.c: Likewise.
4433         * string/tst-bswap.c: Likewise.
4434         * string/tst-inlcall.c: Likewise.
4435         * string/tst-strtok.c: Likewise.
4436         * string/tst-strxfrm.c: Likewise.
4437         * sysdeps/x86_64/tst-audit10.c: Likewise.
4438         * sysdeps/x86_64/tst-audit3.c: Likewise.
4439         * sysdeps/x86_64/tst-audit4.c: Likewise.
4440         * sysdeps/x86_64/tst-audit5.c: Likewise.
4441         * time/tst-ftime_l.c: Likewise.
4442         * time/tst-getdate.c: Likewise.
4443         * time/tst-mktime3.c: Likewise.
4444         * time/tst-mktime.c: Likewise.
4445         * time/tst-posixtz.c: Likewise.
4446         * time/tst-strptime2.c: Likewise.
4447         * time/tst-strptime3.c: Likewise.
4448         * wcsmbs/tst-btowc.c: Likewise.
4449         * wcsmbs/tst-mbrtowc.c: Likewise.
4450         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4451         * wcsmbs/tst-wchar-h.c: Likewise.
4452         * wcsmbs/tst-wcpncpy.c: Likewise.
4453         * wcsmbs/tst-wcrtomb.c: Likewise.
4454         * wcsmbs/tst-wcsnlen.c: Likewise.
4455         * wcsmbs/tst-wcstof.c: Likewise.
4456
4457 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4458
4459         [BZ #14132]
4460         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4461         INTDEF.
4462         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4463         declaration.
4464         (_dl_mcount): Use rtld_hidden_proto.
4465         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4466         _dl_mcount.
4467         * elf/rtld.c (_rtld_global_ro): Likewise.
4468
4469         [BZ #14132]
4470         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4471         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4472         of _dl_init_internal.
4473         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4474         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4475         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4476         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4477         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4478         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4479         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4480         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4481         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4482         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4483         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4484         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4485         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4486         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4487         * sysdeps/tile/dl-start.S (_start): Likewise.
4488         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4489         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4490
4491         [BZ #14132]
4492         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4493         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4494         (rtld_progname): Make macro definition unconditional.
4495         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4496         INTDEF.
4497         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4498         (dl_main): Likewise.
4499         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4500         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4501         instead of _dl_argv_internal.
4502         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4503         __GI__dl_argv instead of INTUSE(_dl_argv).
4504         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4505         __GI__dl_argv instead of _dl_argv_internal.
4506
4507         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4508         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4509         macro.
4510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4511         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4512         New macro.
4513         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4514         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4515         macro.
4516         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4517         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4518
4519 2014-11-04  Andreas Schwab  <schwab@suse.de>
4520
4521         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4522
4523 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4524
4525         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4526         mtvsrd instruction in binary form.
4527
4528 2014-11-03  Andreas Schwab  <schwab@suse.de>
4529
4530         [BZ #17522]
4531         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4532         for less than MB_LEN_MAX use a local buffer of that size.
4533         * libio/tst-fputws.c: New file.
4534         * libio/Makefile (tests): Add tst-fputws.
4535
4536 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4537
4538         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4539         the size of the fpu_fr.fpu_dregs[] array.
4540
4541 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4542
4543         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4544         (__nanosleep): Do not define as alias.
4545         (nanosleep): Define as alias of __nanosleep.
4546         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4547         __libc_nanosleep name.
4548
4549 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4550
4551         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4552         install.texi in comment.
4553
4554 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4555
4556         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4557         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4558         ... add here and use lwsync or sync ...
4559         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4560         ... and add here using lwsync.
4561
4562 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4563
4564         * elf/dl-machine-reject-phdr.h: New file.
4565         * elf/dl-load.c: #include that.
4566         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4567         if that returned true.
4568
4569 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4570
4571         [BZ #17496]
4572         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4573         gen-as-const-headers chunk.  Add a big scare comment after the last
4574         safe place to touch before-compile.
4575
4576 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4577
4578         * manual/install.texi (Tools for Compilation): Update autoconf
4579         version requirements.
4580         * INSTALL: Regenerated.
4581
4582         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4583         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4584         (__libc_pselect): Likewise.
4585
4586         [BZ #14138]
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4591
4592 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4593
4594         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4595         correct barrier instruction.
4596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4597         Likewise.
4598         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4599         Likewise.
4600
4601 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4602
4603         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4604         after defining inlines.  Instead, just use parens to defeat macro
4605         expansion of __isctype in its declaration.
4606
4607 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4608
4609         * include/sys/uio.h (__libc_readv): Remove declaration.
4610         (__libc_writev): Likewise.
4611         * misc/readv.c (__libc_readv): Rename to __readv.
4612         (__readv): Do not define as alias.
4613         (readv): Define as alias of __readv.
4614         * misc/writev.c (__libc_writev): Rename to __writev.
4615         (__writev): Do not define as alias.
4616         (writev): Define as alias of __writev.
4617         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4618         (__readv): Do not define as alias.
4619         (readv): Define unconditionally as alias of __readv.
4620         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4621         (__writev): Do not define as alias.
4622         (writev): Define unconditionally as alias of __writev.
4623         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4624         name.
4625         (writev): Do not define __libc_writev name.
4626
4627 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4628
4629         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4630         (convert_charseq): New function, broken out of ...
4631         (use_from_charmap): ... here.  Call it.
4632         (use_to_charmap): Use convert_charseq and free instead of duplicating
4633         its code with a variable-length stack struct.
4634
4635 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4636
4637         * include/fcntl.h (__libc_creat): Remove declaration.
4638         * io/creat.c (__libc_creat): Rename to creat.
4639         (creat): Do not define as alias.
4640         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4641         of creat instead of __libc_creat.
4642         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4643         to creat.
4644         (creat): Do not define as alias.
4645         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4646         __libc_creat.
4647         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4648         __libc_creat name.
4649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4650         Likewise.
4651
4652 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4653
4654         * manual/llio.texi: Add comments discussing why write() may be
4655         considered MT-unsafe on Linux.
4656
4657 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4658
4659         * dl-load.c (local_strdup): Remove.
4660         (expand_dynamic_string_token): Use __strdup.
4661         (decompose_rpath): Likewise.
4662         (_dl_map_object): Likewise.
4663
4664 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4665
4666         [BZ #14132]
4667         * sysdeps/generic/unwind-dw2-fde.c
4668         (__register_frame_info_bases_internal): Do not declare.
4669         (__register_frame_info_table_bases_internal): Likewise.
4670         (__deregister_frame_info_bases_internal): Likewise.
4671         (__register_frame_info_bases): Declare and use hidden_proto before
4672         definition.  Use hidden_def instead of INTDEF.
4673         (__register_frame_info_table_bases): Likewise.
4674         (__deregister_frame_info_bases): Likewise.
4675         (__register_frame_info): Do not use INTUSE.
4676         (__register_frame): Likewise.
4677         (__register_frame_info_table): Likewise.
4678         (__register_frame_table): Likewise.
4679         (__deregister_frame_info): Likewise.
4680         (__deregister_frame): Likewise.
4681
4682 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4683
4684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4685         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4686         not undefine.
4687         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4688         Likewise.
4689         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4690         Likewise.
4691
4692 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4693
4694         [BZ #14138]
4695         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4696         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4697         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4698         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4699         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4700         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4701         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4702         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4703         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4704         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4705         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4706         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4707         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4708         syscall.
4709         (setfsuid): Likewise.
4710         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4711         (setfsuid): Likewise.
4712         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4713         (setfsuid): Likewise.
4714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4715         Likewise.
4716         (setfsuid): Likewise.
4717         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4718         (setfsuid): Likewise.
4719         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4720         Likewise.
4721         (setfsuid): Likewise.
4722
4723 2014-10-27  Andreas Schwab  <schwab@suse.de>
4724
4725         [BZ #17501]
4726         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4727         check for Slow_SSE4_2 feature bit.
4728         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4730         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4731         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4732
4733 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4734
4735         * configure.ac: Validate compiler version with a empirical test of
4736         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4737         $CC -v output.
4738         * configure: Regenerated.
4739
4740         * inet/htons.c (htons): Prototypify.
4741         * inet/htonl.c (htonl): Likewise.
4742
4743 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4744
4745         * string/strncat.c (strncat): Improve performance by using strlen.
4746
4747 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4748
4749         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4750
4751 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4752
4753         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4754         Call libc_fetestexcept_aarch64.
4755
4756 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4757
4758         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4759         Call libc_feholdexcept_aarch64.
4760
4761 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4762
4763         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4764         Call get_rounding_mode.
4765
4766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4767
4768         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4769         Simplify logic.
4770
4771 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4772
4773         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4774         Simplify logic.
4775
4776 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4777
4778         [BZ #14138]
4779         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4780         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4781         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4782         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4783         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4784         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4785         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4786         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4787         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4788         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4789         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4790         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4791         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4792         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4793         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4794         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4795         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4796         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4797         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4798         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4799         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4800         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4801         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4802         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4803         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4804         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4805         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4806         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4807         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4808         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4809         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4810         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4811         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4812         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4813         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4814         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4815         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4816         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4817         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4818         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4819         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4820         syscall.
4821         (geteuid): Likewise.
4822         (getgid): Likewise.
4823         (getuid): Likewise.
4824         (getresgid): Likewise.
4825         (getresuid): Likewise.
4826         (getgroups): Likewise.
4827         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4828         (geteuid): Likewise.
4829         (getgid): Likewise.
4830         (getuid): Likewise.
4831         (getresgid): Likewise.
4832         (getresuid): Likewise.
4833         (getgroups): Likewise.
4834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4835         (geteuid): Likewise.
4836         (getgid): Likewise.
4837         (getuid): Likewise.
4838         (getresgid): Likewise.
4839         (getresuid): Likewise.
4840         (getgroups): Likewise.
4841         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4842         Likewise.
4843         (geteuid): Likewise.
4844         (getgid): Likewise.
4845         (getuid): Likewise.
4846         (getresgid): Likewise.
4847         (getresuid): Likewise.
4848         (getgroups): Likewise.
4849         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4850         (geteuid): Likewise.
4851         (getgid): Likewise.
4852         (getuid): Likewise.
4853         (getresgid): Likewise.
4854         (getresuid): Likewise.
4855         (getgroups): Likewise.
4856         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4857         Likewise.
4858         (geteuid): Likewise.
4859         (getgid): Likewise.
4860         (getuid): Likewise.
4861         (getgroups): Likewise.
4862
4863         [BZ #14138]
4864         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4865         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4866         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4867         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4868         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4869         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4870         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4871         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4872         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4873         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4874         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4875         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4876         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4877         __chown.
4878         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4879         (lchown): Likewise.
4880         (fchown): Likewise.
4881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4882         Likewise.
4883         (lchown): Likewise.
4884         (fchown): Likewise.
4885         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4886         (lchown): Likewise.
4887         (fchown): Likewise.
4888         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4889         Likewise.
4890         (lchown): Likewise.
4891         (fchown): Likewise.
4892
4893 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4894
4895         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4896         Simplify logic.
4897
4898 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4899
4900         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4901         Cleanup logic.
4902
4903 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4904
4905         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4906         Remove unused include.
4907
4908 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4909
4910         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4911         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4912         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4913         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4914
4915 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4916             Helge Deller <deller@gmx.de>
4917
4918         [BZ #17508]
4919         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4920         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4921         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4922
4923 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4924
4925         [BZ #14132]
4926         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4927         Remove macro definition.
4928         (__ashrdi3_v_glibc20): Likewise.
4929         (__lshrdi3_v_glibc20): Likewise.
4930         (__cmpdi2_v_glibc20): Likewise.
4931         (__ucmpdi2_v_glibc20): Likewise.
4932         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4933         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4934         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4935         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4936         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4937         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4938
4939 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4940
4941         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4942         old GNU extension [0] syntax.
4943         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4944         alloca rather than an array member with variable length.
4945         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4946         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4947         (parse_opt): ... here.  Likewise use alloca there.
4948         Validate the -i argument before checking for rootness.
4949         (send_shutdown): New function, broken out of ...
4950         (parse_opt): ... here.
4951
4952 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4953
4954         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4955         macro to get at the _rt_local_ro field.
4956         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4957         ([PIC] case) or _dl_hwcap ([!PIC] case).
4958         * sysdeps/arm/setjmp.S: Likewise.
4959
4960         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4961         * sysdeps/arm/configure.ac: New check to define it.
4962         * sysdeps/arm/configure: Regenerated.
4963         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4964         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4965         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4966         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4967         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4968         Use move/movt pair instead of a load.
4969         (LDST_GLOBAL): Macro removed.
4970         (LDR_GLOBAL): New macro replaces it.
4971         (LDR_HIDDEN): New macro.
4972         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4973         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4974
4975         * setjmp/tst-setjmp-static.c: New file.
4976         * setjmp/Makefile (tests): Add it.
4977         (tests-static): New variable.
4978
4979 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4980
4981         [BZ #17485]
4982         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4983
4984 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4985
4986         [BZ #14132]
4987         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4988
4989 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4990
4991         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4992
4993 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4994
4995         * io/fts.c (dirent_not_directory): New function.
4996         (fts_build): Call it.
4997
4998 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4999
5000         * nptl/version.c (__nptl_main): Use normal __write rather than
5001         INTERNAL_SYSCALL.
5002         (banner): Update copyright years.
5003
5004         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5005         gettimeofday.
5006         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5007         * nptl/pthread_cond_timedwait.c: Likewise.
5008         * nptl/pthread_mutex_timedlock.c: Likewise.
5009         * nptl/sem_timedwait.c: Likewise.
5010
5011         * sysdeps/nptl/bits/libc-lock.h
5012         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5013         (__libc_lock_init_recursive): Return void, not 0.
5014         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5015         (__libc_rwlock_init): Likewise.
5016         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5017
5018 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5019
5020         [BZ #15215]
5021         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5022         (__pthread_once_slow): ... here.
5023         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5024         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5025
5026 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5027
5028         [BZ #15215]
5029         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5030         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5031         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5032         * nptl/pthread_once.c (__pthread_once): Likewise.
5033         Update comments.
5034
5035 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5036
5037         [BZ #14138]
5038         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5039         name.
5040         (writev): Use __libc_writev as strong name.
5041         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5042         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5043
5044 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5045
5046         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5047
5048         * sysdeps/i386/nptl/tls.h
5049         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5050         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5051         New macros.
5052         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5053         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5054         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5055         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5056         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5057         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5058
5059         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5060         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5061         on [__NR_futex].
5062         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5063         broken out of ...
5064         (__pthread_mutex_init): ... here.  Call it.
5065         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5066         Conditionalize PI cases on [__NR_futex].
5067         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5068         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5069         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5070
5071         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5072         conditional on [SIGSETXID].
5073         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5074         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5075         is defined.  Likewise for SIGSETXID.
5076         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5077         Conditionalize definitions on [SIGSETXID].
5078         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5079         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5080         unblocking on [SIGCANCEL].
5081
5082         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5083         [__NR_set_robust_list].
5084
5085 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5086
5087         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5088         (do_compare): Likewise.
5089
5090 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5091
5092         [BZ #15884]
5093         * string/strcoll_l.c: Don't include stdio.h.
5094         (coll_seq): Remove members idxarr and rulearr.
5095         (get_next_seq_cached): Remove function.
5096         (get_next_seq): Likewise.
5097         (get_next_seq_nocache): Rename to get_next_seq.
5098         (do_compare): Remove function.
5099         (do_compare_nocache): Rename to do_compare.
5100         (STRCOLL): Remove weight and rules cache.
5101
5102 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5103
5104         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5105         * sysdeps/arm/sfp-machine.h: ... to here.
5106         * sysdeps/arm/Implies: Remove arm/soft-fp.
5107
5108 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5109
5110         * conform/data/sys/utsname.h-data (*_t): Allow.
5111         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5112         [POSIX] (WEXITED): Do not expect constant.
5113         [POSIX] (WSTOPPED): Likewise.
5114         [POSIX] (WNOHANG): Likewise.
5115         [POSIX] (WNOWAIT): Likewise.
5116         [POSIX] (siginfo_t): Do not expect type or elements.
5117         [POSIX] (pid_t): Do not expect type.
5118         [POSIX] (signal.h): Do not allow header.
5119         [POSIX] (sys/resource.h): Likewise.
5120         [POSIX] (si_*): Do not allow pattern.
5121         [POSIX] (W*): Likewise.
5122         [POSIX] (P_*): Likewise.
5123         [POSIX] (BUS_*): Likewise.
5124         [POSIX] (CLD_*): Likewise.
5125         [POSIX] (FPE_*): Likewise.
5126         [POSIX] (ILL_*): Likewise.
5127         [POSIX] (POLL_*): Likewise.
5128         [POSIX] (SEGV_*): Likewise.
5129         [POSIX] (SI_*): Likewise.
5130         [POSIX] (TRAP_*): Likewise.
5131         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5132         variable.
5133
5134 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5135
5136         [BZ #12926]
5137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5138         infinite loop when __recvmsg returns 0.
5139
5140 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5141
5142         * CANCEL-FCT-WAIVE: Remove file.
5143         * CANCEL-FILE-WAIVE: Likewise.
5144
5145         [BZ #14132]
5146         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5147         instead of INTVARDEF.
5148         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5149         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5150         rtld_hidden_data_def instead of INTVARDEF.
5151         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5152         * elf/dl-deps.c (expand_dst): Likewise.
5153         * elf/dl-load.c (_dl_dst_count): Likewise.
5154         (_dl_dst_substitute): Likewise.
5155         (decompose_rpath): Likewise.
5156         (_dl_init_paths): Likewise.
5157         (open_path): Likewise.
5158         (_dl_map_object): Likewise.
5159         * elf/rtld.c (dl_main): Likewise.
5160         (process_dl_audit): Likewise.
5161         (process_envvars): Likewise.
5162         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5163         Remove declaration.
5164         (__libc_enable_secure): Use rtld_hidden_proto.
5165
5166 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5167
5168         * elf/dl-load.c
5169         (add_path): New function broken out of _dl_rtld_di_serinfo.
5170         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5171
5172 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5173
5174         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5175         parentheses around macro arguments.
5176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5179         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5180         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5181         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5183         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5184         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5185         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5187         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5188         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5189         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5190         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5191         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5192         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5195         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5201         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5202         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5205         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5206         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5207         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5208         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5209         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5210         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5211         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5212         Likewise.
5213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5216         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5220         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5221         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5224         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5225         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5234         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5235         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5236         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5237         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5238         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5239         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5240         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5241         (_FP_FRAC_SRS_1): Likewise.
5242         (_FP_FRAC_CLZ_1): Likewise.
5243         (_FP_MUL_MEAT_1_imm): Likewise.
5244         (_FP_MUL_MEAT_1_wide): Likewise.
5245         (_FP_MUL_MEAT_1_hard): Likewise.
5246         (_FP_SQRT_MEAT_1): Likewise.
5247         (_FP_FRAC_ASSEMBLE_1): Likewise.
5248         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5249         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5250         (__FP_CLZ_2): Likewise.
5251         (_FP_MUL_MEAT_2_wide): Likewise.
5252         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5253         (_FP_MUL_MEAT_2_gmp): Likewise.
5254         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5255         (_FP_SQRT_MEAT_2): Likewise.
5256         (_FP_FRAC_ASSEMBLE_2): Likewise.
5257         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5258         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5259         (_FP_FRAC_CLZ_4): Likewise.
5260         (_FP_MUL_MEAT_4_wide): Likewise.
5261         (_FP_MUL_MEAT_4_gmp): Likewise.
5262         (_FP_SQRT_MEAT_4): Likewise.
5263         (_FP_FRAC_ASSEMBLE_4): Likewise.
5264         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5265         * soft-fp/op-common.h (_FP_CMP): Likewise.
5266         (_FP_CMP_EQ): Likewise.
5267         (_FP_CMP_UNORD): Likewise.
5268         (_FP_TO_INT): Likewise.
5269         (_FP_FROM_INT): Likewise.
5270         [!__FP_CLZ] (__FP_CLZ): Likewise.
5271         (_FP_DIV_HELP_imm): Likewise.
5272         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5273         Likewise.
5274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5277         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5279         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5281         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5282         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5283         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5285         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5286         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5287         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5288         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5289         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5290         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5303         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5304         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5305         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5306         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5307         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5308         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5309         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5310         (FP_UNPACK_RAW_SP): Likewise.
5311         (FP_PACK_RAW_S): Likewise.
5312         (FP_PACK_RAW_SP): Likewise.
5313         (FP_UNPACK_S): Likewise.
5314         (FP_UNPACK_SP): Likewise.
5315         (FP_UNPACK_SEMIRAW_S): Likewise.
5316         (FP_UNPACK_SEMIRAW_SP): Likewise.
5317         (FP_PACK_S): Likewise.
5318         (FP_PACK_SP): Likewise.
5319         (FP_PACK_SEMIRAW_S): Likewise.
5320         (FP_PACK_SEMIRAW_SP): Likewise.
5321         (_FP_SQRT_MEAT_S): Likewise.
5322         (FP_CMP_S): Likewise.
5323         (FP_CMP_EQ_S): Likewise.
5324         (FP_CMP_UNORD_S): Likewise.
5325         (FP_TO_INT_S): Likewise.
5326         (FP_FROM_INT_S): Likewise.
5327
5328         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5329
5330         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5331         (FP_EX_INVALID_IMZ): Likewise.
5332         (FP_EX_INVALID_IMZ_FMA): Likewise.
5333         (FP_EX_INVALID_ISI): Likewise.
5334         (FP_EX_INVALID_ZDZ): Likewise.
5335         (FP_EX_INVALID_IDI): Likewise.
5336         (FP_EX_INVALID_SQRT): Likewise.
5337         (FP_EX_INVALID_CVI): Likewise.
5338         (FP_EX_INVALID_VC): Likewise.
5339         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5340         "invalid" exceptions.
5341         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5342         (_FP_ADD_INTERNAL): Likewise.
5343         (_FP_MUL): Likewise.
5344         (_FP_FMA): Likewise.
5345         (_FP_DIV): Likewise.
5346         (_FP_CMP_CHECK_NAN): Likewise.
5347         (_FP_SQRT): Likewise.
5348         (_FP_TO_INT): Likewise.
5349         (FP_EXTEND): Likewise.
5350
5351 2014-10-09  Allan McRae  <allan@archlinux.org>
5352
5353         * po/fr.po: Update French translation from translation project.
5354
5355 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5356
5357         [BZ #14132]
5358         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5359         of INTDEF.
5360         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5361         (__cxa_atexit): Use libc_hidden_proto.
5362         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5363
5364         [BZ #14132]
5365         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5366         declaration.
5367         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5368         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5369         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5370         [!_ISOMAC] (__iswctype_internal): Likewise.
5371         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5372         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5373         alias.
5374         (fcntl): Remove __fcntl_internal alias.
5375         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5376         __connect_internal alias.
5377         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5378         Likewise.
5379
5380         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5381         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5382         FP_DENORM_ZERO.
5383         (_FP_CHECK_FLUSH_ZERO): New macro.
5384         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5385         (_FP_CMP): Likewise.
5386         (_FP_CMP_EQ): Likewise.
5387         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5388         FP_DENORM_ZERO.
5389         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5390         (FP_TRUNC): Likewise.
5391
5392         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5393         treated as invalid conversion, not as normal exponent.
5394
5395         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5396         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5397         (_FP_CMP_EQ): Likewise.
5398         (_FP_CMP_UNORD): Likewise.
5399         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5400         (FP_CMP_EQ_D): Likewise.
5401         (FP_CMP_UNORD_D): Likewise.
5402         * soft-fp/extended.h (FP_CMP_E): Likewise.
5403         (FP_CMP_EQ_E): Likewise.
5404         (FP_CMP_UNORD_E): Likewise.
5405         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5406         (FP_CMP_EQ_Q): Likewise.
5407         (FP_CMP_UNORD_Q): Likewise.
5408         * soft-fp/single.h (FP_CMP_S): Likewise.
5409         (FP_CMP_EQ_S): Likewise.
5410         (FP_CMP_UNORD_S): Likewise.
5411         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5412         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5413         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5414         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5415         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5416         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5417         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5418         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5419         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5420         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5421         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5422         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5423         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5424         to FP_CMP_Q.
5425         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5426         FP_CMP_Q.
5427         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5428         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5429         FP_CMP_EQ_Q.
5430         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5431         FP_CMP_Q.
5432         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5433         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5434         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5435         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5436         FP_CMP_EQ_Q.
5437         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5438         FP_CMP_Q.
5439         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5440         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5441         FP_CMP_EQ_Q.
5442         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5443         FP_CMP_Q.
5444         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5445         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5446         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5447         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5448         FP_CMP_EQ_Q.
5449
5450         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5451         a subnormal result, set the underflow exception if trapping on
5452         underflow is enabled.
5453         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5454         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5455         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5456         redefine to 0.
5457         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5458         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5459         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5460         * soft-fp/extendxftf2.c (__extendxftf2): Use
5461         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5462
5463         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5464         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5465         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5466         FP_HANDLE_EXCEPTIONS.
5467         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5468         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5469         FP_HANDLE_EXCEPTIONS.
5470         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5471         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5472         FP_HANDLE_EXCEPTIONS.
5473         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5474         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5475         FP_HANDLE_EXCEPTIONS.
5476
5477 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5478
5479         [BZ #14132]
5480         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5481         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5482         use INTUSE.
5483         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5484         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5485         Remove alias.
5486         (__adjtimex): Define using libc_hidden_ver.
5487         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5488         Remove declaration.
5489         (ntp_gettime): Call __adjtimex directly.
5490         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5491         Remove declaration.
5492         (ntp_gettimex): Call __adjtimex directly.
5493         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5494         __adjtimex_internal alias.
5495
5496 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5497
5498         [BZ #17460]
5499         * nscd/nscd.c (more_help): Rewrite list of tables collection
5500         using xstrdup and asprintf.
5501
5502         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5503
5504 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5505             Roland McGrath  <roland@hack.frob.com>
5506
5507         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5508         (do_lookup_unique): ... local function 'enter' here; update callers.
5509
5510 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5511
5512         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5513         compat_symbol calls on [SHARED].
5514         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5515         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5516         Remove.
5517         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5518         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5519         (oldsetrlimit): Remove.
5520         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5522         (lchown): New syscall entry.
5523         (oldsetrlimit): Remove.
5524         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5525         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5526         (oldsetrlimit): Remove.
5527         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5528
5529         [BZ #14138]
5530         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5531         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5532         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5533         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5535         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5536         (fchown): Likewise.
5537         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5538         (fchown): Likewise.
5539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5540         Likewise.
5541
5542 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5543
5544         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5545         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5546         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5547         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5548         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5549         Likewise.
5550         (__old_sem_post): Likewise.
5551
5552 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5553
5554         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5555         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5556         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5557         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5558         Use INLINE_VSYSCALL macro.
5559         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5560         __vdso_clock_gettime.
5561         * sysdeps/unix/sysv/linux/tile/init-first.c
5562         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5563         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5564         __vdso_clock_gettime.
5565
5566         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5567         to set up frame more cleanly.
5568
5569         * sysdeps/tile/memcmp.c: New file.
5570
5571         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5572
5573         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5574         * sysdeps/tile/tilegx/strcasestr.c: New file.
5575         * sysdeps/tile/tilegx/strnlen.c: New file.
5576         * sysdeps/tile/tilegx/strstr.c: New file.
5577
5578         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5579
5580 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5581
5582         * nptl/tst-setuid3.c: Write errors to stdout.
5583
5584 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5585
5586         * elf/dl-deps.c
5587         (preload): New functions broken out of _dl_map_object_deps.
5588         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5589
5590 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5591
5592         [BZ #14138]
5593         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5594         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5595
5596 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5597
5598         * sysdeps/mips/strcmp.S: New.
5599
5600 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5601
5602         [BZ #14138]
5603         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5604         (linkat): Likewise.
5605         (mkdirat): Likewise.
5606         (readlinkat): Likewise.
5607         (renameat): Likewise.
5608         (symlinkat): Likewise.
5609         (unlinkat): Likewise.
5610         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5611         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5612         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5613         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5614         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5615         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5616         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5617
5618 2014-09-30  Will Newton  <will.newton@linaro.org>
5619
5620         * math/math.h: Define long double math functions if
5621         _LIBC_TEST is defined.
5622         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5623
5624         * localedata/Makefile: Move assignment to tests-special
5625         into an ifdef testing run-built-tests.
5626         * timezone/Makefile: Likewise.
5627
5628 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5629
5630         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5631         with $(BASH) not $(SHELL).
5632
5633 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5634             Matthew LeGendre  <legendre1@llnl.gov>
5635
5636         [BZ #17411]
5637         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5638         l_reloc_result.
5639
5640 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5641
5642         * stdio-common/printf_fp.c
5643         (hack_digit): New function, broken out of ...
5644         (__printf_fp): ... local function here.  Update call sites.
5645         hack_digit now takes an additional parameter that is a pointer
5646         to a struct of the referenced locals.  Those locals moved inside
5647         the struct and references updated.
5648
5649 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5650
5651         * aclocal.m4: Require autoconf 2.69.
5652         * configure: Regenerated.
5653         * sysdeps/aarch64/configure: Likewise.
5654         * sysdeps/alpha/configure: Likewise.
5655         * sysdeps/arm/armv7/configure: Likewise.
5656         * sysdeps/arm/configure: Likewise.
5657         * sysdeps/ia64/configure: Likewise.
5658         * sysdeps/mach/configure: Likewise.
5659         * sysdeps/mips/configure: Likewise.
5660         * sysdeps/s390/configure: Likewise.
5661         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5663
5664         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5665         file.
5666         * sysdeps/ia64/configure.ac: Likewise.
5667
5668 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5669
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5671         specify symbol version for ld.so.  Do not include entry for
5672         libpthread.
5673         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5674         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5675         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5676
5677         [BZ #14171]
5678         * Makeconfig [$(build-shared) = yes]
5679         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5680         makefiles.
5681         [$(build-shared) = yes && $(soversions.mk-done) = t]
5682         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5683         [$(build-shared) = yes && $(soversions.mk-done) = t]
5684         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5685         to Makerules.
5686         [$(build-shared) = yes && $(soversions.mk-done) = t]
5687         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5688         here.
5689         [$(build-shared) = yes && $(soversions.mk-done) = t]
5690         (common-generated): Don't append gnu/lib-names.h and
5691         gnu/lib-names.stmp here.
5692         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5693         (lib-names-h-abi): New variable.
5694         [$(build-shared) = yes && $(soversions.mk-done) = t]
5695         (lib-names-stmp-abi): Likewise.
5696         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5697         abi-variants] (before-compile): Append
5698         $(common-objpfx)$(lib-names-h-abi).
5699         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5700         abi-variants] (common-generated): Append gnu/lib-names.h.
5701         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5702         abi-variants] (install-others-nosubdir): Depend on
5703         $(inst_includedir)/$(lib-names-h-abi).
5704         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5705         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5706         [$(build-shared) = yes && $(soversions.mk-done) = t]
5707         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5708         [$(build-shared) = yes && $(soversions.mk-done) = t]
5709         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5710         [$(build-shared) = yes && $(soversions.mk-done) = t]
5711         (common-generated): Append $(lib-names-h-abi) and
5712         $(lib-names-stmp-abi).
5713         * scripts/lib-names.awk: Do not handle multi being set.
5714         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5715         Remove variable.
5716         (abi-lp64_be-ld-soname): Likewise.
5717         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5718         Likewise.
5719         (abi-hard-ld-soname): Likewise.
5720         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5721         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5722         Remove variable.
5723         (abi-o32_hard-ld-soname): Likewise.
5724         (abi-o32_soft_2008-ld-soname): Likewise.
5725         (abi-o32_hard_2008-ld-soname): Likewise.
5726         (abi-n32_soft-ld-soname): Likewise.
5727         (abi-n32_hard-ld-soname): Likewise.
5728         (abi-n32_soft_2008-ld-soname): Likewise.
5729         (abi-n32_hard_2008-ld-soname): Likewise.
5730         (abi-n64_soft-ld-soname): Likewise.
5731         (abi-n64_hard-ld-soname): Likewise.
5732         (abi-n64_soft_2008-ld-soname): Likewise.
5733         (abi-n64_hard_2008-ld-soname): Likewise.
5734         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5735         Likewise.
5736         (abi-64-v2-ld-soname): Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5738         ld.so entries.
5739         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5740         variable.
5741         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5742         entry.
5743         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5744         variable.
5745         (abi-64-ld-soname): Likewise.
5746         (abi-x32-ld-soname): Likewise.
5747         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5748         entry.
5749         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5750
5751 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5752
5753         [BZ #14138]
5754         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5755         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5756         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5757         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5758         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5759         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5760         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5761         syscall entry for GLIBC_2.2 symbol version.
5762         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5763         Likewise.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5765         (setrlimit): Likewise.
5766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5767         Likewise.
5768
5769 2014-09-23  Will Newton  <will.newton@linaro.org>
5770
5771         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5772         _LINUX_ARM_SYSDEP_H include guard too.
5773         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5774         define.
5775
5776 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5777
5778         * sysdeps/unix/sysv/linux/eventfd.c:
5779         Make first argument unsigned.
5780         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5781         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5782
5783 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5784
5785         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5786         * socket/sys/socket.h: Likewise
5787         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5788
5789 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5790
5791         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5792
5793 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5794
5795         * time/tst-ftime.c: New test.
5796         * time/Makefile (tests): Add tst-ftime.
5797
5798 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5799
5800         * soft-fp/extended.h: Fix comment formatting.
5801         * soft-fp/op-1.h: Likewise.
5802         * soft-fp/op-2.h: Likewise.
5803         * soft-fp/op-4.h: Likewise.
5804         * soft-fp/op-8.h: Likewise.
5805         * soft-fp/op-common.h: Likewise.
5806         * soft-fp/soft-fp.h: Likewise.
5807
5808         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5809
5810 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5811
5812         [BZ #6652]
5813         * Makeconfig (soversions-default-setname): Remove variable.
5814         ($(common-objpfx)soversions.i): Don't pass default_setname to
5815         soversions.awk.
5816         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5817         oldest_abi to abi-versions.awk.
5818         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5819         * config.make.in (oldest-abi): Remove variable.
5820         * configure.ac (--enable-oldest-abi): Remove configure option.
5821         * configure: Regenerated.
5822         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5823         text.
5824         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5825         * scripts/soversions.awk: Do not handle default_setname variable.
5826         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5827         variable.
5828         * sysdeps/mach/hurd/configure: Regenerated.
5829         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5830         variable.
5831         * sysdeps/unix/sysv/linux/configure: Regenerated.
5832
5833 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5834
5835         * elf/Makefile (CFLAGS-interp.c): Remove.
5836         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5837         path string.
5838         * elf/interp.c: Include generated runtime-linker.h
5839
5840         * Makerules (lib%.so): Don't include $(+interp) in
5841         prerequisites.
5842         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5843         * dlfcn/eval.c: Remove file.
5844
5845         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5846         macros.
5847
5848         [BZ #17266]
5849         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5850         4.2 and newer.
5851
5852         [BZ #17370]
5853         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5854
5855 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5856             Jakub Jelinek  <jakub@redhat.com>
5857
5858         [BZ #17266]
5859         * libio/stdio.h: Check definition of __fortify_function
5860         instead of __extern_always_inline to include bits/stdio2.h.
5861         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5862         check if __extern_always_inline is defined.
5863         [__USE_MISC || __USE_XOPEN]: Likewise.
5864         [__USE_ISOC99] Likewise.
5865         * misc/sys/cdefs.h (__fortify_function): Define only if
5866         __extern_always_inline is defined.
5867         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5868         __extern_always_inline and __extern_inline only for g++-4.3
5869         and newer or a compatible gcc.
5870
5871 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5872
5873         [BZ #17371]
5874         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5875         last change to handle zero prefix length.
5876
5877 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5878
5879         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5880         _SC_REGEX_VERSION.
5881
5882         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5883         _POSIX_RAW_SOCKETS.
5884
5885 2014-09-13  Allan McRae  <allan@archlinux.org>
5886
5887         * po/ru.po: Update Russian translation from translation project.
5888
5889 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5890
5891         * locale/programs/locale.c (show_locale_vars): Inline local function
5892         into its sole call site.  Clean up some style nits.
5893         (print_item): New function, broken out of ...
5894         (show_info): ... local function here.  Clean up style nits.
5895
5896         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5897         out of ...
5898         (set_class_defaults): ... local function set_default here.
5899         Define set_default as a macro locally to pass constant parameters.
5900         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5901         rather than a shared local.
5902
5903         * stdlib/rpmatch.c (try): New function, broken out of ...
5904         (rpmatch): ... local function here.  Also, prototypify definition.
5905
5906 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5907
5908         * scripts/soversions.awk: Do not handle configuration names.
5909         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5910         vendor and os variables to soversions.awk.
5911         * configure.ac: Do not modify gnu-* host_os.
5912         * configure: Regenerated
5913         * shlib-versions: Remove first column with configuration names.
5914         * nptl/shlib-versions: Likewise.
5915         * nptl_db/shlib-versions: Likewise.
5916         * sysdeps/hppa/shlib-versions: Likewise.
5917         * sysdeps/m68k/shlib-versions: Likewise.
5918         * sysdeps/mach/hurd/shlib-versions: Likewise.
5919         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5920         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5921         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5922         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5923         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5924         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5925         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5926         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5928         Likewise.
5929         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5930         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5931         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5932         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5934         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5935         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5936         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5937
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5939         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5941         Regenerated.
5942         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5944         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5945
5946         * shlib-versions: Remove OS-specific entries.  Moved to files in
5947         sysdeps.
5948         * sysdeps/mach/hurd/shlib-versions: New file.
5949         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5950
5951         * nptl/shlib-versions: Remove architecture-specific entries.
5952         Moved to files in sysdeps.
5953         * shlib-versions: Likewise.
5954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5955         file.
5956         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5957         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5958         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5959         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5960
5961         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5962         (UDP_NO_CHECK6_RX): Likewise.
5963
5964 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5965
5966         * sysdeps/posix/sysconf.c (__sysconf): Spell
5967         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5968
5969 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5970
5971         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5972         loading.
5973         * iconv/Versions (__gconv_transliterate): Export for use from
5974         gconv modules.
5975         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5976         (struct __gconv_trans_data, __gconv_trans_fct,
5977         __gconv_trans_context_fct, __gconv_trans_query_fct,
5978         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5979         definitions.
5980         (struct __gconv_step_data): Remove __trans member.
5981         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5982         longer hidden.  Remove unused trans_data argument.
5983         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5984         (__gconv_translit_find): Remove declaration.
5985         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5986         prototype.
5987         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5988         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5989         trans_data argument.  Add hidden definition.
5990         (__gconv_translit_find): Remove.
5991         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5992         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5993         * iconv/skeleton.c: Remove transliteration initialization.
5994         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5995         __gconv_step_data initialization.
5996         * libio/iofwide.c (__libio_translit_): Remove.
5997         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5998         * wcsmbs/btowc.c (__btowc): Likewise.
5999         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6000         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6001         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6002         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6003         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6004         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6005         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6006         * wcsmbs/wctob.c (wctob): Likewise.
6007
6008 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6009
6010         [BZ #16194]
6011         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6012         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6013         register usage.
6014         * sysdeps/x86/Makefile: Adjust.
6015
6016 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6017             Roland McGrath  <roland@hack.frob.com>
6018
6019         * locale/weight.h: Add include guard.
6020         (findidx): Make static rather than auto; take new parameters
6021         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6022         * locale/weightwc.h: Likewise.
6023         * posix/fnmatch_loop.c
6024         (FCT): Change type of EXTRA from int32_t to wint_t.
6025         Don't include either header inside the function.
6026         Call FINDIDX rather than findidx, and pass new arguments.
6027         #undef FINDIDX at the end of the file.
6028         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6029         FINDIDX before including fnmatch_loop.c for the non-wide version.
6030         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6031         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6032         for the wide version.
6033         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6034         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6035         Pass new arguments to findidx.
6036         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6037         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6038         Don't #include it inside the function.  Pass new arguments to findidx.
6039         * posix/regex_internal.h
6040         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6041         (re_string_elem_size_at): Don't #include it inside the function.
6042         Pass new arguments to findidx.
6043         * string/strcoll_l.c: #include WEIGHT_H at top level.
6044         (get_next_seq): Don't #include it inside the function.
6045         Pass new arguments to findidx.
6046         (get_next_seq_nocache): Likewise.
6047         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6048         (STRXFRM): Don't #include it inside the function.
6049         Pass new arguments to findidx.
6050
6051 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6052
6053         [BZ #17344]
6054         * malloc/malloc.c (unlink): Turn asserts into a call to
6055         malloc_printerr.
6056
6057 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6058
6059         [BZ #17370]
6060         * libio/wfileops (do_ftell_wide): Free OUT.
6061
6062 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6063
6064         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6065
6066 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067
6068         [BZ #17363]
6069         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6070         group if the current group is empty.
6071
6072 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6073
6074         * benchtests/bench-memset.c (test_main): Add more test from size
6075         from 32 to 512 bytes.
6076         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6077         Add POWER8 memset object.
6078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6079         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6080         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6081         implementation.
6082         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6083         Likewise.
6084         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6085         multiarch POWER8 memset optimization.
6086         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6087         POWER8 memset optimization.
6088
6089         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6090         Remove bzero multiarch objects.
6091         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6092         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6094         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6095         Remove define.
6096         [__bzero]: Redefine to specific name.
6097         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6098         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6099         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6100         define.
6101         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6102         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6103
6104 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6105
6106         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6107         warnings into errors.
6108
6109         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6110         __cxa_thread_atexit_impl prototype.
6111
6112 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6113
6114         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6115         Fix capitalization of error message.
6116
6117 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6118
6119         * sysdeps/mips/preconfigure: Modify ABI tests.
6120
6121 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6122
6123         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6124
6125 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6126             Carlos O'Donell  <carlos@systemhalted.org>
6127
6128         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6129         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6130         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6131         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6132         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6133         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6134         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6135         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6136         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6137         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6139         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6140         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6141         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6142         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6143         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6144         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6145         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6146         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6147         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6148         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6149         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6150         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6151         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6152         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6153         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6154         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6155         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6156         Deconditionalize the code that was previously under [RESET_PID].
6157         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6158         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6159         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6160         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6161         include sysdep.h.
6162
6163 2014-09-08  Allan McRae  <allan@archlinux.org>
6164
6165         * version.h (RELEASE): Set to "development".
6166         (VERSION): Set to "2.20.90"
6167
6168 2014-09-07  Allan McRae  <allan@archlinux.org
6169
6170         * version.h (RELEASE): Set to "stable".
6171         (VERSION): Set to "2.20"
6172         * include/features.h (__GLIBC_MINOR__): Set to 20.
6173
6174         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6175         Liebler.
6176
6177         * po/ko.po: Update Korean translation from translation project.
6178
6179 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6180
6181         [BZ #17354]
6182         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6183         macro for handling signed relocations.
6184
6185 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6186
6187         [BZ #17325]
6188         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6189         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6190         assert.
6191         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6192         * iconvdata/ibm935.c (BODY): Likewise.
6193         * iconvdata/ibm937.c (BODY): Likewise.
6194         * iconvdata/ibm939.c (BODY): Likewise.
6195         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6196         assert.
6197         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6198         script.
6199         * iconvdata/run-iconv-test.sh: New test loop for checking for
6200         decoder crashers.
6201
6202 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6203
6204         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6205         libm_hidden_ver.
6206
6207 2014-09-01  Allan McRae  <allan@archlinux.org>
6208
6209         * po/eo.po: Update Esperanto translation from translation project.
6210
6211         * po/ca.po: Update Catalan translation from translation project.
6212
6213 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6214
6215         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6216         __proc_dostop call.
6217
6218 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6219
6220         [BZ #17319]
6221         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6222         to call set_thread_area instead of hand written asm.
6223         (__NR_set_thread_area): Removed define.
6224         (TLS_FLAG_WRITABLE): Likewise.
6225         (__ASSUME_SET_THREAD_AREA): Remove check.
6226         (TLS_EBX_ARG): Remove define.
6227         (TLS_LOAD_EBX): Likewise.
6228
6229 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6230
6231         Simplify atomicity of socket creation in bind.
6232
6233         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6234         looking up the name after linking the file.
6235
6236 2014-08-27  Allan McRae  <allan@archlinux.org>
6237
6238         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6239
6240 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6241
6242         [BZ #17187]
6243         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6244         trans_compare, open_translit, __gconv_translit_find):
6245         Remove module loading code.
6246
6247 2014-08-26  Allan McRae  <allan@archlinux.org>
6248
6249         * po/vi.po: Update Vietnamese translation from translation project.
6250
6251         * po/uk.po: Update Ukrainian translation from translation project.
6252
6253         * po/fr.po: Update French translation from translation project.
6254
6255         * po/ru.po: Update Russian translation from translation project.
6256
6257         * po/pl.po: Update Polish translation from translation project.
6258
6259         * po/cs.po: Update Czech translation from translation project.
6260
6261         * po/de.po: Update German translation from translation project.
6262
6263         * po/bg.po: Update Bulgarian translation from translation project.
6264
6265         * po/sv.po: Update Sweedish translation from translation project.
6266
6267         * po/nl.po: Update Dutch translation from translation project.
6268
6269         * po/es.po: Update Spanish translation from translation project.
6270
6271 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6272
6273         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6274
6275         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6276         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6277         (CPPFLAGS-iconvconfig): Likewise.
6278         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6279
6280         * include/libc-symbols.h: Remove unnecessary check for
6281         NOT_IN_libc.
6282         * nptl/pthreadP.h: Likewise.
6283         * sysdeps/aarch64/setjmp.S: Likewise.
6284         * sysdeps/alpha/setjmp.S: Likewise.
6285         * sysdeps/arm/sysdep.h: Likewise.
6286         * sysdeps/i386/setjmp.S: Likewise.
6287         * sysdeps/m68k/setjmp.c: Likewise.
6288         * sysdeps/posix/getcwd.c: Likewise.
6289         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6290         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6291         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6292         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6293         * sysdeps/sh/sh3/setjmp.S: Likewise.
6294         * sysdeps/sh/sh4/setjmp.S: Likewise.
6295         * sysdeps/unix/alpha/sysdep.h: Likewise.
6296         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6298         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6299         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6304         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6307         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6309         * sysdeps/x86_64/setjmp.S: Likewise.
6310
6311 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6312
6313         [BZ #17263]
6314         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6315         <stdint.h>.
6316         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6317         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6318
6319 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6320
6321         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6322
6323         [BZ #17262]
6324         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6325         and __x86_64__ when disabling x87 inline functions.
6326
6327 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6328
6329         [BZ #17259]
6330         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6331         asm statement with __cpuid_count.
6332
6333 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6334
6335         * configure.ac: Change __ehdr_start code to dereference the struct.
6336         Run readelf on the output to look for relocations.
6337         * configure: Regenerated.
6338
6339 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6340
6341         [BZ #17261]
6342         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6343         value to 0.
6344         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6345
6346 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6347
6348         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6349
6350 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6351
6352         [BZ #16892]
6353         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6354         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6355
6356 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6357
6358         * malloc/malloc.c: Fix typo in comment.
6359
6360 2014-08-09  Allan McRae  <allan@archlinux.org>
6361
6362         * Regenerate libc.po.
6363
6364 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6365
6366         * intl/tst-gettext2.sh: Check every lang file for creation.
6367
6368 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6369
6370         * sysdeps/aarch64/fpu/math_private.h
6371         (libc_feholdsetround_noex_aarch64_ctx): New function.
6372
6373 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6374
6375         * sysdeps/arm/armv6/strcpy.S (strcpy):
6376         Fix performance issue in misaligned cases.
6377
6378 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6379
6380         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6381         Move definition from termios.h.
6382         (struct termio): Likewise.
6383         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6384         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6385         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6386         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6387         Likewise.
6388         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6389         Move definition to ioctl-types.h
6390         (struct termio): Likewise.
6391         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6392         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6393         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6394         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6395         Likewise.
6396
6397 2014-08-05  Richard Henderson  <rth@redhat.com>
6398
6399         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6400         exceptions.
6401         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6402         Add fraiseexcpt.
6403         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6404         Use __feraiseexcept.
6405         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6406         Protect libm symbols with IS_IN_libm.
6407
6408         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6409
6410 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6411
6412         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6413
6414 2014-08-04  Will Newton  <will.newton@linaro.org>
6415
6416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6417         file.
6418
6419 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6420
6421         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6422         variants for each function.
6423
6424 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6425
6426         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6427         appended ...
6428         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6429         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6430         appended ...
6431         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6432         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6433         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6434         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6435         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6436         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6437         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6438         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6439         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6440         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6441         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6442         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6443         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6444         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6445         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6446         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6447         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6448         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6449         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6450         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6451         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6452         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6453         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6455         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6456         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6457         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6458         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6459         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6460         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6461         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6462         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6463         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6467         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6468         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6470         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6471         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6472         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6473         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6475         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6477         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6479         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6481         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6482         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6483         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6484         Update #include.
6485         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6486         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6487
6488 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6489
6490         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6491         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6492         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6493         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6494         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6495         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6496
6497 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6498
6499         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6500         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6501         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6502         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6503
6504 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6505
6506         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6507         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6508         (__libc_vfork): Define function under this name.
6509         (__vfork): Define as an alias.
6510         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6511         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6512
6513 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6514
6515         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6516         that was previously under [RESET_PID].
6517         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6518
6519 2014-08-04  Andreas Schwab  <schwab@suse.de>
6520
6521         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6522
6523 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6524
6525         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6526         (main): Likewise.
6527
6528 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6529
6530         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6531
6532 2014-08-01  Richard Henderon  <rth@redhat.com>
6533
6534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6535         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6536         typo in exact zero test.
6537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6538         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6539         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6540
6541 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6542
6543         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6544         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6545         * sysdeps/arm/sysdep.h: ... here.
6546         [!__ASSEMBLER__]: Include <stdint.h>.
6547
6548 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6549
6550         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6551         (HAVE_WCTYPE_H): Likewise.
6552         (HAVE_ISWCTYPE): Likewise.
6553         (ENABLE_NLS): Likewise.
6554         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6555         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6556
6557         * posix/regex_internal.c: Check if DEBUG is defined and is
6558         set.
6559
6560         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6561         (HAVE_MBSRTOWCS): Likewise.
6562         * posix/fnmatch.c: Include string.h unconditionally.
6563
6564 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6565
6566         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6567         reversal.
6568
6569 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6570
6571         * sysdeps/generic/safe-fatal.h: New file.
6572         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6573         * nptl/forward.c: Include it.
6574         (__pthread_unwind): Use __safe_fatal as default action, rather
6575         than a bogus use of INTERNAL_SYSCALL that could never work.
6576
6577         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6578         * configure.ac (libc_cv_builtin_trap): New test.
6579         * configure: Regenerated.
6580         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6581         (ABORT_INSTRUCTION): Define using __builtin_trap.
6582
6583         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6584         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6585         * sysdeps/nptl/nptl-signals.h: New file.
6586         * nptl/pthreadP.h: Include <nptl-signals.h>.
6587
6588 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6589
6590         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6591         (ONE_DIRECTION): Define.
6592         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6593         (ONE_DIRECTION): Define.
6594         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6595         (ONE_DIRECTION): Define.
6596
6597 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6598
6599         * sysdeps/s390/Makefile: Delete file.
6600         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6601         * sysdeps/s390/__longjmp.c: Delete file.
6602         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6603         Remove fields __flags and __reserved.
6604         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6605         and add versioning.
6606         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6607         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6608         * sysdeps/s390/rtld-setjmp.S: Likewise.
6609         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6610         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6611         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6612         * sysdeps/s390/s390-32/setjmp.S: ... here.
6613         Add versioning.
6614         (__sigsetjmp): Remove setting __flags field.
6615         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6616         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6617         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6618         * sysdeps/s390/s390-64/setjmp.S: ... here.
6619         Add versioning.
6620         (__sigsetjmp): Remove setting __flags field.
6621         * sysdeps/s390/setjmp.S: Delete file.
6622         * sysdeps/s390/sigjmp.c: Likewise.
6623         * sysdeps/s390/v1-longjmp.c: Likewise.
6624         * sysdeps/s390/v1-setjmp.h: Likewise.
6625         * sysdeps/s390/v1-sigjmp.c: Likewise.
6626         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6627         Remove v1-longjmp_chk.
6628         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6629         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6630         Include debug/longjmp_chk.c and add versioning.
6631         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6632         Include nptl/pt-longjmp.c and add versioning.
6633         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6634         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6635         Include __longjmp.c.
6636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6637         Move to ...
6638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6639         (__getcontext): Remove setting __flags field.
6640         Add versioning.
6641         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6642         Don't restore upper high grps.
6643         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6644         Likewise.
6645         (__swapcontext): Remove setting uc_flags field.
6646         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6647         Delete file.
6648         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6649         Include __longjmp.c.
6650         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6651         Move to ...
6652         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6653         (__getcontext): Remove setting __flags field.
6654         Add versioning.
6655         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6656         (__swapcontext): Remove setting uc_flags field.
6657         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6658         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6659         Remove fields uc_high_gprs and __reserved.
6660         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6661         New file with reverted content.
6662         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6663         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6664         Regenerated.
6665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6666         Regenerated.
6667
6668 2014-07-31  Andreas Schwab  <schwab@suse.de>
6669
6670         * config.h.in (HAVE_IFUNC): Define to 0.
6671         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6672         definedness.
6673
6674 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6675
6676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6677         memmove-avx-unaligned, memcpy-avx-unaligned and
6678         mempcpy-avx-unaligned.
6679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6680         Add tests for AVX memcpy functions.
6681         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6682         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6683         memcpy_chk.
6684         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6685         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6686         memmove_chk.
6687         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6688         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6689         mempcpy_chk.
6690         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6691         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6692         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6693
6694 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6695
6696         [BZ #17213]
6697         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6698         powerpc64le.
6699
6700 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6701
6702         [BZ #16839]
6703         * manual/llio.texi: Add section about open file description locks.
6704         * manual/examples/ofdlocks.c: Example of open file description
6705         lock usage.
6706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6707         F_OFD_SETLK, and F_OFD_SETLKW.
6708
6709 2014-07-23  Allan McRae  <allan@archlinux.org>
6710
6711         * po/es.po: Update Spanish translation from translation project.
6712
6713 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6714
6715         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6716
6717 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6718
6719         [BZ #17078]
6720         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6721         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6722         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6723
6724 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6725
6726         [BZ #17088]
6727         * math/fesetenv.c (__fesetenv)
6728         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6729         * math/feupdateenv.c (__feupdateenv)
6730         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6731
6732         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6733         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6734         (__ASSUME_SOCKETCALL): Do not define.
6735
6736         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6737         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6738         (__ASSUME_SOCKETCALL): Do not define.
6739         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6740         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6741         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6742         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6743         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6744         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6745         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6746         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6747
6748         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6749         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6750         (__ASSUME_SOCKETCALL): Do not define.
6751         (__ASSUME_IPC64): Define unconditionally.
6752         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6753         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6754         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6756         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6758         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6759         Likewise.
6760
6761         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6762         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6763         (__ASSUME_SOCKETCALL): Do not define.
6764         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6765         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6766         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6767         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6768         (__ASSUME_REQUEUE_PI): Define unconditionally.
6769         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6770         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6771         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6772         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6773         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6774         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6775
6776         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6777         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6778         (__ASSUME_SOCKETCALL): Do not define.
6779         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6781         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6782         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6783         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6784         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6785
6786         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6787         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6788         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6789         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6790         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6791         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6793         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6794         (__ASSUME_GETCPU_SYSCALL): Likewise.
6795
6796         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6797         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6798         cases for individual architectures.
6799         * sysdeps/gnu/configure: Regenerated.
6800         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6801         LIBC_SLIBDIR_RTLDDIR.
6802         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6803         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6804         LIBC_SLIBDIR_RTLDDIR.
6805         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6807         LIBC_SLIBDIR_RTLDDIR.
6808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6809         Regenerated.
6810         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6811         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6812         file.
6813         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6814         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6815         file.
6816         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6817         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6818         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6819         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6820
6821         * sysdeps/aarch64/shlib-versions: Move to ...
6822         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6823         * sysdeps/alpha/shlib-versions: Move to ...
6824         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6825         * sysdeps/arm/shlib-versions: Move to ...
6826         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6827         * sysdeps/hppa/shlib-versions: Move all contents except for
6828         libgcc_s entry to ...
6829         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6830         entry from ...
6831         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6832         * sysdeps/ia64/shlib-versions: Move to ...
6833         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6834         entry from ...
6835         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6836         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6837         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6838         * sysdeps/microblaze/shlib-versions: Move to ...
6839         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6840         * sysdeps/mips/shlib-versions: Move to ...
6841         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6842         entry from ...
6843         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6844         * sysdeps/tile/shlib-versions: Move to ...
6845         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6846         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6847         from ...
6848         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6850         entry from ...
6851         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6852
6853 2014-07-17  Will Newton  <will.newton@linaro.org>
6854
6855         * sysdeps/arm/bits/atomic.h
6856         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6857         (__arch_compare_and_exchange_bool_16_int): Likewise.
6858         (__arch_compare_and_exchange_bool_64_int): Likewise.
6859
6860         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6861         into an #else block.
6862
6863 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6864
6865         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6866         just Linux configurations.  Test empirically that the compiler sets
6867         __ARM_EABI__, rather than using the tuple to decide.
6868         * sysdeps/arm/preconfigure: Regenerated.
6869         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6870         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6871         contents appended ...
6872         * sysdeps/arm/configure.ac: ... here.
6873         * sysdeps/arm/configure: Regenerated.
6874
6875 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6876
6877         * nptl/pthread_kill.c: New file.
6878         * nptl/pthread_sigmask.c: New file.
6879         * nptl/pthread_sigqueue.c: New file.
6880
6881         * sysdeps/nptl/lowlevellock.h: New file.
6882         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6883         * sysdeps/nptl/lowlevellock-futex.h: New file.
6884
6885         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6886         Remove dead declarations.
6887
6888 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6889
6890         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6891         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6892         config-cflags-avx2.
6893         * sysdeps/x86_64/configure.ac: Likewise.
6894         * sysdeps/i386/configure: Regenerated.
6895         * sysdeps/x86_64/configure: Likewise.
6896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6897         memset-avx2 only if config-cflags-avx2 is yes.
6898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6899         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6900         defined.
6901         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6902         only if HAVE_AVX2_SUPPORT is defined.
6903         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6904
6905 2014-07-14  Alan Modra  <amodra@gmail.com>
6906
6907         [BZ #17153]
6908         * elf/elf.h (DT_PPC64_NUM): Correct value.
6909         * NEWS: Add to fixed bug list.
6910
6911 2014-07-13  Jim Meyering  <meyering@fb.com>
6912
6913         [BZ 17150]
6914         regex: don't deref NULL upon heap allocation failure
6915         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6916         failure in one more place.
6917         To trigger the segfault, configure grep -with-included-regex,
6918         build it, and run these commands:
6919         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6920
6921 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6922
6923         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6924
6925 2014-07-11  Richard Henderson  <rth@redhat.com>
6926
6927         * sysdeps/aarch64/libm-test-ulps: Update.
6928
6929 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6930
6931         [BZ #17135]
6932         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6933         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6934         (__nptl_setxid): Initialize error member.  Call
6935         __nptl_setxid_error.
6936         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6937         * nptl/descr.h (struct xid_command): Add error member.
6938         * nptl/tst-setuid3.c: New file.
6939         * nptl/Makefile (tests): Add it.
6940
6941 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6942
6943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6944         New define.
6945         (__lll_trylock): Use __lll_base_trylock.
6946         (__lll_cond_trylock): Likewise.
6947
6948 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6949
6950         * nptl/pthread_create.c (start_thread): Use atomic_or and
6951         lll_futex_wake directly rather than lll_robust_dead.
6952         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6953         (lll_robust_dead): Macro removed.
6954         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6955         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6956         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6957         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6959         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6960         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6961         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6962         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6964         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6965         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6966         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6967         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6969
6970         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6971         Use atomic_compare_and_exchange_val_acq directly rather than
6972         lll_robust_trylock.
6973         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6974         (__lll_robust_trylock, lll_robust_trylock): Removed.
6975         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6976         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6977         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6979         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6980         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6981         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6982         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6984         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6985         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6989
6990 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6991
6992         * manual/locale.texi (Locale Names): New section documenting
6993         locale name syntax.  Adjust menu and node chaining accordingly.
6994         (Choosing Locale): Reference Locale Names, Locale Categories.
6995         Mention setting LC_ALL=C.  Reflect that name syntax is now
6996         documented.
6997         (Locale Categories): New section title.  Reference Locale Names.
6998         LC_ALL is an environment variable, but not a category.
6999         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7000         description, now in Locale Name.  Reference that section.  Locale
7001         name syntax is now documented.
7002
7003 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7004
7005         [BZ #17137]
7006         * locale/findlocale.c (name_present, valid_locale_name): New
7007         functions.
7008         (_nl_find_locale): Use the loc_name variable to store name
7009         candidates.  Call name_present and valid_locale_name to check and
7010         validate locale names.  Return an error if the locale is invalid.
7011
7012 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7013
7014         * locale/setlocale.c (setlocale): Use strdup for allocating
7015         composite name copy.
7016
7017 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7018
7019         Sync up with gnulib.
7020         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7021         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7022         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7023         and _GL_ARG_NONNULL.
7024         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7025         [!_LIBC]: Include code for Windows and Cygwin.
7026         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7027         Include prototype for int strerror_r.
7028         [!_LIBC] (is_open): New function.
7029         (flush_stdout): New function.
7030         (print_errno_message): Use it.
7031         (error): Likewise.
7032         (error_at_line): Likewise.
7033         (error_tail) Add function attribute macros.  Use
7034         __builtin_expect.
7035
7036         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7037
7038         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7039
7040         * io/ftw.c: Include sys/param.h unconditionally.
7041
7042         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7043
7044         [BZ #17125]
7045         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7046         libc_freeres_ptr.
7047         (freecache): New function to free CACHE on exit.
7048
7049         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7050         initialization.
7051
7052 2014-07-09  David S. Miller  <davem@davemloft.net>
7053
7054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7055
7056         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7057         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7058         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7059         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7060         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7061         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7062         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7063         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7064         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7065         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7066         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7067         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7068         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7069
7070 2014-07-09  Andreas Schwab  <schwab@suse.de>
7071
7072         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7073         output.
7074         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7075         (do_test): Likewise.
7076
7077         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7078
7079 2014-07-09  Will Newton  <will.newton@linaro.org>
7080
7081         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7082         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7083         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7084         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7085         * sysdeps/hppa/start.S (_start): Likewise.
7086
7087 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7088
7089         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7090
7091         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7092         defined.
7093
7094 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7095
7096         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7097         after checking that it is non-NULL.
7098
7099         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7100
7101 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7102
7103         * sysdeps/powerpc/memmove.c: Remove file.
7104         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7105         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7107         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7109         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7110         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7111         string memmove instead of removed powerpc one.
7112
7113         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7114         [weak_alias]: Fix compiler warning due trailing data.
7115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7116         [weak_alias]: Likewise.
7117         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7118         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7119
7120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7121         (__libc_ifunc_impl_list): Add memmove functions.
7122
7123 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7124
7125         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7126         Remove code.
7127         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7128         Likewise
7129         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7130         Likewise
7131         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7132         Likewise
7133         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7134         Likewise
7135         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7136         Likewise
7137         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7138         Likewise
7139         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7140         Likewise
7141         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7142         Likewise
7143         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7144         Likewise
7145         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7146         Likewise
7147         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7148         Likewise
7149         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7150         Likewise
7151         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7152         Likewise
7153         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7154         Likewise
7155         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7156         Likewise
7157         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7158         Likewise
7159
7160 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7161
7162         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7163         to avoid alignment traps in non-cacheable memory.
7164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7165
7166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7167         multiarch objects.
7168         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7169         file: multiarch power7 memmove.
7170         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7171         multiarch default memmove.
7172         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7173         multiarch memove for powerpc32/power4.
7174
7175         * string/bcopy.c: Use full path to include memmove.c.
7176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7177         multiarch objects.
7178         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7179         bcopy for powerpc64.
7180         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7181         bcopy for powerpc64.
7182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7183         and memmove implementations.
7184         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7185         optimized multiarch memmove for POWER7/powerpc64.
7186         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7187         default multiarch memmove for powerpc64.
7188         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7189         multiarch for powerpc64.
7190         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7191         for POWER7/powerpc64.
7192         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7193         memmove for POWER7/powerpc64.
7194
7195         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7196         glibc default one.
7197
7198         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7199         __ELF_NATIVE_CLASS equal to 64.
7200
7201 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7202
7203         * sysdeps/nptl/lowlevellock.h: File removed.
7204
7205         * NEWS: NPTL is no longer an add-on!
7206         * nptl/internaltypes.h: Moved ...
7207         * sysdeps/nptl/internaltypes.h: ... here.
7208         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7209         * sysdeps/nptl/fork.c: Likewise.
7210         * sysdeps/nptl/gai_misc.h: Likewise.
7211         * sysdeps/nptl/librt-cancellation.c: Likewise.
7212         * sysdeps/nptl/jmp-unwind.c: Likewise.
7213         * sysdeps/nptl/setxid.h: Likewise.
7214         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7215         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7216         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7217         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7218         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7219         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7220         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7221         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7222         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7223         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7224         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7225         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7226         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7227         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7228         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7229         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7230         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7231         * nptl/Makeconfig: Moved ...
7232         * sysdeps/nptl/Makeconfig: ... here.
7233         * nptl/configure: File removed.
7234         * nptl/ANNOUNCE: File removed.
7235         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7236         * sysdeps/unix/sysv/linux/configure: Regenerated.
7237
7238         * nptl/Makefile (routines): Add libc_pthread_init,
7239         libc_multiple_threads, register-atfork and unregister-atfork.
7240         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7241         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7242         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7243         pthread-pi-defines.sym, structsem.sym.
7244         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7245         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7246         [$(subdir) = nptl] (tests): Add tst-setgetname.
7247         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7248         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7249         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7250         [!LIBC_SIGACTION]: Remove aliases.
7251         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7252         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7253         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7254         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7255         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7256         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7257         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7258         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7259         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7260         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7261         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7262         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7263         __libc_allocate_rtsig_private.
7264         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7265         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7266         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7267         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7268         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7269         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7270         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7271         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7272         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7273         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7274         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7275         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7276         * nptl/internaltypes.h: ... here.
7277         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7278         * sysdeps/nptl/jmp-unwind.c: ... here.
7279         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7280         * nptl/libc-lowlevellock.c: ... here.
7281         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7282         * nptl/libc_multiple_threads.c: ... here.
7283         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7284         * nptl/libc_pthread_init.c: ... here.
7285         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7286         * nptl/lowlevelbarrier.sym: ... here.
7287         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7288         * nptl/lowlevelcond.sym: ... here.
7289         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7290         * nptl/lowlevellock.c: ... here.
7291         * nptl/lowlevellock.h: Moved ...
7292         * sysdeps/nptl/lowlevellock.h: ... here.
7293         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7294         * nptl/lowlevelrobustlock.c: ... here.
7295         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7296         * nptl/lowlevelrobustlock.sym: ... here.
7297         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7298         * nptl/lowlevelrwlock.sym: ... here.
7299         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7300         * nptl/pt-fork.c: ... here.
7301         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7302         * nptl/pthread-pi-defines.sym: ... here.
7303         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7304         * nptl/pthread_attr_getaffinity.c: ... here.
7305         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7306         * nptl/pthread_attr_setaffinity.c: ... here.
7307         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7308         * nptl/pthread_mutex_cond_lock.c: ... here.
7309         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7310         Update #include.
7311         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7312         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7313         * nptl/pthread_once.c: ... here, replacing old file.
7314         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7315         * nptl/pthread_yield.c: ... here.
7316         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7317         * nptl/register-atfork.c: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7319         * nptl/sem_post.c: ... here.
7320         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7321         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7322         * nptl/sem_timedwait.c: ... here.
7323         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7324         * nptl/sem_trywait.c: ... here.
7325         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7326         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7327         * nptl/sem_wait.c: ... here.
7328         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7329         * nptl/structsem.sym: ... here.
7330         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7331         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7332         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7333         * nptl/unregister-atfork.c: ... here.
7334         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7335         * nptl/unwindbuf.sym: ... here.
7336         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7337         * sysdeps/nptl/fork.c: ... here.
7338         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7339         * sysdeps/nptl/fork.h: ... here.
7340         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7341         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7342         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7343         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7344         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7345         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7346         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7347         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7348         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7349         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7350         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7351         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7352         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7353         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7354         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7355         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7356         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7357         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7358         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7359         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7360         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7361         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7362         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7363         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7364         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7365         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7366         * sysdeps/unix/sysv/linux/raise.c: ... here.
7367         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7368         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7369         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7370         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7371         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7372         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7373         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7374         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7375         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7376         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7377         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7378         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7379         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7380         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7381         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7382
7383 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7384
7385         * sysdeps/generic/memcopy.h: Add comment for
7386         MEMCPY_OK_FOR_FWD_MEMMOVE.
7387
7388 2014-07-04  Will Newton  <will.newton@linaro.org>
7389
7390         * string/memchr.c: Merge from gnulib.
7391         [_LIBC]: Remove conditionals.
7392         (__ptr_t): Remove define.
7393         (LONG_MAX_32_BITS): Likewise.
7394         (LONG_MAX): Likewise.
7395         (MEMCHR): Use ANSI prototype and optimize algorithm.
7396
7397         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7398
7399 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7400
7401         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7402         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7403
7404         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7405         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7406         in a bare environment with no <stdlib.h> installed.
7407         * sysdeps/nptl/configure: Regenerated.
7408
7409         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7410
7411         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7412         AC_EGREP_CPP for kernel header checks, so they only succeed if
7413         including <linux/version.h> actually works right.
7414         * sysdeps/unix/sysv/linux/configure: Regenerated.
7415
7416         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7417         value so it's not diagnosed as unused.
7418
7419         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7420         thing) with "ifeq ($(subdir),rt)".
7421
7422 2014-07-03  Richard Henderson  <rth@redhat.com>
7423
7424         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7425         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7426         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7427
7428         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7429         (math_force_eval): New.
7430
7431         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7432         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7433
7434         * sysdeps/alpha/fpu/s_round.c: Remove file.
7435         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7436
7437         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7438         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7439         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7440         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7441         (_dl_start, print_statistics): Likewise.
7442         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7443         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7444
7445         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7446         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7447         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7448         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7449         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7450         (HP_SMALL_TIMING_AVAIL): Define.
7451         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7452         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7453         (HP_SMALL_TIMING_AVAIL): Define.
7454         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7455         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7456
7457         * sysdeps/aarch64/hp-timing.h: New file.
7458
7459         * sysdeps/generic/hp-timing.h: Remove dead comment.
7460         * sysdeps/generic/hp-timing-common.h: New file.
7461         * sysdeps/alpha/hp-timing.h: Include it.
7462         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7463         * sysdeps/i386/i686/hp-timing.h: Likewise.
7464         * sysdeps/ia64/hp-timing.h: Likewise.
7465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7466         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7467         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7468         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7469         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7470         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7471         (hp_timing_t): New.
7472
7473         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7474         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7475         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7476         * elf/rtld.c (_dl_start_final): Likewise.
7477         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7478         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7479         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7480         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7481         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7482         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7483         (HP_TIMING_DIFF_INIT): Remove.
7484         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7485         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7486         (HP_TIMING_DIFF_INIT): Remove.
7487         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7488         * sysdeps/i386/i686/hp-timing.c: Remove file.
7489         * sysdeps/x86_64/hp-timing.c: Remove file.
7490         * sysdeps/ia64/hp-timing.c: Remove file.
7491         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7492         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7493         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7494         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7495
7496         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7497         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7498         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7499         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7500         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7501         (HP_TIMING_ACCUM): Remove.
7502         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7503         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7504         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7505
7506         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7507         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7508         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7509         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7511         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7513         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7514
7515         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7516
7517 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7518
7519         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7520
7521 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522
7523         Sync up with gettext.
7524         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7525         [_MSC_VER]: Include malloc.h
7526         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7527         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7528         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7529         TEMP_FAILURE_RETRY.  Cast return of alloca.
7530         [!_LIBC] Call gl_rwlock_init.
7531         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7532
7533 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7534
7535         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7536         before checking its value.
7537
7538 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7539
7540         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7541
7542         * debug/memcpy_chk.c: Don't include pagecopy.h.
7543         * debug/mempcpy_chk.c: Likewise.
7544         * string/memcpy.c: Likewise.
7545         * string/memmove.c: Likewise.
7546         * sysdeps/powerpc/memmove.c: Likewise.
7547         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7548         definition of PAGE_COPY_FWD_MAYBE here...
7549         * sysdeps/generic/pagecopy.h: ... from here.
7550         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7551
7552 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7553             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7554
7555         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7557         optimizations.
7558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7559         (__libc_ifunc_impl_list): Likewise.
7560         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7561         multiarch strcat for PPC64.
7562         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7563         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7564
7565 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7566
7567         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7568
7569 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7570
7571         * intl/loadmsgcat.c: Remove declaration of
7572         get_sysdep_segment_value.
7573         (get_sysdep_segment_value): Use ISO C style.
7574         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7575         semicolon.  Fix typo and formatting in comment.
7576         (_nl_unload_domain): Use ISO C style.
7577
7578         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7579
7580 2014-07-02  Will Newton  <will.newton@linaro.org>
7581
7582         * malloc/obstack.c: Merge from gnulib master.
7583         [HAVE_CONFIG_H]: Remove conditional code.
7584         [!_LIBC]: Include config.h.
7585         [!ELIDE_CODE]: Don't include inttypes.h, include
7586         stdint.h unconditionally.
7587         (print_and_abort): Mark as _Noreturn.
7588         (_obstack_allocated_p): Mark as __attribute_pure__.
7589         (obstack_free): Rename to __obstack_free.
7590         [!__attribute__]: Remove conditional code.
7591         * malloc/obstack.h: Merge from gnulib master.
7592         [__cplusplus]: Move conditional down.
7593         [!__attribute_pure__]: Define __attribute_pure__ here
7594         if it is not already defined.
7595         (_obstack_memory_used): Mark as __attribute_pure__.
7596         [!__obstack_free]: Define as obstack_free.
7597         [__GNUC__]: Remove check for ancient NeXT gcc.
7598
7599 2014-07-02  Will Newton  <will.newton@linaro.org>
7600             Paul Eggert  <eggert@cs.ucla.edu>
7601
7602         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7603
7604 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7605
7606         * resolv/gethnamaddr.c: Add comment warning that the file is
7607         not maintained.
7608
7609 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7610
7611         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7612         entries.
7613
7614         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7615         entry for aio_cancel and aio_cancel64.
7616         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7617         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7618         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7619         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7620         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7621         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7622         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7623         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7624         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7625         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7626         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7627         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7628         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7629
7630 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7631
7632         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7633         * nptl/pthread_mutex_lock.c: Likewise.
7634         * nptl/pthread_mutex_timedlock.c: Likewise.
7635         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7636
7637 2014-07-01  Richard henderson  <rth@redhat.com>
7638
7639         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7640         (__isnan, __isnanl): Remove.
7641         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7642
7643         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7644
7645 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7646
7647         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7648
7649 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7650
7651         * resolv/nss_dns/dns-host.c (getanswer_r)
7652         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7653
7654 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7655
7656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7657         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7658         undefine.
7659         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7660         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7661
7662 2014-07-01  Roland McGrath <roland@hack.frob.com>
7663
7664         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7665         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7666
7667         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7668         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7669
7670         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7671         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7672         ... here.
7673         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7674         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7675
7676         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7677         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7678         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7679         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7680
7681         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7682         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7683         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7684         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7685         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7686         Moved ...
7687         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7688         ... here.
7689         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7690         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7691         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7692         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7693         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7694         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7695         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7696         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7697         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7698         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7699         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7700         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7701         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7702         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7703         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7704         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7705         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7706         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7707         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7708         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7709         ... here.
7710         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7711         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7712         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7713         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7714         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7715         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7716         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7717         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7718
7719 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7720
7721         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7722         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7723         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7724         Add sysdep.
7725
7726 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7727
7728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7729
7730 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7731
7732         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7734
7735         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7736
7737         * sysdeps/arm/libm-test-ulps: Regenerated.
7738
7739 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7740             Roland McGrath <roland@hack.frob.com>
7741
7742         * test-skeleton.c (signal_handler): Kill the whole process group
7743         before killing the child individually.
7744         (main): Report any failure on `setpgid'.
7745
7746 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7747
7748         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7749         from _TLS_H to _ARM_NPTL_TLS_H.
7750         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7751         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7752
7753 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7754
7755         [BZ #16539]
7756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7757         (__expm1l): Return argument unchanged when small but not
7758         subnormal.
7759
7760         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7761         include macro name.
7762         (_FP_UNPACK_RAW_1_P): Likewise.
7763         (_FP_PACK_RAW_1): Likewise.
7764         (_FP_PACK_RAW_1_P): Likewise.
7765         (_FP_MUL_MEAT_1_wide): Likewise.
7766         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7767         (_FP_MUL_MEAT_1_hard): Likewise.
7768         (_FP_DIV_MEAT_1_imm): Likewise.
7769         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7770         (_FP_DIV_MEAT_1_udiv): Likewise.
7771         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7772         (_FP_UNPACK_RAW_2): Likewise.
7773         (_FP_UNPACK_RAW_2_P): Likewise.
7774         (_FP_PACK_RAW_2): Likewise.
7775         (_FP_PACK_RAW_2_P): Likewise.
7776         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7777         (_FP_MUL_MEAT_2_wide): Likewise.
7778         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7779         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7780         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7781         (_FP_MUL_MEAT_2_gmp): Likewise.
7782         (_FP_DIV_MEAT_2_udiv): Likewise.
7783         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7784         (_FP_FRAC_SRL_4): Likewise.
7785         (_FP_FRAC_SRST_4): Likewise.
7786         (_FP_FRAC_SRS_4): Likewise.
7787         (_FP_UNPACK_RAW_4): Likewise.
7788         (_FP_UNPACK_RAW_4_P): Likewise.
7789         (_FP_PACK_RAW_4): Likewise.
7790         (_FP_PACK_RAW_4_P): Likewise.
7791         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7792         (_FP_MUL_MEAT_4_wide): Likewise.
7793         (_FP_MUL_MEAT_4_gmp): Likewise.
7794         (umul_ppppmnnn): Likewise.
7795         (_FP_DIV_MEAT_4_udiv): Likewise.
7796         (__FP_FRAC_ADD_4): Likewise.
7797         (__FP_FRAC_SUB_3): Likewise.
7798         (__FP_FRAC_SUB_4): Likewise.
7799         (__FP_FRAC_DEC_3): Likewise.
7800         (__FP_FRAC_DEC_4): Likewise.
7801         (__FP_FRAC_ADDI_4): Likewise.
7802         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7803         (_FP_FRAC_SRL_8): Likewise.
7804         (_FP_FRAC_SRS_8): Likewise.
7805
7806         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7807         include macro name.
7808         (FP_UNPACK_RAW_EP): Likewise.
7809         (FP_PACK_RAW_E): Likewise.
7810         (FP_PACK_RAW_EP): Likewise.
7811         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7812         (_FP_ISSIGNAN): Likewise.
7813         (_FP_ADD_INTERNAL): Likewise.
7814         (_FP_FMA): Likewise.
7815         (_FP_CMP): Likewise.
7816         (_FP_SQRT): Likewise.
7817         (_FP_TO_INT): Likewise.
7818         (_FP_FROM_INT): Likewise.
7819         (FP_EXTEND): Likewise.
7820         (_FP_DIV_MEAT_N_loop): Likewise.
7821
7822 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7823
7824         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7825         throughout.
7826
7827 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7828
7829         [BZ #17097]
7830         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7831         result with correct sign in case of exponents that produce
7832         overflow except for X very close to 1.
7833
7834 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7835
7836         mktime: merge #if/#ifdef usage from glibc
7837         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7838         as that works with both Glibc's and Gnulib's style.
7839         See thread starting at Siddhesh Poyarekar's bug report at:
7840         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7841
7842 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7843
7844         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7845         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7846         * sysdeps/tile/tilegx/memmove.c: Remove file.
7847
7848 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7849
7850         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7851         abi-name definition.
7852         * scripts/soversions.awk: Do not handle or generate ABI lines.
7853         * shlib-versions: Remove ABI entries.
7854         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7855         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7856
7857 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7858
7859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7860         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7861         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7862         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7864         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7866         Moved ...
7867         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7868         ... here.
7869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7870         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7872         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7874         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7876         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7878         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7880         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7882         Moved ...
7883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7887         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7889         Moved ...
7890         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7892         Moved ...
7893         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7895         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7897         Moved ...
7898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7900         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7902         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7904         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7906         Moved ...
7907         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7909         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7911         Moved ...
7912         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7914         Moved ...
7915         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7917         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7919         Moved ...
7920         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7921         ... here.
7922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7923         Identical file removed.
7924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7925         Moved ...
7926         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7928         Identical file removed.
7929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7930         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7932         Moved ...
7933         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7935         Identical file removed.
7936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7937         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7939         Identical file removed.
7940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7941         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7943         Identical file removed.
7944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7945         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7947         Identical file removed.
7948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7949         Moved ...
7950         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7952         Identical file removed.
7953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7954         Moved ...
7955         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7957         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7959         Identical file removed.
7960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7961         Moved ...
7962         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7963         ... here.
7964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7965         Identical file removed.
7966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7967         Moved ...
7968         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7970         Identical file removed.
7971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7972         Moved ...
7973         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7975         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7977         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7979         Moved ...
7980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7981         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7982         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7983
7984         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7985         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7986         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7987         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7988         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7989
7990 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7991
7992         [BZ #17092]
7993         * nscd/nscd.c (monitor_child): Return exit status of child
7994         instead of return value from wait syscall.
7995
7996 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7997
7998         * configure.ac (libc_commonpagesize): Remove variable.
7999         (libc_relro_required): Likewise.
8000         (libc_cv_z_relro): Remove configure test.
8001         * configure: Regenerated.
8002         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8003         variable.
8004         (libc_relro_required): Likewise.
8005         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8006         (libc_relro_required): Likewise.
8007         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8008         (libc_relro_required): Likewise.
8009         * sysdeps/arm/preconfigure: Regenerated.
8010         * sysdeps/ia64/preconfigure: Remove file.
8011         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8012         variable.
8013         (libc_relro_required): Likewise.
8014
8015         [BZ #16561]
8016         [BZ #16562]
8017         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8018         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8019         recompute overflowing results in original rounding mode.
8020         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8021         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8022         recompute overflowing results in original rounding mode.
8023         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8024         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8025         recompute overflowing results in original rounding mode.
8026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8027         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8028         recompute overflowing results in original rounding mode.
8029         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8030         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8031         recompute overflowing results in original rounding mode.
8032         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8033         (libc_feholdsetround_ctx): New macro.
8034         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8035         * sysdeps/i386/fpu/libm-test-ulps: Update.
8036         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8037
8038 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8039
8040         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8041         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8042         corresponding .cpsetup call.
8043
8044 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8045
8046         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8047         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8048         * sysdeps/arm/Makefile [$(subdir) = csu]
8049         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8050         (static-only-routines): Add aeabi_read_tp here.
8051         (shared-only-routines): Add libc-aeabi_read_tp here.
8052         (CFLAGS-libc-start.c): Add -fexceptions here.
8053         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8054         (sysdep_routines, static-only-routines, shared-only-routines):
8055         Don't add to these here.
8056         (CFLAGS-libc-start.c): Likewise.
8057
8058         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8059         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8060         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8061         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8062         * sysdeps/arm/Makefile [$(subdir) = rt]
8063         (librt-sysdep_routines, librt-shared-only-routines):
8064         Append rt-aeabi_unwind_cpp_pr1 here.
8065         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8066         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8067         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8068         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8069         Append nptl-aeabi_unwind_cpp_pr1 here.
8070         (tests): Filter out tst-cleanupx4 here.
8071         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8072         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8073         Don't do those here.
8074
8075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8076
8077         * scripts/list-sources.sh: Do not handle ports specially.
8078
8079 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8080
8081         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8082         * sysdeps/arm/feupdateenv.c: Likewise.
8083
8084         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8085
8086 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8087
8088         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8089         trailing whitespace removed.
8090         * scripts/config.guess: Update to version 2014-03-23.
8091         * scripts/config.sub: Update to version 2014-05-01
8092         * scripts/install-sh: Update to version 2013-12-25.23.
8093         * scripts/move-if-change: Update from gnulib.
8094
8095 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8096
8097         * debug/memmove_chk.c: Remove pagecopy.h include.
8098
8099 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8100
8101         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8102         identical to gnulib mktime.
8103
8104 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8105
8106         * configure.ac: Do not test for machine being rs6000.  Do not test
8107         for powerpc*-*soft.
8108         * configure: Regenerated.
8109
8110         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8111         test.
8112         * configure: Regenerated.
8113         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8114         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8115         Remove configure test.
8116         * sysdeps/arm/configure: Regenerated.
8117         * sysdeps/nptl/configure.ac: Do not check
8118         libc_cv_asm_cfi_directives.
8119         * sysdeps/nptl/configure: Regenerated.
8120         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8121         * sysdeps/x86_64/nptl/configure: Remove generated file.
8122         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8123         unconditional.
8124         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8125
8126 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8127
8128         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8129         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8130         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8131         it is defined.
8132
8133         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8134         instead of whether it is defined.
8135         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8136         * sysdeps/hppa/dl-machine.h: Likewise.
8137         * sysdeps/ia64/dl-machine.h: Likewise.
8138         * sysdeps/m68k/dl-machine.h: Likewise.
8139         * sysdeps/microblaze/dl-machine.h: Likewise.
8140         * sysdeps/mips/dl-machine.: Likewise.
8141         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8142         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8143         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8144         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8145         * sysdeps/sh/dl-machine.h: Likewise.
8146         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8147         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8148         * sysdeps/tile/dl-machine.h: Likewise.
8149         * sysdeps/x86_64/dl-machine.h: Likewise.
8150
8151         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8152         code.
8153         (verify_persistent_db): Likewise.
8154
8155 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8156
8157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8158         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8160         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8162         Moved ...
8163         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8164         ... here.
8165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8166         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8168         Identical file removed.
8169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8170         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8172         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8174         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8176         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8178         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8180         Moved ...
8181         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8183         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8185         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8187         Moved ...
8188         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8190         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8192         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8194         Identical file removed.
8195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8196         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8198         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8200         Moved ...
8201         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8202         ... here.
8203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8204         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8206         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8208         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8210         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8212         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8214         Moved ...
8215         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8217         Moved ...
8218         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8220         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8222         Moved ...
8223         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8226
8227         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8228         folded into ...
8229         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8230         * sysdeps/unix/sysv/linux/s390/Versions
8231         (libpthread: GLIBC_2.19): New version set.
8232         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8233         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8234         (librt: GLIBC_2.3.3): New version set.
8235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8236         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8237         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8238         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8239         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8240         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8241         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8242         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8243         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8244         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8245         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8246         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8247         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8248         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8249         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8250         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8251         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8252         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8254         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8255         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8256         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8257         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8258         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8259         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8260         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8261         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8262         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8263         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8265         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8266         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8271         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8273         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8274         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8275         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8277         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8279         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8280
8281         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8282         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8283         (__libc_vfork): Define the function under this name.
8284         [!NOT_IN_libc] (__vfork): Make this an alias.
8285         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8287         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8288         (__libc_vfork): Define the function under this name.
8289         [!NOT_IN_libc] (__vfork): Make this an alias.
8290         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8291         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8292         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8294         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8295         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8296
8297         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8298         code that was previously under [RESET_PID].
8299         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8300         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8302
8303         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8304         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8305         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8306         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8307         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8308         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8309         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8310         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8311         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8312         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8313         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8314         Moved ...
8315         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8317         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8319         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8320         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8321         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8322         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8323         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8324         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8326         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8327         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8328         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8331         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8332         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8333         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8334         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8335         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8337         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8338         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8339         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8340         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8342         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8343         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8344
8345 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8346
8347         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8348         that was previously under [RESET_PID].
8349         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8350
8351 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8352
8353         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8354         not undefine and redefine.
8355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8356         [O_CLOEXEC]: Make code unconditional.
8357         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8358         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8359         <kernel-features.h>.
8360         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8361         conditional variable definition.
8362         (shm_open) [O_CLOEXEC]: Make code unconditional.
8363         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8364         code.
8365
8366         * configure.ac (USE_REGPARMS): Don't define here.
8367         * configure: Regenerated.
8368         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8369         * sysdeps/i386/configure: Regenerated.
8370
8371         * nptl/createthread.c: Don't include kernel-features.h.
8372         * nptl/pthread_cancel.c: Likewise.
8373         * nptl/pthread_condattr_setclock.c: Likewise.
8374         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8375         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8376         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8377         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8378         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8379         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8380         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8383         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8384         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8385         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8386         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8387         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8388         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8389         * nscd/gai.c: Likewise.
8390         * nss/nss_db/db-open.c: Likewise.
8391         * sysdeps/generic/ldsodefs.h: Likewise.
8392         * sysdeps/sh/nptl/tls.h: Likewise.
8393         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8394         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8395         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8396         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8397         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8398         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8399         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8400         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8401         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8402         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8403         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8404         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8405         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8406         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8407         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8408         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8409         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8410         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8411         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8412         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8415         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8416         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8421         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8422         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8423         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8424         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8425         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8426         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8427         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8428         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8429         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8430         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8431         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8432         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8433         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8434         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8435         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8436         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8437         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8438         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8439         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8440         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8441         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8442         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8443         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8444         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8445         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8446         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8447         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8448         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8449         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8450         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8473         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8474         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8475         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8476         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8477         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8478         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8479         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8480         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8481         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8482         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8483         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8484         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8485         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8486         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8487         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8488         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8489         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8490         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8491         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8492         * sysdeps/unix/sysv/linux/system.c: Likewise.
8493         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8494         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8495         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8496         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8497         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8498         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8499         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8500
8501         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8502         * configure: Regenerated.
8503         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8504
8505         * configure.ac (base_machine): Do not set specially for particular
8506         machines here.
8507         * configure: Regenerated.
8508         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8509         settings from configure.ac.
8510         * sysdeps/i386/preconfigure: New file.
8511         * sysdeps/s390/preconfigure: Likewise.
8512         * sysdeps/sh/preconfigure: Likewise.
8513         * sysdeps/sparc/preconfigure: Likewise.
8514
8515 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8516
8517         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8518         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8519         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8520         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8521         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8522         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8523         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8524         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8525         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8526         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8527         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8528         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8529         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8530         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8531         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8532         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8533         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8534         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8535         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8536
8537         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8538         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8539         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8540         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8541         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8542         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8543         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8544         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8545         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8546         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8547         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8548         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8549         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8550         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8551         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8552         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8553         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8554         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8555         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8556         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8558         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8560         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8561         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8562         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8563         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8564         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8566         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8567         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8568         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8569         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8570         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8571         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8572         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8573         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8574         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8575
8576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8577         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8579         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8581         Moved ...
8582         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8583         ... here.
8584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8585         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8587         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8589         Moved ...
8590         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8592         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8594         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8596         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8598         Moved ...
8599         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8601         Moved ...
8602         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8604         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8606         Moved ...
8607         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8609         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8611         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8613         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8615         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8617         Moved ...
8618         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8619         ... here.
8620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8621         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8623         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8625         Moved ...
8626         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8628         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8630         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8632         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8634         Moved ...
8635         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8637         Moved ...
8638         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8640         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8642         Moved ...
8643         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8645         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8647         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8648
8649 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8650
8651         * timezone/checktab.awk: Update from tzcode 2014e.
8652         * timezone/private.h: Likewise.
8653         * timezone/tzfile.h: Likewise.
8654         * timezone/zdump.c: Likewise.
8655         * timezone/zic.c: Likewise.
8656
8657         * sysdeps/unix/sysv/linux/kernel-features.h
8658         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8660         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8661         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8662         Remove conditional code.
8663
8664 2014-06-25  Will Newton  <will.newton@linaro.org>
8665
8666         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8667         (_dl_arm_cap_flags): Add HWCAP2 values.
8668         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8669         (_DL_HWCAP_COUNT): Increase to 37.
8670         (_DL_HWCAP_LAST): New define.
8671         (_DL_HWCAP2_LAST): New define.
8672         (_dl_procinfo): Add support for printing
8673         AT_HWCAP2 entries.
8674         (_dl_string_hwcap): Use _dl_hwcap_string.
8675
8676 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8677
8678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8679
8680 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8681
8682         * README: Do not mention ports directory.
8683
8684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8685         Remove macro.
8686         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8687         <kernel-features.h>.
8688         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8689         conditional variable definition.
8690         (__futimes): Update comment.
8691         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8692         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8693
8694         [BZ #16560]
8695         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8696         arguments close to 0.
8697         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8698         Likewise.
8699         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8700         Likewise.
8701         * math/auto-libm-test-in: Add more tests of exp10.
8702         * math/auto-libm-test-out: Regenerated.
8703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8704
8705         * sysdeps/unix/sysv/linux/kernel-features.h
8706         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8707         * sysdeps/unix/sysv/linux/readv.c: Do not include
8708         <kernel-features.h>.
8709         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8710         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8711         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8712         unconditional.
8713         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8714         conditional code.
8715         * sysdeps/unix/sysv/linux/writev.c: Do not include
8716         <kernel-features.h>.
8717         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8718         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8719         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8720         unconditional.
8721         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8722         conditional code.
8723
8724 2014-06-25  Will Newton  <will.newton@linaro.org>
8725
8726         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8727         comment changes throughout the file.  Remove checks
8728         for HAVE_*_H definitions that are not required.
8729         (__gen_tempname): Call abort if an unknown kind value is
8730         passed.
8731
8732 2014-06-25  Andreas Schwab  <schwab@suse.de>
8733
8734         [BZ #17086]
8735         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8736         scalbln, scalblnf, scalblnl in libc.
8737
8738 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8739
8740         [BZ #17086]
8741         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8742         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8743         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8744
8745 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8746
8747         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8748         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8749         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8750         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8751         Update #include.
8752         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8753         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8754         Update #include.
8755         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8756         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8757         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8758         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8759         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8760         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8761         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8762         * sysdeps/x86/bits/semaphore.h: ... here.
8763         * sysdeps/x86/nptl/elide.h: Moved ...
8764         * sysdeps/x86/elide.h: ... here.
8765         * sysdeps/x86_64/nptl/Implies: File removed.
8766         * sysdeps/i386/nptl/Implies: File removed.
8767
8768 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8769
8770         [BZ #16539]
8771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8772         return the argument for normal arguments with exponent below -64.
8773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8774         Likewise.
8775         * math/auto-libm-test-in: Add another test of expm1.
8776         * math/auto-libm-test-out: Regenerated.
8777
8778         [BZ #16287]
8779         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8780         calling __erfcl for arguments at least 16.
8781         * math/auto-libm-test-in: Add more tests of erf.
8782         * math/auto-libm-test-out: Regenerated.
8783
8784         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8785         individual architectures.
8786         * sysdeps/unix/sysv/linux/configure: Regenerated.
8787         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8788         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8789         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8790         (ldd_rewrite_script): Define variable.
8791         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8793         file.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8795         generated file.
8796         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8797         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8798         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8799         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8800         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8801         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8802         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8803         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8804
8805 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8806
8807         [BZ #17084]
8808         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8809         Rename member __data.d to __data.__elision_data.
8810
8811 2014-06-24  Wilco  <wdijkstr@arm.com>
8812
8813         * NEWS: Add 16918 to fixed bug list.
8814
8815 2014-06-24  Wilco  <wdijkstr@arm.com>
8816
8817         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8818
8819 2014-06-24  Wilco  <wdijkstr@arm.com>
8820
8821         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8822         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8823         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8824         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8825         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8826         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8827         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8828         Use _FPU_MASK_RM.
8829
8830 2014-06-24  Wilco  <wdijkstr@arm.com>
8831
8832         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8833
8834 2014-06-24  Wilco  <wdijkstr@arm.com>
8835
8836         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8837         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8838         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8839         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8840
8841 2014-06-24  Wilco  <wdijkstr@arm.com>
8842
8843         [BZ #16918]
8844         * sysdeps/arm/feupdateenv.c (feupdateenv):
8845         Rewrite to reduce FPSCR accesses and fix return value.
8846
8847 2014-06-24  Wilco  <wdijkstr@arm.com>
8848
8849         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8850         Optimize to avoid unnecessary FPSCR writes.
8851         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8852         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8853         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8854         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8855
8856 2014-06-24  Wilco  <wdijkstr@arm.com>
8857
8858         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8859         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8860         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8861         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8862         Call libc_fetestexcept_vfp.
8863         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8864         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8865         __SOFTFP__ ifdef so that they can be built for softfp.
8866
8867 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8868
8869         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8870         argument type signed char.
8871
8872         * Makerules (check-abi): Dump diff of symlist if the test
8873         fails.
8874
8875 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8876
8877         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8878         using abort.
8879
8880         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8881         Remove unused variable ST.
8882
8883 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8884
8885         [BZ #16354]
8886         [BZ #17061]
8887         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8888         small arguments before calling __expm1.
8889         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8890         small arguments before calling __expm1f.
8891         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8892         small arguments before calling __expm1l.
8893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8894         Likewise.
8895         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8896         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8897         spurious underflow for some cosh tests.
8898         * math/auto-libm-test-out: Regenerated.
8899         * sysdeps/i386/fpu/libm-test-ulps: Update.
8900
8901         [BZ #17050]
8902         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8903         (__ieee754_y1): Set errno if return value overflows.
8904         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8905         (__ieee754_y1f): Set errno if return value overflows.
8906         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8907         (__ieee754_y1l): Set errno if return value overflows.
8908         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8909         (__ieee754_y1l): Set errno if return value overflows.
8910         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8911         * math/auto-libm-test-out: Regenerated.
8912
8913         * math/gen-auto-libm-tests.c: Document use of
8914         ignore-zero-inf-sign.
8915         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8916         (input_flags): Add ignore-zero-inf-sign.
8917         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8918         * math/gen-libm-test.pl (generate_testfile): Handle
8919         ignore-zero-inf-sign.
8920         * math/auto-libm-test-in: Mark some cpow tests with
8921         ignore-zero-inf-sign and some with xfail-rounding.
8922         * math/auto-libm-test-out: Regenerated.
8923         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8924         * sysdeps/i386/fpu/libm-test-ulps: Update.
8925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8926
8927         [BZ #16315]
8928         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8929         overflowing or underflowing operations take place with sign of
8930         result.
8931         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8932         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8933         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8934         (__ieee754_pow): Recompute overflowing and underflowing results in
8935         original rounding mode.
8936         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8937         (__powl_helper): Allow negative argument X and scale negated value
8938         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8939         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8940         overflowing or underflowing operations take place with sign of
8941         result.
8942         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8943         Include <math.h>.
8944         * math/auto-libm-test-in: Add more tests of pow.
8945         * math/auto-libm-test-out: Regenerated.
8946         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8947         (pow_tonearest_test_data): Remove.
8948         (pow_test_tonearest): Likewise.
8949         (pow_towardzero_test_data): Likewise.
8950         (pow_test_towardzero): Likewise.
8951         (pow_downward_test_data): Likewise.
8952         (pow_test_downward): Likewise.
8953         (pow_upward_test_data): Likewise.
8954         (pow_test_upward): Likewise.
8955         (main): Don't call removed functions.
8956         * sysdeps/i386/fpu/libm-test-ulps: Update.
8957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8958
8959 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8960
8961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8962         Moved ...
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8965         Moved ...
8966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8968         Moved ...
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8971         Moved ...
8972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8974         File removed.
8975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8976         File removed.
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8978         File removed.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8980         File removed.
8981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8982         File removed.
8983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8984         File removed.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8986         File removed.
8987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8988         File removed.
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8990         File removed.
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8992         File removed.
8993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8994         File removed.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8996         File removed.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8998         Moved ...
8999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9001         Moved ...
9002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9003         ... here.
9004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9005         Moved ...
9006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9008         Moved ...
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9011         Moved ...
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9014         Moved ...
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9017         Moved ...
9018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9020         Moved ...
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9023         Moved ...
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9027         ... here.
9028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9029         Moved ...
9030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9032         Moved ...
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9034         ... here.
9035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9036         Moved ...
9037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9038         ... here.
9039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9040         Moved ...
9041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9042         ... here.
9043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9044         Moved ...
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9047         Moved ...
9048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9052         Moved ...
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9054         ... here.
9055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9056         Moved ...
9057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9058         ... here.
9059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9060         Moved ...
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9063         Moved ...
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9066         Moved ...
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9069         Moved ...
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9072         Moved ...
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9074         ... here.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9076         Moved ...
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9079         Moved ...
9080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9082         Moved ...
9083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9085         Moved ...
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9090         Moved ...
9091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9093         Moved ...
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9096         Moved ...
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9098         ... here.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9102         ... here.
9103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9106         ... here.
9107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9108         Moved ...
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9111         Moved ...
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9114         Moved ...
9115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9117         Moved ...
9118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9119         ... here.
9120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9121         Moved ...
9122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9123         ... here.
9124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9125         Moved ...
9126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9127         ... here.
9128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9129         Moved ...
9130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9132         Moved ...
9133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9134
9135 2014-06-23  Will Newton  <will.newton@linaro.org>
9136             Wilco  <wdijkstr@arm.com>
9137
9138         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9139         implementation.  Include get-rounding-mode.h.
9140         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9141         [!libc_feholdsetround_noex_ctx]: Define
9142         libc_feholdsetround_noex_ctx.
9143         [!libc_feholdsetround_noexf_ctx]: Define
9144         libc_feholdsetround_noexf_ctx.
9145         [!libc_feholdsetround_noexl_ctx]: Define
9146         libc_feholdsetround_noexl_ctx.
9147         (libc_feholdsetround_ctx): New function.
9148         (libc_feresetround_ctx): New function.
9149         (libc_feholdsetround_noex_ctx): New function.
9150         (libc_feresetround_noex_ctx): New function.
9151
9152 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9153
9154         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9155         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9156         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9157         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9158         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9159         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9160
9161         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9162         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9163         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9164         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9165         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9166         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9168         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9169         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9170         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9172         Moved ...
9173         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9174         ... here.
9175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9176         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9178         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9180         Moved ...
9181         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9183         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9185         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9186         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9187         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9189         Moved ...
9190         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9192         Moved ...
9193         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9195         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9197         Moved ...
9198         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9200         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9201         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9202         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9203         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9204         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9206         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9208         Moved ...
9209         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9210         ... here.
9211         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9212         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9213         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9214         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9215         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9216         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9218         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9220         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9222         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9224         Moved ...
9225         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9227         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9228         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9229         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9231         Moved ...
9232         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9234         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9235         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9236         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9237
9238         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9239         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9240         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9241         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9242         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9243         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9244         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9245         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9246         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9247         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9248         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9249         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9250         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9251         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9252         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9253         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9254         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9255         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9256         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9257         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9258         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9259         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9260         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9261         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9262         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9263         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9264         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9265         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9266
9267 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9268
9269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9270         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9271         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9272         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9273         (IPV6_PMTUDISC_INTERFACE): Likewise.
9274         (IPV6_PMTUDISC_OMIT): Likewise.
9275
9276 2014-06-23  Andreas Schwab  <schwab@suse.de>
9277
9278         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9279         Remove unused errout label.
9280
9281 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9282
9283         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9284         macro: hardware supports Vector Crypto instructions.
9285
9286 2014-06-23  Will Newton  <will.newton@linaro.org>
9287
9288         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9289         rather than __builtin_expect.
9290
9291         * elf/dl-lookup.c (undefined_msg): Remove variable.
9292         (_dl_lookup_symbol_x): Replace undefined_msg with string
9293         literal.
9294
9295         * elf/dl-lookup.c (do_lookup_unique): New function.
9296         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9297         to a separate function.
9298
9299 2014-06-23  Andreas Schwab  <schwab@suse.de>
9300
9301         [BZ #17079]
9302         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9303         before reading the next line.
9304
9305 2014-06-23  Will Newton  <will.newton@linaro.org>
9306
9307         * test-skeleton.c (signal_handler): Use printf and %m
9308         rather than perror.  Use printf rather than fprintf to
9309         stderr.  Use puts rather than fputs to stderr.
9310         (main): Likewise.
9311
9312 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9313
9314         * nscd/nscd.c (thread_info_t): Remove typedef.
9315         (thread_info): Remove variable.
9316
9317 2014-06-21  Allan McRae  <allan@archlinux.org>
9318
9319         * NEWS: Mention CVE-2014-4043.
9320
9321 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9322
9323         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9324         * nptl/smp.h: ... here.
9325
9326         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9327
9328         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9329         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9330         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9331         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9332
9333         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9334         * nptl/stack-aliasing.h: New file.
9335         * sysdeps/i386/i686/stack-aliasing.h: New file.
9336         * sysdeps/i386/i686/nptl/Makefile: File removed.
9337         * sysdeps/x86_64/stack-aliasing.h: New file.
9338         * sysdeps/x86_64/nptl/Makefile
9339         (CFLAGS-pthread_create.c): Variable removed.
9340
9341         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9342         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9343         old file.
9344         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9345         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9346         old file.
9347
9348 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9349
9350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9351         (__ASSUME_SIGFRAME_V2): Remove macro.
9352         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9353         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9354         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9355         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9356         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9357         Declare as function.  Remove conditional macro definitions.
9358         (__default_rt_sa_restorer): Likewise.
9359         (__default_sa_restorer_v1): Remove declaration.
9360         (__default_sa_restorer_v2): Likewise.
9361         (__default_rt_sa_restorer_v1): Likewise.
9362         (__default_rt_sa_restorer_v2): Likewise.
9363         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9364         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9365         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9366
9367 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9368
9369         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9370         (libpthread-routines): Add sysdep.
9371         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9372         * sysdeps/unix/sysv/linux/sparc/Versions
9373         (libpthread: GLIBC_2.3.3): New version set.
9374         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9375         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9376         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9377         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9378         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9379         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9380         Moved ...
9381         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9382         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9383         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9384         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9385         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9386         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9387         * sysdeps/sparc/nptl/sem_init.c: ... here.
9388         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9389         * sysdeps/sparc/nptl/sem_post.c: ... here.
9390         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9391         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9392         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9393         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9395         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9396         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9397         (libpthread-routines): Add cpu_relax.
9398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9399         File removed.
9400         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9401         (librt: GLIBC_2.3.3): New version set.
9402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9403         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9404         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9405         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9408         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9410         Moved ...
9411         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9413         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9415         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9417         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9419         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9421         Moved ...
9422         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9423         Update #include.
9424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9425         Moved ...
9426         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9427         Update #include.
9428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9429         Moved ...
9430         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9431         Update #include.
9432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9433         Moved ...
9434         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9435         Update #include.
9436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9437         Moved ...
9438         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9439         Update #include.
9440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9441         Moved ...
9442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9443         Update #include.
9444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9445         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9451         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9453         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9455         Moved ...
9456         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9458         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9460         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9461
9462 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9463
9464         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9465         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9466         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9467         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9468         * nscd/nscd.c: Likewise.
9469         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9470         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9471         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9472         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9473
9474         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9475         <kernel-features.h>.
9476         (init_mq_netlink): Remove conditional have_sock_cloexec
9477         definitions.  Remove code conditional on have_sock_cloexec < 0.
9478         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9479         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9480         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9481         <kernel-features.h>.
9482         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9483         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9484
9485 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9486
9487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9488         Add tests for memset_chk and memset.
9489
9490         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9491         with AVX2_Usable.
9492
9493 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9494
9495         [BZ #16046]
9496         * elf/tst-dl-iter-static.c: New file.
9497         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9498
9499         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9500         error.
9501
9502 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9503
9504         * sysdeps/unix/sysv/linux/kernel-features.h
9505         (__ASSUME_F_GETOWN_EX): Remove macro.
9506         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9507         <kernel-features.h>.
9508         (miss_F_GETOWN_EX): Remove variable or macro.
9509         (do_fcntl): Do not check miss_F_GETOWN_EX.
9510         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9511
9512         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9513         Remove macro.
9514         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9515         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9516         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9517
9518         * sysdeps/unix/sysv/linux/kernel-features.h
9519         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9520         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9521         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9522         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9523
9524 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9525
9526         [BZ #17075]
9527         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9528         Fix calculation of the symbol's value.
9529         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9530         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9531         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9532         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9533         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9534         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9535         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9536         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9537         (modules-names): Add `tst-armtlsdescmod',
9538         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9539         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9540         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9541         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9542         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9543         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9544         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9545         ($(objpfx)tst-armtlsdescloc): New dependency.
9546         ($(objpfx)tst-armtlsdescextnow): Likewise.
9547         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9548         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9549         TLS scheme support.
9550         * sysdeps/arm/configure: Regenerate.
9551
9552 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9553
9554         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9555         (__atfct_seterrno_2): Likewise.
9556         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9557         <kernel-features.h>.
9558         (__ASSUME_ATFCTS): Do not undefine and redefine.
9559         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9560         (__have_atfcts): Remove conditional definition.
9561         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9562         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9563         unreachable if [__ASSUME_ATFCTS].
9564         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9565         not undefine and redefine.
9566         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9567         <kernel-features.h>.
9568         (faccessat) [__NR_faccessat]: Make code unconditional.
9569         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9570         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9571         <kernel-features.h>.
9572         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9573         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9574         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9575         <kernel-features.h>.
9576         (fchownat) [__NR_fchownat]: Make code unconditional.
9577         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9578         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9579         <kernel-features.h>.
9580         (futimesat) [__NR_futimesat]: Make code unconditional.
9581         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9582         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9583         <kernel-features.h>.
9584         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9585         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9586         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9587         <kernel-features.h>.
9588         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9589         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9590         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9591         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9592         <kernel-features.h>.
9593         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9594         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9595         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9596         <kernel-features.h>.
9597         (linkat) [__NR_linkat]: Make code unconditional.
9598         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9599         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9600         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9601         <kernel-features.h>.
9602         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9603         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9604         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9605         <kernel-features.h>.
9606         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9607         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9608         * sysdeps/unix/sysv/linux/openat.c: Do not include
9609         <kernel-features.h>.
9610         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9611         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9612         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9613         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9614         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9615         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9616         <kernel-features.h>.
9617         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9618         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9619         result of INLINE_SYSCALL directly, not via int variable.
9620         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9621         <kernel-features.h>.
9622         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9623         (renameat) [__NR_renameat]: Make code unconditional.
9624         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9625         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9626         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9627         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9628         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9629         (__ASSUME_ATFCTS): Do not undefine and redefine.
9630         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9631         <kernel-features.h>.
9632         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9633         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9634         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9635         <kernel-features.h>.
9636         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9637         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9638         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9639         (__ASSUME_ATFCTS): Do not undefine and redefine.
9640         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9641         <kernel-features.h>.
9642         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9643         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9644         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9645         <kernel-features.h>.
9646         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9647         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9648
9649 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9650
9651         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9652
9653 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9654
9655         [BZ #17069]
9656         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9657         constructed tree before returning error.
9658         * posix/bug-regexp36.c: Expand test case.
9659
9660 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9661
9662         [BZ #6803]
9663         * math/libm-test.inc (scalbln_test_date):
9664         Add errno expectations.
9665         * math/w_scalblnf.c: New File.
9666         Add wrapper which checks for setting errno to ERANGE.
9667         Add weak_alias for corresponding scalbln function.
9668         * math/w_scalbln.c: Likewise.
9669         * math/w_scalblnl.c: Likewise.
9670         * math/Makefile (libm-calls): Add w_scalbln.
9671         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9672         Remove weak_alias for corresponding scalbln function.
9673         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9674         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9675         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9677         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9678         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9679         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9680         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9681         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9682         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9683         Remove long_double_symbol for scalblnl function in libm, libc.
9684         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9685         Add wrapper which checks for setting errno to ERANGE.
9686         Add long_double_symbol for scalblnl function in libm, libc.
9687         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9688         Remove long_double_symbol for scalblnl in libm.
9689         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9690         Add wrapper which checks for setting errno to ERANGE.
9691         Add long_double_symbol for scalblnl function in libm.
9692         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9693         Do not use wrapper because of own implementation.
9694
9695 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9696
9697         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9698         3 bytes for __pad1 for x32.
9699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9700
9701 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9702             H.J. Lu  <hongjiu.lu@intel.com>
9703
9704         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9705         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9706         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9707         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9708         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9709
9710 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9711
9712         [BZ #17069]
9713         * posix/regcomp.c (parse_expression): Deallocate partially
9714         constructed tree before returning error.
9715         * posix/Makefile.c (tests): Add bug-regex36.
9716         (generated): Add bug-regex36.mtrace.
9717         (tests-special): Add $(objpfx)bug-regex36-mem.out
9718         (bug-regex36-ENV): New variable.
9719         ($(objpfx)bug-regex36-mem.out): New rule.
9720         * posix/bug-regex36.c: New file.
9721
9722 2014-06-19  Will Newton  <will.newton@linaro.org>
9723
9724         * malloc/malloc.c (systrim): If extra is zero then return
9725         early.
9726
9727 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9728
9729         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9730
9731 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9732
9733         * sysdeps/aarch64/strchr.S: New file.
9734
9735 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9736
9737         [BZ #17022]
9738         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9739         from arguments -2 or below.
9740         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9741         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9742
9743 2014-06-18  Andreas Schwab  <schwab@suse.de>
9744
9745         [BZ #17062]
9746         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9747         of a bracket expr not to run off the end of the string.
9748         * posix/Makefile (tests): Add tst-fnmatch3.
9749         * posix/tst-fnmatch3.c: New file.
9750
9751 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9752
9753         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9754         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9755         [$(cross-compiling) = no]: Likewise.
9756         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9757         [$(cross-compiling) = no]: Likewise.
9758
9759 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9760
9761         [BZ #17031]
9762         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9763         double, adjusted for any remainder from the high double.
9764         * math/libm-test.inc (nearbyint): Add tests.
9765         (rint): Likewise.
9766
9767 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9768
9769         * nptl/sysdeps/powerpc/Makefile: Moved ...
9770         * sysdeps/powerpc/nptl/Makefile: ... here.
9771         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9772         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9773         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9774         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9775         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9776         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9777         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9778         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9779         * nptl/sysdeps/powerpc/tls.h: Moved ...
9780         * sysdeps/powerpc/nptl/tls.h: ... here.
9781
9782 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9783
9784         [BZ #16681]
9785         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9786         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9787         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9788         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9789         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9790         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9791         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9792         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9793         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9794
9795 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9796
9797         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9798
9799 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9800
9801         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9802         defined operator.
9803
9804         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9805         $TIMEOUTFACTOR.
9806
9807 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9808
9809         [BZ #17058]
9810         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9811         non-executed part of the test.
9812
9813 2014-06-16  Andreas Schwab  <schwab@suse.de>
9814
9815         * string/bits/string2.h (strdup, strndup): Update feature guard.
9816
9817 2014-06-14  David S. Miller  <davem@davemloft.net>
9818
9819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9820
9821 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9822
9823         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9824         that was previously under [RESET_PID].
9825         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9826
9827         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9828         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9829         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9830         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9831         (__libc_vfork): New strong alias.
9832         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9833
9834 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9835
9836         * sysdeps/generic/elide.h: New file.
9837
9838 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9839
9840         * Makefile (installed-headers): Adjust path of pthread.h header.
9841
9842 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9843
9844         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9845         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9846         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9847         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9848
9849         * nptl/sysdeps/s390/Makefile: Moved ...
9850         * sysdeps/s390/nptl/Makefile: ... here.
9851         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9852         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9853         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9854         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9855         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9856         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9857         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9858         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9859         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9860         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9861         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9862         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9863         * nptl/sysdeps/s390/tls.h: Moved ...
9864         * sysdeps/s390/nptl/tls.h: ... here.
9865
9866         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9867         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9868
9869 2014-06-13  David S. Miller  <davem@davemloft.net>
9870
9871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9874         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9879         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9880         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9881         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9882         Remove RESET_PID cpp guards.
9883         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9884         Remove RESET_PID cpp guards.
9885         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9886
9887 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9888
9889         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9890         __sp to uintptr_t.
9891
9892 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9893
9894         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9895         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9898         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9899         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9901         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9905         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9906         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9908         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9910         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9914
9915         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9916         (pthread_rwlock_rdlock): Add elision.
9917         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9918         (pthread_rwlock_wrlock): Add elision.
9919         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9920         (pthread_rwlock_trywrlock): Add elision.
9921         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9922         (pthread_rwlock_tryrdlock): Add elision.
9923         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9924         (pthread_rwlock_tryrdlock): Add elision unlock.
9925         * nptl/sysdeps/pthread/pthread.h:
9926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9927         (PTHREAD_RWLOCK_INITIALIZER,
9928         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9929         Handle new elision field.
9930         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9931         * sysdeps/arm/nptl/bits/pthreadtypes.h
9932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9933         * sysdeps/sh/nptl/bits/pthreadtypes.h
9934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9935         * sysdeps/tile/nptl/bits/pthreadtypes.h
9936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9937         * sysdeps/a/nptl/bits/pthreadtypes.h
9938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9939         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9940         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9941         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9943         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9945         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9947         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9949         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9951         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9953         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9955         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9956         (elision_init): Set try_xbegin to zero when no RTM.
9957         * sysdeps/x86/nptl/bits/pthreadtypes.h
9958         (pthread_rwlock_t): Change __pad1 to __rwelision.
9959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9960
9961 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9962
9963         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9964         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9965         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9966         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9967
9968 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9969
9970         [BZ #16996]
9971         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9972         that the cached result has been set before returning it.
9973
9974 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9975
9976         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9977         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9978         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9979         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9980         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9981         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9982
9983         * nptl/sysdeps/sparc/Makefile: Moved ...
9984         * sysdeps/sparc/nptl/Makefile: ... here.
9985         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9986         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9987         * nptl/sysdeps/sparc/tls.h: Moved ...
9988         * sysdeps/sparc/nptl/tls.h: ... here.
9989         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9990         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9991         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9992         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9993         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9994         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9995         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9996         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9997         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9998         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9999         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10000         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10001         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10002         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10003         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10004         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10005         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10006         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10007         Update #include.
10008         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10010         Update #include.
10011         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10013         Update #include.
10014         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10015         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10016         Update #include.
10017
10018         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10019
10020         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10021         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10022
10023         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10024         (struct list_links): Type removed.
10025         (struct thread_node, struct timer_node): Replace struct list_links
10026         with struct list_head.
10027         (list_unlink_ip): Likewise.
10028         * sysdeps/pthread/timer_routines.c
10029         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10030         (list_append, list_insbefore): Likewise.
10031         (list_init): Function removed.
10032         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10033         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10034         * sysdeps/pthread/Makefile: ... here, new file.
10035
10036         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10037         * sysdeps/nptl/Implies: ... here.
10038         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10039         * nptl/sysdeps/pthread/list.h: Moved ...
10040         * include/list.h: ... here.
10041         * nptl/sysdeps/pthread/createthread.c: Moved ...
10042         * nptl/createthread.c: ... here.
10043         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10044         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10045         * nptl/pt-longjmp.c: ... here.
10046         * nptl/sysdeps/pthread/Makefile: Moved ...
10047         * sysdeps/nptl/Makefile: ... here.
10048         * nptl/sysdeps/pthread/Subdirs: Moved ...
10049         * sysdeps/nptl/Subdirs: ... here.
10050         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10051         * sysdeps/nptl/aio_misc.h: ... here.
10052         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10053         * sysdeps/nptl/bits/libc-lock.h: ... here.
10054         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10055         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10056         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10057         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10058         * nptl/sysdeps/pthread/configure: Moved ...
10059         * sysdeps/nptl/configure: ... here.
10060         * nptl/sysdeps/pthread/configure.ac: Moved ...
10061         * sysdeps/nptl/configure.ac: ... here.
10062         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10063         * sysdeps/nptl/gai_misc.h: ... here.
10064         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10065         * sysdeps/nptl/librt-cancellation.c: ... here.
10066         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10067         * sysdeps/nptl/malloc-machine.h: ... here.
10068         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10069         * sysdeps/nptl/pthread-functions.h: ... here.
10070         * nptl/sysdeps/pthread/pthread.h: Moved ...
10071         * sysdeps/nptl/pthread.h: ... here.
10072         * nptl/sysdeps/pthread/setxid.h: Moved ...
10073         * sysdeps/nptl/setxid.h: ... here.
10074         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10075         * sysdeps/nptl/sigfillset.c: ... here.
10076         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10077         * sysdeps/nptl/tcb-offsets.h: ... here.
10078         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10079         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10080         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10081         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10082         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10083         * sysdeps/pthread/allocalim.h: ... here.
10084         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10085         * sysdeps/pthread/bits/sigthread.h: ... here.
10086         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10087         * sysdeps/pthread/flockfile.c: ... here.
10088         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10089         * sysdeps/pthread/ftrylockfile.c: ... here.
10090         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10091         * sysdeps/pthread/funlockfile.c: ... here.
10092         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10093         * sysdeps/pthread/posix-timer.h: ... here.
10094         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10095         * sysdeps/pthread/timer_create.c: ... here.
10096         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10097         * sysdeps/pthread/timer_delete.c: ... here.
10098         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10099         * sysdeps/pthread/timer_getoverr.c: ... here.
10100         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10101         * sysdeps/pthread/timer_gettime.c: ... here.
10102         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10103         * sysdeps/pthread/timer_routines.c: ... here.
10104         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10105         * sysdeps/pthread/timer_settime.c: ... here.
10106         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10107         * sysdeps/pthread/tst-timer.c: ... here.
10108         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10109         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10110
10111         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10112         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10113
10114         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10115         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10116         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10117         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10118         Update #include target.
10119         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10120         * sysdeps/i386/i686/nptl/Makefile: ... here.
10121         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10122         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10123         Update #include target.
10124         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10125         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10126         * nptl/sysdeps/i386/Makefile: Moved ...
10127         * sysdeps/i386/nptl/Makefile: ... here.
10128         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10129         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10130         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10131         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10132         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10133         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10134         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10135         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10136         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10137         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10138         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10139         * nptl/sysdeps/i386/tls.h: Moved ...
10140         * sysdeps/i386/nptl/tls.h: ... here.
10141
10142         * sysdeps/sh/Makefile [$(subdir) = csu]
10143         (gen-as-const-headers): Add tcb-offsets.sym.
10144         * nptl/sysdeps/sh/Makefile: File removed.
10145         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10146         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10147         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10148         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10149         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10150         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10151         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10152         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10153         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10154         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10155         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10156         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10157         * nptl/sysdeps/sh/tls.h: Moved ...
10158         * sysdeps/sh/nptl/tls.h: ... here.
10159         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10160         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10161         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10162         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10163         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10164         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10166         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10167         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10168         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10169         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10170         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10171         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10172         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10173         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10174         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10176         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10178         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10180         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10181         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10182         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10183         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10184         Moved ...
10185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10187         Moved ...
10188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10190         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10192         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10193         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10194         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10195         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10196         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10197         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10198         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10199         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10200         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10201         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10202         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10203         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10204         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10205         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10206         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10207
10208 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10209
10210         * posix/spawn_faction_addopen.c: Include string.h.
10211
10212 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10213
10214         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10215         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10216         * nptl/sysdeps/x86_64/Makefile: Moved ...
10217         * sysdeps/x86_64/nptl/Makefile: ... here.
10218         * nptl/sysdeps/x86_64/configure: Moved ...
10219         * sysdeps/x86_64/nptl/configure: ... here.
10220         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10221         * sysdeps/x86_64/nptl/configure.ac: ... here.
10222         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10223         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10224         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10225         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10226         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10227         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10228         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10229         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10230         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10231         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10232         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10233         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10234         * nptl/sysdeps/x86_64/tls.h: Moved ...
10235         * sysdeps/x86_64/nptl/tls.h: ... here.
10236         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10237         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10238         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10239         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10240
10241         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10242
10243 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10244
10245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10246
10247 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10248
10249         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10250         type.
10251         [POSIX] (off_t): Likewise.
10252         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10253         [POSIX] (S_ISBLK): Require macro.
10254         [POSIX] (S_ISCHR): Likewise.
10255         [POSIX] (S_ISDIR): Likewise.
10256         [POSIX] (S_ISFIFO): Likewise.
10257         [POSIX] (S_ISREG): Likewise.
10258         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10259         optional-macro.
10260         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10261         type.
10262         [POSIX] (time_t): Likewise.
10263         [POSIX] (timer_t): Likewise.
10264
10265 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10266
10267         [BZ #17048]
10268         * posix/spawn_int.h (struct __spawn_action): Make the path string
10269         non-const to support deallocation.
10270         * posix/spawn_faction_addopen.c
10271         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10272         * posix/spawn_faction_destroy.c
10273         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10274         path in all spawn_do_open actions.
10275         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10276         posix_spawn_file_actions_addopen.
10277
10278 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10279
10280         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10281         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10282         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10283         conditional code always true.
10284         (__libc_vfork): New alias.
10285
10286 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10287
10288         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10289         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10290
10291         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10292
10293         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10294         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10295
10296         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10297         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10298
10299         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10300         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10301
10302 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10303
10304         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10305         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10306         multiarch strcmp for PPC64.
10307         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10308         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10310         multiarch optimizations.
10311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10312         (__libc_ifunc_impl_list): Likewise.
10313
10314 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10315
10316         * benchtests/scripts/validate_benchout.py: New script.
10317         * benchtests/Makefile (bench-func): Call it.
10318         * benchtests/scripts/benchout.schema.json: New file.
10319
10320 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10321
10322         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10323         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10324         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10325         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10326         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10327         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10328         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10329         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10330         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10331         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10332         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10333         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10334         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10335         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10336         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10337         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10339         Moved ...
10340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10341         ... here.
10342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10343         Moved ...
10344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10346         Moved ...
10347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10348         ... here.
10349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10350         Moved ...
10351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10352         ... here.
10353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10354         Moved ...
10355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10357         Moved ...
10358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10359         ... here.
10360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10361         Moved ...
10362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10363         ... here.
10364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10365         Moved ...
10366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10368         Moved ...
10369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10370         ... here.
10371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10372         Moved ...
10373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10374         ... here.
10375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10376         Moved ...
10377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10378         ... here.
10379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10380         Moved ...
10381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10383         Moved ...
10384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10385         ... here.
10386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10387         Moved ...
10388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10389         ... here.
10390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10391         Moved ...
10392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10393         ... here.
10394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10395         Moved ...
10396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10398         Moved ...
10399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10400         ... here.
10401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10402         Moved ...
10403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10404         ... here.
10405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10406         Moved ...
10407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10409         Moved ...
10410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10411         ... here.
10412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10413         Moved ...
10414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10416         Moved ...
10417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10419         Moved ...
10420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10421         ... here.
10422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10423         Moved ...
10424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10425         ... here.
10426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10427         Moved ...
10428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10429         ... here.
10430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10431         Moved ...
10432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10434         Moved ...
10435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10436         ... here.
10437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10438         Moved ...
10439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10440         ... here.
10441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10442         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10444         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10446         Moved ...
10447         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10448         ... here.
10449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10450         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10452         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10454         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10456         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10458         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10459         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10460         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10462         Moved ...
10463         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10465         Moved ...
10466         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10468         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10470         Moved ...
10471         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10473         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10474         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10475         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10476         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10477         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10478
10479 2014-06-10  Wilco  <wdijkstr@arm.com>
10480
10481         * math/test-fenv-return.c: New file.
10482         * math/Makefile: Add new test test-fenv-return.
10483
10484 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10485
10486         [BZ #17042]
10487         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10488         when x - 1 is zero.
10489         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10490         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10491         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10492         0.0L for an argument of 1.0L.
10493         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10494         Likewise.
10495         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10496         value when x - 1 is zero.
10497         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10498         * sysdeps/i386/fpu/libm-test-ulps: Update.
10499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10500
10501 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10502
10503         [BZ #15119]
10504         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10505
10506 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10507
10508         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10509         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10510
10511 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10512
10513         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10514         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10515
10516         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10517         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10518
10519         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10520         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10521
10522         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10523         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10524
10525         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10526         if not already defined.
10527         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10528         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10529         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10530         (TLS_INIT_TP): Use it.
10531         (TLS_DEFINE_INIT_TP): New macro.
10532         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10533
10534 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10535
10536         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10537         constant.
10538         [POSIX] (IXANY): Likewise.
10539         [POSIX] (OLCUC): Likewise.
10540         [POSIX || POSIX2008] (CBAUD): Do not allow.
10541         [POSIX || POSIX2008] (DEFECHO): Likewise.
10542         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10543         [POSIX || POSIX2008] (ECHOKE): Likewise.
10544         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10545         [POSIX || POSIX2008] (EXTA): Likewise.
10546         [POSIX || POSIX2008] (EXTB): Likewise.
10547         [POSIX || POSIX2008] (FLUSHO): Likewise.
10548         [POSIX || POSIX2008] (LOBLK): Likewise.
10549         [POSIX || POSIX2008] (PENDIN): Likewise.
10550         [POSIX || POSIX2008] (SWTCH): Likewise.
10551         [POSIX || POSIX2008] (VDISCARD): Likewise.
10552         [POSIX || POSIX2008] (VDSUSP): Likewise.
10553         [POSIX || POSIX2008] (VLNEXT): Likewise.
10554         [POSIX || POSIX2008] (VREPRINT): Likewise.
10555         [POSIX || POSIX2008] (VSTATUS): Likewise.
10556         [POSIX || POSIX2008] (VWERASE): Likewise.
10557         (B*): Change to B[0123456789]*.
10558         * conform/data/time.h-data [POSIX || UNIX98]
10559         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10560         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10561         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10562         [POSIX] (tm_*): Do not allow.
10563
10564 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10565
10566         * Makefile (install): Don't set LANGUAGE.
10567         * Makefile.in (install): Likewise.
10568         * assert/Makefile (test-assert-ENV): Remove variable.
10569         (test-assert-perr-ENV): Likewise.
10570         * elf/Makefile (neededtest4-ENV): Likewise.
10571         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10572         [$(cross-compiling) = no]: Don't set LANGUAGE.
10573         * io/ftwtest-sh (LANG): Remove variable.
10574         * libio/Makefile (tst-widetext-ENV): Likewise.
10575         * manual/install.texi (Running make install): Don't refer to
10576         environment settings for make install.
10577         * INSTALL: Regenerated.
10578         * nptl/tst-tls6.sh: Don't set LANG.
10579         * posix/globtest.sh (LANG): Remove variable.
10580         * string/Makefile (tester-ENV): Likewise.
10581         (inl-tester-ENV): Likewise.
10582         (noinl-tester-ENV): Likewise.
10583         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10584         [$(cross-compiling) = no]: Don't set LANGUAGE.
10585         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10586         without explicit environment settings.
10587
10588 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10589
10590         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10591         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10592         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10593         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10594
10595 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10596
10597         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10598         other files in the crypt directory.
10599         * crypt/crypt.c: Remove duplicate includes.
10600         * crypt/crypt-entry.c: Likewise.
10601         * crypt/crypt_util.c: Likewise.
10602
10603 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10604
10605         * Makeconfig (run-program-env): New variable.
10606         (run-program-prefix-before-env): Likewise.
10607         (run-program-prefix-after-env): Likewise.
10608         (run-program-prefix): Define in terms of new variables.
10609         (built-program-cmd-before-env): New variable.
10610         (built-program-cmd-after-env): Likewise.
10611         (built-program-cmd): Define in terms of new variables.
10612         (test-program-prefix-before-env): New variable.
10613         (test-program-prefix-after-env): Likewise.
10614         (test-program-prefix): Define in terms of new variables.
10615         (test-program-cmd-before-env): New variable.
10616         (test-program-cmd-after-env): Likewise.
10617         (test-program-cmd): Define in terms of new variables.
10618         * Rules (make-test-out): Use $(run-program-env).
10619         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10620         (help): Do not mention environment variables.  Mention
10621         --timeoutfactor option.
10622         (timeoutfactor): New variable.
10623         (blacklist_exports): Remove function.
10624         (exports): Remove variable.
10625         (command): Do not include ${exports}.
10626         * manual/install.texi (Configuring and compiling): Do not mention
10627         test wrappers preserving environment variables.  Mention that last
10628         assignment to a variable must take precedence.
10629         * INSTALL: Regenerated.
10630         * benchtests/Makefile (run-bench): Use $(run-program-env).
10631         * catgets/Makefile ($(objpfx)test1.cat): Use
10632         $(built-program-cmd-before-env), $(run-program-env) and
10633         $(built-program-cmd-after-env).
10634         ($(objpfx)test2.cat): Do not specify environment variables
10635         explicitly.
10636         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10637         $(run-program-env) and $(built-program-cmd-after-env).
10638         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10639         $(run-program-env) and $(test-program-cmd-after-env).
10640         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10641         explicitly.
10642         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10643         run_program_env and test_program_cmd_after_env arguments.
10644         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10645         * elf/tst-pathopt.sh: Use run_program_env argument.
10646         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10647         $(test-wrapper-env) and $(run-program-env).
10648         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10649         run_program_env arguments.
10650         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10651         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10652         $(test-program-prefix-before-env), $(run-program-env) and
10653         $(test-program-prefix-after-env).
10654         ($(objpfx)tst-gettext2.out): Likewise.
10655         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10656         run_program_env and test_program_prefix_after_env arguments.
10657         * intl/tst-gettext2.sh: Likewise.
10658         * intl/tst-gettext4.sh: Do not set environment variables
10659         explicitly.
10660         * intl/tst-gettext6.sh: Likewise.
10661         * intl/tst-translit.sh: Likewise.
10662         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10663         $(test-program-prefix-before-env), $(run-program-env) and
10664         $(test-program-prefix-after-env).
10665         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10666         run_program_env and test_program_prefix_after_env arguments.
10667         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10668         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10669         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10670         explicitly with each use of ${test_wrapper_env}.
10671         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10672         $(test-program-prefix-before-env), $(run-program-env) and
10673         $(test-program-prefix-after-env).
10674         * posix/tst-getconf.sh: Do not set environment variables
10675         explicitly.
10676         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10677         run_program_env and test_program_prefix_after_env arguments.
10678         * stdio-common/tst-printf.sh: Do not set environment variables
10679         explicitly.
10680         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10681         $(test-program-prefix-before-env), $(run-program-env) and
10682         $(test-program-prefix-after-env).
10683         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10684         run_program_env and test_program_prefix_after_env arguments.
10685         Split $test calls into $test_pre and $test.
10686         * timezone/Makefile (build-testdata): Use
10687         $(built-program-cmd-before-env), $(run-program-env) and
10688         $(built-program-cmd-after-env).
10689
10690 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10691
10692         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10693         strlen for non SHARED builds.
10694
10695 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10696
10697         * nptl/allocatestack.c (check_list): Inlined function...
10698         (__reclaim_stacks): ... here.
10699
10700 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10701
10702         [BZ #15698]
10703         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10704         memory overrun.
10705
10706 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10707
10708         * Rules (make-test-out): Include
10709         LOCPATH=$(common-objpfx)localedata in default environment.
10710         * debug/Makefile (tst-chk1-ENV): Remove variable.
10711         (tst-chk2-ENV): Likewise.
10712         (tst-chk3-ENV): Likewise.
10713         (tst-chk4-ENV): Likewise.
10714         (tst-chk5-ENV): Likewise.
10715         (tst-chk6-ENV): Likewise.
10716         (tst-lfschk1-ENV): Likewise.
10717         (tst-lfschk2-ENV): Likewise.
10718         (tst-lfschk3-ENV): Likewise.
10719         (tst-lfschk4-ENV): Likewise.
10720         (tst-lfschk5-ENV): Likewise.
10721         (tst-lfschk6-ENV): Likewise.
10722         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10723         (tst-iconv7-ENV): Likewise.
10724         * intl/Makefile (LOCPATH-ENV): Likewise.
10725         (tst-codeset-ENV): Likewise.
10726         (tst-gettext3-ENV): Likewise.
10727         (tst-gettext5-ENV): Likewise.
10728         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10729         (tst-fopenloc-ENV): Likewise.
10730         (tst-fgetws-ENV): Remove variable.
10731         (tst-ungetwc1-ENV): Likewise.
10732         (tst-ungetwc2-ENV): Likewise.
10733         (bug-ungetwc2-ENV): Likewise.
10734         (tst-swscanf-ENV): Likewise.
10735         (bug-ftell-ENV): Likewise.
10736         (tst-fgetwc-ENV): Likewise.
10737         (tst-fseek-ENV): Likewise.
10738         (tst-ftell-partial-wide-ENV): Likewise.
10739         (tst-ftell-active-handler-ENV): Likewise.
10740         (tst-ftell-append-ENV): Likewise.
10741         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10742         (tst-regexloc-ENV): Likewise.
10743         (bug-regex1-ENV): Likewise.
10744         (tst-regex-ENV): Likewise.
10745         (tst-regex2-ENV): Likewise.
10746         (bug-regex5-ENV): Likewise.
10747         (bug-regex6-ENV): Likewise.
10748         (bug-regex17-ENV): Likewise.
10749         (bug-regex18-ENV): Likewise.
10750         (bug-regex19-ENV): Likewise.
10751         (bug-regex20-ENV): Likewise.
10752         (bug-regex22-ENV): Likewise.
10753         (bug-regex23-ENV): Likewise.
10754         (bug-regex25-ENV): Likewise.
10755         (bug-regex26-ENV): Likewise.
10756         (bug-regex30-ENV): Likewise.
10757         (bug-regex32-ENV): Likewise.
10758         (bug-regex33-ENV): Likewise.
10759         (bug-regex34-ENV): Likewise.
10760         (bug-regex35-ENV): Likewise.
10761         (tst-rxspencer-ENV): Likewise.
10762         (tst-rxspencer-no-utf8-ENV): Likewise.
10763         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10764         (tst-sscanf-ENV): Likewise.
10765         (tst-swprintf-ENV): Likewise.
10766         (tst-swscanf-ENV): Likewise.
10767         (test-vfprintf-ENV): Likewise.
10768         (scanf13-ENV): Likewise.
10769         (bug14-ENV): Likewise.
10770         (tst-grouping-ENV): Likewise.
10771         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10772         (tst-strtod3-ENV): Likewise.
10773         (tst-strtod4-ENV): Likewise.
10774         (tst-strtod5-ENV): Likewise.
10775         (testmb2-ENV): Likewise./
10776         * string/Makefile (tst-strxfrm-ENV): Likewise.
10777         (tst-strxfrm2-ENV): Likewise.
10778         (bug-strcoll1-ENV): Likewise.
10779         (test-strcasecmp-ENV): Likewise.
10780         (test-strncasecmp-ENV): Likewise.
10781         * time/Makefile (tst-strptime-ENV): Likewise.
10782         (tst-ftime_l-ENV): Likewise.
10783         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10784         (tst-mbrtowc-ENV): Likewise.
10785         (tst-wcrtomb-ENV): Likewise.
10786         (tst-mbrtowc2-ENV): Likewise.
10787         (tst-c16c32-1-ENV): Likewise.
10788         (tst-mbsnrtowcs-ENV): Likewise.
10789
10790 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10791
10792         * manual/resource.texi (How to get information about the memory
10793         subsystem?): Fix typo.
10794         Reported by Peon de la Parra Ivan <peon@keba.com>
10795
10796 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10797
10798         [BZ #16882]
10799         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10800         (pthread_spin_lock): Branch out of spin loop to proper location.
10801         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10802         (pthread_spin_lock): Likewise.
10803
10804         * nptl/tst-spin4.c: New test.
10805         * nptl/Makefile (tests): Add tst-spin4.
10806
10807 2014-06-03  Andreas Schwab  <schwab@suse.de>
10808
10809         [BZ #15946]
10810         * resolv/res_send.c (send_dg): Reload file descriptor after
10811         calling reopen.
10812
10813 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10814
10815         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10816
10817 2014-06-03  Richard Henderson  <rth@redhat.com>
10818
10819         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10820         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10821         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10822         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10823         in the SAVE_PID block.
10824         (__libc_vfork): New alias.
10825         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10826
10827         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10828         child in registers, not on the stack.  Remove RESET_PID conditionals.
10829         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10830
10831 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10832
10833         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10834
10835 2014-06-03  Wilco  <wdijkstr@arm.com>
10836
10837         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10838         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10839         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10840         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10841         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10842         Likewise.
10843
10844 2014-06-03  Wilco  <wdijkstr@arm.com>
10845
10846         * sysdeps/aarch64/fpu/math_private.h
10847         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10848         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10849         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10850         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10851         Fix declarations.
10852
10853 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10854
10855         * crypt/crypt-private.h: Include ufc-crypt.h.
10856         (__b64_from_24bit): Declare extern.
10857         * crypt/crypt_util.c(__b64_from_24bit): New function.
10858         (b64t): New static const variable.
10859         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10860         (b64t): Remove variable.
10861         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10862         * crypt/sha256-crypt.c: Include crypt-private.h.
10863         (b64t): Remove variable.
10864         (__sha256_crypt_r): Remove b64_from_24bit and replace
10865         with __b64_from_24bit.
10866         * crypt/sha512-crypt.c: Likewise.
10867
10868 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10869
10870         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10871         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10872         Label the code __libc_vfork rather than __vfork.
10873         [!NOT_IN_libc] (vfork): Define as weak alias.
10874         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10875         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10876         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10877
10878 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10879
10880         * malloc/malloc.c (malloc_info): Fix format specifier for
10881         n_mmaps.
10882
10883 2014-06-02  Wilco  <wdijkstr@arm.com>
10884
10885         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10886         FPCR write.
10887
10888 2014-06-02  Wilco  <wdijkstr@arm.com>
10889
10890         [BZ #17009]
10891         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10892         Rewrite to reduce FPCR/FPSR accesses.
10893
10894 2014-06-01  David S. Miller  <davem@davemloft.net>
10895
10896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10897
10898 2014-05-31  David S. Miller  <davem@davemloft.net>
10899
10900         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10901         to occur in round to nearest mode when |x| >= 2.0
10902
10903 2014-05-30  Richard Henderson  <rth@twiddle.net>
10904
10905         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10906         (PSEUDO_RET_NOERRNO): Remove.
10907         (ret): Don't redefine.
10908         (ret_NOERRNO): Define in terms of ret.
10909         (ret_ERRVAL): Likewise.
10910
10911         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10912         use of PSEUDO_RET; perform the error check directly.
10913
10914 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10915
10916         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10917         with __int128_t.
10918
10919 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10920
10921         * malloc/malloc (malloc_info): Fix formatting.
10922
10923 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10924             Roland McGrath  <roland@hack.frob.com>
10925
10926         * malloc/malloc (malloc_info): Also print mmapped statistics.
10927
10928 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10929
10930         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10931         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10932
10933 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10934
10935         * malloc/malloc.c (malloc_info): Inline mi_arena.
10936
10937 2014-05-29  Richard Henderson  <rth@twiddle.net>
10938
10939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10940         Remove comma before expanding ASM_ARGS_##nr.
10941         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10942         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10943         of ASM_ARGS_##nr.
10944         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10945         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10946         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10947         (ASM_ARGS_1): Add leading comma.
10948
10949         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10950         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10951         to __errno_location.
10952         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10953         Remove the expected plt for __errno_location.
10954
10955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10956         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10957         call to __read_tp.
10958
10959         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10960         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10961         it and break it down.
10962         (DOCARGS_0, DOCARGS_1): Do nothing.
10963         (DOCARGS_2): Update to store into the new stack frame.
10964         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10965         (UNDOCARGS_1): Update to restore from the new stack frame.
10966         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10967         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10968
10969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10970         (SINGLE_THREAD_P): New parameter for result regno.
10971         (PSEUDO): Update to match; use cbz instead of beq.
10972
10973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10974         Use ENTRY to define the _nocancel entry point.  Share the syscall
10975         and syscall error check paths with the cancel path.
10976         (PSEUDO_END): New.
10977
10978         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10979         whitespace; tabs before and after asm mnemonics.
10980
10981 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10982
10983         [BZ #15132]
10984         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10985         Call fstat64 or stat64 internally, depending on arguments passed.
10986         Replace stat buffer argument with file descriptor argument.
10987         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10988         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10989         Pass fd to __internal_statvfs instead of calling fstat64.
10990         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10991         Pass fd to __internal_statvfs64 instead of calling fstat64.
10992         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10993         Pass -1 to __internal_statvfs instead of calling stat64.
10994         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10995         Pass -1 to __internal_statvfs64 instead of calling stat64.
10996
10997 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10998
10999         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11000         that was previously under [RESET_PID].
11001         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11002
11003         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11004         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11005
11006 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11007
11008         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11009
11010         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11011         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11012
11013 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11014
11015         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11016
11017 2014-05-27  Andreas Schwab  <schwab@suse.de>
11018
11019         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11020         TLS_INIT_TP macro.
11021         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11022         * elf/rtld.c (init_tls, dl_main): Likewise.
11023         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11024         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11025         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11026         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11027         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11028         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11029         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11030         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11031         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11032         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11033         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11034         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11035         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11036         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11037         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11038         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11039         * sysdeps/generic/tls.h: Update description.
11040
11041 2014-05-27  Will Newton  <will.newton@linaro.org>
11042
11043         [BZ #16990]
11044         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11045         and restore r2 rather than just restoring.
11046
11047 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11048
11049         [BZ #16724]
11050         * libio/tst-ftell-append.c: New test case.
11051         * libio/Makefile (tests): Add test case.
11052         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11053         append mode.
11054         * libio/wfileops.c (do_ftell_wide): Likewise.
11055
11056 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11057
11058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11059
11060         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11061         ...
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11064         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11065         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11066         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11067         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11068         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11069         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11071         Moved ...
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11074         Moved ...
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11076         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11077         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11078         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11079         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11080         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11081         ...
11082         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11083         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11084         Moved ...
11085         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11086         here.
11087         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11088         ...
11089         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11090         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11091         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11092
11093         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11094         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11095         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11096         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11097
11098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11099         merge into ...
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11102         ...
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11105         ...
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11108         Moved ...
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11110         here.
11111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11112         Moved ...
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11115         Moved ...
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11117
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11119         conditional [RESET_PID].
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11122         removed.
11123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11124         removed.
11125
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11127         <tcb-offsets.h>.
11128         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11129         (__libc_vfork): New strong alias.
11130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11131         removed.
11132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11133         Removed.
11134
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11136         <tcb-offsets.h>.
11137         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11138         (__libc_vfork): New strong alias.
11139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11140         removed.
11141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11142         removed.
11143
11144 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11145
11146         * malloc/malloc.c (mi_arena): New function.
11147         (malloc_info): Remove nested function mi_arena. Call non-nosted
11148         function mi_arena.
11149
11150 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11151
11152         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11153         by insrwi.
11154         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11155         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11156         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11157         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11158         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11159         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11160         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11161
11162 2014-05-26  Andreas Schwab  <schwab@suse.de>
11163
11164         [BZ #16984]
11165         * locale/programs/repertoire.c (repertoire_read): Add slash
11166         between I18NPATH element and file name.
11167         * locale/programs/locfile.c (locfile_read): Likewise.
11168
11169 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11170
11171         * nptl/pthread_mutexattr_settype.c
11172         (__pthread_mutexattr_settype):
11173         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11174
11175 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11176
11177         * nptl/tst-mutex5 (do_test):
11178         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11179
11180 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11181
11182         * benchtests/README: Document 'init' directive.
11183         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11184         BENCH_INIT.
11185         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11186         (parse_file): Recognize 'init' directive.
11187
11188 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11189
11190         [BZ #16796]
11191         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11192         alignment of struct pthread.
11193
11194 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11195
11196         [BZ #16878]
11197         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11198         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11199         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11200         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11201
11202 2014-05-25  Richard Henderson  <rth@twiddle.net>
11203
11204         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11205         (SINGLE_THREAD_P_PIC): Remove.
11206         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11207         (SINGLE_THREAD_P_PIC): Remove.
11208
11209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11210         branch to syscall error ...
11211         (PSEUDO): ... here.
11212         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11213         from __local_syscall_error to .Lsyscall_error.
11214         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11215         (SYSCALL_ERROR): Update label name.
11216
11217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11218         Do not use DOARGS/UNDOARGS.
11219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11220         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11221         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11222         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11223         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11224
11225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11226         block comment.
11227
11228         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11229         define if !NOT_IN_libc.
11230         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11231         define with non-default symbol versions.
11232
11233 2014-05-23  Richard Henderson  <rth@twiddle.net>
11234
11235         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11236         (vfork, __vfork): Define via compat_symbol.
11237
11238         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11239         [!HAVE_IFUNC] (vfork_compat): Remove.
11240         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11241
11242 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11243
11244         [BZ #16978]
11245         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11246         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11247         variable.
11248
11249 2014-05-23  Richard Henderson  <rth@twiddle.net>
11250
11251         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11252         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11253         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11254         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11255
11256         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11257         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11258         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11259         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11260         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11261         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11262         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11263         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11264         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11265         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11266         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11267         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11268         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11272         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11273         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11274         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11275         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11276         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11277         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11281         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11282         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11283         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11284         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11285         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11286         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11287         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11288         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11289         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11290         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11291         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11292         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11293         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11294         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11295         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11296         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11297         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11298         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11299         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11300         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11301         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11302         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11303         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11304         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11305         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11306         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11307         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11308         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11309         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11310         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11311         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11312
11313         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11314         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11315         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11316         before exiting on error.
11317         (__libc_vfork): New strong alias.
11318         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11319         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11320
11321         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11322         that was previously under [RESET_PID].
11323         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11324
11325         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11326
11327 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11328
11329         [BZ #16977]
11330         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11331         value when x - 1 is zero.
11332         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11333         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11334         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11335         0.0L for an argument of 1.0L.
11336         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11337         Likewise.
11338         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11339         value when x - 1 is zero.
11340         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11341         * sysdeps/i386/fpu/libm-test-ulps: Update.
11342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343
11344 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11345
11346         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11347         alphasort and versionsort.
11348
11349 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11350
11351         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11352         macro.
11353         [copysignf]: Likewise.
11354
11355 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11356
11357         * crypt/md5-crypt.c: Fix formatting.
11358
11359 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11360
11361         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11362         (b64_from_24bit): New function.
11363
11364 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11365
11366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11367         libc_hidden_builtin_def to ifunc.
11368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11369         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11370
11371 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11372
11373         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11374         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11375
11376 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11377
11378         * nscd/Depend (linuxthreads): Remove.
11379         (nptl): Add.
11380         * resolv/Depend (linuxthreads): Remove.
11381         * rt/Depend (linuxthreads): Remove.
11382
11383         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11384         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11385         $(common-objpfx)elf/.
11386         (link-libc-before-gnulib): Likewise.
11387         (elfobjdir): Remove variable.
11388         * Makefile (install): Use $(elf-objpfx) instead of
11389         $(common-objpfx)elf/.
11390         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11391         $(elfobjdir)/.
11392         (link-libc-deps): Likewise.
11393         ($(common-objpfx)libc.so): Likewise.
11394         ($(common-objpfx)linkobj/libc.so): Likewise.
11395         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11396         instead of $(common-objpfx)elf/.
11397         (symbolic-link-list): Likewise.
11398         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11399         [$(cross-compiling) = no]: Likewise.
11400         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11401         $(elfobjdir)/.
11402         (static-gnulib-arch): Likewise.
11403         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11404         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11405         $(common-objpfx)elf/.
11406
11407 2014-05-21  Richard Henderson  <rth@redhat.com>
11408
11409         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11410         (SINGLE_THREAD_P): Use the correct width load.  Fold
11411         into the ldr offset.
11412
11413         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11414         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11415
11416 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11417
11418         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11419         (libgcc_s_resume): Use __attribute_used__.
11420         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11421         Likewise.
11422
11423 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11424
11425         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11426         optimization when used with float constants.
11427
11428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11429
11430 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11431
11432         [BZ #16915]
11433         * locale/nl_langinfo_l.c: Make direct reference to every
11434         _nl_current_CATEGORY symbol.
11435         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11436         (tests-static): Add tst-langinfo-static.
11437         (tests-special): Add tst-langinfo-static.out.
11438         ($(objpfx)tst-langinfo.out): Redirect output.
11439         ($(objpfx)tst-langinfo-static.out): New.
11440         * localedata/tst-langinfo.sh: Send output to stdout.
11441         * localedata/tst-langinfo-static.c: New file.
11442
11443         [BZ #16965]
11444         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11445         when the shift amount is modulo the limb size.
11446
11447 2014-05-20  Richard Henderson  <rth@redhat.com>
11448
11449         [BZ #16967]
11450         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11451         Change type of sa_flags from unsigned int to int.
11452
11453         [BZ #16966]
11454         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11455
11456         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11457
11458 2014-05-20  Will Newton  <will.newton@linaro.org>
11459
11460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11461         Test the return value of the system call in the nocancel case.
11462
11463 2014-05-20  Will Newton  <will.newton@linaro.org>
11464             Yvan Roux  <yvan.roux@linaro.org>
11465
11466         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11467         #include of asm/ptrace.h.
11468         (PTRACE_GET_THREAD_AREA): Remove #undef.
11469         (PTRACE_GETHBPREGS): Likewise.
11470         (PTRACE_SETHBPREGS): Likewise.
11471         (struct user_regs_struct): New structure.
11472         (struct user_fpsimd_struct): New structure.
11473         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11474         #include of asm/ptrace.h and second #include of sys/user.h.
11475         (PTRACE_GET_THREAD_AREA): Remove #undef.
11476         (PTRACE_GETHBPREGS): Likewise.
11477         (PTRACE_SETHBPREGS): Likewise.
11478         (ELF_NGREG): Use new struct user_regs_struct.
11479         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11480
11481 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11482
11483         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11484         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11485
11486 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11487
11488         [BZ #16958]
11489         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11490         membar to avoid block loads/stores to overlap previous stores.
11491
11492 2014-05-17  Richard Henderson  <rth@redhat.com>
11493
11494         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11495         Create the __##syscall_name##_nocancel entry point.
11496         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11497         Remove; let the sysdep-cancel.h code create it.
11498
11499 2014-05-17  David S. Miller  <davem@davemloft.net>
11500
11501         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11502         Protect with __USE_GNU.
11503         (TIOCSET_TEMPT): Likewise.
11504         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11505         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11506         these are already provided in bits/ioctl-types.h
11507
11508 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11509
11510         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11511         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11512
11513         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11514         Use wait4 regardless of [__NR_waitpid].
11515
11516 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11517
11518         PR libgcc/60166
11519         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11520         (_FP_NANSIGN_Q): Set the quiet bit.
11521
11522 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11523
11524         * benchtests/Makefile
11525         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11526         not $(common-objpfx)math/libm.so.
11527         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11528         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11529         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11530         $(common-objpfx)dlfcn/libdl.so.
11531         ($(objpfx)tst-audit8): Depend on $(libm), not
11532         $(common-objpfx)math/libm.so.
11533         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11534         not $(common-objpfx)dlfcn/libdl.so.
11535         * math/Makefile
11536         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11537         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11538         [$(build-shared) = yes].
11539         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11540         $(common-objpfx)nptl/libpthread.so.
11541         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11542         $(common-objpfx)math/libm.so$(libm.so-version) or
11543         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11544         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11545         $(common-objpfx)dlfcn/libdl.so.
11546         * setjmp/Makefile (link-libm): Remove variable.
11547         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11548         * stdio-common/Makefile (link-libm): Remove variable.
11549         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11550         * stdlib/Makefile (link-libm): Remove variable.
11551         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11552         ($(objpfx)tst-strtod-round): Likewise.
11553         ($(objpfx)tst-tininess): Likewise.
11554         ($(objpfx)tst-strtod-underflow): Likewise.
11555         ($(objpfx)tst-strtod6): Likewise.
11556         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11557         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11558         $(common-objpfx)dlfcn/libdl.so.
11559
11560 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11561
11562         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11563         BSD terminal modes definitions.
11564
11565 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11566
11567         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11568         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11569
11570         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11571         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11572         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11573         Don't do #include_next.
11574         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11575         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11576         Don't do #include_next.
11577         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11578         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11579         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11580         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11581
11582 2014-05-16  Allan McRae  <allan@archlinux.org>
11583
11584         * po/sv.po: Update Swedish translation from translation project.
11585
11586         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11587         in sed expression.
11588
11589 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11590
11591         [BZ #16917]
11592         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11593         errno if the TIOCGPTN ioctl fails with an error different than
11594         EINVAL.
11595         * login/tst-ptsname.c: New file.
11596         * login/Makefile (tests): Add tst-ptsname.
11597
11598         [BZ #16943]
11599         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11600         and prlimit64.
11601
11602 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11603
11604         [BZ #16849]
11605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11606         herrno to return EAI_AGAIN.
11607
11608 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11609
11610         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11611         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11612         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11613         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11614         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11615         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11616         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11617         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11619         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11620         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11621         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11622         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11623         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11624         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11625         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11626         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11627         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11628         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11629         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11630         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11631         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11632         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11633         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11634         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11635         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11636         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11637         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11638         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11639         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11641         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11643         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11645         Moved ...
11646         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11648         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11650         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11652         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11654         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11656         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11658         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11660         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11662         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11664         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11666         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11668         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11670         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11672         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11674         Moved ...
11675         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11677         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11679         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11681         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11683         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11685         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11687         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11689         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11691         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11693         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11695         Moved ...
11696         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11698         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11699
11700         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11701         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11702         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11703         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11704         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11705         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11706         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11707         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11708         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11709         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11710         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11711         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11712         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11713         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11714         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11715         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11716         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11717         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11718         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11719         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11720         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11721         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11722         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11723         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11724         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11725         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11726         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11727         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11728         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11729         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11730         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11731
11732         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11733         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11734
11735         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11736         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11737         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11738         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11739         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11740         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11741         Moved ...
11742         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11744         Moved ...
11745         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11746         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11747         Moved ...
11748         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11750         Moved ...
11751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11752         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11753         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11755         Moved ...
11756         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11757         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11758         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11760         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11761         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11762         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11763         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11764         Moved ...
11765         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11767         Moved ...
11768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11769         ... here.
11770         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11771         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11772         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11773         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11775         Moved ...
11776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11777         ... here.
11778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11779         Moved ...
11780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11781         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11782         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11783         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11784         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11785         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11786         Moved ...
11787         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11789         Moved ...
11790         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11791         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11792         Moved ...
11793         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11795         Moved ...
11796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11797         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11798         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11800         Moved ...
11801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11802         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11803         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11805         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11806         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11807         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11808         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11809         Moved ...
11810         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11812         Moved ...
11813         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11814         ... here.
11815         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11816         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11817         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11818         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11820         Moved ...
11821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11822         ... here.
11823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11824         Moved ...
11825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11826         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11827         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11829         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11831         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11832         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11833         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11835         Moved ...
11836         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11838         Moved ...
11839         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11840         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11841         Moved ...
11842         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11844         Moved ...
11845         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11846         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11847         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11848         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11849         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11851         Moved ...
11852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11853         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11854         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11856         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11857         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11858         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11860         Moved ...
11861         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11863         Moved ...
11864         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11865         ... here.
11866         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11867         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11868         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11869         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11870         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11871         Moved ...
11872         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11873         ... here.
11874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11875         Moved ...
11876         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11877         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11878         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11879         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11880         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11881         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11882         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11883         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11884         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11885         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11886         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11887
11888         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11889         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11890
11891         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11892         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11893
11894         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11895         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11896         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11897         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11898         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11899         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11900         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11901         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11902         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11903         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11904         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11905         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11907         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11908         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11910         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11912         Moved ...
11913         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11917         Moved ...
11918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11920         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11922         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11925         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11926         Moved ...
11927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11929         Moved ...
11930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11932         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11934         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11936         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11937         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11938         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11939         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11940         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11941         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11942         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11943         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11944         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11945         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11946         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11947
11948         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11949         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11950         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11951         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11952         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11953
11954         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11955         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11956         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11957         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11958         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11959         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11960         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11961         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11962         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11963         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11964
11965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11967
11968         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11969         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11970         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11971         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11972         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11973         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11974         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11975         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11976         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11977         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11978         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11979         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11980         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11981         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11983         Update #include.
11984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11985         Likewise.
11986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11987         Likewise.
11988         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11989         Likewise.
11990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11991         Likewise.
11992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11993         Likewise.
11994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11995         Likewise.
11996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11997         Likewise.
11998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11999         Likewise.
12000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12001         Likewise.
12002         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12004         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12007         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12008         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12009         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12013         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12015         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12017
12018         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12019         that was previously under [RESET_PID].
12020         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12021         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12022         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12023
12024         * sysdeps/i386/nptl/Implies: New file.
12025         * sysdeps/x86_64/nptl/Implies: New file.
12026         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12027         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12028         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12029         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12030
12031         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12032         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12033         (__libc_vfork): New strong alias.
12034         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12035         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12036
12037         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12038         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12039         (__libc_vfork): New strong alias.
12040         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12041         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12042
12043         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12044         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12045         (__libc_vfork): New strong alias.
12046         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12047         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12048         * nptl/pt-vfork.c: New file.
12049         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12050         (libpthread: GLIBC_2.20): New version set (empty).
12051
12052 2014-05-14  Will Newton  <will.newton@linaro.org>
12053
12054         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12055         rather than #if.
12056
12057 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12058
12059         [BZ #16564]
12060         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12061         arguments with exponent 65 or above.
12062         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12063         arguments 0x1p113L or above.
12064         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12065         to arguments 0x1p107L or above.
12066         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12067         positive arguments with exponent 65 or above.
12068         * math/auto-libm-test-in: Add more tests of log1p.
12069         * math/auto-libm-test-out: Regenerated.
12070
12071         [BZ #16928]
12072         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12073         non-finite arguments is +0.
12074         * math/s_cacosf.c (__cacosf): Likewise.
12075         * math/s_cacosl.c (__cacosl): Likewise.
12076         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12077         * sysdeps/i386/fpu/libm-test-ulps: Update.
12078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12079
12080         [BZ #16927]
12081         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12082         value.
12083         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12084         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12085         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12086         for explicit high bit of mantissa when testing for argument equal
12087         to 1.
12088         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12089         * sysdeps/i386/fpu/libm-test-ulps: Update.
12090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12091
12092         [BZ #16516]
12093         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12094         (__erf): Scale by 16 instead of 8 in potentially underflowing
12095         case.  Ensure exception if result actually underflows.
12096         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12097         (__erff): Scale by 16 instead of 8 in potentially underflowing
12098         case.  Ensure exception if result actually underflows.
12099         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12100         (efx8): Remove variable.
12101         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12102         case.  Ensure exception if result actually underflows.
12103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12104         (efx8): Remove variable.
12105         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12106         case.  Ensure exception if result actually underflows.
12107         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12108         (efx8): Remove variable.
12109         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12110         case.  Ensure exception if result actually underflows.
12111         * math/auto-libm-test-in: Add more tests of erf.
12112         * math/auto-libm-test-out: Regenerated.
12113
12114 2014-05-14  Andreas Schwab  <schwab@suse.de>
12115
12116         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12117         Remove code conditionalized on USE___THREAD.
12118
12119         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12120         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12121         not definedness.
12122
12123 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12124
12125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12126         Define unconditionally.
12127         (__ASSUME_O_CLOEXEC): Likewise.
12128         (__ASSUME_SOCK_CLOEXEC): Likewise.
12129         (__ASSUME_IN_NONBLOCK): Likewise.
12130         (__ASSUME_PIPE2): Likewise.
12131         (__ASSUME_EVENTFD2): Likewise.
12132         (__ASSUME_SIGNALFD4): Likewise.
12133         (__ASSUME_DUP3): Likewise.
12134         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12135         (__ASSUME_DUP3): Do not define.
12136         (__ASSUME_EVENTFD2): Likewise.
12137         (__ASSUME_IN_NONBLOCK): Likewise.
12138         (__ASSUME_O_CLOEXEC): Likewise.
12139         (__ASSUME_PIPE2): Likewise.
12140         (__ASSUME_SIGNALFD4): Likewise.
12141         (__ASSUME_SOCK_CLOEXEC): Likewise.
12142         (__ASSUME_UTIMES): Undefine.
12143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12144         (__ASSUME_UTIMES): Do not define.
12145         (__ASSUME_O_CLOEXEC): Likewise.
12146         (__ASSUME_SOCK_CLOEXEC): Likewise.
12147         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12148         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12149         0x020621].
12150         (__ASSUME_PIPE2): Likewise.
12151         (__ASSUME_EVENTFD2): Likewise.
12152         (__ASSUME_SIGNALFD4): Likewise.
12153         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12154         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12155         Do not define.
12156         (__ASSUME_EVENTFD2): Likewise.
12157         (__ASSUME_SIGNALFD4): Likewise.
12158         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12159         (__ASSUME_32BITUIDS): Likewise.
12160         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12161         (__ASSUME_IPC64): Likewise.
12162         (__ASSUME_ST_INO_64_BIT): Likewise.
12163         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12164         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12165         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12166         (__ASSUME_UTIMES): Do not define.
12167         (__ASSUME_PSELECT): Likewise.
12168         (__ASSUME_PPOLL): Likewise.
12169         (__ASSUME_O_CLOEXEC): Likewise.
12170         (__ASSUME_SOCK_CLOEXEC): Likewise.
12171         (__ASSUME_IN_NONBLOCK): Likewise.
12172         (__ASSUME_PIPE2): Likewise.
12173         (__ASSUME_EVENTFD2): Likewise.
12174         (__ASSUME_SIGNALFD4): Likewise.
12175         (__ASSUME_DUP3): Likewise.
12176         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12177         (__ASSUME_UTIMES): Likewise.
12178         (__ASSUME_O_CLOEXEC): Likewise.
12179         (__ASSUME_SOCK_CLOEXEC): Likewise.
12180         (__ASSUME_IN_NONBLOCK): Likewise.
12181         (__ASSUME_PIPE2): Likewise.
12182         (__ASSUME_EVENTFD2): Likewise.
12183         (__ASSUME_SIGNALFD4): Likewise.
12184         (__ASSUME_DUP3): Likewise.
12185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12186         (__ASSUME_UTIMES): Likewise.
12187         (__ASSUME_O_CLOEXEC): Likewise.
12188         (__ASSUME_SOCK_CLOEXEC): Likewise.
12189         (__ASSUME_IN_NONBLOCK): Likewise.
12190         (__ASSUME_PIPE2): Likewise.
12191         (__ASSUME_EVENTFD2): Likewise.
12192         (__ASSUME_SIGNALFD4): Likewise.
12193         (__ASSUME_DUP3): Likewise.
12194         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12195         Likewise.
12196         (__ASSUME_UTIMES): Likewise.
12197         (__ASSUME_EVENTFD2): Likewise.
12198         (__ASSUME_SIGNALFD4): Likewise.
12199         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12200         (__ASSUME_O_CLOEXEC): Likewise.
12201         (__ASSUME_SOCK_CLOEXEC): Likewise.
12202         (__ASSUME_IN_NONBLOCK): Likewise.
12203         (__ASSUME_PIPE2): Likewise.
12204         (__ASSUME_EVENTFD2): Likewise.
12205         (__ASSUME_SIGNALFD4): Likewise.
12206         (__ASSUME_DUP3): Likewise.
12207         (__ASSUME_UTIMES): Undefine.
12208
12209         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12210         feclearexcept.  Remove symbol versioning code.
12211         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12212         symbol versioning code.
12213         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12214         symbol versioning code.
12215         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12216         feupdateenv.  Remove symbol versioning code.
12217         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12218         fegetexceptflag.  Remove symbol versioning code.
12219         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12220         fesetexceptflag.  Remove symbol versioning code.
12221         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12222         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12223         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12224         (__posix_fadvise64_l32): Remove prototype.
12225         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12226         code.
12227
12228 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12229
12230         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12231         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12232         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12233         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12234
12235 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12236
12237         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12238         current working directory
12239
12240 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12241
12242         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12243         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12244         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12245         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12246         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12247         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12248         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12249         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12250         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12251         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12252         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12253         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12254         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12255         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12256         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12257         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12259         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12261         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12267         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12268         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12269         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12270         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12275         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12276         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12277         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12278         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12279         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12280         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12281         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12282         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12283         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12284
12285         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12286         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12287
12288         * sysdeps/unix/sysv/linux/arm/Makefile
12289         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12290         Add rt-aeabi_unwind_cpp_pr1.
12291         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12292         Add nptl-aeabi_unwind_cpp_pr1.
12293         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12294         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12295         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12296         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12297         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12298         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12299
12300         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12301         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12302         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12303         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12304
12305         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12306         Deconditionalize the code that was previously under [RESET_PID].
12307         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12308
12309         * sysdeps/generic/exit-thread.h: New file.
12310         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12311         * include/unistd.h (__exit_thread): Remove declaration.
12312         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12313         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12314         * csu/libc-start.c: Include <exit-thread.h>.
12315         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12316         * nptl/pthread_create.c: Include <exit-thread.h>.
12317         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12318         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12319         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12320         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12321         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12322         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12323         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12324         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12325         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12326         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12327         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12328         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12329         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12330         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12331         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12332         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12333         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12334
12335 2014-05-13  Andreas Schwab  <schwab@suse.de>
12336
12337         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12338
12339 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12340
12341         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12342         (__ASSUME_UTIMES): Do not condition on kernel version.
12343         (__ASSUME_PSELECT): Define unconditionally.
12344         (__ASSUME_PPOLL): Likewise.
12345         (__ASSUME_ATFCTS): Likewise.
12346         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12347         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12348         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12349         (__ASSUME_UTIMENSAT): Define unconditionally.
12350         (__ASSUME_PRIVATE_FUTEX): Likewise.
12351         (__ASSUME_FALLOCATE): Likewise.
12352         (__ASSUME_O_CLOEXEC): Likewise.
12353         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12354         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12355         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12356         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12357         (__ASSUME_IN_NONBLOCK): Likewise.
12358         (__ASSUME_PIPE2): Likewise.
12359         (__ASSUME_EVENTFD2): Likewise.
12360         (__ASSUME_SIGNALFD4): Likewise.
12361         (__ASSUME_DUP3): Likewise.
12362         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12363         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12364         (__ASSUME_AT_RANDOM): Likewise.
12365         (__ASSUME_PREADV): Likewise.
12366         (__ASSUME_PWRITEV): Likewise.
12367         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12368         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12369         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12370         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12371         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12372         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12373         (__ASSUME_O_CLOEXEC): Define unconditionally.
12374         (__ASSUME_PSELECT): Do not undefine conditionally.
12375         (__ASSUME_PPOLL): Likewise.
12376         (__ASSUME_ATFCTS): Likewise.
12377         (__ASSUME_SET_ROBUST_LIST): Likewise.
12378         (__ASSUME_UTIMENSAT): Likewise.
12379         (__ASSUME_FDATASYNC): Define unconditionally.
12380         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12381         (__ASSUME_SIGFRAME_V2): Likewise.
12382         )__ASSUME_EVENTFD2): Likewise.
12383         (__ASSUME_SIGNALFD4): Likewise.
12384         (__ASSUME_PSELECT): Do not undefine conditionally.
12385         (__ASSUME_PPOLL): Likewise.
12386         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12387         (__ASSUME_PSELECT): Define unconditionally.
12388         (__ASSUME_PPOLL): Likewise.
12389         (__ASSUME_O_CLOEXEC): Likewise.
12390         (__ASSUME_SOCK_CLOEXEC): Likewise.
12391         (__ASSUME_IN_NONBLOCK): Likewise.
12392         (__ASSUME_PIPE2): Likewise.
12393         (__ASSUME_EVENTFD2): Likewise.
12394         (__ASSUME_SIGNALFD4): Likewise.
12395         (__ASSUME_DUP3): Likewise.
12396         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12397         (__ASSUME_O_CLOEXEC): Likewise.
12398         (__ASSUME_SOCK_CLOEXEC): Likewise.
12399         (__ASSUME_IN_NONBLOCK): Likewise.
12400         (__ASSUME_PIPE2): Likewise.
12401         (__ASSUME_EVENTFD2): Likewise.
12402         (__ASSUME_SIGNALFD4): Likewise.
12403         (__ASSUME_DUP3): Likewise.
12404         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12405         (__ASSUME_EVENTFD2): Likewise.
12406         (__ASSUME_SIGNALFD4): Likewise.
12407         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12408
12409 2014-05-12  Andreas Schwab  <schwab@suse.de>
12410
12411         [BZ #16932]
12412         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12413         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12414         than maximum RPC packet size.
12415         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12416         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12417         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12418         (_nss_nis_getservbyport_r): Likewise.
12419
12420 2014-05-12  Will Newton  <will.newton@linaro.org>
12421
12422         * malloc/Makefile (tests): Add tst-mallopt.
12423         * malloc/tst-mallopt.c: New file.
12424
12425 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12426
12427         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12428         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12429
12430 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12431
12432         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12433         (tst-tlsmod6.so): Likewise.
12434
12435 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12436
12437         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12438
12439 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12440
12441         [BZ #16064]
12442         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12443         and <dl-procinfo.h>.
12444         (__fegetenv): Save SSE state in envp->__eip if supported.
12445         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12446         envp->__eip if supported.
12447         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12448         and <dl-procinfo.h>.
12449         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12450         __data_offset and __data_selector in environment to 0.  Set SSE
12451         state if supported.
12452         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12453         test-fenv-sse.
12454         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12455         -mfpmath=sse.
12456         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12457
12458 2014-05-09  Will Newton  <will.newton@linaro.org>
12459
12460         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12461         and libc_relro_required for ARM.
12462         * sysdeps/arm/preconfigure: Regenerate.
12463
12464 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12465             Stefan Liebler  <stli@linux.vnet.ibm.com>
12466
12467         * config.make.in (enable-lock-elision): New Makefile variable.
12468         * configure.ac: Likewise.
12469         * configure: Regenerate.
12470         * sysdeps/s390/configure.ac:
12471         Add check for gcc transactions support.
12472         * sysdeps/s390/configure: Regenerate.
12473         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12474         Build elision files if enabled.
12475         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12476         Add lock elision support for s390.
12477         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12478         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12479         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12480         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12481         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12482         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12483         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12484         Likewise.
12485         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12486         Likewise.
12487         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12488         Likewise.
12489         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12490         Likewise.
12491         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12492         (__lll_timedlock_elision, __lll_lock_elision)
12493         (__lll_unlock_elision, __lll_trylock_elision)
12494         (lll_timedlock_elision, lll_lock_elision)
12495         (lll_unlock_elision, lll_trylock_elision): Add.
12496         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12497         (pthread_mutex_t): Add lock elision support for s390.
12498
12499 2014-05-14  Wilco  <wdijkstr@arm.com>
12500
12501         * sysdeps/arm/fclrexcpt.c: Cleanup.
12502         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12503         * sysdeps/arm/feenablxcpt.c: Cleanup.
12504         * sysdeps/arm/fegetenv.c: Cleanup.
12505         * sysdeps/arm/fegetexcept.c: Cleanup.
12506         * sysdeps/arm/fegetround.c: Cleanup.
12507         * sysdeps/arm/feholdexcpt.c: Cleanup.
12508         * sysdeps/arm/fesetenv.c: Cleanup.
12509         * sysdeps/arm/fesetround.c: Cleanup.
12510         * sysdeps/arm/feupdateenv.c: Cleanup.
12511         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12512         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12513         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12514         * sysdeps/arm/ftestexcept.c: Cleanup.
12515         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12516         * sysdeps/arm/setfpucw.c: Cleanup.
12517
12518 2014-05-09  Will Newton  <will.newton@linaro.org>
12519
12520         * sysdeps/arm/armv7/strcmp.S: New file.
12521         * NEWS: Mention addition of ARMv7 optimized strcmp.
12522
12523 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12524
12525         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12526         look for %.ac rather than %.in.
12527
12528         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12529         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12530         * sysdeps/mach/hurd/configure: Regenerated.
12531         * sysdeps/unix/sysv/linux/configure: Regenerated.
12532
12533         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12534
12535 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12536
12537         [BZ# 16922]
12538         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12539         (LONG_SUB): Ditto.
12540         (PTR_SUB): Ditto.
12541
12542 2014-05-07  Andreas Schwab  <schwab@suse.de>
12543
12544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12545         when skipping over non-matching result from nscd.
12546
12547 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12548
12549         [BZ #16876]
12550         * nptl/sockperf.c (client): Check socket return value.
12551
12552         [BZ #16877]
12553         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12554         nscd security class.
12555
12556 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12557
12558         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12559         * sysdeps/arm/unwind.h: ... here.
12560
12561 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12562
12563         [BZ# 16916]
12564         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12565         Define.
12566
12567 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12568
12569         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12570         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12571         multiarch strncpy for PPC64.
12572         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12573         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12575         multiarch optimizations.
12576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12577         (__libc_ifunc_impl_list): Likewise.
12578         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12579         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12580         multiarch stpncpy for PPC64.
12581         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12583
12584 2014-05-06  Andreas Schwab  <schwab@suse.de>
12585
12586         [BZ #16912]
12587         * gmon/mcount.c (_MCOUNT_DECL): Use
12588         atomic_compare_and_exchange_bool_acq instead of
12589         catomic_compare_and_exchange_bool_acq.
12590
12591 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12592
12593         * elf/Makefile (others, install-bin): Remove pldd.
12594         (pldd-modules): Variable removed.
12595         ($(objpfx)pldd): Target removed.
12596         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12597         (others, install-bin): Append pldd here.
12598         ($(objpfx)pldd): New target.
12599
12600         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12601         to 0, so the first #if test emitted later doesn't see it undefined.
12602         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12603         * sysdeps/gnu/errlist.c: Regenerated.
12604
12605 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12606
12607         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12608         [libc_hidden_builtin_def]: Define to empty value.
12609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12610         [libc_hidden_builtin_def]: Likewise.
12611         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12612         [libc_hidden_builtin_def]: Likewise.
12613         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12614         [libc_hidden_builtin_def]: Likewise.
12615         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12616         __redirect_memcpy and define ifunc as default hidden symbol.
12617         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12618         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12619
12620 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12621
12622         * locale/iso-4217.def: Reintroduce XDR currency.
12623
12624 2014-05-04  Allan McRae  <allan@archlinux.org>
12625
12626         * po/eo.po: Update Esperanto translation from translation project.
12627
12628 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12629
12630         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12631         and FEATURE_INDEX_MAX to 1.
12632         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12633
12634 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12635
12636         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12637         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12638         * iconvdata/big5.c (ONE_DIRECTION): Define.
12639         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12640         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12641         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12642         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12643         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12644         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12645         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12646         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12647         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12648         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12649         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12650         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12651         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12652         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12653         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12654         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12655         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12656         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12657         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12658         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12659         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12660         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12661         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12662         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12663         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12664         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12665         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12666         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12667         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12668         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12669         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12670         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12671         * iconvdata/johab.c (ONE_DIRECTION): Define.
12672         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12673         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12674         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12675         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12676         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12677         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12678         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12679         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12680         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12681         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12682
12683 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12684
12685         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12686         (_IO_JUMPS_OFFSET): Define to 0.
12687
12688         * nptl/sysdeps/pthread/bits/libc-lock.h
12689         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12690         (__libc_lock_define_initialized_recursive): Always define using
12691         initializer.  Modern compilers treat uninitialized (implicit zero) and
12692         explicit zero initializers the same (i.e. put the datum in bss).
12693
12694 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12695
12696         * nscd/nscd-client.h: Include <string.h>.
12697
12698 2014-05-01  David S. Miller  <davem@davemloft.net>
12699
12700         [BZ #16885]
12701         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12702         multiple zero bytes exist at the end of a string.
12703         Reported by Aurelien Jarno <aurelien@aurel32.net>
12704
12705         * string/test-strcmp.c (check): Add explicit test for situations where
12706         there are multiple zero bytes after the first.
12707
12708 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12709
12710         [BZ #16890]
12711         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12712         when compiling wprintf.
12713         * stdio-common/tstdiomisc.c (t3): New function.
12714         (main): Call it.
12715
12716 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12717
12718         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12719         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12720         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12721         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12722
12723 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12724
12725         * stdlib/longlong.h: Updated from GCC.
12726
12727 2014-05-01  Will Newton  <will.newton@linaro.org>
12728             Bernard Ogden  <bernie.ogden@linaro.org>
12729
12730         * NEWS: Update fixed bug list.
12731
12732         [BZ #15119]
12733         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12734
12735 2014-04-30  David S. Miller  <davem@davemloft.net>
12736
12737         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12738         (libc_feholdexcept_setround_sparc_ctx): New function.
12739         (libc_fesetenv_sparc_ctx): Likewise.
12740         (libc_feupdateenv_sparc_ctx): Likewise.
12741         (libc_feholdsetround_sparc_ctx): Likewise.
12742         (libc_feholdexcept_setround_ctx): Define.
12743         (libc_feholdexcept_setroundf_ctx): Likewise.
12744         (libc_feholdexcept_setroundl_ctx): Likewise.
12745         (libc_fesetenv_ctx): Likewise.
12746         (libc_fesetenvf_ctx): Likewise.
12747         (libc_fesetenvl_ctx): Likewise.
12748         (libc_feupdateenv_ctx): Likewise.
12749         (libc_feupdateenvf_ctx): Likewise.
12750         (libc_feupdateenvl_ctx): Likewise.
12751         (libc_feresetround_ctx): Likewise.
12752         (libc_feresetroundf_ctx): Likewise.
12753         (libc_feresetroundl_ctx): Likewise.
12754         (libc_feholdsetround_ctx): Likewise.
12755         (libc_feholdsetroundf_ctx): Likewise.
12756         (libc_feholdsetroundl_ctx): Likewise.
12757
12758         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12759         with __USE_GNU instead of XOPEN cpp guards.
12760
12761         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12762         0.
12763
12764         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12765         with XOPEN cpp guards.
12766
12767 2014-04-30  Julian Brown  <julian@codesourcery.com>
12768
12769         [BZ #16888]
12770         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12771         handling.
12772
12773 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12774
12775         [BZ #9894]
12776         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12777         Change to 2.6.32.
12778         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12779         * sysdeps/unix/sysv/linux/configure: Regenerated.
12780         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12781         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12782         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12783         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12784         * README: Update reference to required Linux kernel version.
12785         * manual/install.texi (Linux): Update reference to required Linux
12786         kernel headers version.
12787         * INSTALL: Regenerated.
12788
12789         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12790         header inclusion.
12791         [POSIX] (limits.h): Likewise.
12792         [POSIX] (math.h): Likewise.
12793         [POSIX] (sys/wait.h): Likewise.
12794         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12795         function.
12796         [POSIX] (stddef.h): Do not allow header inclusion.
12797
12798 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12799
12800         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12801
12802 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12803
12804         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12805         Return immediately after lll_futex_wake.
12806
12807 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12808
12809         [BZ #16791]
12810         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12811         structure.
12812         (datahead_init_pos): Call datahead_init_common early.
12813         (datahead_init_neg): Likewise.
12814
12815         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12816         datahead_init_neg): New functions.
12817         * nscd/aicache.c (addhstaiX): Use them.
12818         * nscd/grpcache.c (cache_addgr): Likewise.
12819         * nscd/hstcache.c (cache_addhst): Likewise.
12820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12821         * nscd/netgroupcache.c (do_notfound): Likewise.
12822         (addgetnetgrentX): Likewise.
12823         (addinnetgrX): Likewise.
12824         * nscd/pwdcache.c (cache_addpw): Likewise.
12825         * nscd/servicescache.c (cache_addserv): Likewise.
12826
12827 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12828             Atsushi Onoe  <atsushi@onoe.org>
12829
12830         [BZ #14308]
12831         [BZ #12994]
12832         [BZ #13651]
12833         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12834         one response is valid.
12835         * resolv/res_send.c (send_dg): Check for validity of other
12836         response if the current response is a referral.
12837
12838 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12839
12840         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12841
12842 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12843
12844         [BZ #16823]
12845         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12846         Always divide by positive zero when computing -Inf result.
12847         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12848         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12849
12850 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12851
12852         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12853         FPSCR if value do not change.
12854         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12855         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12856         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12857         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12858         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12859         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12860         function.
12861
12862 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12863
12864         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12865         * sysdeps/unix/sysv/linux/hppa: Move directory from
12866         ports/systeps/unix/sysv/linux/hppa.
12867         * README: Update listing for hppa-*-linux-gnu.
12868
12869 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12870
12871         [BZ #16754]
12872         * manual/stdio.texi (Hook functions): Fix types of stream hook
12873         functions.
12874         [BZ #16854]
12875         * socket/sys/socket.h: Fix typo in comment.
12876
12877 2014-04-28  Wilco  <wdijkstr@arm.com>
12878
12879         * sysdeps/arm/fenv_private.h: New file.
12880         * sysdeps/arm/math_private.h: New file.
12881         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12882
12883 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12884
12885         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12886         with __int128_t.
12887         (La_x86_64_retval): Likewise.
12888
12889 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12890
12891         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12892         fpsr if value didn't change.
12893         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12894         to fpcr if value didn't change.
12895         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12896         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12897         fpsr or fpcr if value didn't change.
12898         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12899         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12900         fpcr if value didn't change.
12901         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12902         to fpsr if value didn't change.
12903
12904 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12905
12906         * nptl/tst-sem3.c: Use test-skeleton.c
12907         (main): Rename to do_test.  Use return instead of
12908         exit.
12909         * nptl/tst-sem4.c: Use test-skeleton.c
12910         (main): Rename to do_test.
12911
12912 2014-04-22  David S. Miller  <davem@davemloft.net>
12913
12914         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12915         (struct sigaction): New struct member __glibc_reserved0, change
12916         type of sa_flags to int.
12917
12918 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12919
12920         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12921         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12922
12923 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12924
12925         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12926         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12927
12928 2014-04-22  Will Newton  <will.newton@linaro.org>
12929             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12930
12931         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12932         (__longjmp): Add longjmp and longjmp_target SystemTap
12933         probes.
12934         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12935         (__sigsetjmp): Add setjmp SystemTap probe.
12936
12937 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12938
12939         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12940         match manual order.
12941
12942 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12943
12944         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12945
12946         * sysdeps/powerpc/fpu/fenv_private.h
12947         (libc_feholdexcept_setroundl_ctx): Define to
12948         libc_feholdexcept_setround_ppc_ctx.
12949         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12950         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12951         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12952         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12953
12954 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12955
12956         * sysdeps/aarch64/math-tests.h: New file.
12957
12958 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12959
12960         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12961         New.
12962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12963         Check and set bit_AVX2_Usable.
12964         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12965         macro.
12966         (bit_AVX2): Likewise.
12967         (index_AVX2_Usable): Likewise.
12968         (CPUID_AVX2): Likewise.
12969         (HAS_AVX2): Likewise.
12970
12971 2014-04-17  Will Newton  <will.newton@linaro.org>
12972
12973         * manual/setjmp.texi (System V contexts): Add note that
12974         calling setcontext on a context created by a call to a
12975         signal handler is undefined.  Update text to note that
12976         setcontext from a signal handler is possible but not
12977         recommended.
12978
12979         [BZ #16629]
12980         * stdlib/tst-setcontext.c: Include signal.h.
12981         (main): Check that the signal stack before and
12982         after swapcontext is the same.
12983
12984         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12985         Re-implement to restore registers in user code and avoid
12986         rt_sigreturn system call.
12987
12988 2014-04-17  Wilco  <wdijkstr@arm.com>
12989
12990         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12991         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12992         * math/test-fenv.c: Skip exception trap tests on targets which only
12993         support non-stop mode.
12994
12995 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12996             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12997
12998         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12999         (libc_feholdsetround_aarch64_ctx)
13000         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13001         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13002         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13003         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13004         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13005         (libc_feresetround_noexl_ctx): Define.
13006
13007 2014-04-16  Richard Henderson  <rth@redhat.com>
13008
13009         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13010
13011         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13012         unwind tables.
13013
13014         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13015         const from the non-libc, non-ldso copy.
13016
13017         * sysdeps/alpha/libm-test-ulps: Regenerate.
13018
13019 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13020             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13021
13022         * sysdeps/aarch64/fpu/math_private.h: New file.
13023
13024 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13025
13026         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13027
13028 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13029
13030         [BZ #16275]
13031         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13032         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13034         Intel MPX bound registers before _dl_profile_fixup.
13035         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13036         registers after _dl_profile_fixup.  Save and restore bound
13037         registers bnd0/bnd1 when calling _dl_call_pltexit.
13038         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13039         (LR_BND_OFFSET): Likewise.
13040         (LRV_BND0_OFFSET): Likewise.
13041         (LRV_BND1_OFFSET): Likewise.
13042
13043 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13044
13045         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13046         to...
13047         * sysdeps/mach/hurd/i386/tls.h: ... here.
13048         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13049         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13050         fields.
13051
13052 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13053
13054         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13055
13056 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13057
13058         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13059
13060 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13061
13062         [BZ #14770]
13063         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13064         * sysdeps/s390/configure: Regenerate.
13065
13066         [BZ #16824]
13067         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13068         Set round-to-nearest internally to reduce error accumulation.
13069
13070 2014-04-16  Alan Modra  <amodra@gmail.com>
13071
13072         [BZ #16740]
13073         [BZ #16619]
13074         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13075         * math/libm-test.inc (frexp_test_data): Add tests.
13076         * NEWS: Update fixed bug list.
13077
13078 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13079
13080         * benchtests/Makefile: Depend on libraries in build directory.
13081         (bench-math): Separate out math tests.
13082         (bench-pthread): Separate out pthread tests.
13083         (bench): Include math and pthread tests.
13084
13085 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13086
13087         [BZ #16831]
13088         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13089         _dl_debug_initialize.
13090
13091         * configure.ac: Remove SELinux header check.
13092         * configure: Regenerate.
13093         * nscd/selinux.c (perms): Array of const char* to permission names.
13094         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13095         default policy. Call string_to_security_class and string_to_av_perm to
13096         translate strings. Enforce default policy and call avs_has_perm with
13097         results of translated strings.
13098
13099 2014-04-13  David S. Miller  <davem@davemloft.net>
13100
13101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13102
13103 2014-04-12  Allan McRae  <allan@archlinux.org>
13104
13105         [BZ #16838]
13106         * manual/string.texi (Collation Functions): Fix qsort argument
13107         order in example.
13108         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13109
13110 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13111
13112         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13113         Make the test a no-op if there are no exceptions defined.
13114
13115 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13116
13117         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13118         enable-hardcoded-path-in-tests
13119
13120 2014-04-11  Will Newton  <will.newton@linaro.org>
13121
13122         * benchtests/Makefile (extra-objs): Add json-lib.o.
13123         (bench-func): Tidy up JSON output.
13124         * benchtests/bench-skeleton.c: Include json-lib.h.
13125         (main): Use JSON library functions to do output of
13126         benchmark results.
13127         * benchtests/bench-timing-type.c (main): Output the
13128         timing type simply, leaving formatting to the user.
13129         * benchtests/json-lib.c: New file.
13130         * benchtests/json-lib.h: Likewise.
13131
13132 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13133
13134         [BZ #15215]
13135         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13136         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13137         memory barriers.  Add comments.
13138         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13139         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13140         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13141         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13142         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13143         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13144
13145 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13146
13147         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13148         * sysdeps/s390/s390-64/configure.ac: ... this ...
13149         * sysdeps/s390/configure.ac: ... to here.
13150         * sysdeps/s390/s390-32/configure: Delete file.
13151         * sysdeps/s390/s390-64/configure: Delete file.
13152         * sysdeps/s390/configure: Regenerate.
13153
13154 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13155
13156         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13157
13158 2014-04-11  Will Newton  <will.newton@linaro.org>
13159
13160         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13161         to zero if it is not defined elsewhere.  (mtrim): Test
13162         the value of MALLOC_DEBUG with #if rather than #ifdef.
13163
13164 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13165
13166         * benchtests/pthread_once-inputs: New file.
13167         * benchtests/pthread_once-source.c: New file.
13168         * benchtests/README: Update documentation.
13169
13170 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13171             H.J. Lu  <hongjiu.lu@intel.com>
13172
13173         [BZ #16275]
13174         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13175         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13176         * sysdeps/x86_64/configure: Regenerated.
13177         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13178         macro.
13179         (REGISTER_SAVE_RAX): Likewise.
13180         (REGISTER_SAVE_RCX): Likewise.
13181         (REGISTER_SAVE_RDX): Likewise.
13182         (REGISTER_SAVE_RSI): Likewise.
13183         (REGISTER_SAVE_RDI): Likewise.
13184         (REGISTER_SAVE_R8): Likewise.
13185         (REGISTER_SAVE_R9): Likewise.
13186         (REGISTER_SAVE_BND0): Likewise.
13187         (REGISTER_SAVE_BND1): Likewise.
13188         (REGISTER_SAVE_BND2): Likewise.
13189         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13190         bound registers when calling _dl_fixup.
13191
13192 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13193
13194         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13195         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13196         of its definition.
13197         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13198         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13199         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13200         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13201         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13202         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13203         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13204
13205 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13206
13207         [BZ #15514]
13208         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13209         pathconf(_PC_NAME_MAX).
13210
13211 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13212
13213         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13214         Remove macro usage.
13215         (__PTHREAD_SPINS): Move definition to ...
13216         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13217         (__PTHREAD_SPINS): ... here.
13218         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13219         (__PTHREAD_SPIN): Likewise.
13220         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13221         (__PTHREAD_SPIN): Likewise.
13222         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13223         (__PTHREAD_SPIN): Likewise.
13224         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13225         (__PTHREAD_SPIN): Likewise.
13226         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13227         (__PTHREAD_SPIN): Likewise.
13228         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13229         (__PTHREAD_SPIN): Likewise.
13230         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13231         (__PTHREAD_SPIN): Likewise.
13232         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13233         (__PTHREAD_SPIN): Likewise.
13234         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13235         (__PTHREAD_SPIN): Likewise.
13236         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13237         (__PTHREAD_SPIN): Likewise.
13238         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13239         (__PTHREAD_SPIN): Likewise.
13240         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13241         (__PTHREAD_SPIN): Likewise.
13242
13243         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13244         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13245         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13246         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13247         imply folder.
13248         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13249         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13250         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13251         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13252         correct imply path.
13253         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13254         strlen symbol for non multi-arch builds.
13255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13256         missing hidden_def and weak_alias.
13257
13258 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13259
13260         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13261
13262 2014-04-07  Will Newton  <will.newton@linaro.org>
13263
13264         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13265         and contents.  [!_LIBC] Remove #ifndef and contents.
13266         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13267         * string/memccpy.c (__memccpy): Use ANSI prototype.
13268         * string/memfrob.c (memfrob): Likewise.
13269         * string/strcoll.c (STRCOLL): Likewise.
13270         * string/strlen.c (strlen): Likewise.
13271         * string/strtok.c (STRTOK): Likewise.
13272         * string/strcat.c: Remove unused #include of memcopy.h.
13273         (strcat): Use ANSI prototype.
13274         * string/strchr.c: Remove unused #include of memcopy.h.
13275         (strchr): Use ANSI prototype.
13276         * string/strcmp.c: Remove unused #include of memcopy.h.
13277         (strcmp): Use ANSI prototype.
13278         * string/strcpy.c: Remove unused #include of memcopy.h.
13279         (strcpy): Use ANSI prototype.
13280
13281 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13282
13283         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13284         * config.make.in (config-extra-cppflags): Set it from
13285         libc_extra_cppflags.
13286         * configure.ac (libc_extra_cflags): Make it accumulate over
13287         configure fragments.
13288         (libc_extra_cppflags): New flag.
13289         * configure. Regenerate.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13291         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13292         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13294
13295         [BZ #16815]
13296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13297         result for FE_DOWNWARD rounding mode.
13298         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13299         Likewise.
13300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13301
13302 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13303
13304         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13305         in function argument name.
13306
13307 2014-04-03  David Svoboda  <svoboda@cert.org>
13308
13309         [BZ #5666]
13310         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13311         explicitly.
13312
13313 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13314
13315         * elf/dl-unmap-segments.h: New file.
13316         * sysdeps/generic/ldsodefs.h
13317         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13318         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13319         * elf/dl-fptr.c: Likewise.
13320         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13321         * sysdeps/aarch64/tlsdesc.c: Likewise.
13322         * sysdeps/arm/tlsdesc.c: Likewise.
13323         * sysdeps/i386/tlsdesc.c: Likewise.
13324         * sysdeps/tile/dl-runtime.c: Likewise.
13325         * sysdeps/x86_64/tlsdesc.c: Likewise.
13326         * elf/dl-load.h: New file.
13327         * elf/dl-load.c: Include it.
13328         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13329         Macros moved to dl-load.h.
13330         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13331         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13332         Use _dl_unmap_segments in place of __munmap.
13333         Break out segment-mapping loop into ...
13334         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13335
13336 2014-04-03  Will Newton  <will.newton@linaro.org>
13337
13338         * elf/dl-lookup.c (do_lookup_x): Remove comment
13339         referring to nested function and move variable
13340         declarations down to before first use.
13341
13342 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13343
13344         [BZ #16799]
13345         [BZ #16800]
13346         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13347         with 0 numerator.
13348         * math/s_catanf.c (__catanf): Likewise.
13349         * math/s_catanh.c (__catanh): Likewise.
13350         * math/s_catanhf.c (__catanhf): Likewise.
13351         * math/s_catanhl.c (__catanhl): Likewise.
13352         * math/s_catanl.c (__catanl): Likewise.
13353         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13354         by positive zero when computing -Inf result.
13355         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13356         (catanh_test): Likewise.
13357         * sysdeps/i386/fpu/libm-test-ulps: Update.
13358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359
13360         [BZ #16789]
13361         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13362         instead of using underflowing value in computing result.
13363         * math/s_clog10.c (__clog10): Likewise.
13364         * math/s_clog10f.c (__clog10f): Likewise.
13365         * math/s_clog10l.c (__clog10l): Likewise.
13366         * math/s_clogf.c (__clogf): Likewise.
13367         * math/s_clogl.c (__clogl): Likewise.
13368         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13369         (clog10_test): Likewise.
13370         * sysdeps/i386/fpu/libm-test-ulps: Update.
13371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13372
13373 2014-04-02  Alan Modra  <amodra@gmail.com>
13374
13375         [BZ #16739]
13376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13377         output when value is near a power of two.  Use int64_t for lx and
13378         remove casts.  Use decimal rather than hex exponent constants.
13379         Don't use long double multiplication when double will suffice.
13380         * math/libm-test.inc (nextafter_test_data): Add tests.
13381         * NEWS: Add 16739 and 16786 to bug list.
13382
13383         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13384
13385         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13386
13387 2014-04-01  Will Newton  <will.newton@linaro.org>
13388
13389         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13390         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13391
13392 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13393
13394         [BZ #13347]
13395         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13396         * nptl/tst-setuid2.c: New file.
13397         * nptl/Makefile (xtests): Add tst-setuid2.
13398
13399 2014-04-01  Alan Modra  <amodra@gmail.com>
13400
13401         [BZ #16786]
13402         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13403
13404 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13405
13406         [BZ #6803]
13407         [BZ #6804]
13408         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13409         set errno as appropriate.
13410         * math/w_scalbf.c (__scalbf): Likewise.
13411         * math/w_scalbl.c (__scalbl): Likewise.
13412         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13413         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13414         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13415         Add more NaN tests.
13416
13417         [BZ #16349]
13418         * math/w_atan2.c: Include <errno.h>.
13419         (__atan2): Set errno for result underflowing to zero.
13420         * math/w_atan2f.c: Include <errno.h>.
13421         (__atan2f): Set errno for result underflowing to zero.
13422         * math/w_atan2l.c: Include <errno.h>.
13423         (__atan2l): Set errno for result underflowing to zero.
13424         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13425         tests.
13426         * math/auto-libm-test-out: Regenerated.
13427
13428 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13429
13430         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13431         Encode instruction correctly in little endian.
13432         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13433         Likewise.
13434         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13435         Likewise.
13436         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13437         Likewise.
13438         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13439         Likewise.
13440
13441 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13442
13443         [BZ #9894]
13444         * sysdeps/unix/sysv/linux/kernel-features.h
13445         [__sparc__ && !__arch64__ && !__sparc_v9__]
13446         (__ASSUME_SET_ROBUST_LIST): Do not define.
13447         [__sparc__ && !__arch64__ && !__sparc_v9__]
13448         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13449         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13450         Likewise.
13451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13452         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13453         (__ASSUME_REQUEUE_PI): Likewise.
13454         (__ASSUME_SET_ROBUST_LIST): Likewise.
13455         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13456         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13457         Undefine.
13458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13460         Likewise.
13461         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13462         Likewise.
13463         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13464         Likewise.
13465         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13466         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13467         Undefine.
13468         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13469         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13470         Likewise.
13471
13472         [BZ #16648]
13473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13474         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13475         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13476
13477 2014-03-31  Will Newton  <will.newton@linaro.org>
13478
13479         * benchtests/Makefile (bench): Add ffs and ffsll to list
13480         of tests.
13481         * benchtests/ffs-inputs: New file.
13482         * benchtests/ffsll-inputs: Likewise.
13483
13484 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13485
13486         [BZ #16770]
13487         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13488         too large before casting to int.
13489         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13490         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13491         * math/libm-test.inc (scalb_test_data): Add more tests.
13492
13493 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13494
13495         * benchtests/Makefile (DETAILED_OPT): New make option.
13496         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13497         set.
13498         * benchtests/bench-skeleton.c: Include stdbool.h.
13499         (main): Store and print timings per input.
13500         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13501         member to each argument value.
13502         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13503         (_print_arg_data): Initialize per-input timing to 0.
13504
13505         * benchtests/Makefile (timing-type): New binary.
13506         (bench-clean): Also remove bench-timing-type.
13507         (bench): New target for timing-type.
13508         (bench-func): Print output in JSON format.
13509         * benchtests/bench-skeleton.c (main): Print output in JSON
13510         format.
13511         * benchtests/bench-timing-type.c: New file.
13512         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13513         (TIMING_PRINT_STATS): Remove.
13514         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13515         name separately.
13516
13517         * benchtests/bench-modf.c: Remove.
13518         * benchtests/modf-inputs: New inputs file.
13519
13520 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13521
13522         [BZ #16362]
13523         * math/s_clog10.c (M_PI_LOG10E): New macro.
13524         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13525         imaginary parts are 0.
13526         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13527         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13528         imaginary parts are 0.
13529         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13530         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13531         imaginary parts are 0.
13532         * math/libm-test.inc (clog10_test_data): Update expected results
13533         for when real and imaginary parts are 0.
13534
13535 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13536
13537         * elf/dl-load.c: Finish conversion of __builtin_expect into
13538         __glibc_{un}likely.
13539
13540 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13541
13542         [BZ #16348]
13543         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13544         1+x for argument with exponent below -67.
13545         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13546         Likewise.
13547         * math/auto-libm-test-in: Add more tests of exp.
13548         * math/auto-libm-test-out: Regenerated.
13549
13550 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13551
13552         [BZ #16759]
13553         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13554         (nscd_getnetgrent): Use it.
13555
13556         [BZ #16760]
13557         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13558         of stpcpy.
13559
13560 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13561
13562         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13563         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13564         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13565         (lll_robust_unlock): Remove out of line section. Use cfi
13566         intrinsics.
13567         (LLL_STUB_UNWIND_INFO*): Remove.
13568         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13569         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13570         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13571         (lll_robust_unlock): Remove out of line section. Use cfi
13572         intrinsics.
13573         (LLL_STUB_UNWIND_INFO*): Remove.
13574
13575 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13576
13577         [BZ #16758]
13578         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13579         blank values.
13580
13581 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13582
13583         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13584
13585 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13586
13587         [BZ #16198]
13588         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13589         fnstenv.
13590         * math/test-fenv-preserve.c: New file.
13591         * math/Makefile (tests): Add test-fenv-preserve.
13592
13593 2014-03-26  Will Newton <will.newton@linaro.org>
13594
13595         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13596
13597 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13598
13599         * scripts/versionlist.awk: Partition the version sets and emit all
13600         GLIBC_* (sorted) before all others (sorted).
13601
13602 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13603
13604         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13605         GLIBC_2.2.5 version.
13606
13607 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13608
13609         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13610         calls.
13611
13612         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13613         previous change.
13614
13615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13616
13617 2014-03-25  Andreas Schwab  <schwab@suse.de>
13618
13619         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13620         label to be used after in6ailist is initialized.
13621
13622 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13623
13624         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13625         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13626
13627 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13628
13629         [BZ #16357]
13630         [BZ #16599]
13631         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13632         min_plus_half.
13633         (fp_formats): Update initializers.
13634         (init_fp_formats): Initialize new field.
13635         (output_for_one_input_case): Allow underflow for results up to
13636         min_plus_half.
13637         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13638         * math/auto-libm-test-in: Don't mark some underflows from asin and
13639         atanh as spurious.
13640         * math/auto-libm-test-out: Regenerated.
13641         * sysdeps/i386/fpu/libm-test-ulps: Update.
13642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13643
13644 2014-03-25  Andreas Schwab  <schwab@suse.de>
13645
13646         * libio/Makefile (tst-ftell-partial-wide-ENV)
13647         (tst-ftell-active-handler-ENV): Define.
13648
13649 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13650
13651         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13652
13653 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13654
13655         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13656
13657 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13658
13659         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13660         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13661         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13662
13663 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13664
13665         [BZ #16634]
13666         * elf/dl-load.c (open_verify): Add mode parameter.
13667         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13668         (open_path): Change from boolean 'secure' to complete flag 'mode'
13669         (_dl_map_object): Adjust.
13670         * elf/Makefile (tests): Add tst-dlopen-aout.
13671         * elf/tst-dlopen-aout.c: New test.
13672
13673 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13674
13675         [BZ #16714]
13676         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13677         (struct stat): Rename member pad0 to __glibc_reserved0.
13678
13679         [BZ #16712]
13680         * sysdeps/s390/s390-32/bits/wordsize.h
13681         (__WORDSIZE32_SIZE_ULONG): New define.
13682         * sysdeps/s390/s390-64/bits/wordsize.h
13683         (__WORDSIZE32_SIZE_ULONG): Likewise.
13684         * sysdeps/generic/stdint.h (SIZE_MAX):
13685         Define as UL if __WORDSIZE32_SIZE_ULONG.
13686
13687         [BZ #16713]
13688         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13689         (__glibc_reserved0): New variable.
13690         (sa_flags): Change type to int.
13691
13692         * posix/Makefile (before-compile): Use += before-compile instead
13693         of a :=.
13694
13695         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13696         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13697
13698 2014-03-20  Andreas Schwab  <schwab@suse.de>
13699
13700         [BZ #16743]
13701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13702         non-matching result from nscd.
13703
13704 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13705
13706         * scripts/bench.py: Moved to ...
13707         * benchtests/scripts/bench.py: ... here.
13708         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13709
13710 2014-03-24  Andreas Schwab  <schwab@suse.de>
13711
13712         [BZ #16002]
13713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13714         alloca_account and account alloca use for struct in6ailist.
13715
13716 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13717
13718         [BZ #16284]
13719         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13720         rounding mode to recompute results that overflow to infinity or
13721         underflow to zero.
13722         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13723         bug 16284.
13724         * math/auto-libm-test-out: Regenerated.
13725         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13726         (ccosh_test): Likewise.
13727         (csin_test_data): Use plus_oflow.
13728         (csin_test): Use ALL_RM_TEST.
13729         (csinh_test_data): Use plus_oflow.
13730         (csinh_test): Use ALL_RM_TEST.
13731         * sysdeps/i386/fpu/libm-test-ulps: Update.
13732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13733
13734 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13735
13736         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13737         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13738         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13739
13740         [BZ #16731]
13741         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13742         when x - 1 is zero.
13743         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13744         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13745         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13747         argument is 1.
13748         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13749         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13750         zero.
13751         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13752         * sysdeps/i386/fpu/libm-test-ulps: Update.
13753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13754
13755 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13756
13757         * scripts/bench.pl: Remove file.
13758         * scripts/bench.py: New benchmark script.
13759         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13760         * benchtests/README: Mention python dependency.
13761         * scripts/pylintrc: New file.
13762         * scripts/pylint: New file.
13763
13764         * bits/mathdef.h: Use #ifdef instead of #if.
13765         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13766         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13767         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13768         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13769         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13770         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13771
13772 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13773             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13774
13775         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13777         and strpbrk-ppc64 objects.
13778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13779         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13780         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13781         multiarch strpbrk for POWER7.
13782         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13783         multiarch strpbrk for PPC64.
13784         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13785         ifunc selector.
13786         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13787         strpbrk for POWER7.
13788
13789 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13790
13791         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13792         (atan_test): Likewise.
13793         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13794         (atanh_test): Use ALL_RM_TEST.
13795         (atan2_test_data): Likewise.
13796         (cabs_test): Likewise.
13797         (cacosh_test): Likewise.
13798         (carg_test): Likewise.
13799         (casin_test): Likewise.
13800         (casinh_test): Likewise.
13801         (cbrt_test): Likewise.
13802         (csqrt_test): Likewise.
13803         (erf_test): Likewise.
13804         (erfc_test): Likewise.
13805         (pow10_test): Likewise.
13806         (exp2_test): Likewise.
13807         (hypot_test): Likewise.
13808         (j0_test): Likewise.
13809         (j1_test): Likewise.
13810         (lgamma_test): Likewise.
13811         (gamma_test): Likewise.
13812         (sincos_test): Likewise.
13813         (tanh_test): Likewise.
13814         (y0_test): Likewise.
13815         (y1_test): Likewise.
13816         * sysdeps/i386/fpu/libm-test-ulps: Update.
13817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13818
13819 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13820
13821         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13823         and strcspn-ppc64 objects.
13824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13825         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13826         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13827         multiarch strcspn for POWER7.
13828         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13829         multiarch strcspn for PPC64.
13830         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13831         ifunc selector.
13832         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13833         strcspn for POWER7.
13834
13835 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13836
13837         * math/gen-libm-test.pl (generate_testfile): Expect only function
13838         name as argument to AUTO_TESTS_* and pass results for all rounding
13839         modes to parse_args.
13840         (parse_auto_input): Separate inputs of automatic tests from
13841         outputs before storing in %auto_tests.
13842         * math/libm-test.inc (acos_test_data): Update call to
13843         AUTO_TESTS_f_f.
13844         (acos_test): Use ALL_RM_TEST.
13845         (acos_tonearest_test_data): Remove.
13846         (acos_test_tonearest): Likewise.
13847         (acos_towardzero_test_data): Likewise.
13848         (acos_test_towardzero): Likewise.
13849         (acos_downward_test_data): Likewise.
13850         (acos_test_downward): Likewise.
13851         (acos_upward_test_data): Likewise.
13852         (acos_test_upward): Likewise.
13853         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13854         (asin_test_data): Likewise.
13855         (asin_test): Use ALL_RM_TEST.
13856         (asin_tonearest_test_data): Remove.
13857         (asin_test_tonearest): Likewise.
13858         (asin_towardzero_test_data): Likewise.
13859         (asin_test_towardzero): Likewise.
13860         (asin_downward_test_data): Likewise.
13861         (asin_test_downward): Likewise.
13862         (asin_upward_test_data): Likewise.
13863         (asin_test_upward): Likewise.
13864         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13865         (atan_test_data): Likewise.
13866         (atanh_test_data): Likewise.
13867         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13868         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13869         (carg_test_data): Likewise.
13870         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13871         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13872         (ccosh_test_data): Likewise.
13873         (cexp_test_data): Likewise.
13874         (clog_test_data): Likewise.
13875         (clog10_test_data): Likewise.
13876         (cos_test_data): Update call to AUTO_TESTS_f_f.
13877         (cos_test): Use ALL_RM_TEST.
13878         (cos_tonearest_test_data): Remove.
13879         (cos_test_tonearest): Likewise.
13880         (cos_towardzero_test_data): Likewise.
13881         (cos_test_towardzero): Likewise.
13882         (cos_downward_test_data): Likewise.
13883         (cos_test_downward): Likewise.
13884         (cos_upward_test_data): Likewise.
13885         (cos_test_upward): Likewise.
13886         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13887         (cosh_test): Use ALL_RM_TEST.
13888         (cosh_tonearest_test_data): Remove.
13889         (cosh_test_tonearest): Likewise.
13890         (cosh_towardzero_test_data): Likewise.
13891         (cosh_test_towardzero): Likewise.
13892         (cosh_downward_test_data): Likewise.
13893         (cosh_test_downward): Likewise.
13894         (cosh_upward_test_data): Likewise.
13895         (cosh_test_upward): Likewise.
13896         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13897         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13898         (ctan_test_data): Likewise.
13899         (ctan_test): Use ALL_RM_TEST.
13900         (ctan_tonearest_test_data): Remove.
13901         (ctan_test_tonearest): Likewise.
13902         (ctan_towardzero_test_data): Likewise.
13903         (ctan_test_towardzero): Likewise.
13904         (ctan_downward_test_data): Likewise.
13905         (ctan_test_downward): Likewise.
13906         (ctan_upward_test_data): Likewise.
13907         (ctan_test_upward): Likewise.
13908         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13909         (ctanh_test): Use ALL_RM_TEST.
13910         (ctanh_tonearest_test_data): Remove.
13911         (ctanh_test_tonearest): Likewise.
13912         (ctanh_towardzero_test_data): Likewise.
13913         (ctanh_test_towardzero): Likewise.
13914         (ctanh_downward_test_data): Likewise.
13915         (ctanh_test_downward): Likewise.
13916         (ctanh_upward_test_data): Likewise.
13917         (ctanh_test_upward): Likewise.
13918         (erf_test_data): Update call to AUTO_TESTS_f_f.
13919         (erfc_test_data): Likewise.
13920         (exp_test_data): Likewise.
13921         (exp_test): Use ALL_RM_TEST.
13922         (exp_tonearest_test_data): Remove.
13923         (exp_test_tonearest): Likewise.
13924         (exp_towardzero_test_data): Likewise.
13925         (exp_test_towardzero): Likewise.
13926         (exp_downward_test_data): Likewise.
13927         (exp_test_downward): Likewise.
13928         (exp_upward_test_data): Likewise.
13929         (exp_test_upward): Likewise.
13930         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13931         (exp10_test): Use ALL_RM_TEST.
13932         (exp10_tonearest_test_data): Remove.
13933         (exp10_test_tonearest): Likewise.
13934         (exp10_towardzero_test_data): Likewise.
13935         (exp10_test_towardzero): Likewise.
13936         (exp10_downward_test_data): Likewise.
13937         (exp10_test_downward): Likewise.
13938         (exp10_upward_test_data): Likewise.
13939         (exp10_test_upward): Likewise.
13940         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13941         (expm1_test_data): Likewise.
13942         (expm1_test): Use ALL_RM_TEST.
13943         (expm1_tonearest_test_data): Remove.
13944         (expm1_test_tonearest): Likewise.
13945         (expm1_towardzero_test_data): Likewise.
13946         (expm1_test_towardzero): Likewise.
13947         (expm1_downward_test_data): Likewise.
13948         (expm1_test_downward): Likewise.
13949         (expm1_upward_test_data): Likewise.
13950         (expm1_test_upward): Likewise.
13951         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13952         (fma_test): Use ALL_RM_TEST.
13953         (fma_towardzero_test_data): Remove.
13954         (fma_test_towardzero): Likewise.
13955         (fma_downward_test_data): Likewise.
13956         (fma_test_downward): Likewise.
13957         (fma_upward_test_data): Likewise.
13958         (fma_test_upward): Likewise.
13959         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13960         (j0_test_data): Update call to AUTO_TESTS_f_f.
13961         (j1_test_data): Likewise.
13962         (jn_test_data): Update call to AUTO_TESTS_if_f.
13963         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13964         (log_test_data): Update call to AUTO_TESTS_f_f.
13965         (log10_test_data): Likewise.
13966         (log1p_test_data): Likewise.
13967         (log2_test_data): Likewise.
13968         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13969         (pow_tonearest_test_data): Likewise.
13970         (sin_test_data): Update call to AUTO_TESTS_f_f.
13971         (sin_test): Use ALL_RM_TEST.
13972         (sin_tonearest_test_data): Remove.
13973         (sin_test_tonearest): Likewise.
13974         (sin_towardzero_test_data): Likewise.
13975         (sin_test_towardzero): Likewise.
13976         (sin_downward_test_data): Likewise.
13977         (sin_test_downward): Likewise.
13978         (sin_upward_test_data): Likewise.
13979         (sin_test_upward): Likewise.
13980         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13981         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13982         (sinh_test): Use ALL_RM_TEST.
13983         (sinh_tonearest_test_data): Remove.
13984         (sinh_test_tonearest): Likewise.
13985         (sinh_towardzero_test_data): Likewise.
13986         (sinh_test_towardzero): Likewise.
13987         (sinh_downward_test_data): Likewise.
13988         (sinh_test_downward): Likewise.
13989         (sinh_upward_test_data): Likewise.
13990         (sinh_test_upward): Likewise.
13991         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13992         (sqrt_test): Use ALL_RM_TEST.
13993         (sqrt_tonearest_test_data): Remove.
13994         (sqrt_test_tonearest): Likewise.
13995         (sqrt_towardzero_test_data): Likewise.
13996         (sqrt_test_towardzero): Likewise.
13997         (sqrt_downward_test_data): Likewise.
13998         (sqrt_test_downward): Likewise.
13999         (sqrt_upward_test_data): Likewise.
14000         (sqrt_test_upward): Likewise.
14001         (tan_test_data): Update call to AUTO_TESTS_f_f.
14002         (tan_test): Use ALL_RM_TEST.
14003         (tan_tonearest_test_data): Remove.
14004         (tan_test_tonearest): Likewise.
14005         (tan_towardzero_test_data): Likewise.
14006         (tan_test_towardzero): Likewise.
14007         (tan_downward_test_data): Likewise.
14008         (tan_test_downward): Likewise.
14009         (tan_upward_test_data): Likewise.
14010         (tan_test_upward): Likewise.
14011         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14012         (tgamma_test_data): Likewise.
14013         (y0_test_data): Likewise.
14014         (y1_test_data): Likewise.
14015         (yn_test_data): Update call to AUTO_TESTS_if_f.
14016         (main): Do not call removed functions.
14017
14018 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14019
14020         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14021         (ldexp_test_data): Remove.
14022         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14023         scalbn_test_data.
14024         (scalb_test): Use ALL_RM_TEST.
14025
14026 2014-03-19  Andreas Schwab  <schwab@suse.de>
14027
14028         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14029
14030 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14031
14032         [BZ #16649]
14033         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14034         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14035         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14037         (__ASSUME_PREADV): Undefine.
14038         (__ASSUME_PWRITEV): Likewise.
14039
14040 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14041
14042         * bits/mman-linux.h: Add comment about non-Linux use.
14043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14044         bits/mman-linux.h resting place.
14045
14046         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14047         * bits/mman-linux.h: ... here.
14048
14049 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14050
14051         * conform/conformtest.pl: Add standard definition when calling C
14052         preprocessor on data files.
14053         (checknamespace): Remove unused variable.
14054
14055 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14056
14057         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14058         minus_oflow, plus_uflow and minus_uflow in expected results.
14059         * math/libm-test.inc (scalbn_test_data): Add more tests of
14060         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14061         minus_uflow.
14062         (scalbn_test): Use ALL_RM_TEST.
14063         (scalbln_test_data): Add more tests of negative arguments.  Use
14064         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14065         (scalbln_test): Use ALL_RM_TEST.
14066
14067 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14068
14069         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14070
14071 2014-03-18  Will Newton  <will.newton@linaro.org>
14072
14073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14074         inaccurate comment.
14075
14076 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14077
14078         * Makerules [!subdir] (check-abi): Exit with error status if a
14079         test failed.
14080
14081 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14082
14083         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14084         for rint.  Include results for all rounding modes.
14085         (nearbyint_test): Use ALL_RM_TEST.
14086         (rint_test_data): Include all tests used for nearbyint.
14087
14088 2014-03-17  Will Newton  <will.newton@linaro.org>
14089
14090         * nptl/sysdeps/pthread/pthread.h: Revert previous
14091         change.
14092
14093         * sysdeps/generic/ldsodefs.h: Revert previous
14094         change.
14095
14096         * libio/genops.c: Revert previous change.
14097         * libio/libioP.h: Likewise.
14098         * stdio-common/vfprintf.c: Likewise.
14099
14100         * sysdeps/generic/math_private.h: Revert previous
14101         change.
14102
14103         * sysdeps/generic/math_private.h: Check whether
14104         HAVE_RM_CTX is defined with #ifdef rather
14105         than #if.
14106
14107         * argp/argp-fmtstream.h: Check whether
14108         __STRICT_ANSI__ is defined with #ifdef rather
14109         than #if.
14110         * argp/argp.h: Likewise.
14111
14112         * libio/genops.c: Check whether
14113         _IO_JUMPS_OFFSET is defined with #ifdef rather
14114         than #if.
14115         * libio/libioP.h: Likewise.
14116         * stdio-common/vfprintf.c: Likewise.
14117
14118         * sysdeps/generic/ldsodefs.h: Check whether
14119         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14120         than #if.
14121
14122         * nptl/sysdeps/pthread/pthread.h: Check
14123         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14124         its value.
14125
14126 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14127
14128         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14129         setting O_APPEND.
14130         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14131         test case.
14132
14133         [BZ #16680]
14134         * libio/fileops.c (_IO_file_open): Seek to end of file but
14135         don't cache the offset.
14136         (get_file_offset): Remove function.
14137         (do_ftell): Use cached offset when available.
14138         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14139         don't cache the offset.
14140         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14141         case.
14142         (do_one_test): Call it.
14143         (do_ftell_test): Fix up expected old offset for a+ mode.
14144         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14145         available.
14146
14147         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14148         up test status with function return status.
14149         (do_write_test): Likewise.
14150         (do_append_test): Likewise.
14151
14152         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14153         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14154         Remove.
14155
14156 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14157
14158         * math/gen-libm-test.pl (parse_args): Handle results specified for
14159         each rounding mode separately.
14160         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14161         tests and results from lrint_tonearest_test_data,
14162         lrint_towardzero_test_data, lrint_downward_test_data and
14163         lrint_upward_test_data.
14164         (lrint_test): Use ALL_RM_TEST.
14165         (lrint_tonearest_test_data): Remove.
14166         (lrint_test_tonearest): Likewise.
14167         (lrint_towardzero_test_data): Likewise.
14168         (lrint_test_towardzero): Likewise.
14169         (lrint_downward_test_data): Likewise.
14170         (lrint_test_downward): Likewise.
14171         (lrint_upward_test_data): Likewise.
14172         (lrint_test_upward): Likewise.
14173         (llrint_test_data): Merge in per-rounding-mode tests and results
14174         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14175         llrint_downward_test_data and llrint_upward_test_data.
14176         (llrint_test): Use ALL_RM_TEST.
14177         (llrint_tonearest_test_data): Remove.
14178         (llrint_test_tonearest): Likewise.
14179         (llrint_towardzero_test_data): Likewise.
14180         (llrint_test_towardzero): Likewise.
14181         (llrint_downward_test_data): Likewise.
14182         (llrint_test_downward): Likewise.
14183         (llrint_upward_test_data): Likewise.
14184         (llrint_test_upward): Likewise.
14185         (rint_test_data): Merge in per-rounding-mode tests and results
14186         from rint_tonearest_test_data, rint_towardzero_test_data,
14187         rint_downward_test_data and rint_upward_test_data.  Add
14188         per-rounding-mode results for tests not in those arrays.
14189         (rint_test): Use ALL_RM_TEST.
14190         (rint_tonearest_test_data): Remove.
14191         (rint_test_tonearest): Likewise.
14192         (rint_towardzero_test_data): Likewise.
14193         (rint_test_towardzero): Likewise.
14194         (rint_downward_test_data): Likewise.
14195         (rint_test_downward): Likewise.
14196         (rint_upward_test_data): Likewise.
14197         (rint_test_upward): Likewise.
14198         (main): Don't call removed functions.
14199
14200 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14201
14202         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14203         "Compiled on ..." crapola.  It is anti-useful.
14204
14205 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14206
14207         * scripts/evaluate-test.sh: Handle fourth argument to determine
14208         whether test run should stop on failure.
14209         * Makeconfig (stop-on-test-failure): New variable.
14210         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14211         $(stop-on-test-failure).
14212         * Makefile (tests): Give a summary of results from testing and
14213         exit with failure status if they include an ERROR or FAIL.
14214         (xtests): Likewise.
14215         * manual/install.texi (Configuring and compiling): Mention
14216         stop-on-test-failure=y.
14217         * INSTALL: Regenerated.
14218
14219 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14220
14221         * scripts/versionlist.awk: New file.
14222         * Makerules [$(build-shared) = yes]
14223         (postclean-generated): Add Versions.def, not Versions.def.v and
14224         Versions.def.v.i.
14225         ($(common-objpfx)Versions.def.v.i): Target removed.
14226         ($(common-objpfx)Versions.def): New target.
14227         ($(common-objpfx)Versions.all): Depend on that rather that
14228         $(common-objpfx)Versions.def.v.
14229         * Versions.def: File removed.
14230
14231         * Makeconfig (+gccwarn): Add -Wundef.
14232         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14233         a dl-sysdep.h breaking its contract.
14234         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14235         * include/stackinfo.h: New file.
14236         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14237         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14238         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14239         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14240         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14241         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14242         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14243         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14244         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14245         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14246         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14247         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14248         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14249         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14250         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14251
14252 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14253
14254         [BZ #16707]
14255         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14256         implementation.
14257         * math/libm-test.inc (round_test_data): Add more tests.
14258
14259         [BZ #16706]
14260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14261         implementation.
14262         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14263
14264         [BZ #16701]
14265         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14266         implementation.
14267         * math/libm-test.inc (ceil_test_data): Add more tests.
14268
14269         * math/libm-test.inc (trunc_test_data): Add more tests related to
14270         BZ#16414.
14271
14272 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14273
14274         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14275         with #if rather than #ifdef.
14276         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14277
14278 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14279
14280         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14281         first.  Disable AVX-512 GCC support if assembler doesn't support
14282         it.
14283         * sysdeps/x86_64/configure: Regenerated.
14284
14285 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14286
14287         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14288         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14289         (__old_pthread_attr_setstack): Likewise.
14290         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14291         [!_STACK_GROWS_DOWN]: Likewise.
14292
14293 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14294
14295         * config.make.in (have-bash2): Delete.
14296         * configure.ac (libc_cv_have_bash2): Delete.
14297         * configure: Regenerate.
14298         * elf/Makefile (common-ldd-rewrite): Rename to ...
14299         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14300         (sh-ldd-rewrite): Delete.
14301         (bash-ldd-rewrite): Delete.
14302         (have-bash2): Delete checks.
14303         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14304         ldd-rewrite.
14305
14306         * config.make.in (have-ksh): Delete.
14307         (KSH): Delete.
14308         * configure.ac (libc_cv_have_ksh): Delete.
14309         * configure: Regenerate.
14310
14311         * elf/Makefile: Delete $(have-ksh) check.
14312         ($(objpfx)sotruss): Change KSH to BASH.
14313         * elf/sotruss.ksh: Rename to ...
14314         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14315         function style to match POSIX.  Drop ksh vim mode setting.
14316
14317         * manual/time.texi (Specifying the Time Zone with TZ): Change
14318         Tuesday to Thursday.
14319
14320         * debug/tst-longjmp_chk2.c: Update header comment.
14321         (stackoverflow_handler): Add comment.  Call assert on pass value.
14322
14323 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14324
14325         [BZ #16194]
14326         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14327         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14328         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14329         (La_x86_64_vector): Add zmm.
14330         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14331         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14332         ($(objpfx)tst-audit10): New target.
14333         ($(objpfx)tst-audit10.out): Likewise.
14334         (tst-audit10-ENV): New.
14335         (AVX512-CFLAGS): Likewise.
14336         (CFLAGS-tst-audit10.c): Likewise.
14337         (CFLAGS-tst-auditmod10a.c): Likewise.
14338         (CFLAGS-tst-auditmod10b.c): Likewise.
14339         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14340         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14341         * sysdeps/x86_64/configure: Regenerated.
14342         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14343         AVX-512 zmm register support.
14344         (_dl_x86_64_save_sse): Likewise.
14345         (_dl_x86_64_restore_sse): Likewise.
14346         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14347         size vector registers.
14348         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14349         (ZMM_SIZE): Likewise.
14350         * sysdeps/x86_64/tst-audit10.c: New file.
14351         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14352         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14353
14354 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14355
14356         * configure.ac (HAVE_EHDR_START): New check.
14357         * configure: Regenerated.
14358         * config.h.in (HAVE_EHDR_START): New #undef.
14359         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14360         assuming the lowest-addressed segment maps the start of the file.
14361
14362 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14363
14364         * INSTALL: Regenerated.
14365
14366 2014-03-13  Will Newton  <will.newton@linaro.org>
14367
14368         * manual/setjmp.texi (System V contexts): Improve
14369         clarity and grammar of documentation.
14370
14371 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14372
14373         [BZ #16381]
14374         * elf/Makefile (tests): Add tst-pie2.
14375         (tests-pie): Add tst-pie2.
14376         * elf/tst-pie2.c: New file.
14377         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14378         for ET_EXEC.
14379         * elf/rtld.c (map_doit): Load executable as lt_executable.
14380         (dl_main): Likewise.
14381
14382 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14383
14384         [BZ #16642]
14385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14386         (__ASSUME_PSELECT): Undefine.
14387
14388 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14389
14390         [BZ #16689]
14391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14392         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14393         static build.
14394         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14395         selector for static builds.
14396
14397 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14398
14399         [BZ #16695]
14400         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14401         key in the buffer.
14402
14403 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14404
14405         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14406         IFUNC selector for static builds.
14407
14408 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14409
14410         * sysdeps/mips/math_private.h [__mips_hard_float]
14411         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14412         libc_feresetround_mips_ctx.
14413         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14414         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14415         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14416
14417         [BZ #16677]
14418         * math/s_nextafter.c (__nextafter): Do not return value from
14419         overflowing computation.
14420         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14421         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14422         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14423         Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14425         Likewise.
14426         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14427         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14428
14429 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14430
14431         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14432         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14433         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14434         the new mov targetting sp.
14435
14436 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14437
14438         [BZ #16683]
14439         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14440         Define it for static builds as well.
14441         (NO_BZERO_IMPL): Likewise.
14442
14443 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14444
14445         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14446         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14447         multiarch strspn for PPC64.
14448         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14449         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14451         (__libc_ifunc_impl_list): Likewise.
14452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14453         multiarch optimizations
14454         * string/strspn.c (strspn): Using macro to redefine symbol name.
14455
14456 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14457             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14458
14459         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14460         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14461         multiarch strncat for PPC64.
14462         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14463         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14465         (__libc_ifunc_impl_list): Likewise.
14466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14467         multiarch optimizations
14468
14469 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14470
14471         [BZ #16639]
14472         * nscd/nscd.service: Make service type forking.
14473
14474 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14475
14476         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14477         sign in non default rounding modes.
14478         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14479
14480 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14481
14482         * math/libm-test.inc (ALL_RM_TEST): New macro.
14483         (ceil_test): Use ALL_RM_TEST.
14484         (cimag_test): Likewise.
14485         (conj_test): Likewise.
14486         (copysign_test): Likewise.
14487         (cproj_test): Likewise.
14488         (creal_test): Likewise.
14489         (fabs_test): Likewise.
14490         (floor_test): Likewise.
14491         (fmax_test): Likewise.
14492         (fmin_test): Likewise.
14493         (fmod_test): Likewise.
14494         (fpclassify_test): Likewise.
14495         (frexp_test): Likewise.
14496         (ilogb_test): Likewise.
14497         (isfinite_test): Likewise.
14498         (finite_test): Likewise.
14499         (isgreater_test): Likewise.
14500         (isgreaterequal_test): Likewise.
14501         (isinf_test): Likewise.
14502         (isless_test): Likewise.
14503         (islessequal_test): Likewise.
14504         (islessgreater_test): Likewise.
14505         (isnan_test): Likewise.
14506         (isnormal_test): Likewise.
14507         (issignaling_test): Likewise.
14508         (isunordered_test): Likewise.
14509         (logb_test): Likewise.
14510         (logb_downward_test_data): Remove.
14511         (logb_test_downward): Likewise.
14512         (lround_test): Use ALL_RM_TEST.
14513         (llround_test): Likewise.
14514         (modf_test): Likewise.
14515         (nexttoward_test): Likewise.
14516         (remainder_test): Likewise.
14517         (drem_test): Likewise.
14518         (remainder_tonearest_test_data): Likewise.
14519         (remainder_test_tonearest): Likewise.
14520         (drem_test_tonearest): Likewise.
14521         (remainder_towardzero_test_data): Likewise.
14522         (remainder_test_towardzero): Likewise.
14523         (drem_test_towardzero): Likewise.
14524         (remainder_downward_test_data): Likewise.
14525         (remainder_test_downward): Likewise.
14526         (drem_test_downward): Likewise.
14527         (remainder_upward_test_data): Likewise.
14528         (remainder_test_upward): Likewise.
14529         (drem_test_upward): Likewise.
14530         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14531         (round_test): Use ALL_RM_TEST.
14532         (signbit_test): Likewise.
14533         (trunc_test): Likewise.
14534         (significand_test): Likewise.
14535         (main): Don't call removed functions.
14536
14537 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14538
14539         [BZ #16674]
14540         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14541         || __USE_XOPEN2K8].
14542         (ILL_ILLOPN): Likewise.
14543         (ILL_ILLADR): Likewise.
14544         (ILL_ILLTRP): Likewise.
14545         (ILL_PRVOPC): Likewise.
14546         (ILL_PRVREG): Likewise.
14547         (ILL_COPROC): Likewise.
14548         (ILL_BADSTK): Likewise.
14549         (FPE_INTDIV): Likewise.
14550         (FPE_INTOVF): Likewise.
14551         (FPE_FLTDIV): Likewise.
14552         (FPE_FLTOVF): Likewise.
14553         (FPE_FLTUND): Likewise.
14554         (FPE_FLTRES): Likewise.
14555         (FPE_FLTINV): Likewise.
14556         (FPE_FLTSUB): Likewise.
14557         (SEGV_MAPERR): Likewise.
14558         (SEGV_ACCERR): Likewise.
14559         (BUS_ADRALN): Likewise.
14560         (BUS_ADRERR): Likewise.
14561         (BUS_OBJERR): Likewise.
14562         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14563         (TRAP_TRACE): Likewise.
14564         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14565         __USE_XOPEN2K8].
14566         (CLD_KILLED): Likewise.
14567         (CLD_DUMPED): Likewise.
14568         (CLD_TRAPPED): Likewise.
14569         (CLD_STOPPED): Likewise.
14570         (CLD_CONTINUED): Likewise.
14571         (POLL_IN): Likewise.
14572         (POLL_OUT): Likewise.
14573         (POLL_MSG): Likewise.
14574         (POLL_ERR): Likewise.
14575         (POLL_PRI): Likewise.
14576         (POLL_HUP): Likewise.
14577         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14578         Likewise.
14579         (ILL_ILLOPN): Likewise.
14580         (ILL_ILLADR): Likewise.
14581         (ILL_ILLTRP): Likewise.
14582         (ILL_PRVOPC): Likewise.
14583         (ILL_PRVREG): Likewise.
14584         (ILL_COPROC): Likewise.
14585         (ILL_BADSTK): Likewise.
14586         (FPE_INTDIV): Likewise.
14587         (FPE_INTOVF): Likewise.
14588         (FPE_FLTDIV): Likewise.
14589         (FPE_FLTOVF): Likewise.
14590         (FPE_FLTUND): Likewise.
14591         (FPE_FLTRES): Likewise.
14592         (FPE_FLTINV): Likewise.
14593         (FPE_FLTSUB): Likewise.
14594         (SEGV_MAPERR): Likewise.
14595         (SEGV_ACCERR): Likewise.
14596         (BUS_ADRALN): Likewise.
14597         (BUS_ADRERR): Likewise.
14598         (BUS_OBJERR): Likewise.
14599         (BUS_MCEERR_AR): Likewise.
14600         (BUS_MCEERR_AO): Likewise.
14601         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14602         (TRAP_TRACE): Likewise.
14603         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14604         __USE_XOPEN2K8].
14605         (CLD_KILLED): Likewise.
14606         (CLD_DUMPED): Likewise.
14607         (CLD_TRAPPED): Likewise.
14608         (CLD_STOPPED): Likewise.
14609         (CLD_CONTINUED): Likewise.
14610         (POLL_IN): Likewise.
14611         (POLL_OUT): Likewise.
14612         (POLL_MSG): Likewise.
14613         (POLL_ERR): Likewise.
14614         (POLL_PRI): Likewise.
14615         (POLL_HUP): Likewise.
14616         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14617         (ILL_ILLOPN): Likewise.
14618         (ILL_ILLADR): Likewise.
14619         (ILL_ILLTRP): Likewise.
14620         (ILL_PRVOPC): Likewise.
14621         (ILL_PRVREG): Likewise.
14622         (ILL_COPROC): Likewise.
14623         (ILL_BADSTK): Likewise.
14624         (FPE_INTDIV): Likewise.
14625         (FPE_INTOVF): Likewise.
14626         (FPE_FLTDIV): Likewise.
14627         (FPE_FLTOVF): Likewise.
14628         (FPE_FLTUND): Likewise.
14629         (FPE_FLTRES): Likewise.
14630         (FPE_FLTINV): Likewise.
14631         (FPE_FLTSUB): Likewise.
14632         (SEGV_MAPERR): Likewise.
14633         (SEGV_ACCERR): Likewise.
14634         (BUS_ADRALN): Likewise.
14635         (BUS_ADRERR): Likewise.
14636         (BUS_OBJERR): Likewise.
14637         (BUS_MCEERR_AR): Likewise.
14638         (BUS_MCEERR_AO): Likewise.
14639         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14640         (TRAP_TRACE): Likewise.
14641         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14642         __USE_XOPEN2K8].
14643         (CLD_KILLED): Likewise.
14644         (CLD_DUMPED): Likewise.
14645         (CLD_TRAPPED): Likewise.
14646         (CLD_STOPPED): Likewise.
14647         (CLD_CONTINUED): Likewise.
14648         (POLL_IN): Likewise.
14649         (POLL_OUT): Likewise.
14650         (POLL_MSG): Likewise.
14651         (POLL_ERR): Likewise.
14652         (POLL_PRI): Likewise.
14653         (POLL_HUP): Likewise.
14654         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14655         Likewise.
14656         (ILL_ILLOPN): Likewise.
14657         (ILL_ILLADR): Likewise.
14658         (ILL_ILLTRP): Likewise.
14659         (ILL_PRVOPC): Likewise.
14660         (ILL_PRVREG): Likewise.
14661         (ILL_COPROC): Likewise.
14662         (ILL_BADSTK): Likewise.
14663         (ILL_BADIADDR): Likewise.
14664         (ILL_BREAK): Likewise.
14665         (FPE_INTDIV): Likewise.
14666         (FPE_INTOVF): Likewise.
14667         (FPE_FLTDIV): Likewise.
14668         (FPE_FLTOVF): Likewise.
14669         (FPE_FLTUND): Likewise.
14670         (FPE_FLTRES): Likewise.
14671         (FPE_FLTINV): Likewise.
14672         (FPE_FLTSUB): Likewise.
14673         (FPE_DECOVF): Likewise.
14674         (FPE_DECDIV): Likewise.
14675         (FPE_DECERR): Likewise.
14676         (FPE_INVASC): Likewise.
14677         (FPE_INVDEC): Likewise.
14678         (SEGV_MAPERR): Likewise.
14679         (SEGV_ACCERR): Likewise.
14680         (SEGV_PSTKOVF): Likewise.
14681         (BUS_ADRALN): Likewise.
14682         (BUS_ADRERR): Likewise.
14683         (BUS_OBJERR): Likewise.
14684         (BUS_MCEERR_AR): Likewise.
14685         (BUS_MCEERR_AO): Likewise.
14686         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14687         (TRAP_TRACE): Likewise.
14688         (TRAP_BRANCH): Likewise.
14689         (TRAP_HWBKPT): Likewise.
14690         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14691         __USE_XOPEN2K8].
14692         (CLD_KILLED): Likewise.
14693         (CLD_DUMPED): Likewise.
14694         (CLD_TRAPPED): Likewise.
14695         (CLD_STOPPED): Likewise.
14696         (CLD_CONTINUED): Likewise.
14697         (POLL_IN): Likewise.
14698         (POLL_OUT): Likewise.
14699         (POLL_MSG): Likewise.
14700         (POLL_ERR): Likewise.
14701         (POLL_PRI): Likewise.
14702         (POLL_HUP): Likewise.
14703         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14704         (ILL_ILLOPN): Likewise.
14705         (ILL_ILLADR): Likewise.
14706         (ILL_ILLTRP): Likewise.
14707         (ILL_PRVOPC): Likewise.
14708         (ILL_PRVREG): Likewise.
14709         (ILL_COPROC): Likewise.
14710         (ILL_BADSTK): Likewise.
14711         (FPE_INTDIV): Likewise.
14712         (FPE_INTOVF): Likewise.
14713         (FPE_FLTDIV): Likewise.
14714         (FPE_FLTOVF): Likewise.
14715         (FPE_FLTUND): Likewise.
14716         (FPE_FLTRES): Likewise.
14717         (FPE_FLTINV): Likewise.
14718         (FPE_FLTSUB): Likewise.
14719         (SEGV_MAPERR): Likewise.
14720         (SEGV_ACCERR): Likewise.
14721         (BUS_ADRALN): Likewise.
14722         (BUS_ADRERR): Likewise.
14723         (BUS_OBJERR): Likewise.
14724         (BUS_MCEERR_AR): Likewise.
14725         (BUS_MCEERR_AO): Likewise.
14726         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14727         (TRAP_TRACE): Likewise.
14728         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14729         __USE_XOPEN2K8].
14730         (CLD_KILLED): Likewise.
14731         (CLD_DUMPED): Likewise.
14732         (CLD_TRAPPED): Likewise.
14733         (CLD_STOPPED): Likewise.
14734         (CLD_CONTINUED): Likewise.
14735         (POLL_IN): Likewise.
14736         (POLL_OUT): Likewise.
14737         (POLL_MSG): Likewise.
14738         (POLL_ERR): Likewise.
14739         (POLL_PRI): Likewise.
14740         (POLL_HUP): Likewise.
14741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14742         (ILL_ILLOPN): Likewise.
14743         (ILL_ILLADR): Likewise.
14744         (ILL_ILLTRP): Likewise.
14745         (ILL_PRVOPC): Likewise.
14746         (ILL_PRVREG): Likewise.
14747         (ILL_COPROC): Likewise.
14748         (ILL_BADSTK): Likewise.
14749         (FPE_INTDIV): Likewise.
14750         (FPE_INTOVF): Likewise.
14751         (FPE_FLTDIV): Likewise.
14752         (FPE_FLTOVF): Likewise.
14753         (FPE_FLTUND): Likewise.
14754         (FPE_FLTRES): Likewise.
14755         (FPE_FLTINV): Likewise.
14756         (FPE_FLTSUB): Likewise.
14757         (SEGV_MAPERR): Likewise.
14758         (SEGV_ACCERR): Likewise.
14759         (BUS_ADRALN): Likewise.
14760         (BUS_ADRERR): Likewise.
14761         (BUS_OBJERR): Likewise.
14762         (BUS_MCEERR_AR): Likewise.
14763         (BUS_MCEERR_AO): Likewise.
14764         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14765         (TRAP_TRACE): Likewise.
14766         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14767         __USE_XOPEN2K8].
14768         (CLD_KILLED): Likewise.
14769         (CLD_DUMPED): Likewise.
14770         (CLD_TRAPPED): Likewise.
14771         (CLD_STOPPED): Likewise.
14772         (CLD_CONTINUED): Likewise.
14773         (POLL_IN): Likewise.
14774         (POLL_OUT): Likewise.
14775         (POLL_MSG): Likewise.
14776         (POLL_ERR): Likewise.
14777         (POLL_PRI): Likewise.
14778         (POLL_HUP): Likewise.
14779         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14780         (ILL_ILLOPN): Likewise.
14781         (ILL_ILLADR): Likewise.
14782         (ILL_ILLTRP): Likewise.
14783         (ILL_PRVOPC): Likewise.
14784         (ILL_PRVREG): Likewise.
14785         (ILL_COPROC): Likewise.
14786         (ILL_BADSTK): Likewise.
14787         (FPE_INTDIV): Likewise.
14788         (FPE_INTOVF): Likewise.
14789         (FPE_FLTDIV): Likewise.
14790         (FPE_FLTOVF): Likewise.
14791         (FPE_FLTUND): Likewise.
14792         (FPE_FLTRES): Likewise.
14793         (FPE_FLTINV): Likewise.
14794         (FPE_FLTSUB): Likewise.
14795         (SEGV_MAPERR): Likewise.
14796         (SEGV_ACCERR): Likewise.
14797         (BUS_ADRALN): Likewise.
14798         (BUS_ADRERR): Likewise.
14799         (BUS_OBJERR): Likewise.
14800         (BUS_MCEERR_AR): Likewise.
14801         (BUS_MCEERR_AO): Likewise.
14802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14803         (TRAP_TRACE): Likewise.
14804         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14805         __USE_XOPEN2K8].
14806         (CLD_KILLED): Likewise.
14807         (CLD_DUMPED): Likewise.
14808         (CLD_TRAPPED): Likewise.
14809         (CLD_STOPPED): Likewise.
14810         (CLD_CONTINUED): Likewise.
14811         (POLL_IN): Likewise.
14812         (POLL_OUT): Likewise.
14813         (POLL_MSG): Likewise.
14814         (POLL_ERR): Likewise.
14815         (POLL_PRI): Likewise.
14816         (POLL_HUP): Likewise.
14817         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14818         (ILL_ILLOPN): Likewise.
14819         (ILL_ILLADR): Likewise.
14820         (ILL_ILLTRP): Likewise.
14821         (ILL_PRVOPC): Likewise.
14822         (ILL_PRVREG): Likewise.
14823         (ILL_COPROC): Likewise.
14824         (ILL_BADSTK): Likewise.
14825         (ILL_DBLFLT): Likewise.
14826         (ILL_HARDWALL): Likewise.
14827         (FPE_INTDIV): Likewise.
14828         (FPE_INTOVF): Likewise.
14829         (FPE_FLTDIV): Likewise.
14830         (FPE_FLTOVF): Likewise.
14831         (FPE_FLTUND): Likewise.
14832         (FPE_FLTRES): Likewise.
14833         (FPE_FLTINV): Likewise.
14834         (FPE_FLTSUB): Likewise.
14835         (SEGV_MAPERR): Likewise.
14836         (SEGV_ACCERR): Likewise.
14837         (BUS_ADRALN): Likewise.
14838         (BUS_ADRERR): Likewise.
14839         (BUS_OBJERR): Likewise.
14840         (BUS_MCEERR_AR): Likewise.
14841         (BUS_MCEERR_AO): Likewise.
14842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14843         (TRAP_TRACE): Likewise.
14844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14845         __USE_XOPEN2K8].
14846         (CLD_KILLED): Likewise.
14847         (CLD_DUMPED): Likewise.
14848         (CLD_TRAPPED): Likewise.
14849         (CLD_STOPPED): Likewise.
14850         (CLD_CONTINUED): Likewise.
14851         (POLL_IN): Likewise.
14852         (POLL_OUT): Likewise.
14853         (POLL_MSG): Likewise.
14854         (POLL_ERR): Likewise.
14855         (POLL_PRI): Likewise.
14856         (POLL_HUP): Likewise.
14857         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14858         (ILL_ILLOPN): Likewise.
14859         (ILL_ILLADR): Likewise.
14860         (ILL_ILLTRP): Likewise.
14861         (ILL_PRVOPC): Likewise.
14862         (ILL_PRVREG): Likewise.
14863         (ILL_COPROC): Likewise.
14864         (ILL_BADSTK): Likewise.
14865         (FPE_INTDIV): Likewise.
14866         (FPE_INTOVF): Likewise.
14867         (FPE_FLTDIV): Likewise.
14868         (FPE_FLTOVF): Likewise.
14869         (FPE_FLTUND): Likewise.
14870         (FPE_FLTRES): Likewise.
14871         (FPE_FLTINV): Likewise.
14872         (FPE_FLTSUB): Likewise.
14873         (SEGV_MAPERR): Likewise.
14874         (SEGV_ACCERR): Likewise.
14875         (BUS_ADRALN): Likewise.
14876         (BUS_ADRERR): Likewise.
14877         (BUS_OBJERR): Likewise.
14878         (BUS_MCEERR_AR): Likewise.
14879         (BUS_MCEERR_AO): Likewise.
14880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14881         (TRAP_TRACE): Likewise.
14882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14883         __USE_XOPEN2K8].
14884         (CLD_KILLED): Likewise.
14885         (CLD_DUMPED): Likewise.
14886         (CLD_TRAPPED): Likewise.
14887         (CLD_STOPPED): Likewise.
14888         (CLD_CONTINUED): Likewise.
14889         (POLL_IN): Likewise.
14890         (POLL_OUT): Likewise.
14891         (POLL_MSG): Likewise.
14892         (POLL_ERR): Likewise.
14893         (POLL_PRI): Likewise.
14894         (POLL_HUP): Likewise.
14895         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14896         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14897
14898         [BZ #16670]
14899         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14900         before #include of <time.h>.
14901         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14902         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14903         (test-xfail-UNIX98/sched.h/conform): Likewise.
14904
14905 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14906
14907         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14908         error absence of trapping exception support.
14909         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14910
14911 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14912
14913         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14914         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14915         * timezone/Makefile (testdata): Move definition above include of
14916         Rules.
14917         (test-zones): New variable.
14918         (tests-special): Add zone files.
14919         (build-testdata): Use $(evaluate-test).
14920
14921         * elf/Makefile (tests-special): Rename tests to end with .out.
14922         ($(objpfx)noload-mem): Likewise.
14923         ($(objpfx)tst-leaks1-mem): Likewise.
14924         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14925         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14926         $(objpfx)test-iconvconfig.out.
14927         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14928         set -e inside subshell and redirect output to file.
14929         * iconvdata/Makefile (generated): Rename tests to end with .out.
14930         Correct type.
14931         (tests-special): Rename tests to end with .out.
14932         ($(objpfx)mtrace-tst-loading): Likewise.
14933         * intl/Makefile (generated): Likewise.
14934         (tests-special): Likewise.
14935         ($(objpfx)mtrace-tst-gettext): Likewise.
14936         * misc/Makefile (generated): Likewise.
14937         (tests-special): Likewise.
14938         ($(objpfx)tst-error1-mem): Likewise.
14939         * nptl/Makefile (tests-special): Likewise.
14940         ($(objpfx)tst-stack3-mem): Likewise.
14941         (generated): Likewise.
14942         * posix/Makefile (generated): Likewise.
14943         (tests-special): Likewise.
14944         (xtests-special): Likewise.
14945         ($(objpfx)tst-fnmatch-mem): Likewise.
14946         ($(objpfx)bug-regex2-mem): Likewise.
14947         ($(objpfx)bug-regex14-mem): Likewise.
14948         ($(objpfx)bug-regex21-mem): Likewise.
14949         ($(objpfx)bug-regex31-mem): Likewise.
14950         ($(objpfx)tst-vfork3-mem): Likewise.
14951         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14952         ($(objpfx)tst-pcre-mem): Likewise.
14953         ($(objpfx)tst-boost-mem): Likewise.
14954         ($(objpfx)bug-ga2-mem): Likewise.
14955         ($(objpfx)bug-glob2-mem): Likewise.
14956         * resolv/Makefile (generate): Likewise.
14957         (tests-special): Likewise.
14958         (xtests-special): Likewise.
14959         (generated): Likewise.
14960         ($(objpfx)mtrace-tst-leaks): Likewise.
14961         ($(objpfx)mtrace-tst-leaks2): Likewise.
14962
14963         * scripts/merge-test-results.sh: New file.
14964         * Makefile (tests-special-notdir): New variable.
14965         (tests): Run merge-test-results.sh.
14966         (xtests): Likewise.
14967         * Rules (tests-special-notdir): New variable.
14968         (xtests-special-notdir): Likewise.
14969         (tests): Run merge-test-results.sh
14970         (xtests): Likewise.
14971
14972         * Makeconfig (test-xfail-name): New variable.
14973         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14974         compute variable name for expected failures.
14975         * conform/Makefile (conformtest-headers-data): New variable.
14976         (conformtest-standards): Likewise.
14977         (conformtest-headers-ISO): Likewise.
14978         (conformtest-headers-ISO99): Likewise.
14979         (conformtest-headers-ISO11): Likewise.
14980         (conformtest-headers-POSIX): Likewise.
14981         (conformtest-headers-XPG3): Likewise.
14982         (conformtest-headers-XPG4): Likewise.
14983         (conformtest-headers-UNIX98): Likewise.
14984         (conformtest-headers-XOPEN2K): Likewise.
14985         (conformtest-headers-POSIX2008): Likewise.
14986         (conformtest-headers-XOPEN2K8): Likewise.
14987         (conformtest-header-list-base): Likewise.
14988         (conformtest-header-list-tests): Likewise.
14989         (conformtest-header-base): Likewise.
14990         (conformtest-header-tests): Likewise.
14991         (tests-special): Add $(conformtest-header-list-tests).  If
14992         [$(fast-check) && !$(cross-compiling)], add
14993         $(conformtest-header-tests) instead of
14994         $(objpfx)run-conformtest.out.
14995         (generated): Add $(conformtest-header-list-base).  If
14996         [$(fast-check) && !$(cross-compiling)], add
14997         $(conformtest-header-base).  Remove previous setting.
14998         ($(conformtest-header-list-tests)): New target.
14999         (test-xfail-run-conformtest): Remove variable.
15000         ($(objpfx)run-conformtest.out): Remove target.
15001         (test-xfail-ISO11/complex.h/conform): New variable.
15002         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15003         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15004         (test-xfail-XPG3/varargs.h/conform): Likewise.
15005         (test-xfail-XPG4/varargs.h/conform): Likewise.
15006         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15007         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15008         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15009         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15010         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15011         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15012         (test-xfail-XPG3/ftw.h/conform): Likewise.
15013         (test-xfail-XPG3/grp.h/conform): Likewise.
15014         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15015         (test-xfail-XPG3/limits.h/conform): Likewise.
15016         (test-xfail-XPG3/pwd.h/conform): Likewise.
15017         (test-xfail-XPG3/search.h/conform): Likewise.
15018         (test-xfail-XPG3/signal.h/conform): Likewise.
15019         (test-xfail-XPG3/stdio.h/conform): Likewise.
15020         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15021         (test-xfail-XPG3/string.h/conform): Likewise.
15022         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15023         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15024         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15025         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15026         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15027         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15028         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15029         (test-xfail-XPG3/termios.h/conform): Likewise.
15030         (test-xfail-XPG3/time.h/conform): Likewise.
15031         (test-xfail-XPG3/unistd.h/conform): Likewise.
15032         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15033         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15034         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15035         (test-xfail-XPG4/netdb.h/conform): Likewise.
15036         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15037         (test-xfail-XPG4/signal.h/conform): Likewise.
15038         (test-xfail-XPG4/stdio.h/conform): Likewise.
15039         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15040         (test-xfail-XPG4/stropts.h/conform): Likewise.
15041         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15042         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15043         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15044         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15045         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15046         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15047         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15048         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15049         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15050         (test-xfail-XPG4/termios.h/conform): Likewise.
15051         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15052         (test-xfail-XPG4/unistd.h/conform): Likewise.
15053         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15054         (test-xfail-POSIX/sched.h/conform): Likewise.
15055         (test-xfail-POSIX/signal.h/conform): Likewise.
15056         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15057         (test-xfail-POSIX/tar.h/conform): Likewise.
15058         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15059         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15060         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15061         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15062         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15063         (test-xfail-UNIX98/sched.h/conform): Likewise.
15064         (test-xfail-UNIX98/signal.h/conform): Likewise.
15065         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15066         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15067         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15068         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15069         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15070         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15071         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15072         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15073         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15074         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15075         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15076         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15077         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15078         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15079         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15080         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15081         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15082         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15083         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15084         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15085         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15086         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15087         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15088         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15089         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15090         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15091         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15092         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15093         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15094         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15095         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15096         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15097         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15098         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15099         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15100         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15101         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15102         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15103         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15104         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15105         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15106         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15107         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15108         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15109         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15110         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15111         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15112         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15113         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15114         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15115         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15116         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15117         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15118         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15119         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15120         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15121         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15122         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15123         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15124         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15125         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15126         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15127         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15128         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15129         (conformtest-cc-flags): Likewise.
15130         ($(conformtest-header-tests): New target.
15131         * conform/check-header-lists.sh: New file.
15132         * conform/run-conformtest.sh: Remove.
15133
15134         * conform/conformtest.pl: Allow ' and \ in values given for
15135         constants.
15136         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15137         inclusion.
15138         [POSIX] (sys/types.h): Likewise.
15139         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15140         inclusion.
15141         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15142         inclusion.
15143         * conform/data/signal.h-data (SIGIO): Remove expectation.
15144         [XPG3] (SIGBUS): Do not expect.
15145         [POSIX || XPG3] (SIGPOLL): Likewise.
15146         [POSIX || XPG3] (SIGPROF): Likewise.
15147         [POSIX || XPG3] (SIGSYS): Likewise.
15148         [XPG3] (SIGTRAP): Likewise.
15149         [POSIX || XPG3] (SIGURG): Likewise.
15150         [POSIX || XPG3] (SIGVTALRM): Likewise.
15151         [POSIX || XPG3] (SIGXCPU): Likewise.
15152         [POSIX || XPG3] (SIGXFSZ): Likewise.
15153         [POSIX] (SA_SIGINFO): Expect.
15154         [XPG3] (siginfo_t): Do not expect type or contents.
15155         [POSIX] (si_pid): Do not expect element.
15156         [POSIX] (si_uid): Likewise.
15157         [POSIX] (si_addr): Likewise.
15158         [POSIX] (si_status): Likewise.
15159         [POSIX] (si_band): Likewise.
15160         [XPG4] (si_value): Likewise.
15161         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15162         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15163         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15164         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15165         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15166         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15167         [POSIX || XPG3] (ILL_COPROC): Likewise.
15168         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15169         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15170         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15171         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15172         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15173         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15174         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15175         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15176         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15177         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15178         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15179         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15180         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15181         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15182         [POSIX || XPG3] (CLD_EXITED): Likewise.
15183         [POSIX || XPG3] (CLD_KILLED): Likewise.
15184         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15185         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15186         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15187         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15188         [POSIX || XPG3] (POLL_IN): Likewise.
15189         [POSIX || XPG3] (POLL_OUT): Likewise.
15190         [POSIX || XPG3] (POLL_MSG): Likewise.
15191         [POSIX || XPG3] (POLL_ERR): Likewise.
15192         [POSIX || XPG3] (POLL_PRI): Likewise.
15193         [POSIX || XPG3] (POLL_HUP): Likewise.
15194         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15195         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15196         (SIG*): Do not allow.
15197         [XPG3] (si_*): Likewise.
15198         [XPG3] (SI_*): Likewise.
15199         [XPG3 || XPG4] (sigev_*): Likewise.
15200         [XPG3 || XPG4] (SIGEV_*): Likewise.
15201         [XPG3 || XPG4] (sival_*): Likewise.
15202         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15203         [POSIX || XPG3] (BUS_*): Likewise.
15204         [POSIX || XPG3] (CLD_*): Likewise.
15205         [POSIX || XPG3] (FPE_*): Likewise.
15206         [POSIX || XPG3] (ILL_*): Likewise.
15207         [POSIX || XPG3] (POLL_*): Likewise.
15208         [POSIX || XPG3] (SEGV_*): Likewise.
15209         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15210         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15211         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15212         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15213         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15214         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15215         Specify type and value.
15216         (TVERSLEN): Likewise.
15217         (REGTYPE): Likewise.
15218         (AREGTYPE): Likewise.
15219         (LNKTYPE): Likewise.
15220         (SYMTYPE): Likewise.
15221         (CHRTYPE): Likewise.
15222         (BLKTYPE): Likewise.
15223         (DIRTYPE): Likewise.
15224         (FIFOTYPE): Likewise.
15225         (CONTTYPE): Likewise.
15226         (TSUID): Likewise.
15227         (TSGID): Likewise.
15228         (TSVTX): Likewise.
15229         (TUREAD): Likewise.
15230         (TUWRITE): Likewise.
15231         (TUEXEC): Likewise.
15232         (TGREAD): Likewise.
15233         (TGWRITE): Likewise.
15234         (TGEXEC): Likewise.
15235         (TOREAD): Likewise.
15236         (TOWRITE): Likewise.
15237         (TOEXEC): Likewise.
15238         [POSIX] (TSVTX): Expect constant.
15239
15240 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15241
15242         * Makefile (tests): Change dependencies to ....
15243         (tests-special): ... additions to this variable.
15244         (tests): Depend on $(tests-special).
15245         * Makerules (check-abi-list): New variable.
15246         (check-abi): Depend on $(check-abi-list).
15247         [$(subdir) = elf] (tests-special): Add
15248         $(objpfx)check-abi-libc.out.
15249         [$(build-shared) = yes && subdir] (tests-special): Add
15250         $(check-abi-list).
15251         [$(build-shared) = yes && subdir] (tests): Do not depend on
15252         check-abi.
15253         * Rules (tests): Depend on $(tests-special).
15254         (xtests): Depend on $(xtests-special).
15255         * catgets/Makefile (tests): Change dependencies to ....
15256         (tests-special): ... additions to this variable.
15257         * conform/Makefile (tests): Change dependencies to ....
15258         (tests-special): ... additions to this variable.
15259         * elf/Makefile (tests): Change dependencies to ....
15260         (tests-special): ... additions to this variable.
15261         * grp/Makefile (tests): Change dependencies to ....
15262         (tests-special): ... additions to this variable.
15263         * iconv/Makefile (xtests): Change dependencies to ....
15264         (xtests-special): ... additions to this variable.
15265         * iconvdata/Makefile (tests): Change dependencies to ....
15266         (tests-special): ... additions to this variable.
15267         * intl/Makefile (tests): Change dependencies to ....
15268         (tests-special): ... additions to this variable.  Also add
15269         $(objpfx)tst-gettext.out.
15270         * io/Makefile (tests): Change dependencies to ....
15271         (tests-special): ... additions to this variable.
15272         * libio/Makefile (tests): Change dependencies to ....
15273         (tests-special): ... additions to this variable.
15274         * malloc/Makefile (tests): Change dependencies to ....
15275         (tests-special): ... additions to this variable.
15276         * misc/Makefile (tests): Change dependencies to ....
15277         (tests-special): ... additions to this variable.
15278         * nptl/Makefile (tests): Change dependencies to ....
15279         (tests-special): ... additions to this variable.
15280         * nptl_db/Makefile (tests): Change dependencies to ....
15281         (tests-special): ... additions to this variable.
15282         * posix/Makefile (tests): Change dependencies to ....
15283         (tests-special): ... additions to this variable.
15284         (xtests): Change dependencies to ....
15285         (xtests-special): ... additions to this variable.
15286         * resolv/Makefile (tests): Change dependencies to ....
15287         (tests-special): ... additions to this variable.
15288         (xtests): Change dependencies to ....
15289         (xtests-special): ... additions to this variable.
15290         * stdio-common/Makefile (tests): Change dependencies to ....
15291         (tests-special): ... additions to this variable.
15292         (do-tst-unbputc): Remove target.
15293         (do-tst-printf): Likewise.
15294         * stdlib/Makefile (tests): Change dependencies to ....
15295         (tests-special): ... additions to this variable.
15296         * string/Makefile (tests): Change dependencies to ....
15297         (tests-special): ... additions to this variable.
15298         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15299         (tests-special): ... additions to this variable.
15300
15301         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15302         whole file.
15303         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15304         whole file.
15305         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15306         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15307
15308         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15309         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15310         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15311         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15312         * conform/data/libgen.h-data [XPG3]: Likewise.
15313         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15314         * conform/data/ndbm.h-data [XPG3]: Likewise.
15315         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15316         * conform/data/netdb.h-data [XPG3]: Likewise.
15317         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15318         * conform/data/poll.h-data [XPG3]: Likewise.
15319         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15320         * conform/data/strings.h-data [XPG3]: Likewise.
15321         * conform/data/stropts.h-data [XPG3]: Likewise.
15322         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15323         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15324         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15325         Likewise.
15326         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15327         * conform/data/sys/time.h-data [XPG3]: Likewise.
15328         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15329         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15330         * conform/data/sys/un.h-data [XPG3]: Likewise.
15331         * conform/data/syslog.h-data [XPG3]: Likewise.
15332         * conform/data/ucontext.h-data [XPG3]: Likewise.
15333         * conform/data/utmpx.h-data [XPG3]: Likewise.
15334         * conform/data/varargs.h-data [UNIX98]: Enable file.
15335
15336         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15337
15338         * math/libm-test.inc (struct test_f_f_data): Move expected results
15339         into structure for each rounding mode.
15340         (struct test_ff_f_data): Likewise.
15341         (struct test_ff_f_data_nexttoward): Likewise.
15342         (struct test_fi_f_data): Likewise.
15343         (struct test_fl_f_data): Likewise.
15344         (struct test_if_f_data): Likewise.
15345         (struct test_fff_f_data): Likewise.
15346         (struct test_c_f_data): Likewise.
15347         (struct test_f_f1_data): Likewise.
15348         (struct test_fF_f1_data): Likewise.
15349         (struct test_ffI_f1_data): Likewise.
15350         (struct test_c_c_data): Likewise.
15351         (struct test_cc_c_data): Likewise.
15352         (struct test_f_i_data): Likewise.
15353         (struct test_ff_i_data): Likewise.
15354         (struct test_f_l_data): Likewise.
15355         (struct test_f_L_data): Likewise.
15356         (struct test_fFF_11_data): Likewise.
15357         (RM_): New macro.
15358         (RM_FE_DOWNWARD): Likewise.
15359         (RM_FE_TONEAREST): Likewise.
15360         (RM_FE_TOWARDZERO): Likewise.
15361         (RM_FE_UPWARD): Likewise.
15362         (RUN_TEST_LOOP_f_f): Update references to expected results.
15363         (RUN_TEST_LOOP_2_f): Likewise.
15364         (RUN_TEST_LOOP_fff_f): Likewise.
15365         (RUN_TEST_LOOP_c_f): Likewise.
15366         (RUN_TEST_LOOP_f_f1): Likewise.
15367         (RUN_TEST_LOOP_fF_f1): Likewise.
15368         (RUN_TEST_LOOP_fI_f1): Likewise.
15369         (RUN_TEST_LOOP_ffI_f1): Likewise.
15370         (RUN_TEST_LOOP_c_c): Likewise.
15371         (RUN_TEST_LOOP_cc_c): Likewise.
15372         (RUN_TEST_LOOP_f_i): Likewise.
15373         (RUN_TEST_LOOP_f_i_tg): Likewise.
15374         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15375         (RUN_TEST_LOOP_f_b): Likewise.
15376         (RUN_TEST_LOOP_f_b_tg): Likewise.
15377         (RUN_TEST_LOOP_f_l): Likewise.
15378         (RUN_TEST_LOOP_f_L): Likewise.
15379         (RUN_TEST_LOOP_fFF_11): Likewise.
15380         * math/gen-libm-test.pl (parse_args): Output four copies of
15381         expected results for each test.
15382
15383         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15384         (__ASSUME_UTIMES): Remove.
15385         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15386         (__ASSUME_UTIMES): Likewise.
15387
15388         * math/gen-auto-libm-tests.c: Update comment on output format.
15389         (output_for_one_input_case): Generate before-rounding and
15390         after-rounding information as conditions on output flags not
15391         floating-point format.
15392         * math/auto-libm-test-out: Regenerated.
15393         * math/gen-libm-test.pl (cond_value): New function.
15394         (or_cond_value): Use cond_value.
15395         (generate_testfile): Handle conditional exceptions.
15396
15397 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15398
15399         * math/libm-test.inc (max_valid_error): New variable.
15400         (init_max_error): Take new argument specifying whether function
15401         results are exactly determined.  Set max_valid_error and bound
15402         other variables for errors based on this argument.
15403         (set_max_error): Do not record results above max_valid_error.
15404         (check_float_internal): Only accept errors of up to 0.5ulps if
15405         also at most max_valid_error.
15406         (START): Take new argument EXACT and pass it to init_max_error.
15407         (acos_test): Update call to START.
15408         (acos_test_tonearest): Likewise.
15409         (acos_test_towardzero): Likewise.
15410         (acos_test_downward): Likewise.
15411         (acos_test_upward): Likewise.
15412         (acosh_test): Likewise.
15413         (asin_test): Likewise.
15414         (asin_test_tonearest): Likewise.
15415         (asin_test_towardzero): Likewise.
15416         (asin_test_downward): Likewise.
15417         (asin_test_upward): Likewise.
15418         (asinh_test): Likewise.
15419         (atan_test): Likewise.
15420         (atanh_test): Likewise.
15421         (atan2_test): Likewise.
15422         (cabs_test): Likewise.
15423         (cacos_test): Likewise.
15424         (cacosh_test): Likewise.
15425         (carg_test): Likewise.
15426         (casin_test): Likewise.
15427         (casinh_test): Likewise.
15428         (catan_test): Likewise.
15429         (catanh_test): Likewise.
15430         (cbrt_test): Likewise.
15431         (ccos_test): Likewise.
15432         (ccosh_test): Likewise.
15433         (ceil_test): Likewise.
15434         (cexp_test): Likewise.
15435         (cimag_test): Likewise.
15436         (clog_test): Likewise.
15437         (clog10_test): Likewise.
15438         (conj_test): Likewise.
15439         (copysign_test): Likewise.
15440         (cos_test): Likewise.
15441         (cos_test_tonearest): Likewise.
15442         (cos_test_towardzero): Likewise.
15443         (cos_test_downward): Likewise.
15444         (cos_test_upward): Likewise.
15445         (cosh_test): Likewise.
15446         (cosh_test_tonearest): Likewise.
15447         (cosh_test_towardzero): Likewise.
15448         (cosh_test_downward): Likewise.
15449         (cosh_test_upward): Likewise.
15450         (cpow_test): Likewise.
15451         (cproj_test): Likewise.
15452         (creal_test): Likewise.
15453         (csin_test): Likewise.
15454         (csinh_test): Likewise.
15455         (csqrt_test): Likewise.
15456         (ctan_test): Likewise.
15457         (ctan_test_tonearest): Likewise.
15458         (ctan_test_towardzero): Likewise.
15459         (ctan_test_downward): Likewise.
15460         (ctan_test_upward): Likewise.
15461         (ctanh_test): Likewise.
15462         (ctanh_test_tonearest): Likewise.
15463         (ctanh_test_towardzero): Likewise.
15464         (ctanh_test_downward): Likewise.
15465         (ctanh_test_upward): Likewise.
15466         (erf_test): Likewise.
15467         (erfc_test): Likewise.
15468         (exp_test): Likewise.
15469         (exp_test_tonearest): Likewise.
15470         (exp_test_towardzero): Likewise.
15471         (exp_test_downward): Likewise.
15472         (exp_test_upward): Likewise.
15473         (exp10_test): Likewise.
15474         (exp10_test_tonearest): Likewise.
15475         (exp10_test_towardzero): Likewise.
15476         (exp10_test_downward): Likewise.
15477         (exp10_test_upward): Likewise.
15478         (pow10_test): Likewise.
15479         (exp2_test): Likewise.
15480         (expm1_test): Likewise.
15481         (expm1_test_tonearest): Likewise.
15482         (expm1_test_towardzero): Likewise.
15483         (expm1_test_downward): Likewise.
15484         (expm1_test_upward): Likewise.
15485         (fabs_test): Likewise.
15486         (fdim_test): Likewise.
15487         (floor_test): Likewise.
15488         (fma_test): Likewise.
15489         (fma_test_towardzero): Likewise.
15490         (fma_test_downward): Likewise.
15491         (fma_test_upward): Likewise.
15492         (fmax_test): Likewise.
15493         (fmin_test): Likewise.
15494         (fmod_test): Likewise.
15495         (fpclassify_test): Likewise.
15496         (frexp_test): Likewise.
15497         (hypot_test): Likewise.
15498         (ilogb_test): Likewise.
15499         (isfinite_test): Likewise.
15500         (finite_test): Likewise.
15501         (isgreater_test): Likewise.
15502         (isgreaterequal_test): Likewise.
15503         (isinf_test): Likewise.
15504         (isless_test): Likewise.
15505         (islessequal_test): Likewise.
15506         (islessgreater_test): Likewise.
15507         (isnan_test): Likewise.
15508         (isnormal_test): Likewise.
15509         (issignaling_test): Likewise.
15510         (isunordered_test): Likewise.
15511         (j0_test): Likewise.
15512         (j1_test): Likewise.
15513         (jn_test): Likewise.
15514         (ldexp_test): Likewise.
15515         (lgamma_test): Likewise.
15516         (gamma_test): Likewise.
15517         (lrint_test): Likewise.
15518         (lrint_test_tonearest): Likewise.
15519         (lrint_test_towardzero): Likewise.
15520         (lrint_test_downward): Likewise.
15521         (lrint_test_upward): Likewise.
15522         (llrint_test): Likewise.
15523         (llrint_test_tonearest): Likewise.
15524         (llrint_test_towardzero): Likewise.
15525         (llrint_test_downward): Likewise.
15526         (llrint_test_upward): Likewise.
15527         (log_test): Likewise.
15528         (log10_test): Likewise.
15529         (log1p_test): Likewise.
15530         (log2_test): Likewise.
15531         (logb_test): Likewise.
15532         (logb_test_downward): Likewise.
15533         (lround_test): Likewise.
15534         (llround_test): Likewise.
15535         (modf_test): Likewise.
15536         (nearbyint_test): Likewise.
15537         (nextafter_test): Likewise.
15538         (nexttoward_test): Likewise.
15539         (pow_test): Likewise.
15540         (pow_test_tonearest): Likewise.
15541         (pow_test_towardzero): Likewise.
15542         (pow_test_downward): Likewise.
15543         (pow_test_upward): Likewise.
15544         (remainder_test): Likewise.
15545         (drem_test): Likewise.
15546         (remainder_test_tonearest): Likewise.
15547         (drem_test_tonearest): Likewise.
15548         (remainder_test_towardzero): Likewise.
15549         (drem_test_towardzero): Likewise.
15550         (remainder_test_downward): Likewise.
15551         (drem_test_downward): Likewise.
15552         (remainder_test_upward): Likewise.
15553         (drem_test_upward): Likewise.
15554         (remquo_test): Likewise.
15555         (rint_test): Likewise.
15556         (rint_test_tonearest): Likewise.
15557         (rint_test_towardzero): Likewise.
15558         (rint_test_downward): Likewise.
15559         (rint_test_upward): Likewise.
15560         (round_test): Likewise.
15561         (scalb_test): Likewise.
15562         (scalbn_test): Likewise.
15563         (scalbln_test): Likewise.
15564         (signbit_test): Likewise.
15565         (sin_test): Likewise.
15566         (sin_test_tonearest): Likewise.
15567         (sin_test_towardzero): Likewise.
15568         (sin_test_downward): Likewise.
15569         (sin_test_upward): Likewise.
15570         (sincos_test): Likewise.
15571         (sinh_test): Likewise.
15572         (sinh_test_tonearest): Likewise.
15573         (sinh_test_towardzero): Likewise.
15574         (sinh_test_downward): Likewise.
15575         (sinh_test_upward): Likewise.
15576         (sqrt_test): Likewise.
15577         (sqrt_test_tonearest): Likewise.
15578         (sqrt_test_towardzero): Likewise.
15579         (sqrt_test_downward): Likewise.
15580         (sqrt_test_upward): Likewise.
15581         (tan_test): Likewise.
15582         (tan_test_tonearest): Likewise.
15583         (tan_test_towardzero): Likewise.
15584         (tan_test_downward): Likewise.
15585         (tan_test_upward): Likewise.
15586         (tanh_test): Likewise.
15587         (tgamma_test): Likewise.
15588         (trunc_test): Likewise.
15589         (y0_test): Likewise.
15590         (y1_test): Likewise.
15591         (yn_test): Likewise.
15592         (significand_test): Likewise.
15593
15594         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15595         individual tests in comment.
15596         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15597         (prev_max_error): New variable.
15598         (prev_real_max_error): Likewise.
15599         (prev_imag_max_error): Likewise.
15600         (compare_ulp_data): Don't refer to test names in comment.
15601         (find_test_ulps): Remove function.
15602         (find_function_ulps): Likewise.
15603         (find_complex_function_ulps): Likewise.
15604         (init_max_error): Take function name as argument.  Look up ulps
15605         for that function.
15606         (print_ulps): Remove function.
15607         (print_max_error): Use prev_max_error instead of calling
15608         find_function_ulps.
15609         (print_complex_max_error): Use prev_real_max_error and
15610         prev_imag_max_error instead of calling find_complex_function_ulps.
15611         (check_float_internal): Take max_ulp parameter instead of calling
15612         find_test_ulps.  Don't call print_ulps.
15613         (check_float): Update call to check_float_internal.
15614         (check_complex): Update calls to check_float_internal.
15615         (START): Pass argument to init_max_error.
15616         * math/gen-libm-test.pl (%results): Don't include "kind"
15617         information.
15618         (parse_ulps): Don't handle ulps of individual tests.
15619         (print_ulps_file): Likewise.
15620         (output_ulps): Likewise.
15621         * math/README.libm-test: Update.
15622         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15623         individual tests.
15624         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15625         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15626         * sysdeps/arm/libm-test-ulps: Likewise.
15627         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15628         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15629         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15630         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15631         * sysdeps/microblaze/libm-test-ulps: Likewise.
15632         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15633         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15634         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15635         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15636         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15637         * sysdeps/sh/libm-test-ulps: Likewise.
15638         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15639         * sysdeps/tile/libm-test-ulps: Likewise.
15640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15641
15642 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15643
15644         * math/libm-test.inc (print_complex_max_error): Check separately
15645         whether real and imaginary errors are within allowed range and
15646         pass 0 to print_complex_function_ulps instead of value within
15647         allowed range.
15648
15649 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15650
15651         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15652         formatting.
15653         (get_handles_fopen): Likewise.
15654         (do_write_test): Likewise.
15655
15656         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15657
15658         * libio/fileops.c (do_ftell): Use cached offset when
15659         available.
15660         * libio/iofwide.c (do_ftell_wide): Likewise.
15661         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15662         _IO_file_attach.
15663         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15664
15665         [BZ #16532]
15666         * libio/libioP.h (get_file_offset): New function.
15667         * libio/fileops.c (get_file_offset): Likewise.
15668         (do_ftell): Likewise.
15669         (_IO_new_file_seekoff): Split out ftell logic.
15670         * libio/wfileops.c (do_ftell_wide): Likewise.
15671         (_IO_wfile_seekoff): Split out ftell logic.
15672         * libio/tst-ftell-active-handler.c: New test case.
15673         * libio/Makefile (tests): Add it.
15674
15675 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15676
15677         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15678         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15679
15680 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15681
15682         [BZ #16639]
15683         * nscd/connections.c (nscd_init): Call do_exit.
15684         (start_threads): Call do_exit and notify_parent.
15685         (begin_drop_privileges): Call do_exit.
15686         (finish_drop_privileges): Likewise.
15687         * nscd/selinux.c (preserve_capabilities): Likewise.
15688         (install_real_capabilities): Likewise.
15689         (nscd_selinux_enabled): Likewise.
15690         (avc_create_thread): Likewise.
15691         (avc_alloc_lock): Likewise.
15692         (nscd_avc_init): Likewise.
15693         * nscd/nscd.c (parent_fd): New static variable.
15694         (main): Create a pipe between parent and child processes.
15695         Skip closing parent_fd.
15696         (monitor_child): New function.
15697         (do_exit): Likewise.
15698         (notify_parent): Likewise.
15699         * nscd/nscd.h (notify_parent): Likewise.
15700         (do_exit): Likewise.
15701
15702 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15703
15704         * malloc/malloc.c (__libc_calloc): Revert last change.
15705
15706 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15707
15708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15709
15710 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15711
15712         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15714         implementation.
15715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15716         (__libc_ifunc_impl_list): Likewise.
15717         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15718         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15719         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15720         * string/strrchr.c: Define STRRCHR.
15721
15722 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15723
15724         * benchtest/bench-strtok.c (simple_strtok): Delete.
15725         (strtok_string): Use as benchmark.
15726         * string/strtok (STRTOK): New macro.
15727
15728 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15729
15730         * manual/threads.texi: Add header and standard comments to all
15731         functions.
15732
15733         * elf/dl-lookup.c (check_match): New function.
15734         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15735         (do_lookup_x): Remove nested function check_match. Use non-nested
15736         function check_match.
15737
15738 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15739
15740         * csu/Makefile (generated, before-compile): Use += rather than =.
15741         * catgets/Makefile (generated, generated-dirs): Likewise.
15742         * debug/Makefile (generated): Likewise.
15743         * dlfcn/Makefile (generated): Likewise.
15744         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15745         * iconvdata/Makefile (before-compile, generated): Likewise.
15746         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15747         * libio/Makefile (generated): Likewise.
15748         * malloc/Makefile (generated): Likewise.
15749         * manual/Makefile (generated, generated-dirs): Likewise.
15750         * misc/Makefile (generated): Likewise.
15751         * posix/Makefile (generated): Likewise.
15752         * resolv/Makefile (generated): Likewise.
15753         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15754         * timezone/Makefile (generated, generated-dirs): Likewise.
15755
15756         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15757
15758 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15759
15760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15761         power8 implementation.
15762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15763         file: POWER8 llround ifunc implementation.
15764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15765         (__lllround): Add POWER8 implementation.
15766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15767         POWER8 llround implementation.
15768
15769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15770         power8 implementation.
15771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15772         file: POWER8 llrint ifunc implementation.
15773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15774         Add POWER8 implementation.
15775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15776         POWER8 llrint implementation.
15777
15778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15779         power8 implementation.
15780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15781         file: POWER8 finite ifunc implementation.
15782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15783         Add POWER8 implementation.
15784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15785         Likewise.
15786         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15787         POWER8 finite implementation.
15788         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15789
15790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15791         power8 implementation.
15792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15793         file: POWER8 isinf ifunc implementation.
15794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15795         POWER8 implementation.
15796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15797         Likewise.
15798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15799         isinf implementation.
15800         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15801
15802         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15803         (INIT_ARCH): Add hwcap2 initialization.
15804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15805         power8 implementation.
15806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15807         file: POWER8 isnan ifunc implementation.
15808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15809         POWER8 implementation.
15810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15811         Likewise.
15812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15813         isnan implementation.
15814         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15815
15816 2014-02-27  Joey Ye  <joey.ye@arm.com>
15817
15818         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15819         (_FP_NANFRAC_Q): Set to zero.
15820
15821 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15822
15823         [BZ #16623]
15824         * math/auto-libm-test-in: New test inputs.
15825         * math/auto-libm-test-out: Regenerate.
15826         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15827         and DA.
15828         (__cos): Likewise.
15829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15830
15831 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15832
15833         * scripts/evaluate-test.sh: Take new argument indicating whether
15834         failure is expected.
15835         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15836         indicating whether failure is expected.
15837         * conform/Makefile (test-xfail-run-conformtest): New variable.
15838         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15839         level.
15840         * posix/Makefile (test-xfail-annexc): New variable.
15841         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15842
15843 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15844
15845         * argp/Makefile: Include Makeconfig immediately after defining
15846         subdir.
15847         * assert/Makefile: Likewise.
15848         * benchtests/Makefile: Likewise.
15849         * catgets/Makefile: Likewise.
15850         * conform/Makefile: Likewise.
15851         * crypt/Makefile: Likewise.
15852         * csu/Makefile: Likewise.
15853         (all): Remove target.
15854         * ctype/Makefile: Include Makeconfig immediately after defining
15855         subdir.
15856         * debug/Makefile: Likewise.
15857         * dirent/Makefile: Likewise.
15858         * dlfcn/Makefile: Likewise.
15859         * gmon/Makefile: Likewise.
15860         * gnulib/Makefile: Likewise.
15861         * grp/Makefile: Likewise.
15862         * gshadow/Makefile: Likewise.
15863         * hesiod/Makefile: Likewise.
15864         * hurd/Makefile: Likewise.
15865         (all): Remove target.
15866         * iconvdata/Makefile: Include Makeconfig immediately after
15867         defining subdir.
15868         * inet/Makefile: Likewise.
15869         * intl/Makefile: Likewise.
15870         * io/Makefile: Likewise.
15871         * libio/Makefile: Likewise.
15872         (all): Remove target.
15873         * locale/Makefile: Include Makeconfig immediately after defining
15874         subdir.
15875         * login/Makefile: Likewise.
15876         * mach/Makefile: Likewise.
15877         (all): Remove target.
15878         * malloc/Makefile: Include Makeconfig immediately after defining
15879         subdir.
15880         (all): Remove target.
15881         * manual/Makefile: Include Makeconfig immediately after defining
15882         subdir.
15883         * math/Makefile: Likewise.
15884         * misc/Makefile: Likewise.
15885         * nis/Makefile: Likewise.
15886         * nss/Makefile: Likewise.
15887         * po/Makefile: Likewise.
15888         (all): Remove target.
15889         * posix/Makefile: Include Makeconfig immediately after defining
15890         subdir.
15891         * pwd/Makefile: Likewise.
15892         * resolv/Makefile: Likewise.
15893         * resource/Makefile: Likewise.
15894         * rt/Makefile: Likewise.
15895         * setjmp/Makefile: Likewise.
15896         * shadow/Makefile: Likewise.
15897         * signal/Makefile: Likewise.
15898         * socket/Makefile: Likewise.
15899         * soft-fp/Makefile: Likewise.
15900         * stdio-common/Makefile: Likewise.
15901         * stdlib/Makefile: Likewise.
15902         * streams/Makefile: Likewise.
15903         * string/Makefile: Likewise.
15904         * sunrpc/Makefile: Likewise.
15905         (all): Remove target.
15906         * sysvipc/Makefile: Include Makeconfig immediately after defining
15907         subdir.
15908         * termios/Makefile: Likewise.
15909         * time/Makefile: Likewise.
15910         * timezone/Makefile: Likewise.
15911         (all): Remove target.
15912         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15913         subdir.
15914         * wctype/Makefile: Likewise.
15915
15916 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15917
15918         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15919         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15920         (libc_feholdexcept_setround_mips): Ditto.
15921         (libc_feholdsetround): New.
15922         (libc_feholdsetroundf): New.
15923         (libc_feholdsetroundl): New.
15924         (libc_feupdateenv_test_mips): New.
15925         (libc_feupdateenv_test): New.
15926         (libc_feupdateenv_testf): New.
15927         (libc_feupdateenv_testl): New.
15928         (libc_feresetround): New.
15929         (libc_feresetroundf): New.
15930         (libc_feresetroundl): New.
15931         (libc_fetestexcept_mips): New.
15932         (libc_fetestexcept): New.
15933         (libc_fetestexceptf): New.
15934         (libc_fetestexceptl): New.
15935         (HAVE_RM_CTX): New.
15936         (libc_feholdexcept_setround_mips_ctx): New.
15937         (libc_feholdexcept_setround_ctx): New.
15938         (libc_feholdexcept_setroundf_ctx): New.
15939         (libc_feholdexcept_setroundl_ctx): New.
15940         (libc_fesetenv_mips_ctx): New.
15941         (libc_fesetenv_ctx): New.
15942         (libc_fesetenv_ctxf): New.
15943         (libc_fesetenv_ctxl): New.
15944         (libc_feupdateenv_mips_ctx): New.
15945         (libc_feupdateenv_ctx): New.
15946         (libc_feupdateenvf_ctx): New.
15947         (libc_feupdateenvl_ctx): New.
15948         (libc_feholdsetround_mips_ctx): New.
15949         (libc_feholdsetround_ctx): New.
15950         (libc_feholdsetroundf_ctx): New.
15951         (libc_feholdsetroundl_ctx): New.
15952         (libc_feresetround_mips_ctx): New.
15953         (libc_feresetround_ctx): New.
15954         (libc_feresetroundf_ctx): New.
15955         (libc_feresetroundl_ctx): New.
15956
15957 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15958
15959         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15960
15961         * manual/ipc.texi: New file.
15962         * manual/Makefile (chapters): Add ipc.
15963         * manual/job.texi: Add "Inter-Process Communication" to next.
15964         * manual/process.texi: Add "Inter-Process Communication" to prev.
15965
15966 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15967
15968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15969
15970 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15971
15972         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15973
15974         * manual/arith.texi: Fix spaces after sentences.
15975         * manual/charset.texi: Likewise.
15976         * manual/errno.texi: Likewise.
15977         * manual/install.texi: Likewise.
15978         * manual/llio.texi: Likewise.
15979         * manual/locale.texi: Likewise.
15980         * manual/maint.texi: Likewise.
15981         * manual/math.texi: Likewise.
15982         * manual/memory.texi: Likewise.
15983         * manual/message.texi: Likewise.
15984         * manual/probes.texi: Likewise.
15985         * manual/resource.texi: Likewise.
15986         * manual/signal.texi: Likewise.
15987         * manual/socket.texi: Likewise.
15988         * manual/stdio.texi: Likewise.
15989         * manual/string.texi: Likewise.
15990         * manual/time.texi: Likewise.
15991         * manual/users.texi: Likewise.
15992
15993 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15994
15995         [BZ #16632]
15996         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15997         _DEFAULT_SOURCE is defined.
15998
15999 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16000             Carlos O'Donell  <carlos@redhat.com>
16001
16002         [BZ #16613]
16003         * elf/dl-tls.c (_dl_count_modids): New function.
16004         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16005         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16006         audit library and increment generation counter.
16007         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16008         * elf/tst-audit9.c: New file.
16009         * elf/tst-auditmod9a.c: New file.
16010         * elf/tst-auditmod9b.c: New file.
16011         * elf/Makefile: Add rules to build and run tst-audit9.
16012
16013 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16014
16015         [BZ #15347]
16016         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16017
16018 2014-02-25  Will Newton  <will.newton@linaro.org>
16019
16020         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16021         (__longjmp): Restore sp and lr before restoring callee
16022         saved registers.  Add longjmp and longjmp_target
16023         SystemTap probe point.
16024         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16025         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16026         Define to zero to match jmpbuf layout.
16027         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16028         (__sigsetjmp): Save sp and lr before saving callee
16029         saved registers.  Add setjmp SystemTap probe point.
16030
16031 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16032
16033         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16034
16035 2014-02-24  Andreas Schwab  <schwab@suse.de>
16036
16037         [BZ #15804]
16038         * elf/pldd.c (wait_for_ptrace_stop): New function.
16039         (main): Call it after attaching.
16040
16041 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16042
16043         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16044         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16045         Versions files is now verboten.
16046         * hurd/Versions (libc: GLIBC_2.0):
16047         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16048         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16049         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16050         * mach/Versions: Likewise.
16051
16052         * csu/Versions: Remove unused %include.
16053         * resolv/Versions: Likewise.
16054
16055 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16056
16057         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16058         ($(objpfx)check-local-headers.out): Likewise.
16059         ($(objpfx)begin-end-check.out): Likewise.
16060         * Makerules (check-abi-%.out): Likewise.
16061         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16062         ($(objpfx)test2.cat): Likewise.
16063         ($(objpfx)de/libc.cat): Likewise.
16064         ($(objpfx)test-gencat.out): Likewise.
16065         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16066         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16067         ($(objpfx)noload-mem): Likewise.
16068         ($(objpfx)tst-pathopt.out): Likewise.
16069         ($(objpfx)tst-rtld-load-self.out): Likewise.
16070         ($(objpfx)tst-array1-cmp.out): Likewise.
16071         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16072         ($(objpfx)tst-array2-cmp.out): Likewise.
16073         ($(objpfx)tst-array3-cmp.out): Likewise.
16074         ($(objpfx)tst-array4-cmp.out): Likewise.
16075         ($(objpfx)tst-array5-cmp.out): Likewise.
16076         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16077         ($(objpfx)check-textrel.out): Likewise.
16078         ($(objpfx)check-execstack.out): Likewise.
16079         ($(objpfx)check-localplt.out): Likewise.
16080         ($(objpfx)order2-cmp.out): Likewise.
16081         ($(objpfx)tst-leaks1-mem): Likewise.
16082         ($(objpfx)tst-leaks1-static-mem): Likewise.
16083         ($(objpfx)tst-initorder-cmp.out): Likewise.
16084         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16085         ($(objpfx)tst-unused-dep.out): Likewise.
16086         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16087         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16088         * iconv/Makefile (test-iconvconfig): Likewise.
16089         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16090         ($(objpfx)iconv-test.out): Likewise.
16091         ($(objpfx)tst-tables.out): Likewise.
16092         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16093         ($(objpfx)tst-gettext.out): Likewise.
16094         ($(objpfx)tst-translit.out): Likewise.
16095         ($(objpfx)tst-gettext2.out): Likewise.
16096         ($(objpfx)tst-gettext4.out): Likewise.
16097         ($(objpfx)tst-gettext6.out): Likewise.
16098         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16099         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16100         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16101         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16102         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16103         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16104         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16105         ($(objpfx)wordexp-tst.out): Likewise.
16106         ($(objpfx)annexc.out): Likewise.
16107         ($(objpfx)tst-fnmatch-mem): Likewise.
16108         ($(objpfx)bug-regex2-mem): Likewise.
16109         ($(objpfx)bug-regex14-mem): Likewise.
16110         ($(objpfx)bug-regex21-mem): Likewise.
16111         ($(objpfx)bug-regex31-mem): Likewise.
16112         ($(objpfx)tst-vfork3-mem): Likewise.
16113         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16114         ($(objpfx)tst-pcre-mem): Likewise.
16115         ($(objpfx)tst-boost-mem): Likewise.
16116         ($(objpfx)tst-getconf.out): Likewise.
16117         ($(objpfx)bug-ga2-mem): Likewise.
16118         ($(objpfx)bug-glob2-mem): Likewise.
16119         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16120         ($(objpfx)mtrace-tst-leaks2): Likewise.
16121         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16122         ($(objpfx)tst-printf.out): Likewise.
16123         ($(objpfx)tst-setvbuf1.out): Likewise.
16124         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16125         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16126         ($(objpfx)tst-fmtmsg.out): Likewise.
16127         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16128         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16129
16130         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16131         * bits/sigaction.h [__USE_MISC]: Likewise.
16132         * bits/waitstatus.h: Update #endif comments.
16133         * ctype/ctype.h: Likewise.
16134         * dirent/dirent.h: Likewise.
16135         [__USE_MISC]: Remove redundant conditionals.
16136         * grp/grp.h: Update #endif comments.
16137         [__USE_GNU]: Remove redundant conditionals.
16138         [__USE_MISC]: Likewise.
16139         * inet/netinet/in.h [__USE_GNU]: Likewise.
16140         * io/sys/stat.h [__USE_MISC]: Likewise.
16141         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16142         * libio/bits/stdio.h: Update #endif comments.
16143         [__USE_MISC]: Remove redundant conditionals.
16144         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16145         * libio/stdio.h: Update #endif comments.
16146         [__USE_MISC]: Remove redundant conditionals.
16147         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16148         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16149         * math/math.h: Update #else and #endif comments.
16150         [__USE_MISC]: Remove redundant conditionals.
16151         * misc/sys/uio.h: Update #endif comments.
16152         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16153         * posix/glob.h [__USE_MISC]: Likewise.
16154         * posix/sys/types.h: Update #endif comments.
16155         [__USE_MISC]: Remove redundant conditionals.
16156         * posix/sys/wait.h: Update #endif comments.
16157         [__USE_MISC]: Remove redundant conditionals.
16158         * posix/unistd.h: Update #endif comments.
16159         [__USE_MISC]: Remove redundant conditionals.
16160         * pwd/pwd.h [__USE_GNU]: Likewise.
16161         [__USE_MISC]: Likewise.
16162         * resolv/netdb.h [__USE_GNU]: Likewise.
16163         * signal/signal.h: Update #endif comments.
16164         [__USE_MISC]: Remove redundant conditionals.
16165         * stdlib/stdlib.h: Update #else and #endif comments.
16166         [__USE_MISC]: Remove redundant conditionals.
16167         [__USE_GNU]: Likewise.
16168         * string/bits/string2.h [__USE_MISC]: Likewise.
16169         * string/string.h: Update #endif comments.
16170         [__USE_MISC]: Remove redundant conditionals.
16171         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16172         Likewise.
16173         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16174         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16175         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16176         Likewise.
16177         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16178         Likewise.
16179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16180         comments.
16181         [__USE_MISC]: Remove redundant conditionals.
16182         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16183         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16184         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16185         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16186         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16187         Likewise.
16188         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16189         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16190         Likewise.
16191         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16192         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16193         Likewise.
16194         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16195         Likewise.
16196         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16197         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16198         Likewise.
16199         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16200         Likewise.
16201         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16202         * sysdeps/x86/bits/string.h: Update #endif comments.
16203         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16204         conditionals.
16205         * time/sys/time.h: Update #endif comments.
16206         * time/time.h: Likewise.
16207         [__USE_MISC]: Remove redundant conditionals.
16208
16209 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16210
16211         [BZ #16600]
16212         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16213
16214 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16215
16216         * Versions.def (librt): Add GLIBC_2.17.
16217
16218 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16219
16220         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16221         synonym for _SYS_AUXV_H to allow direct inclusion.
16222         * sysdeps/sparc/bits/hwcap.h: Likewise.
16223         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16224         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16225         * sysdeps/sparc/sysdep.h: Likewise.
16226
16227 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16228
16229         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16230
16231 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16232
16233         * benchtests/bench-strrchr.c: Print length instead of position.
16234
16235 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16236
16237         [BZ #16611]
16238         * sysdeps/unix/sysv/linux/kernel-features.h
16239         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16240         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16241         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16242         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16243         Likewise.
16244         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16245         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16246         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16247         (__ASSUME_SENDMMSG): Define instead of using previous
16248         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16249         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16250         (__ASSUME_SENDMMSG_SYSCALL): Define.
16251         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16252         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16253         Likewise.
16254         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16255         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16256         Likewise.
16257         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16258         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16259         Likewise.
16260         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16261         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16262         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16263         [__ASSUME_SENDMMSG]: Change conditionals to
16264         [__ASSUME_SENDMMSG_SOCKETCALL].
16265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16266         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16267         Define.
16268         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16269         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16270         Likewise.
16271         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16272         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16273         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16274         [!__ASSUME_SENDMMSG]: Change conditional to
16275         [!__ASSUME_SENDMMSG_SOCKETCALL].
16276         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16277         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16278         Define.
16279
16280         [BZ #16610]
16281         * sysdeps/unix/sysv/linux/kernel-features.h
16282         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16283         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16284         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16285         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16286         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16287         [__i386__ || __sparc__]
16288         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16289         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16290         (__ASSUME_RECVMMSG): Define instead of using previous
16291         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16293         (__ASSUME_RECVMMSG_SYSCALL): Define.
16294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16295         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16296         Likewise.
16297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16299         Likewise.
16300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16301         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16302         Likewise.
16303         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16304         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16305         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16306         [__ASSUME_RECVMMSG]: Change condition to
16307         [__ASSUME_RECVMMSG_SOCKETCALL].
16308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16309         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16310         Define.
16311         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16314         Likewise.
16315         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16316         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16317         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16318         [!__ASSUME_RECVMMSG]: Change condition to
16319         [!__ASSUME_RECVMMSG_SOCKETCALL].
16320         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16321         (__ASSUME_RECVMMSG_SYSCALL): Define.
16322
16323         [BZ #16609]
16324         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16325         __powerpc__ || __s390__ || __sh__ || __sparc__]
16326         (__ASSUME_SOCKETCALL): Define.
16327         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16328         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16329         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16330         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16331         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16332         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16333         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16334         (__ASSUME_ACCEPT4): Define instead of using previous
16335         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16336         __powerpc__ || __sparc__ || __s390__)] condition.
16337         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16338         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16339         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16340         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16341         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16342         [!__ASSUME_ACCEPT4]: Change condition to
16343         [!__ASSUME_ACCEPT4_SOCKETCALL].
16344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16345         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16346         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16347         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16348         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16349         __ASSUME_ACCEPT4_SYSCALL.
16350         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16351         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16352         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16353         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16354         __ASSUME_ACCEPT4_SYSCALL.
16355         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16356         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16357         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16358         [__ASSUME_ACCEPT4]: Change condition to
16359         [__ASSUME_ACCEPT4_SOCKETCALL].
16360         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16361         (__ASSUME_SOCKETCALL): Define.
16362         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16363         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16364         (__ASSUME_SOCKETCALL): Define.
16365         (__ASSUME_ACCEPT4): Remove.
16366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16367         Define.
16368         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16369         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16372         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16373
16374         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16375         macro.
16376         (HWCAP_ARM_LPAE): Likewise.
16377         (HWCAP_ARM_EVTSTRM): Likewise.
16378         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16379         Add vpfd32, lpae and evtstrm.
16380         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16381         Increase to 22.
16382
16383 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16384
16385         * math/auto-libm-test-in: Add tests of clog10.
16386         * math/auto-libm-test-out: Regenerated.
16387         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16388         * sysdeps/i386/fpu/libm-test-ulps: Update.
16389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16390
16391 2014-02-18  Andreas Schwab  <schwab@suse.de>
16392
16393         [BZ #16574]
16394         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16395         Store non-zero if the second buffer was newly allocated.
16396         (send_dg): Likewise.
16397         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16398         to send_vc and send_dg.
16399         (res_nsend): Pass NULL for ansp2_malloced.
16400         * resolv/res_query.c (__libc_res_nquery): Add parameter
16401         answerp2_malloced and pass it down to __libc_res_nsend.
16402         (res_nquery): Pass additional NULL to __libc_res_nquery.
16403         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16404         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16405         second answer buffer if answerp2_malloced was set.
16406         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16407         (__libc_res_nquerydomain): Add parameter
16408         answerp2_malloced and pass it down to __libc_res_nquery.
16409         (res_nquerydomain): Pass additional NULL to
16410         __libc_res_nquerydomain.
16411         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16412         additional NULL to __libc_res_nsend and __libc_res_nquery.
16413         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16414         additional NULL to __libc_res_nsearch.
16415         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16416         parameter of __libc_res_nsearch to check for separately allocated
16417         second buffer.
16418         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16419         __libc_res_nquery.
16420         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16421         additional NULL to __libc_res_nquery.
16422         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16423         __libc_res_nsearch.
16424         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16425         * include/resolv.h: Update prototypes of __libc_res_nquery,
16426         __libc_res_nsearch, __libc_res_nsend.
16427
16428 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16429
16430         * math/auto-libm-test-in: Add tests of fma.
16431         * math/auto-libm-test-out: Regenerated.
16432         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16433         (fma_towardzero_test_data): Likewise.
16434         (fma_downward_test_data): Likewise.
16435         (fma_upward_test_data): Likewise.
16436         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16437         mpc_mode.
16438         (rounding_modes): Add values for new field.
16439         (func_calc_method): Add value mpfr_fff_f.
16440         (func_calc_desc): Add mpfr_fff_f union field.
16441         (test_function): Add field exact_args.
16442         (FUNC): Add macro argument EXACT_ARGS.
16443         (FUNC_mpfr_f_f): Update call to FUNC.
16444         (FUNC_mpfr_f_f): Likewise.
16445         (FUNC_mpfr_ff_f): Likewise.
16446         (FUNC_mpfr_if_f): Likewise.
16447         (FUNC_mpc_c_f): Likewise.
16448         (FUNC_mpc_c_c): Likewise.
16449         (test_functions): Add fma.  Update calls to FUNC.
16450         (handle_input_arg): Add argument exact_args.
16451         (add_test): Update call to handle_input_arg.
16452         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16453         (output_for_one_input_case): Update call to calc_generic_results.
16454         Recalculate exact zero results in each rounding mode.
16455
16456         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16457         non-negative before setting low bit.
16458         * math/auto-libm-test-in: Mark one asin test possibly having
16459         spurious underflow.
16460         * math/auto-libm-test-out: Regenerated.
16461         * sysdeps/i386/fpu/libm-test-ulps: Update.
16462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16463
16464 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16465
16466         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16467         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16468         ports/sysdeps/unix/sysv/linux/microblaze.
16469         * README: Add missing listing for microblaze*-*-linux-gnu.
16470
16471 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16472
16473         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16474         duplicate code
16475
16476 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16477
16478         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16479         * sysdeps/unix/sysv/linux/ia64: Move directory from
16480         ports/sysdeps/unix/sysv/linux/ia64.
16481         * README: Update listing for ia64-*-linux-gnu.
16482
16483 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16484             Joseph Myers  <joseph@codesourcery.com>
16485
16486         * Makeconfig (test-name): New variable.
16487         (evaluate-test): Likewise.
16488         * Makerules (do-test-clean): Remove .test-result files.
16489         (common-mostlyclean): Likewise.
16490         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16491         * scripts/evaluate-test.sh: New file.
16492
16493 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16494
16495         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16496         separate $(objpfx)tst-fopenloc-cmp.out and
16497         $(objpfx)tst-fopenloc-mem.out targets.
16498         (tests): Update dependencies.
16499         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16500         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16501         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16502         (tst-rxspencer-no-utf8-ARGS): New variable.
16503         (tst-rxspencer-no-utf8-ENV): Likewise.
16504         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16505         instead of $(objpfx)tst-rxspencer-mem.
16506         ($(objpfx)tst-rxspencer-mem): Change target to
16507         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16508         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16509         * posix/tst-rxspencer-no-utf8.c: New file.
16510
16511         * elf/Makefile ($(objpfx)order.out): Remove rule.
16512         [$(run-built-tests) = yes] (tests): Depend on
16513         $(objpfx)order-cmp.out.
16514         ($(objpfx)order-cmp.out): New rule.
16515         [$(run-built-tests) = yes] (tests): Depend on
16516         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16517         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16518         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16519         $(objpfx)tst-array5-static-cmp.out.
16520         ($(objpfx)tst-array1.out): Remove rule.
16521         ($(objpfx)tst-array1-cmp.out): New rule.
16522         ($(objpfx)tst-array1-static.out): Remove rule.
16523         ($(objpfx)tst-array1-static-cmp.out): New rule.
16524         ($(objpfx)tst-array2.out): Remove rule.
16525         ($(objpfx)tst-array2-cmp.out): New rule.
16526         ($(objpfx)tst-array3.out): Remove rule.
16527         ($(objpfx)tst-array3-cmp.out): New rule.
16528         ($(objpfx)tst-array4.out): Remove rule.
16529         ($(objpfx)tst-array4-cmp.out): New rule.
16530         ($(objpfx)tst-array5.out): Remove rule.
16531         ($(objpfx)tst-array5-cmp.out): New rule.
16532         ($(objpfx)tst-array5-static.out): Remove rule.
16533         ($(objpfx)tst-array5-static-cmp.out): New rule.
16534         [$(run-built-tests) = yes] (tests): Depend on
16535         $(objpfx)order2-cmp.out.
16536         ($(objpfx)order2.out): Remove rule.
16537         ($(objpfx)order2-cmp.out): New rule.
16538         ($(objpfx)tst-initorder.out): Remove rule.
16539         [$(run-built-tests) = yes] (tests): Depend on
16540         $(objpfx)tst-initorder-cmp.out.
16541         ($(objpfx)tst-initorder-cmp.out): New rule.
16542         ($(objpfx)tst-initorder2.out): Remove rule.
16543         [$(run-built-tests) = yes] (tests): Depend on
16544         $(objpfx)tst-initorder2-cmp.out.
16545         ($(objpfx)tst-initorder2-cmp.out): New rule.
16546         [$(run-built-tests) = yes] (tests): Depend on
16547         $(objpfx)tst-unused-dep-cmp.out.
16548         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16549         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16550         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16551         on $(objpfx)tst-setvbuf1-cmp.out.
16552         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16553         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16554         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16555         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16556         ($(objpfx)tst-svc.out): Remove rule.
16557         ($(objpfx)tst-svc-cmp.out): New rule.
16558
16559 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16560
16561         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16562         * ctype/ctype.h [__USE_MISC]: Likewise.
16563         * dirent/dirent.h [__USE_MISC]: Likewise.
16564         * grp/grp.h [__USE_MISC]: Likewise.
16565         * io/fcntl.h [__USE_MISC]: Likewise.
16566         * io/sys/stat.h [__USE_MISC]: Likewise.
16567         * libio/stdio.h [__USE_MISC]: Likewise.
16568         * posix/unistd.h [__USE_MISC]: Likewise.
16569         * pwd/pwd.h [__USE_MISC]: Likewise.
16570         * stdlib.h [__USE_MISC]: Likewise.
16571         * string/bits/string2.h [__USE_MISC]: Likewise.
16572         * string/string.h [__USE_MISC]: Likewise.
16573         * time/time.h [__USE_MISC]: Likewise.
16574
16575 2014-02-13  Andreas Schwab  <schwab@suse.de>
16576
16577         [BZ #16574]
16578         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16579         second answer buffer if it was separately allocated.
16580
16581 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16582
16583         * sysdeps/mips/math-tests.h: Include <features.h>.
16584         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16585         (ROUNDING_TESTS_long_double): Do not define.
16586         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16587         (EXCEPTION_TESTS_long_double): Likewise.
16588         * sysdeps/mips/mips64/libm-test-ulps: Update.
16589
16590         * include/features.h (__USE_BSD): Remove macro definitions.
16591         (__USE_SVID): Likewise.
16592         (_BSD_SOURCE): Likewise.
16593         (_SVID_SOURCE): Likewise.
16594         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16595         from definition of _DEFAULT_SOURCE.
16596         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16597         [_DEFAULT_SOURCE].
16598         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16599         * bits/mman.h [__USE_BSD]: Likewise.
16600         * bits/termios.h [__USE_BSD]: Likewise.
16601         * bits/waitstatus.h [__USE_BSD]: Likewise.
16602         * ctype/ctype.h [__USE_SVID]: Likewise.
16603         * dirent/dirent.h [__USE_BSD]: Likewise.
16604         * grp/grp.h [__USE_SVID]: Likewise.
16605         [__USE_BSD]: Likewise.
16606         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16607         * io/fcntl.h [__USE_BSD]: Likewise.
16608         * io/ftw.h [__USE_BSD]: Likewise.
16609         * io/sys/stat.h [__USE_BSD]: Likewise.
16610         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16611         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16612         * libio/stdio.h [__USE_SVID]: Likewise.
16613         [__USE_BSD]: Likewise.
16614         * math/math.h [__USE_SVID]: Likewise.
16615         [__USE_BSD]: Likewise.
16616         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16617         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16618         * misc/search.h [__USE_SVID]: Likewise.
16619         * misc/sys/mman.h [__USE_BSD]: Likewise.
16620         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16621         * misc/sys/uio.h [__USE_BSD]: Likewise.
16622         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16623         * posix/glob.h [__USE_BSD]: Likewise.
16624         * posix/regex.h [__USE_BSD]: Likewise.
16625         * posix/sys/types.h [__USE_BSD]: Likewise.
16626         [__USE_SVID]: Likewise.
16627         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16628         * posix/sys/wait.h [__USE_BSD]: Likewise.
16629         [__USE_SVID]: Likewise.
16630         * posix/unistd.h [__USE_BSD]: Likewise.
16631         [__USE_SVID]: Likewise.
16632         * pwd/pwd.h [__USE_SVID]: Likewise.
16633         * resolv/netdb.h [__USE_BSD]: Likewise.
16634         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16635         * signal/signal.h [__USE_BSD]: Likewise.
16636         [__USE_SVID]: Likewise.
16637         * socket/sys/socket.h [__USE_BSD]: Likewise.
16638         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16639         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16640         [__USE_SVID]: Likewise.
16641         * string/bits/string2.h [__USE_BSD]: Likewise.
16642         [__USE_SVID]: Likewise.
16643         * string/bits/string3.h [__USE_BSD]: Likewise.
16644         * string/endian.h [__USE_BSD]: Likewise.
16645         * string/string.h [__USE_SVID]: Likewise.
16646         [__USE_BSD]: Likewise.
16647         * string/strings.h [__USE_BSD]: Likewise.
16648         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16649         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16650         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16651         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16652         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16653         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16654         Likewise.
16655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16656         Likewise.
16657         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16658         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16659         Likewise.
16660         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16661         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16662         Likewise.
16663         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16664         Likewise.
16665         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16666         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16667         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16668         Likewise.
16669         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16670         Likewise.
16671         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16672         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16673         * termios/termios.h [__USE_BSD]: Likewise.
16674         * time/sys/time.h [__USE_BSD]: Likewise.
16675         * time/time.h [__USE_BSD]: Likewise.
16676         [__USE_SVID]: Likewise.
16677
16678         * Makefile (subdir_targets): Remove subdir_lint.out.
16679
16680         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16681         (do-tst-printf): Likewise.
16682         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16683         $(objpfx)tst-printf.out.
16684
16685         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16686
16687         * Makerules (check-abi-%): Change target to
16688         $(objpfx)check-abi-%.out.
16689         (check-abi target): Update dependencies.
16690         (check-abi-pattern variable): Redirect output of diff to $@.
16691         (check-abi variable): Likewise.
16692         * elf/Makefile (check-abi): Update dependencies.
16693
16694         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16695         unused.
16696         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16697         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16698         subnormal range.
16699         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16700         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16701         value has largest subnormal exponent.
16702         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16703         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16704         * sysdeps/aarch64/soft-fp/sfp-machine.h
16705         (_FP_TININESS_AFTER_ROUNDING): New macro.
16706         * sysdeps/alpha/soft-fp/sfp-machine.h
16707         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16708         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16709         Likewise.
16710         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16711         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16712         * sysdeps/mips/soft-fp/sfp-machine.h
16713         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16714         * sysdeps/powerpc/soft-fp/sfp-machine.h
16715         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16716         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16717         Likewise.
16718         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16719         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16720         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16721         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16722         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16723         Likewise.
16724
16725 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16726
16727         [BZ #16545]
16728         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16729         model 1.
16730
16731 2014-02-12  Richard Henderson  <rth@redhat.com>
16732
16733         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16734         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16735         * sysdeps/unix/sysv/linux/alpha: Move directory from
16736         ports/sysdeps/unix/sysv/linux/alpha.
16737         * README: Update listing for alpha-*-linux-gnu.
16738
16739 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16740
16741         * include/features.h: Update comment documenting feature test
16742         macros.
16743         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16744         _DEFAULT_SOURCE.
16745         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16746         (_SVID_SOURCE): Likewise.
16747         (_DEFAULT_SOURCE): Update description of default features.
16748         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16749         with _GNU_SOURCE.
16750         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16751         (S_ISVTX): Likewise.
16752         * manual/math.texi (Mathematical Constants): Likewise.
16753         * manual/signal.texi (Interrupted Primitives): Likewise.
16754         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16755         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16756         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16757         Don't refer to _SVID_SOURCE in warning text.
16758
16759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16760
16761         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16762         already defined.
16763         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16764         * sysdeps/mips/dl-lookup.c: Remove.
16765         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16766
16767 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16768
16769         [BZ #16447]
16770         * math/auto-libm-test-in: Add testcase for expl.
16771         * math/auto-libm-test-out: Regenerate.
16772         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16773         calculation of unsafe.
16774         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16775
16776 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16777
16778         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16779         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16780         ports/sysdeps/unix/sysv/linux/aarch64.
16781         * README: Update listing for aarch64*-*-linux-gnu.
16782
16783 2014-02-11  Will Newton  <will.newton@linaro.org>
16784
16785         * manual/probes.texi (Mathematical Function Probes): Use
16786         "triggered" instead of "hit".
16787
16788         * manual/probes.texi (Internal Probes): Add documentation
16789         of setjmp, longjmp and longjmp_target probes.
16790
16791         * include/stap-probe.h: Add comment about probe argument
16792         format.
16793
16794         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16795         definition.  (tr_where, tr_freehook, tr_mallochook,
16796         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16797
16798 2014-02-11  David S. Miller  <davem@davemloft.net>
16799
16800         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16801         processing int_tests.
16802
16803 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16804
16805         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16806         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16807         * sysdeps/unix/sysv/linux/mips: Move directory from
16808         ports/sysdeps/unix/sysv/linux/mips.
16809         * README: Update listing for mips-*-linux-gnu and
16810         mips64-*-linux-gnu.
16811
16812 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16813
16814         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16815         * sysdeps/unix/sysv/linux/m68k: Move directory from
16816         ports/sysdeps/unix/sysv/linux/m68k.
16817         * README: Update listing for m68k-*-linux-gnu.
16818
16819 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16820
16821         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16822         * sysdeps/unix/sysv/linux/generic: Move directory from
16823         ports/sysdeps/unix/sysv/linux/generic.
16824         * sysdeps/unix/sysv/linux/tile: Move directory from
16825         ports/sysdeps/unix/sysv/linux/tile.
16826         * README: Update listing for tile*-*-linux-gnu.
16827
16828 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16829
16830         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16831         __builtin_expect.
16832         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16833         * catgets/open_catalog.c (__open_catalog): Likewise.
16834         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16835         * debug/confstr_chk.c: Likewise.
16836         * debug/fread_chk.c (__fread_chk): Likewise.
16837         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16838         * debug/getgroups_chk.c: Likewise.
16839         * debug/mbsnrtowcs_chk.c: Likewise.
16840         * debug/mbsrtowcs_chk.c: Likewise.
16841         * debug/mbstowcs_chk.c: Likewise.
16842         * debug/memcpy_chk.c: Likewise.
16843         * debug/memmove_chk.c: Likewise.
16844         * debug/mempcpy_chk.c: Likewise.
16845         * debug/memset_chk.c: Likewise.
16846         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16847         * debug/strcat_chk.c (__strcat_chk): Likewise.
16848         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16849         * debug/strncat_chk.c (__strncat_chk): Likewise.
16850         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16851         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16852         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16853         * debug/wcpncpy_chk.c: Likewise.
16854         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16855         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16856         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16857         * debug/wcsncpy_chk.c: Likewise.
16858         * debug/wcsnrtombs_chk.c: Likewise.
16859         * debug/wcsrtombs_chk.c: Likewise.
16860         * debug/wcstombs_chk.c: Likewise.
16861         * debug/wmemcpy_chk.c: Likewise.
16862         * debug/wmemmove_chk.c: Likewise.
16863         * debug/wmempcpy_chk.c: Likewise.
16864         * debug/wmemset_chk.c: Likewise.
16865         * dirent/scandirat.c (SCANDIRAT): Likewise.
16866         * dlfcn/dladdr1.c (dladdr1): Likewise.
16867         * dlfcn/dladdr.c (dladdr): Likewise.
16868         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16869         * dlfcn/dlerror.c (__dlerror): Likewise.
16870         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16871         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16872         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16873         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16874         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16875         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16876         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16877         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16878         Likewise.
16879         * elf/dl-conflict.c: Likewise.
16880         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16881         * elf/dl-dst.h: Likewise.
16882         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16883         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16884         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16885         * elf/dl-init.c (call_init, _dl_init): Likewise.
16886         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16887         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16888         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16889         Likewise.
16890         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16891         Likewise.
16892         * elf/dl-minimal.c (__libc_memalign): Likewise.
16893         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16894         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16895         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16896         * elf/dl-sym.c (do_sym): Likewise.
16897         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16898         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16899         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16900         * elf/dl-writev.h (_dl_writev): Likewise.
16901         * elf/ldconfig.c (search_dir): Likewise.
16902         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16903         (dl_main): Likewise.
16904         * elf/setup-vdso.h (setup_vdso): Likewise.
16905         * grp/compat-initgroups.c (compat_call): Likewise.
16906         * grp/fgetgrent.c (fgetgrent): Likewise.
16907         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16908         * grp/putgrent.c (putgrent): Likewise.
16909         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16910         Likewise.
16911         * hurd/hurdinit.c: Likewise.
16912         * iconvdata/8bit-gap.c (struct): Likewise.
16913         * iconvdata/ansi_x3.110.c : Likewise.
16914         * iconvdata/big5.c : Likewise.
16915         * iconvdata/big5hkscs.c : Likewise.
16916         * iconvdata/cp1255.c: Likewise.
16917         * iconvdata/cp1258.c : Likewise.
16918         * iconvdata/cp932.c : Likewise.
16919         * iconvdata/euc-cn.c: Likewise.
16920         * iconvdata/euc-jisx0213.c : Likewise.
16921         * iconvdata/euc-jp.c: Likewise.
16922         * iconvdata/euc-jp-ms.c : Likewise.
16923         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16924         * iconvdata/gb18030.c : Likewise.
16925         * iconvdata/gbbig5.c (const): Likewise.
16926         * iconvdata/gbgbk.c: Likewise.
16927         * iconvdata/gbk.c : Likewise.
16928         * iconvdata/ibm1364.c : Likewise.
16929         * iconvdata/ibm930.c : Likewise.
16930         * iconvdata/ibm932.c: Likewise.
16931         * iconvdata/ibm933.c : Likewise.
16932         * iconvdata/ibm935.c : Likewise.
16933         * iconvdata/ibm937.c : Likewise.
16934         * iconvdata/ibm939.c : Likewise.
16935         * iconvdata/ibm943.c: Likewise.
16936         * iconvdata/iso_11548-1.c: Likewise.
16937         * iconvdata/iso-2022-cn.c : Likewise.
16938         * iconvdata/iso-2022-cn-ext.c : Likewise.
16939         * iconvdata/iso-2022-jp-3.c: Likewise.
16940         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16941         * iconvdata/iso-2022-kr.c : Likewise.
16942         * iconvdata/iso646.c (gconv_end): Likewise.
16943         * iconvdata/iso_6937-2.c : Likewise.
16944         * iconvdata/iso_6937.c : Likewise.
16945         * iconvdata/iso8859-1.c: Likewise.
16946         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16947         * iconvdata/shift_jisx0213.c : Likewise.
16948         * iconvdata/sjis.c : Likewise.
16949         * iconvdata/t.61.c : Likewise.
16950         * iconvdata/tcvn5712-1.c : Likewise.
16951         * iconvdata/tscii.c: Likewise.
16952         * iconvdata/uhc.c : Likewise.
16953         * iconvdata/unicode.c (gconv_end): Likewise.
16954         * iconvdata/utf-16.c (gconv_end): Likewise.
16955         * iconvdata/utf-32.c (gconv_end): Likewise.
16956         * iconvdata/utf-7.c (base64): Likewise.
16957         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16958         * iconv/gconv_close.c (__gconv_close): Likewise.
16959         * iconv/gconv_open.c (__gconv_open): Likewise.
16960         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16961         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16962         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16963         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16964         (ucs4le_internal_loop_single): Likewise.
16965         * iconv/iconv.c (iconv): Likewise.
16966         * iconv/iconv_close.c: Likewise.
16967         * iconv/loop.c (SINGLE): Likewise.
16968         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16969         * include/atomic.h: Likewise.
16970         * inet/inet6_option.c (option_alloc): Likewise.
16971         * intl/bindtextdom.c (set_binding_values): Likewise.
16972         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16973         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16974         * intl/localealias.c (read_alias_file): Likewise.
16975         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16976         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16977         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16978         * libio/fmemopen.c (fmemopen): Likewise.
16979         * libio/iofgets.c (_IO_fgets): Likewise.
16980         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16981         * libio/iofgetws.c (fgetws): Likewise.
16982         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16983         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16984         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16985         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16986         * locale/findlocale.c (_nl_find_locale): Likewise.
16987         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16988         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16989         Likewise.
16990         * locale/setlocale.c (setlocale): Likewise.
16991         * login/programs/pt_chown.c (main): Likewise.
16992         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16993         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16994         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16995         (mmap, mmap64, mremap, munmap): Likewise.
16996         * math/e_exp2l.c: Likewise.
16997         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16998         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16999         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17000         * math/s_catan.c (__catan): Likewise.
17001         * math/s_catanf.c (__catanf): Likewise.
17002         * math/s_catanh.c (__catanh): Likewise.
17003         * math/s_catanhf.c (__catanhf): Likewise.
17004         * math/s_catanhl.c (__catanhl): Likewise.
17005         * math/s_catanl.c (__catanl): Likewise.
17006         * math/s_ccosh.c (__ccosh): Likewise.
17007         * math/s_ccoshf.c (__ccoshf): Likewise.
17008         * math/s_ccoshl.c (__ccoshl): Likewise.
17009         * math/s_cexp.c (__cexp): Likewise.
17010         * math/s_cexpf.c (__cexpf): Likewise.
17011         * math/s_cexpl.c (__cexpl): Likewise.
17012         * math/s_clog10.c (__clog10): Likewise.
17013         * math/s_clog10f.c (__clog10f): Likewise.
17014         * math/s_clog10l.c (__clog10l): Likewise.
17015         * math/s_clog.c (__clog): Likewise.
17016         * math/s_clogf.c (__clogf): Likewise.
17017         * math/s_clogl.c (__clogl): Likewise.
17018         * math/s_csin.c (__csin): Likewise.
17019         * math/s_csinf.c (__csinf): Likewise.
17020         * math/s_csinh.c (__csinh): Likewise.
17021         * math/s_csinhf.c (__csinhf): Likewise.
17022         * math/s_csinhl.c (__csinhl): Likewise.
17023         * math/s_csinl.c (__csinl): Likewise.
17024         * math/s_csqrt.c (__csqrt): Likewise.
17025         * math/s_csqrtf.c (__csqrtf): Likewise.
17026         * math/s_csqrtl.c (__csqrtl): Likewise.
17027         * math/s_ctan.c (__ctan): Likewise.
17028         * math/s_ctanf.c (__ctanf): Likewise.
17029         * math/s_ctanh.c (__ctanh): Likewise.
17030         * math/s_ctanhf.c (__ctanhf): Likewise.
17031         * math/s_ctanhl.c (__ctanhl): Likewise.
17032         * math/s_ctanl.c (__ctanl): Likewise.
17033         * math/w_pow.c: Likewise.
17034         * math/w_powf.c: Likewise.
17035         * math/w_powl.c: Likewise.
17036         * math/w_scalb.c (sysv_scalb): Likewise.
17037         * math/w_scalbf.c (sysv_scalbf): Likewise.
17038         * math/w_scalbl.c (sysv_scalbl): Likewise.
17039         * misc/error.c (error_tail): Likewise.
17040         * misc/pselect.c (__pselect): Likewise.
17041         * nis/nis_callback.c (__nis_create_callback): Likewise.
17042         * nis/nis_call.c (__nisfind_server): Likewise.
17043         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17044         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17045         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17046         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17047         * nis/nis_lookup.c (nis_lookup): Likewise.
17048         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17049         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17050         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17051         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17052         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17053         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17054         * nis/nss_compat/compat-initgroups.c (add_group)
17055         (internal_getgrent_r): Likewise.
17056         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17057         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17058         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17059         (internal_getspnam_r): Likewise.
17060         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17061         (_nss_nis_getaliasbyname_r): Likewise.
17062         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17063         (_nss_nis_getntohost_r): Likewise.
17064         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17065         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17066         (_nss_nis_getgrgid_r): Likewise.
17067         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17068         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17069         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17070         (_nss_nis_gethostbyname4_r): Likewise.
17071         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17072         (initgroups_netid): Likewise.
17073         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17074         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17075         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17076         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17077         (_nss_nis_getprotobynumber_r): Likewise.
17078         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17079         (_nss_nis_getsecretkey): Likewise.
17080         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17081         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17082         (_nss_nis_getpwuid_r): Likewise.
17083         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17084         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17085         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17086         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17087         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17088         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17089         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17090         Likewise.
17091         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17092         (_nss_nisplus_getntohost_r): Likewise.
17093         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17094         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17095         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17096         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17097         Likewise.
17098         * nis/nss_nisplus/nisplus-initgroups.c
17099         (_nss_nisplus_initgroups_dyn): Likewise.
17100         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17101         (_nss_nisplus_getnetbyaddr_r): Likewise.
17102         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17103         (_nss_nisplus_getprotobynumber_r): Likewise.
17104         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17105         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17106         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17107         Likewise.
17108         * nis/nss_nisplus/nisplus-service.c
17109         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17110         (_nss_nisplus_getservbyport_r): Likewise.
17111         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17112         (_nss_nisplus_getspnam_r): Likewise.
17113         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17114         Likewise.
17115         * nscd/aicache.c (addhstaiX): Likewise.
17116         * nscd/cache.c (cache_search, prune_cache): Likewise.
17117         * nscd/connections.c (register_traced_file, send_ro_fd)
17118         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17119         (main_loop_epoll): Likewise.
17120         * nscd/grpcache.c (addgrbyX): Likewise.
17121         * nscd/hstcache.c (addhstbyX): Likewise.
17122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17123         * nscd/mem.c (gc, mempool_alloc): Likewise.
17124         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17125         (addinnetgrX): Likewise.
17126         * nscd/nscd-client.h (__nscd_acquire_maplock)
17127         (__nscd_drop_map_ref): Likewise.
17128         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17129         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17130         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17131         Likewise.
17132         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17133         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17134         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17135         (__nscd_get_map_ref): Likewise.
17136         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17137         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17138         Likewise.
17139         * nscd/pwdcache.c (addpwbyX): Likewise.
17140         * nscd/selinux.c (preserve_capabilities): Likewise.
17141         * nscd/servicescache.c (addservbyX): Likewise.
17142         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17143         * posix/fnmatch.c (fnmatch): Likewise.
17144         * posix/getopt.c (_getopt_internal_r): Likewise.
17145         * posix/glob.c (glob, glob_in_dir): Likewise.
17146         * posix/wordexp.c (exec_comm_child): Likewise.
17147         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17148         (getanswer_r, gaih_getanswer_slice): Likewise.
17149         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17150         * resolv/res_init.c: Likewise.
17151         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17152         * resolv/res_query.c (__libc_res_nquery): Likewise.
17153         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17154         Likewise.
17155         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17156         * stdio-common/perror.c (perror): Likewise.
17157         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17158         * stdio-common/tmpnam.c (tmpnam): Likewise.
17159         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17160         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17161         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17162         Likewise.
17163         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17164         * stdlib/putenv.c (putenv): Likewise.
17165         * stdlib/setenv.c (__add_to_environ): Likewise.
17166         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17167         * stdlib/strtol_l.c (INTERNAL): Likewise.
17168         * string/memmem.c (memmem): Likewise.
17169         * string/strerror.c (strerror): Likewise.
17170         * string/strnlen.c (__strnlen): Likewise.
17171         * string/test-memmem.c (simple_memmem): Likewise.
17172         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17173         * sunrpc/pm_getport.c (__get_socket): Likewise.
17174         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17175         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17176         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17177         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17178         Likewise.
17179         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17180         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17181         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17182         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17183         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17184         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17185         Likewise.
17186         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17187         Likewise.
17188         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17189         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17190         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17191         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17192         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17194         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17195         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17196         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17197         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17198         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17199         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17200         Likewise.
17201         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17202         Likewise.
17203         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17204         Likewise.
17205         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17207         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17208         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17209         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17210         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17211         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17212         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17213         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17214         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17215         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17216         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17217         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17218         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17220         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17221         Likewise.
17222         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17223         Likewise.
17224         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17225         Likewise.
17226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17227         Likewise.
17228         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17230         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17231         Likewise.
17232         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17233         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17234         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17235         * sysdeps/posix/sleep.c: Likewise.
17236         * sysdeps/posix/tempname.c: Likewise.
17237         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17238         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17239         Likewise.
17240         * sysdeps/powerpc/powerpc32/dl-machine.h
17241         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17242         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17244         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17245         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17246         Likewise.
17247         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17248         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17249         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17250         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17251         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17252         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17253         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17254         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17255         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17256         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17257         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17258         (elf_machine_lazy_rel): Likewise.
17259         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17260         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17261         (elf_machine_lazy_rel): Likewise.
17262         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17263         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17264         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17265         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17266         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17267         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17268         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17269         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17270         Likewise.
17271         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17272         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17273         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17274         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17275         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17276         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17277         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17278         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17279         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17280         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17281         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17282         Likewise.
17283         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17284         (__posix_fallocate64_l64): Likewise.
17285         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17286         (posix_fallocate): Likewise.
17287         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17288         Likewise.
17289         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17290         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17291         (getifaddrs_internal): Likewise.
17292         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17293         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17294         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17295         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17296         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17297         (__posix_fallocate64_l64): Likewise.
17298         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17301         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17302         (__get_clockfreq): Likewise.
17303         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17304         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17305         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17306         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17308         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17309         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17310         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17311         Likewise.
17312         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17313         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17314         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17315         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17316         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17317         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17318         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17319         Likewise.
17320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17321         (posix_fallocate): Likewise.
17322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17323         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17324         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17325         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17326         (elf_machine_rela, elf_machine_rela_relative)
17327         (elf_machine_lazy_rel): Likewise.
17328         * time/asctime.c (asctime_internal): Likewise.
17329         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17330         * time/tzset.c (__tzset_parse_tz): Likewise.
17331         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17332         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17333         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17334         * wcsmbs/wcsmbsload.h: Likewise.
17335
17336         [BZ #15894]
17337         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17338
17339         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17340         (arena_get2): Remove THREAD_STATS conditionals.
17341         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17342         (__malloc_stats, int): Likewise.
17343
17344 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17345
17346         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17347         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17348
17349         * manual/setjmp.texi: Fix typos/grammar errors.
17350
17351         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17352         Only return early when n is <= 0.  Delete unused return statement.
17353
17354         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17355         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17356         * debug/tst-longjmp_chk3.c: New file.
17357
17358         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17359         (test_main): Replace code with set_fortify_handler call.
17360         * debug/test-strcpy_chk.c: Likewise.
17361         * debug/tst-chk1.c: Likewise.
17362         * debug/tst-longjmp_chk.c: Likewise.
17363         * test-skeleton.c: Include fcntl.h & paths.h
17364         (set_fortify_handler): Define.
17365
17366         * debug/tst-longjmp_chk.c: Add header comment and include
17367         ../test-skeleton.c.
17368         (do_test): Mark static.
17369         (TEST_FUNCTION): Define.
17370
17371         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17372         (IP_PMTUDISC_INTERFACE): Likewise.
17373         (IP_MULTICAST_IF): Likewise.
17374         (IP_MULTICAST_TTL): Likewise.
17375         (IP_MULTICAST_LOOP): Likewise.
17376         (IP_ADD_MEMBERSHIP): Likewise.
17377         (IP_DROP_MEMBERSHIP): Likewise.
17378         (IP_UNBLOCK_SOURCE): Likewise.
17379         (IP_BLOCK_SOURCE): Likewise.
17380         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17381         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17382         (IP_MSFILTER): Likewise.
17383         (MCAST_JOIN_GROUP): Likewise.
17384         (MCAST_BLOCK_SOURCE): Likewise.
17385         (MCAST_UNBLOCK_SOURCE): Likewise.
17386         (MCAST_LEAVE_GROUP): Likewise.
17387         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17388         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17389         (MCAST_MSFILTER): Likewise.
17390         (IP_MULTICAST_ALL): Likewise.
17391         (IP_UNICAST_IF): Likewise.
17392
17393         * timezone/Makefile: Delete $(have-ksh) check.
17394         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17395         * timezone/tzselect.ksh: Add +x mode bits.
17396
17397         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17398         (ANON_INODE_FS_MAGIC): Likewise.
17399         (BDEVFS_MAGIC): Likewise.
17400         (BINFMTFS_MAGIC): Likewise.
17401         (BTRFS_TEST_MAGIC): Likewise.
17402         (CRAMFS_MAGIC_WEND): Likewise.
17403         (DEBUGFS_MAGIC): Likewise.
17404         (ECRYPTFS_SUPER_MAGIC): Likewise.
17405         (EXT3_SUPER_MAGIC): Likewise.
17406         (EXT4_SUPER_MAGIC): Likewise.
17407         (FUTEXFS_SUPER_MAGIC): Likewise.
17408         (HOSTFS_SUPER_MAGIC): Likewise.
17409         (HUGETLBFS_MAGIC): Likewise.
17410         (MINIX3_SUPER_MAGIC): Likewise.
17411         (MTD_INODE_FS_MAGIC): Likewise.
17412         (NILFS_SUPER_MAGIC): Likewise.
17413         (OPENPROM_SUPER_MAGIC): Likewise.
17414         (PIPEFS_MAGIC): Likewise.
17415         (PSTOREFS_MAGIC): Likewise.
17416         (QNX6_SUPER_MAGIC): Likewise.
17417         (RAMFS_MAGIC): Likewise.
17418         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17419         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17420         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17421         (SECURITYFS_MAGIC): Likewise.
17422         (SELINUX_MAGIC): Likewise.
17423         (SMACK_MAGIC): Likewise.
17424         (SOCKFS_MAGIC): Likewise.
17425         (SQUASHFS_MAGIC): Likewise.
17426         (STACK_END_MAGIC): Likewise.
17427         (TMPFS_MAGIC): Likewise.
17428         (USBDEVICE_SUPER_MAGIC): Likewise.
17429         (V9FS_MAGIC): Likewise.
17430         (XENFS_SUPER_MAGIC): Likewise.
17431         (CRAMFS_MAGIC): Fix typo in comment.
17432         (EXT2_SUPER_MAGIC): Update comment.
17433         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17434
17435 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17436
17437         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17438         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17439         * sysdeps/unix/sysv/linux/arm: Move directory from
17440         ports/sysdeps/unix/sysv/linux/arm.
17441         * README: Update listing for arm-*-linux-gnueabi.
17442
17443         * README: Remove mention of am33.
17444
17445 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17446
17447         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17448         than the comma operator, to avoid "rhs of comma has no effect"
17449         compiler warnings.
17450         (__sigfillset, __sigandset, __sigorset): Likewise.
17451         * include/signal.h (__sigemptyset): Likewise.
17452         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17453
17454 2014-02-07  Allan McRae  <allan@archlinux.org>
17455
17456         * version.h (RELEASE): Set to "development".
17457         (VERSION): Set to "2.19.90"
17458         * NEWS: Add 2.20 section.
17459
17460 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17461
17462         [BZ #16529]
17463         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17464
17465 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17466
17467         * manual/contrib.texi: Update entry for Carlos O'Donell,
17468         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17469
17470 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17471
17472         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17473
17474         * sysdeps/unix/sysv/linux/kernel-features.h
17475         [__LINUX_KERNEL_VERSION >= 0x020621]
17476         (__ASSUME_PROC_PID_TASK_COMM): Define.
17477
17478 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17479
17480         [BZ #16398]
17481         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17482         conversion when destination buffer does not have enough space.
17483         * libio/tst-ftell-partial-wide.c: New test case.
17484         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17485
17486         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17487         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17488         Leonard and Allan McRae.
17489
17490 2014-02-04  David S. Miller  <davem@davemloft.net>
17491
17492         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17493         32-bit.
17494
17495 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17498         New file
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17500         New file
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17502         New file.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17504         New file.
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17506         New file.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17508         New file.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17510         New file.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17512         New file.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17514         New file.
17515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17516         New file.
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17518         New file.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17520         New file.
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17522         New file.
17523
17524 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17525
17526         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17527         * shlib-versions: Likewise.
17528
17529 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17531
17532         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17533         (abilist-pattern): New variable, set to %-le.abilist.
17534
17535         * Makerules (abilist-pattern): New variable.
17536         (vpath): Use $(abilist-pattern) in place of %.abilist.
17537         (check-abi-% pattern rule): Likewise.
17538         (check-abi, update-abi): Likewise.
17539
17540 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17541
17542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17543
17544 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17545
17546         * manual/startup.texi: Add next, previous, and top entries for
17547         the `Program Arguments' and `Environment Variables' nodes.
17548
17549 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17550
17551         * manual/macros.texi: Add comments before MTASC-safety macros.
17552
17553         * manual/users.texi: Document MTASC-safety properties.
17554
17555         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17556         (pthread_getspecific, pthread_setspecific): Format with
17557         @deftypefun, and add @safety note.
17558         * manual/signal.texi: Move comments that analyze the above
17559         functions to their home place.
17560
17561 2014-02-03  Allan McRae  <allan@archlinux.org>
17562
17563         * po/sl.po: Update Slovenian translation from translation project.
17564
17565 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17566
17567         * manual/time.texi (timegm): Add missing blank after @c.
17568         Reported by Joseph Myers <joseph@codesourcery.com>.
17569
17570 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17571
17572         * manual/check-safety.sh: New.
17573         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17574
17575         * manual/terminal.texi: Document MTASC-safety properties.
17576
17577         * manual/filesys.texi: Document MTASC-safety properties.
17578
17579         * manual/errno.texi: Document MTASC-safety properties.
17580
17581         * manual/intro.texi: Document safety identifiers and
17582         conditionals.
17583
17584         * manual/string.texi (wcstok): Fix prototype.
17585         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17586
17587         * manual/time.texi: Document MTASC-safety properties.
17588
17589         * manual/string.texi: Document MTASC-safety properties.
17590
17591         * manual/threads.texi: Document MTASC-safety properties.
17592
17593         * manual/stdio.texi: Document MTASC-safety properties.
17594
17595         * manual/syslog.texi: Document MTASC-safety properties.
17596
17597         * manual/sysinfo.texi: Document MTASC-safety properties.
17598
17599         * manual/startup.texi: Document MTASC-safety properties.
17600
17601         * manual/socket.texi: Document MTASC-safety properties.
17602
17603         * manual/signal.texi: Document MTASC-safety properties.
17604
17605 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17606
17607         * manual/setjmp.texi: Document MTASC-safety properties.
17608
17609         * manual/search.texi: Document MTASC-safety properties.
17610
17611         * manual/resource.texi: Document MTASC-safety properties.
17612
17613         * manual/process.texi: Document MTASC-safety properties.
17614
17615         * manual/platform.texi: Document MTASC-safety properties.
17616
17617         * manual/pipe.texi: Document MTASC-safety properties.
17618
17619         * manual/pattern.texi: Document MTASC-safety properties.
17620
17621         * manual/message.texi: Document MTASC-safety properties.
17622
17623         [BZ #12751]
17624         * manual/memory.texi: Document MTASC-safety properties.
17625
17626         * manual/math.texi: Document MTASC-safety properties.
17627
17628         * manual/locale.texi: Document MTASC-safety properties.
17629
17630         * manual/llio.texi: Document MTASC-safety properties.
17631
17632         * manual/libdl.texi: New.
17633
17634         * manual/lang.texi: Document MTASC-safety properties.
17635
17636         * manual/job.texi: Document MTASC-safety properties.
17637
17638         * manual/getopt.texi: Document MTASC-safety properties.
17639
17640         * manual/ctype.texi: Document MTASC-safety properties.
17641
17642 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17643
17644         [BZ #16046]
17645         * csu/libc-tls.c (static_map): Remove variable.
17646         (__libc_setup_tls): Use main executable's link map for TLS data.
17647         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17648         casing for LM_ID_BASE and GL(dl_nns).
17649         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17650         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17651         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17652         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17653         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17654         member.
17655         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17656         l_phnum members.
17657
17658 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17659
17660         * manual/debug.texi: Document MTASC-safety properties.
17661
17662 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17663
17664         [BZ #16510]
17665         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17666         of __x86_64__ when disabling x87 inline functions.
17667
17668 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17669
17670         * manual/charset.texi: Document MTASC-safety properties.
17671
17672         * manual/crypt.texi: Document MTASC-safety properties.
17673
17674         * manual/conf.texi: Document MTASC-safety properties.
17675
17676         * manual/arith.texi: Document MTASC-safety properties.
17677
17678         * manual/argp.texi: Document MTASC-safety properties.
17679
17680         * manual/macros.texi: Introduce macros to document multi
17681         thread, asynchronous signal and asynchronous cancellation
17682         safety properties.
17683         * manual/intro.texi: Introduce the properties themselves.
17684
17685 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17686
17687         * sysdeps/sh/sh4/Makefile: New file.
17688
17689 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17690
17691         * math/gen-libm-test.pl ($srcdir): New variable.
17692         ($auto_input): Use it.
17693
17694 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17695
17696         [BZ #16506]
17697         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17698         access beyond array bounds when parsing netgroups file.
17699
17700         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17701         the old buffer before realloc.
17702
17703 2014-01-27  Allan McRae  <allan@archlinux.org>
17704
17705         * po/fr.po: Update French translation from translation project.
17706
17707 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17708
17709         * sysdeps/sh/libm-test-ulps: Regenerate.
17710
17711 2014-01-24  David S. Miller  <davem@davemloft.net>
17712
17713         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17714
17715 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17716
17717         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17718         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17719
17720 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17721
17722         [BZ #16474]
17723         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17724         string pointers after reallocation.
17725
17726 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17727
17728         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17729         __SH4A__ instead of __SH_FPU_ANY__.
17730
17731 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17732
17733         * sysdeps/sh/fpu_control.h: New file.
17734         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17735         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17736         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17737         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17738         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17739         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17740         * sysdeps/sh/sys/ucontext.h: Remove.
17741         * sysdeps/sh/sys: Remove directory.
17742
17743 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17744
17745         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17746         s390/sys/ucontext.h.
17747         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17748         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17749
17750 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17751
17752         [BZ #15605]
17753         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17754
17755 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17756
17757         [BZ#16431]
17758         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17759         Adjust the vDSO correctly for internal calls.
17760         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17761
17762 2014-01-20  Allan McRae  <allan@archlinux.org>
17763
17764         * po/ca.po: Update Catalan translation from translation project.
17765
17766 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17767
17768         * sysdeps/s390/sotruss-lib.c: New file.
17769
17770 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17771
17772         [BZ#16430]
17773         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17774         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17775         local calls issues by not having a PLT stub required for IFUNC calls.
17776         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17777
17778 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17779
17780         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17781         * math/test-fpucw-static.c: Likewise.
17782
17783 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17784
17785         [BZ #16453]
17786         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17787
17788 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17789
17790         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17791         implementation for powerpc.
17792
17793 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17794
17795         [BZ #14782]
17796         * sysdeps/posix/system.c (__libc_system): Do not enable
17797         asynchronous cancellation.
17798
17799 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17800
17801         [BZ #16427]
17802         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17803         handling only for numbers special also in the IEEE case.
17804
17805 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17806
17807         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17808
17809 2014-01-11  Allan McRae  <allan@archlinux.org>
17810
17811         * po/bg.po: Update Bulgarian translation from translation project.
17812
17813         * po/de.po: Update German translation from translation project.
17814
17815 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17816
17817         * sysdeps/generic/gcc-compat.h: New file.
17818
17819 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17820
17821         * benchtests/asin-inputs: Correct slow inputs.
17822         * benchtests/acos-inputs: Likewise.
17823
17824 2014-01-10  Allan McRae  <allan@archlinux.org>
17825
17826         * po:sv.po: Update Swedish translation from translation project.
17827
17828         * po/vi.po: Update Vietnamese translation from translation project.
17829
17830         * po/eo.po: Update Esperanto translation from translation project.
17831
17832         * po/cs.po: Update Czech translation from translation project.
17833
17834         * po/nl.po: Update Dutch translation from translation project.
17835
17836         * po/pl.po: Update Polish translation from translation project.
17837
17838         * po/ru.po: Update Russian translation from translation project.
17839
17840         * po/uk.po: Update Ukrainian translation from translation project.
17841
17842 2014-01-08  Brooks Moses  <bmoses@google.com>
17843
17844         * elf/dl-load.c: Fix comment typo.
17845
17846 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17847
17848         * po/header.pot: Rename to...
17849         * po/pot.header: ... this.
17850         * po/Makefile: Use pot.header.
17851
17852 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17853             Maxim Kuvyrkov  <maxim@kugelworks.com>
17854
17855         [BZ #16394]
17856         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17857         SRC and DEST against LEN.
17858
17859 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17860
17861         [BZ #16414]
17862         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17863         implementation.
17864         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17865
17866 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17867
17868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17869
17870 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17871
17872         [BZ #16408]
17873         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17874         for large positive arguments.
17875
17876 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17877
17878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17879
17880         * math/auto-libm-test-in: Mark various tests with
17881         xfail-rounding:ldbl-128ibm.
17882         * math/auto-libm-test-out: Regenerated.
17883
17884         [BZ #16407]
17885         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17886         Increase overflow threshold.
17887
17888 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17889
17890         [BZ #14286]
17891         * stdio-common/vfprintf.c: Check for integer overflow.
17892
17893 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17894
17895         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17896         the first argument and return value of __tls_get_addr_internal.
17897
17898 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17899
17900         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17901         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17902
17903 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17904
17905         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17906         * sysdeps/s390/rtld-global-offsets.sym: New file.
17907         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17908         GLIBC_2.19 symbol.
17909         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17910         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17911         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17912         ... this.
17913         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17914         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17915         ... this.
17916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17917         Regenerate.
17918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17919         Regenerate.
17920         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17921         halfs of GPRs for high_gprs contexts.
17922         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17923         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17924         field.
17925         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17926         uc_flags field.
17927         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17928         64 bit versions:
17929         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17930         for high GPRs (uc_high_gprs) and for future extensions
17931         (__reserved).
17932         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17933         for future extensions (__reserved).
17934         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17935         64 bit versions:
17936         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17937         SC_HIGHGPRS offset definition.
17938         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17939         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17940
17941         * Versions.def: Add GLIBC_2.19 for libpthread.
17942         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17943         siglongjmp for libpthread with GLIBC_2.19 symver.
17944         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17945         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17946         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17947         * sysdeps/s390/__longjmp.c: New file.
17948         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17949         * sysdeps/s390/longjmp.c: New file.
17950         * sysdeps/s390/setjmp.S: New file.
17951         * sysdeps/s390/sigjmp.S: New file.
17952         * sysdeps/s390/v1-longjmp.c: New file.
17953         * sysdeps/s390/v1-setjmp.h: New file.
17954         * sysdeps/s390/v1-sigjmp.c: New file.
17955         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17956         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17957         GLIBC_2.19 version.
17958         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17959         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17960         versioned symbols for ____longjmp_chk.
17961         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17962         Likewise.
17963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17964         Regenerate.
17965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17966         Regenerate.
17967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17968         Regenerate.
17969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17970         Regenerate.
17971         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17972         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17973         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17974         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17975         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17976         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17977         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17978         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17979         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17980         * sysdeps/s390/rtld-__longjmp.c: New file.
17981         * sysdeps/s390/rtld-setjmp.S: New file.
17982
17983 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17984
17985         [BZ #16400]
17986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17987         Return -__logl (x) for small positive arguments without evaluating
17988         a polynomial.
17989
17990 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17991
17992         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17993         Rename to ...
17994         (__ptrace_peeksiginfo_args): ... this.
17995         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17997         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17998
17999 2014-01-06  Allan McRae  <allan@archlinux.org>
18000
18001         * inet/netinet/in.h: Fix typo in comment.
18002
18003 2014-01-05  Andreas Jaeger  <aj@suse.de>
18004
18005         * sysdeps/i386/fpu/libm-test-ulps: Update.
18006
18007 2014-01-05  Allan McRae  <allan@archlinux.org>
18008
18009         * po/libc.pot: Regenerated.
18010
18011         * malloc/memusagestat.c: Fix gettext call formatting.
18012
18013 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18014
18015         * nscd/nscd.c: Improve usage() output.
18016
18017 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18018
18019         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18020         * sysdeps/unix/sysv/linux/configure: Regenerated.
18021         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18022         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18023
18024 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18025
18026         [BZ #16390]
18027         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18028         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18029
18030 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18031
18032         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18033         extra tokens at end of #undef directive.
18034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18035         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18036         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18037
18038 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18039
18040         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18041
18042         * math/auto-libm-test-in: Mark various tests with
18043         xfail-rounding:ldbl-128ibm.
18044         * math/auto-libm-test-out: Regenerated.
18045
18046 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18047
18048         [BZ #16386]
18049         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18050         numbers with subnormal high part when calculating exponent.
18051
18052         [BZ #16385]
18053         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18054         fabs.
18055
18056         [BZ #16384]
18057         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18058         M_LN2l.
18059         (__ieee754_acoshl): Use __log1pl not __log1p.
18060
18061 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18062
18063         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18064         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18065         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18066         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18067         (reused_arena, arena_get2): Convert to GNU style.
18068         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18069         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18070         (memalign_check, __malloc_set_state): Likewise.
18071         * malloc/mallocbug.c (main): Likewise.
18072         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18073         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18074         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18075         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18076         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18077         (__posix_memalign, malloc_info): Likewise.
18078         * malloc/malloc.h: Likewise.
18079         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18080         (mallochook, memalignhook, reallochook, mabort): Likewise.
18081         * malloc/mcheck.h: Likewise.
18082         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18083         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18084         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18085         * malloc/morecore.c (__default_morecore): Likewise.
18086         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18087         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18088         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18089         (print_and_abort): Likewise.
18090         * malloc/obstack.h: Likewise.
18091         * malloc/set-freeres.c (__libc_freeres): Likewise.
18092         * malloc/tst-mallocstate.c (main): Likewise.
18093         * malloc/tst-mtrace.c (main): Likewise.
18094         * malloc/tst-realloc.c (do_test): Likewise.
18095
18096 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18097
18098         [BZ #16366]
18099         * nscd/netgroupcache.c (do_notfound): New function.
18100         (addgetnetgrentX): Use it.
18101
18102         [BZ # 16365]
18103         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18104         NSS_STATUS_NOTFOUND.
18105
18106 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18107
18108         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18110
18111 2014-01-01  Allan McRae  <allan@archlinux.org>
18112
18113         * scripts/update-copyrights: Update configure input file suffix.
18114
18115         * NEWS: Update copyright year.
18116         * catgets/gencat.c: Likewise.
18117         * csu/version.c: Likewise.
18118         * debug/catchsegv.sh: Likewise.
18119         * debug/pcprofiledump.c: Likewise.
18120         * debug/xtrace.sh: Likewise.
18121         * elf/ldconfig.c: Likewise.
18122         * elf/ldd.bash.in: Likewise.
18123         * elf/pldd.c: Likewise.
18124         * elf/sotruss.ksh: Likewise.
18125         * elf/sprof.c: Likewise.
18126         * iconv/iconv_prog.c: Likewise.
18127         * iconv/iconvconfig.c: Likewise.
18128         * locale/programs/locale.c: Likewise.
18129         * locale/programs/localedef.c: Likewise.
18130         * login/programs/pt_chown.c: Likewise.
18131         * malloc/memusage.sh: Likewise.
18132         * malloc/memusagestat.c: Likewise.
18133         * malloc/mtrace.pl: Likewise.
18134         * manual/libc.texinfo: Likewise.
18135         * nscd/nscd.c: Likewise.
18136         * nss/getent.c: Likewise.
18137         * nss/makedb.c: Likewise.
18138         * posix/getconf.c: Likewise.
18139         * scripts/test-installation.pl: Likewise.
18140
18141         * All files with FSF copyright notices: Update copyright dates
18142         using scripts/update-copyrights.
18143         * intl/plural.c: Regenerated.
18144         * locale/programs/charmap-kw.h: Likewise.
18145         * locale/programs/locfile-kw.h: Likewise.
18146
18147 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18148
18149         * sysdeps/unix/sysv/linux/configure: Regenerated.
18150         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18151         the linux/fanotify.h header.
18152         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18153         HAVE_LINUX_FANOTIFY_H is defined.
18154
18155 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18156
18157         * benchtests/cos-inputs: New inputs.
18158         * benchtests/sin-inputs: Likewise.
18159
18160         * benchtests/atan-inputs: New inputs. Fix name of multiple
18161         precision fallback inputs.
18162
18163         * benchtests/atanh-inputs: New inputs.
18164         * benchtests/tanh-inputs: Likewise.
18165
18166         * benchtests/acosh-inputs: New inputs.
18167         * benchtests/asinh-inputs: Likewise.
18168
18169         * benchtests/cosh-inputs: New inputs.
18170         * benchtests/sinh-inputs: Likewise.
18171
18172         * benchtests/acos-inputs: Add more inputs.
18173         * benchtests/asin-inputs: Likewise.
18174
18175 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18176
18177         [BZ #16375]
18178         * manual/arith.texi: Fix spelling.
18179         * manual/charset.texi: Likewise.
18180         * manual/errno.texi: Likewise.
18181         * manual/filesys.texi: Likewise.
18182         * manual/lang.texi: Likewise.
18183         * manual/llio.texi: Likewise.
18184         * manual/locale.texi: Likewise.
18185         * manual/message.texi: Likewise.
18186         * manual/resource.texi: Likewise.
18187         * manual/search.texi: Likewise.
18188         * manual/setjmp.texi: Likewise.
18189         * manual/stdio.texi: Likewise.
18190         * manual/string.texi: Likewise.
18191         * manual/sysinfo.texi: Likewise.
18192         * manual/time.texi: Likewise.
18193
18194 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18195
18196         * po/sl.po: New file.
18197
18198 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18199
18200         * .gitignore: Add core/.gdbinit/.gdb_history.
18201
18202 2013-12-27  Allan McRae  <allan@archlinux.org>
18203
18204         [BZ #16369]
18205         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18206         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18207
18208 2013-12-24  Brooks Moses  <bmoses@google.com>
18209
18210         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18211         all compilers that claim C++98 compliance, not just GCC.
18212         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18213         Likewise.
18214
18215 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18216
18217         * NEWS: Restore accidentally deleted bug-fix entries.
18218
18219 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18220             Ondřej Bílka  <neleai@seznam.cz>
18221
18222         [BZ #15073]
18223         * malloc/malloc.c (_int_free): Perform sanity check only if we
18224         have_lock.
18225
18226 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18227
18228         [BZ #12986]
18229         * manual/stdio.texi (String Input Conversions): Clarify that character
18230         classes are not supported.
18231
18232 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18233
18234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18235
18236 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18237
18238         [BZ #16337]
18239         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18240         Calculate results for small negative arguments directly rather
18241         than using reflection formula with special underflow handling.
18242
18243         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18244         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18245         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18246         (fchflags): Likewise.
18247         (revoke): Likewise.
18248         (setlogin): Likewise.
18249         (sigaltstack): Likewise.
18250         (wait4): Likewise.
18251         (sigblock): Remove.
18252         (sigsetmask): Likewise.
18253         (wait3): Likewise.
18254         (waitpid): Likewise.
18255         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18256         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18257         file.
18258         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18259         * sysdeps/unix/bsd/Makefile: ... here.
18260         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18261         * sysdeps/unix/bsd/Versions: ... here.
18262         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18263         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18264         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18265         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18266         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18267         * sysdeps/unix/bsd/sigblock.c: ... here.
18268         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18269         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18270         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18271         * sysdeps/unix/bsd/sigvec.c: ... here.
18272         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18273         * sysdeps/unix/bsd/tcdrain.c: ... here.
18274         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18275         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18276         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18277         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18278         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18279         * sysdeps/unix/bsd/wait.c: ... here.
18280         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18281         * sysdeps/unix/bsd/wait3.c: ... here.
18282         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18283         * sysdeps/unix/bsd/waitpid.c: ... here.
18284
18285 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18286
18287         [BZ #16356]
18288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18289         round-to-nearest for [!USE_AS_EXPM1L].
18290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18291         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18292         more tests of exp and exp10.  Expect some exp10 tests to miss
18293         exceptions or fail in directed rounding modes.
18294         * math/auto-libm-test-out: Regenerated.
18295         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18296         (exp10_test_tonearest): New function.
18297         (exp10_towardzero_test_data): New array.
18298         (exp10_test_towardzero): New function.
18299         (exp10_downward_test_data): New array.
18300         (exp10_test_downward): New function.
18301         (exp10_upward_test_data): New array.
18302         (exp10_test_upward): New function.
18303         (main): Call the new functions.
18304         * sysdeps/i386/fpu/libm-test-ulps: Update.
18305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18306
18307 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18308
18309         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18310         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18311         * math/auto-libm-test-out: Regenerated.
18312         * math/libm-test.inc (acosh_test_data): Add more tests.
18313         (atanh_test_data): Likewise.
18314         (ceil_test_data): Likewise.
18315         (copysign_test_data): Likewise.
18316         * sysdeps/i386/fpu/libm-test-ulps: Update.
18317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318
18319         * timezone/checktab.awk: Update from tzcode 2013i.
18320         * timezone/private.h: Likewise.
18321         * timezone/scheck.c: Likewise.
18322         * timezone/tzfile.h: Likewise.
18323         * timezone/tzselect.ksh: Likewise.
18324         * timezone/zdump.c: Likewise.
18325         * timezone/zic.c: Likewise.
18326
18327         * math/auto-libm-test-in: Add tests of cpow.
18328         * math/auto-libm-test-out: Regenerated.
18329         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18330         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18331         mpc_cc_c.
18332         (func_calc_desc): Add mpc_cc_c union field.
18333         (test_functions): Add cpow.
18334         (special_fill_2pi): New function.
18335         (special_real_inputs): Add 2pi.
18336         (calc_generic_results): Handle mpc_cc_c.
18337         * sysdeps/i386/fpu/libm-test-ulps: Update.
18338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18339
18340         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18341         csqrt, ctan and ctanh.
18342         * math/auto-libm-test-out: Regenerated.
18343         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18344         (TEST_COND_x86): Likewise.
18345         (ccos_test_data): Use AUTO_TESTS_c_c.
18346         (ccosh_test_data): Likewise.
18347         (cexp_test_data): Likewise.
18348         (clog_test_data): Likewise.
18349         (csqrt_test_data): Likewise.
18350         (ctan_test_data): Likewise.
18351         (ctan_tonearest_test_data): Likewise.
18352         (ctan_towardzero_test_data): Likewise.
18353         (ctan_downward_test_data): Likewise.
18354         (ctan_upward_test_data): Likewise.
18355         (ctanh_test_data): Likewise.
18356         (ctanh_tonearest_test_data): Likewise.
18357         (ctanh_towardzero_test_data): Likewise.
18358         (ctanh_downward_test_data): Likewise.
18359         (ctanh_upward_test_data): Likewise.
18360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18361         mpc_c_c.
18362         (func_calc_desc): Add mpc_c_c union field.
18363         (FUNC_mpc_c_c): New macro.
18364         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18365         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18366         ctanh.
18367         (special_fill_min_subnorm_p120): New function.
18368         (special_real_inputs): Add min_subnorm_p120.
18369         (calc_generic_results): Handle mpc_c_c.
18370         * sysdeps/i386/fpu/libm-test-ulps: Update.
18371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18372
18373 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18374
18375         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18376         (do_sin_slow): New functions.
18377         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18378         (cslow2, csloww1, csloww2): Use the new functions.
18379
18380         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18381         Use M to change sign of result instead of X.  Assume X is
18382         positive.
18383         (csloww1): Likewise.
18384         (__sin): Adjust.
18385         (__cos): Adjust.
18386
18387         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18388         arguments A and DA.
18389         (__sin): Adjust.
18390         (__cos): Likewise.
18391
18392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18393         (__cos): Likewise.
18394         (sloww1): Don't adjust sign of DX.
18395         (csloww1): Likewise.
18396         (sloww2): Use X directly and don't adjust sign of DX.
18397         (csloww2): Likewise.
18398
18399 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18400
18401         * math/auto-libm-test-in: Add tests of cabs and carg.
18402         * math/auto-libm-test-out: Regenerated.
18403         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18404         (carg_test_data): Likewise.
18405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18406         mpc_c_f.
18407         (func_calc_desc): Add mpc_c_f union field.
18408         (test_functions): Add cabs and carg.
18409         (calc_generic_results): Handle mpc_c_f.
18410
18411         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18412         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18413         as a macro and a compat symbol.
18414         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18415         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18416         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18417         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18418         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18419         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18420         not use .hidden.
18421         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18422         Likewise.
18423         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18424         Likewise.
18425         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18426         Likewise.
18427         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18428         Likewise.
18429         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18430         Likewise.
18431         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18432         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18433         from GLIBC_2.3.2.
18434
18435 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18436
18437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18438
18439 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18440
18441         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18442         trailing whitespace removed.
18443         * scripts/config.guess: Update to version 2013-11-29.
18444         * scripts/config.sub: Update to version 2013-10-01.
18445
18446         * math/auto-libm-test-in: Add tests of sincos.
18447         * math/auto-libm-test-out: Regenerated.
18448         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18449         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18450         mpfr_f_11.
18451         (func_calc_desc): Add mpfr_f_11 union field.
18452         (test_functions): Add sincos.
18453         (calc_generic_results): Handle mpfr_f_11.
18454         * sysdeps/i386/fpu/libm-test-ulps: Update.
18455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18456
18457 2013-12-19  Andreas Schwab  <schwab@suse.de>
18458
18459         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18460         CALL_MCOUNT.
18461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18462         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18463         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18464
18465 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18466
18467         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18468         * sysdeps/i386/fpu/libm-test-ulps: Update.
18469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18470
18471         [BZ #16293]
18472         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18473         round-to-nearest mode when using frndint.
18474         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18475         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18476         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18477         Likewise.
18478         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18479         sinh test to fail.
18480         * math/auto-libm-test-out: Regenerated.
18481         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18482         (TEST_COND_x86): Likewise.
18483         (expm1_tonearest_test_data): New array.
18484         (expm1_test_tonearest): New function.
18485         (expm1_towardzero_test_data): New array.
18486         (expm1_test_towardzero): New function.
18487         (expm1_downward_test_data): New array.
18488         (expm1_test_downward): New function.
18489         (expm1_upward_test_data): New array.
18490         (expm1_test_upward): New function.
18491         (main): Run the new test functions.
18492         * sysdeps/i386/fpu/libm-test-ulps: Update.
18493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18494
18495         * include/features.h: Update comment documenting feature test
18496         macros.  Mention _DEFAULT_SOURCE in comment.
18497         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18498         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18499         _BSD_SOURCE and _SVID_SOURCE.
18500         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18501         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18502         !_SVID_SOURCE]: Likewise.
18503         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18504         (__USE_POSIX_IMPLICITLY): Define.
18505         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18506         (_POSIX_SOURCE): Undefine and redefine.
18507         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18508         (_POSIX_C_SOURCE): Likewise.
18509         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18510         (Feature Test Macros): Update documentation of default features.
18511
18512 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18513
18514         * benchtests/Makefile: Add bench-strtok.
18515         * benchtests/bench-strtok.c: New file: strtok benchtest.
18516
18517 2013-12-19  Allan McRae  <allan@archlinux.org>
18518
18519         * manual/install.texi: Suppress menu for plain text output.
18520         * INSTALL: Regenerated.
18521
18522 2013-12-18  Brooks Moses  <bmoses@google.com>
18523
18524         [BZ #15846]
18525         * misc/getauxval.c: Include errno.h.
18526         (__getauxval): Set errno to ENOENT if the requested type is not
18527         found.
18528         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18529         don't declare with __attribute_const__.
18530         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18531         * manual/startup.texi: Document that getauxval sets errno.
18532
18533 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18534
18535         * math/auto-libm-test-in: Add tests of jn and yn.
18536         * math/auto-libm-test-out: Regenerated.
18537         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18538         (yn_test_data): Likewise.
18539         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18540         mpfr_if_f.
18541         (func_calc_desc): Add mpfr_if_f union field.
18542         (FUNC_mpfr_if_f): New macro.
18543         (test_functions): Add jn and yn.
18544         (calc_generic_results): Assert type of second input for
18545         mpfr_ff_f.  Handle mpfr_if_f.
18546         (output_for_one_input_case): Disable all checking for arguments
18547         fitting floating-point types in case of an integer argument.
18548         * sysdeps/i386/fpu/libm-test-ulps: Update.
18549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18550
18551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18552         Don't expect fegetround reference in libm.so.
18553
18554 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18555
18556         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18557         $(config-cflags-nofma).
18558
18559 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18560
18561         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18562         * math/auto-libm-test-out: Regenerated.
18563
18564         [BZ #16338]
18565         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18566         to determine exponent and adjust argument to have exponent of -1.
18567         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18568         log2.
18569         * math/auto-libm-test-out: Regenerated.
18570         * sysdeps/i386/fpu/libm-test-ulps: Update.
18571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18572
18573 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18574
18575         * manual/probes.texi: Remove cases when per-thread arenas are
18576         disabled.
18577
18578 2013-12-18  Andreas Schwab  <schwab@suse.de>
18579
18580         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18581         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18582         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18583         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18584         * sysdeps/i386/i686/multiarch/Makefile: Update.
18585         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18586
18587 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18588
18589         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18590         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18591
18592 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18593
18594         [BZ #15968]
18595         Support TZ transition times < 00:00:00.
18596         This is needed for version-3 tz-format files; it supports time
18597         stamps past 2037 for America/Godthab (the only entry in the tz
18598         database for which this change is relevant).
18599         * manual/time.texi (TZ Variable): Document transition times
18600         from -167:59:59 through -00:00:01.
18601         * time/tzset.c (tz_rule): Time of day is now signed.
18602         (__tzset_parse_tz): Parse negative time of day.
18603
18604         Document TZ transition times >= 25:00:00.
18605         * manual/time.texi (TZ Variable): Document transition times from
18606         25:00:00 through 167:59:59.  These are already supported, and this
18607         support will help with version-3 tz-format files.
18608
18609         * manual/time.texi (TZ Variable): Modernize North America example
18610         to reflect current (i.e., 2007-and-later) daylight saving rules.
18611
18612         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18613
18614 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18615
18616         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18617         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18620         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18621         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18622         * sysdeps/unix/bsd/clock.c: Likewise.
18623         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18624         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18625         * sysdeps/unix/bsd/init-posix.c: Likewise.
18626         * sysdeps/unix/bsd/poll.c: Likewise.
18627         * sysdeps/unix/bsd/ptsname.c: Likewise.
18628         * sysdeps/unix/bsd/seekdir.c: Likewise.
18629         * sysdeps/unix/bsd/setegid.c: Likewise.
18630         * sysdeps/unix/bsd/seteuid.c: Likewise.
18631         * sysdeps/unix/bsd/setgid.c: Likewise.
18632         * sysdeps/unix/bsd/setrgid.c: Likewise.
18633         * sysdeps/unix/bsd/setruid.c: Likewise.
18634         * sysdeps/unix/bsd/setsid.c: Likewise.
18635         * sysdeps/unix/bsd/setuid.c: Likewise.
18636         * sysdeps/unix/bsd/sigaction.c: Likewise.
18637         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18638         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18639         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18640         * sysdeps/unix/bsd/telldir.c: Likewise.
18641         * sysdeps/unix/bsd/times.c: Likewise.
18642         * sysdeps/unix/bsd/usleep.c: Likewise.
18643
18644         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18645         ($(objpfx)libbsd-compat.a): Remove rule.
18646
18647         * include/features.h (__FAVOR_BSD): Do not define.
18648         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18649         features conflicting with POSIX.
18650         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18651         (_BSD_SOURCE): Remove description of not being a subset of other
18652         feature test macros.
18653         * manual/job.texi (getpgrp): Do not document BSD version.
18654         (getpgid): Do not document by reference to BSD getpgrp.
18655         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18656         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18657         * signal/signal.h [__FAVOR_BSD]: Likewise.
18658         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18659         instead of making contents conditional on [__FAVOR_BSD].
18660         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18661
18662 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18663
18664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18665
18666 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18667
18668         [BZ #16314]
18669         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18670         values below 2**-450, not 2**-500.
18671         * math/auto-libm-test-in: Don't allow spurious underflow from
18672         hypot.
18673         * math/auto-libm-test-out: Regenerated.
18674
18675         [BZ #16316]
18676         [BZ #16330]
18677         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18678         values of ha and hb and sort them after adjusting subnormal
18679         arguments.
18680         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18681         Likewise.
18682         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18683         values of ea and eb and sort them after adjusting subnormal
18684         arguments.
18685         * math/auto-libm-test-in: Do not expect some hypot tests of
18686         subnormals to fail.  Add more hypot tests.
18687         * math/auto-libm-test-out: Regenerated.
18688
18689 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18690
18691         [BZ #13304]
18692         * sysdeps/sh/s_fma.c: New file.
18693         * sysdeps/sh/s_fmaf.c: New file.
18694         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18695         version.
18696         * sysdeps/sh/Implies: Add sh/soft-fp.
18697
18698 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18699
18700         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18701         level of indirection to members `objname', `errstring', `malloced'.
18702         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18703         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18704         it as the __longjmp argument (just pass 1 instead).
18705         (_dl_catch_error): Initialize C with argument pointers and address of
18706         volatile local ERRCODE rather than copying values out of C at return.
18707
18708 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18709
18710         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18711         * math/auto-libm-test-out: Regenerated.
18712         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18713         (hypot_test_data): Likewise.
18714         (pow_test_data): Likewise.
18715         (pow_tonearest_test_data): Likewise.
18716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18717         mpfr_ff_f.
18718         (func_calc_desc): Add mpfr_ff_f union field.
18719         (FUNC_mpfr_ff_f): New macro.
18720         (test_functions): Add atan2, hypot and pow.
18721         (special_fill_min): New function.
18722         (special_fill_minus_min): Likewise.
18723         (special_fill_min_subnorm): Likewise.
18724         (special_fill_minus_min_subnorm): Likewise.
18725         (special_real_inputs): Add min, -min, min_subnorm and
18726         -min_subnorm.
18727         (calc_generic_results): Handle mpfr_ff_f.
18728         * sysdeps/i386/fpu/libm-test-ulps: Update.
18729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18730
18731 2013-12-16  Will Newton  <will.newton@linaro.org>
18732
18733         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18734         (Aligned Memory Blocks): Add documentation for aligned_alloc
18735         and suggest it as an alternative to posix_memalign.
18736         (Hooks for Malloc): Document __memalign_hook is also called
18737         for aligned_alloc.  (Summary of Malloc): Add summary for
18738         aligned alloc.  Document __memalign_hook is also called
18739         for aligned_alloc.
18740
18741 2013-12-16  Will Newton  <will.newton@linaro.org>
18742
18743         * manual/memory.texi (Malloc Examples): Clarify default
18744         alignment documentation.  Suggest posix_memalign rather
18745         than memalign or valloc.
18746         (Aligned Memory Blocks): Remove suggestion to use memalign
18747         or valloc.  Remove obsolete comment about BSD.
18748         Document memalign errno values and mark the function obsolete.
18749         Document posix_memalign returned error codes.  Mark valloc
18750         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18751         called for posix_memalign and valloc.
18752         (Summary of Malloc): Add posix_memalign to function summary.
18753         __memalign_hook is also called for posix_memalign and valloc.
18754
18755 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18756
18757         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18758         TAYLOR_SIN.
18759         (__sin): Adjust.
18760         (__cos): Likewise.
18761         (sloww): Use mynumber union.  Expand ternary operator into
18762         if-else statements.
18763         (cslow): use mynumber union.
18764
18765 2013-12-16  Allan McRae  <allan@archlinux.org>
18766
18767         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18768         * configure: Regenerated.
18769
18770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18771
18772         [BZ #14120]
18773         * configure.ac: Added --enable-maintainer-mode. Check for
18774         autoconf when enabled.
18775         * configure: Regenerated.
18776
18777         * nscd/nscd.service: New file.
18778         * nscd/nscd.tmpfiles: New file.
18779
18780 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18781
18782         [BZ #12100]
18783         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18784         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18785         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18786         (strstr): Add __strstr_sse2_unaligned ifunc.
18787         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18788         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18789         (strcasestr): Remove __strcasestr_sse42 ifunc.
18790         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18793
18794 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18795
18796         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18797         * sysdeps/sh/bits/fenv.h: ... here.
18798         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18799
18800 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18801
18802         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18803
18804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18805         hypotf multiarch implementations.
18806         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18807         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18808         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18809         multiarch hypot for PPC64.
18810         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18813         multiarch hypotf for PPC64.
18814
18815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18816         modff multiarch implementations.
18817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18820         multiarch modf for PPC64.
18821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18824         multiarch modff for PPC64.
18825
18826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18827         and logl multiarch implementations.
18828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18831         multiarch logb for PPC64.
18832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18835         multiarch logb for PPC64.
18836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18839         multiarch logb for PPC64.
18840
18841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18842         isinff multiarch implementation.
18843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18844         file.
18845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18847         multiarch isinf for PPC64.
18848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18849         file.
18850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18851         multiarch isinff for PPC64.
18852
18853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18854         finitef multiarch implementation.
18855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18856         file.
18857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18859         multiarch finite for PPC64.
18860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18861         file.
18862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18863         multiarch finitef for PPC64.
18864
18865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18866         lrint multiarch implementation.
18867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18868         file.
18869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18871         multiarch llrint for PPC64.
18872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18873         multiarch lrint for PPC64.
18874
18875         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18876         copysignf multiarch implementation.
18877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18878         file.
18879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18880         file.
18881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18882         multiarch copysign for PPC64.
18883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18884         multiarch copysignf for PPC64.
18885
18886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18887         multiarch implementation.
18888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18889         file.
18890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18891         file.
18892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18893         file.
18894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18895         file.
18896         multiarch llround for PPC64.
18897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18898         multiarch trunc for PPC64.
18899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18900         multiarch truncf for PPC64.
18901
18902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18903         multiarch implementation.
18904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18905         file.
18906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18907         file.
18908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18909         file.
18910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18911         file.
18912         multiarch llround for PPC64.
18913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18914         multiarch round for PPC64.
18915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18916         multiarch roundf for PPC64.
18917
18918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18919         multiarch implementation.
18920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18921         file.
18922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18923         file.
18924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18925         file.
18926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18927         file.
18928         multiarch llround for PPC64.
18929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18930         multiarch floor for PPC64.
18931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18932         multiarch floorf for PPC64.
18933
18934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18935         multiarch implementation.
18936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18937         file.
18938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18939         file.
18940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18941         file.
18942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18943         file.
18944         multiarch llround for PPC64.
18945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18946         multiarch ceil for PPC64.
18947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18948         multiarch ceilf for PPC64.
18949
18950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18951         multiarch implementation.
18952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18953         file.
18954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18955         file.
18956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18957         file.
18958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18959         multiarch llround for PPC64.
18960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18961         multiarch lround for PPC64.
18962
18963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18964         multiarch implementation.
18965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18968         file.
18969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18972         multiarch isnan for PPC64.
18973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18974         multiarch isnanf for PPC64.
18975
18976         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18977         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18978         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18979         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18980         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18982
18983         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18984         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18985         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18987
18988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18989         multiarch implementations.
18990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18991         (__libc_ifunc_impl_list): Likewise.
18992         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18993         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18995         multiarch stpcpy for PPC64.
18996
18997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18998         multiarch implementations.
18999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19000         (__libc_ifunc_impl_list): Likewise.
19001         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19003         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19004         multiarch strcpy for PPC64.
19005
19006         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19007         redefine function name.
19008         (_wordcopy_fwd_dest_aligned): Likewise.
19009         (_wordcopy_bwd_aligned): Likewise.
19010         (_wordcopy_bwd_dest_aligned): Likewise.
19011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19012         multiarch implementations.
19013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19014         (__libc_ifunc_impl_list): Likewise.
19015         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19016         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19019         multiarch wcscpy for PPC64.
19020
19021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19022         multiarch implementations.
19023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19024         (__libc_ifunc_impl_list): Likewise.
19025         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19026         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19027         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19028         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19029         multiarch wcscpy for PPC64.
19030
19031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19032         multiarch implementations.
19033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19034         (__libc_ifunc_impl_list): Likewise.
19035         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19036         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19037         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19038         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19039         multiarch wcsrchr for PPC64.
19040
19041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19042         multiarch implementations.
19043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19044         (__libc_ifunc_impl_list): Likewise.
19045         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19046         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19047         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19048         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19049         multiarch wcschr for PPC64.
19050
19051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19052         multiarch implementations.
19053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19054         (__libc_ifunc_impl_list): Likewise.
19055         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19056         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19057         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19058         multiarch strchrnul for PPC64.
19059
19060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19061         implementations.
19062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19063         (__libc_ifunc_impl_list): Likewise.
19064         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19065         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19066         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19067         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19068         strchr for PPC64.
19069
19070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19071         implementations.
19072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19073         (__libc_ifunc_impl_list): Likewise.
19074         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19075         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19076         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19077         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19078         strncmp for PPC64.
19079
19080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19081         multiarch implementations.
19082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19083         (__libc_ifunc_impl_list): Likewise.
19084         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19085         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19086         strncasecmp for PPC64.
19087         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19088         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19089         multiarch strncasecmp_l for PPC64.
19090
19091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19092         multiarch implementations.
19093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19094         (__libc_ifunc_impl_list): Likewise.
19095         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19096         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19097         multiarch strcasecmp for PPC64.
19098         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19099         file.
19100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19101         multiarch strcasecmp_l for PPC64.
19102
19103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19104         implementations.
19105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19106         (__libc_ifunc_impl_list): Likewise.
19107         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19108         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19109         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19110         strnlen for PPC64.
19111
19112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19113         implementations.
19114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19115         (__libc_ifunc_impl_list): Likewise.
19116         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19117         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19118         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19119         strlen for PPC64.
19120
19121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19122         implementations.
19123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19124         (__libc_ifunc_impl_list): Likewise.
19125         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19126         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19127         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19128         rawmemrchr for PPC64.
19129
19130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19131         implementation.
19132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19133         (__libc_ifunc_impl_list): Likewise.
19134         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19135         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19136         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19137         memrchr for PPC64.
19138
19139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19140         implementation.
19141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19142         (__libc_ifunc_impl_list): Likewise.
19143         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19144         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19145         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19146         memchr for PPC64.
19147
19148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19149         implementation.
19150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19151         (__libc_ifunc_impl_list): Likewise.
19152         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19153         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19154         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19155         mempcpy for PPC64.
19156
19157         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19158         avoid cretion of __bzero symbol.
19159         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19160         Likewise.
19161         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19162         Likewise.
19163         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19164         Likewise.
19165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19166         multiarch implementations.
19167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19168         (__libc_ifunc_impl_list): Likewise.
19169         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19172         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19173         bzero for PPC32.
19174         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19175         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19176         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19177         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19178         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19179         memset for PPC64.
19180         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19181
19182         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19184         implementations.
19185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19186         (__libc_ifunc_impl_list): Likewise.
19187         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19188         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19189         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19190         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19191         memcmp for PPC64.
19192
19193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19194         multiarch for POWER/PPC64.
19195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19196         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19197         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19198         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19199         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19200         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19201         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19202         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19203         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19204         memcpy for PPC64.
19205
19206         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19207         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19208         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19209         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19210         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19211         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19212         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19213         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19214         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19215         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19216         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19217         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19218         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19219         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19220         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19228
19229 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19230
19231         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19232
19233 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19234
19235         * benchtests/Makefile (bench): Add exp2 and log2.
19236         (LDLIBS-bench-exp2): Add -lm.
19237         (LDLIBS-bench-log2): Likewise.
19238         * benchtests/exp2-inputs: New inputs file.
19239         * benchtests/log2-inputs: New inputs file.
19240         * benchtests/log-inputs: Add new inputs.
19241         * benchtests/tan-inputs: Likewise.
19242
19243 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244
19245         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19246         definition...
19247         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19248         (csloww2): ... from here.
19249
19250         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19251         instead of structures.
19252         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19253         (POLYNOMIAL): Likewise.
19254         (TAYLOR_SLOW): Likewise.
19255         (__sin): Likewise.
19256         (__cos): Likewise.
19257         (slow1): Likewise.
19258         (slow2): Likewise.
19259         (sloww): Likewise.
19260         (sloww1); Likewise.
19261         (sloww2): Likewise.
19262         (bsloww1): Likewise.
19263         (bsloww2): Likewise.
19264         (cslow2): Likewise.
19265         (csloww): Likewise.
19266         (csloww1): Likewise.
19267         (csloww2): Likewise.
19268
19269 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19270
19271         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19272         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19273         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19274         * malloc/hooks.c (realloc_check): Likewise.
19275
19276         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19277         * malloc/arena.c: Remove PER_THREAD conditional.
19278         [!PER_THREAD]: Remove code.
19279         (ptmalloc_unlock_all2): Likewise.
19280         (ptmalloc_init): Likewise.
19281         (_int_new_arena): Likewise.
19282         (arena_get2): Likewise.
19283         * malloc/hooks.c (__malloc_get_state): Likewise.
19284         (__malloc_set_state): Likewise.
19285         * malloc/malloc.c: Likewise.
19286         (struct malloc_state): Likewise.
19287         (struct malloc_par): Likewise.
19288         (__libc_realloc): Likewise.
19289         (__libc_mallopt): Likewise.
19290
19291 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19292
19293         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19294
19295 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19296
19297         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19298         macro to a function.  Check for zero perturb_byte.
19299         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19300
19301         * malloc/malloc.c: (force_reg): Remove.
19302         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19303         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19304         force_reg by atomic_forced_read.
19305         * malloc/arena.c (ptmalloc_init): Likewise.
19306         * malloc/hooks.c (top_check): Likewise.
19307
19308 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19309
19310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19311
19312 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19313
19314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19315
19316 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19317
19318         * math/auto-libm-test-in: Add tests of lgamma.
19319         * math/auto-libm-test-out: Regenerated.
19320         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19321         (M_LOG_2_SQRT_PIl): Likewise.
19322         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19323         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19324         mpfr_f_f1.
19325         (func_calc_desc): Add mpfr_f_f1 union field.
19326         (ARGS1): New macro.
19327         (ARGS2): Likewise.
19328         (ARGS3): Likewise.
19329         (ARGS4): Likewise.
19330         (RET1): Likewise.
19331         (RET2): Likewise.
19332         (CALC): Likewise.
19333         (FUNC): Likewise.
19334         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19335         (test_functions): Add lgamma.
19336         (calc_generic_results): Handle mpfr_f_f1.
19337         * sysdeps/i386/fpu/libm-test-ulps: Update.
19338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19339
19340 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19341
19342         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19343         __mpn_add_n for PowerPC64/POWER7.
19344         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19345         __mpn_sub_n for PowerPC64/POWER7.
19346
19347         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19348         __mpn_addmul_1 for PowerPC64.
19349         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19350         __mpn_submul_1 for PowerPC64.
19351         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19352         for PowerPC64.
19353         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19354         for PowerPC64.
19355
19356 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19357
19358         [BZ #15089]
19359         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19360
19361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362
19363         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19364
19365         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19366         add multiarch folders.
19367         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19368         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19369         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19370         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19371         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19372         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19373         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19374         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19375         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19376         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19377         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19384
19385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19386         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19388         New file.
19389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19390         New file.
19391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19392         multiarch __ieee754_hypot for PowerPC32.
19393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19394         New file.
19395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19396         New file.
19397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19398         multiarch __ieee754_hypotf for PowerPC32.
19399
19400         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19401         long_double_symbol only if __logbl is defined.
19402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19403         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19404         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19405         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19406         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19407         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19408         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19409         path for implementation.
19410         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19411         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19413         logb, and logbl multiarch implementations for PowerPC32.
19414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19415         file.
19416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19417         file.
19418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19419         multiarch logb for PowerPC32.
19420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19421         file.
19422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19423         file.
19424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19425         multiarch logbf for PowerPC32.
19426         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19428         file.
19429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19430         multiarch logbl implementation for PowerPC32.
19431
19432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19433         and modff multiarch implementations.
19434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19435         New file.
19436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19437         New file.
19438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19439         multiarch modf for PowerPC32.
19440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19441         New file.
19442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19443         New file.
19444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19445         multiarch modff for PowerPC32.
19446
19447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19448         and lrintf multiarch implementations.
19449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19450         New file.
19451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19452         New file.
19453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19454         multiarch lrint for PowerPC32.
19455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19456         file: multiarch lrintf for PowerPC32.
19457
19458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19459         and lroundf multiarch implementations.
19460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19461         New file.
19462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19463         New file.
19464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19465         New file.
19466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19467         multiarch lround for PowerPC32.
19468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19469         file: multiarch lroundf for PowerPC32.
19470
19471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19472         copysign and copysignf multiarch implementations.
19473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19474         New file.
19475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19476         New file.
19477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19478         file: multiarch copysign for PowerPC32.
19479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19480         file: multiarch copysignf for PowerPC32.
19481
19482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19483         and truncf multiarch implementations.
19484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19485         New file.
19486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19487         file.
19488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19489         multiarch trunc for PowerPC32.
19490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19491         New file.
19492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19493         New file.
19494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19495         multiarch truncf for PowerPC32.
19496
19497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19498         and roundf multiarch implementations.
19499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19500         New file.
19501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19502         file.
19503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19504         multiarch round for PowerPC32.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19506         New file.
19507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19508         New file.
19509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19510         multiarch roundf for PowerPC32.
19511
19512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19513         and floorf multiarch implementations.
19514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19515         New file.
19516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19517         file.
19518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19519         multiarch floor for PowerPC32.
19520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19521         New file.
19522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19523         New file.
19524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19525         multiarch floorf for PowerPC32.
19526
19527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19528         and ceilf multiarch implementations.
19529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19530         New file.
19531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19532         file.
19533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19534         multiarch ceil for PowerPC32.
19535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19536         New file.
19537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19538         file.
19539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19540         multiarch ceilf for PowerPC32.
19541
19542         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19543         is defined.
19544         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19545         FINITEF is defined.
19546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19547         and finitef multiarch implementations.
19548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19549         New file.
19550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19551         file.
19552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19553         multiarch finite for PowerPC32.
19554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19555         New file.
19556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19557         file: multiarch finitef for PowerPC32.
19558
19559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19560         and isinff multiarch implementations.
19561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19562         file.
19563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19564         file.
19565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19566         multiarch isinf for PowerPC32.
19567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19568         New file.
19569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19570         multiarch isinff for PowerPC32.
19571
19572         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19573         alias when __isnan is defined.
19574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19575         and isnanf multiarch implementations.
19576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19577         file.
19578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19579         file.
19580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19581         file.
19582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19583         file.
19584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19585         multiarch isnan for PowerPC32.
19586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19587         New file.
19588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19589         New file.
19590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19591         multiarch isnanf for PowerPC32.
19592
19593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19594         and sqrtf multiarch implementations.
19595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19596         file.
19597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19598         file.
19599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19600         multiarch sqrt for PowerPC32.
19601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19602         file.
19603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19604         file.
19605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19606         multiarch sqrtf for PowerPC32.
19607
19608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19609         and llroundf multiarch implementations.
19610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19611         New file.
19612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19613         New file.
19614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19615         New file.
19616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19617         file: multiarch llround for PowerPC32.
19618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19619         file: multiarch llroundf for PowerPC32.
19620
19621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19622         multiarch PowerPC32 fpu implementations.
19623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19624         New file.
19625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19626         New file.
19627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19628         multiarch llrint for PowerPC32.
19629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19630         New file.
19631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19632         New file.
19633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19634         file.
19635
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19637
19638         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19639         file.
19640         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19641         file.
19642         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19643         file.
19644         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19645         multiarch wordcopy for PPC32.
19646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19647         wordcopy objects.
19648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19649         (__libc_ifunc_impl_list): Likewise.
19650         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19651         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19652         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19653         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19655         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19656
19657         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19659         file.
19660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19661         file.
19662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19663         file.
19664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19665         multiarch wcscpy for PPC32.
19666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19667         multiarch objects.
19668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19669         (__libc_ifunc_impl_list): Likewise.
19670         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19671         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19672         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19673         sysdeps/powerpc/power6/wcscpy.c.
19674
19675         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19677         file.
19678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19679         file.
19680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19681         file.
19682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19683         multiarch wcsrchr for PPC32.
19684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19685         multiarch objects.
19686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19687         (__libc_ifunc_impl_list): Likewise.
19688         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19689         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19690         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19691         sysdeps/powerpc/power6/wcsrchr.c.
19692
19693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19694         file.
19695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19696         file.
19697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19699         multiarch wcschr for PPc32.
19700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19701         multiarch objects.
19702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19703         (__libc_ifunc_impl_list): Likewise.
19704         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19705         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19706         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19707         sysdeps/powerpc/power6/wcschr.c.
19708
19709         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19710         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19711         file.
19712         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19713         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19714         file: multiarch strchr for PPC32.
19715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19716         multiarch objects.
19717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19718         (__libc_ifunc_impl_list): Likewise.
19719
19720         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19721         name.
19722         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19723         file.
19724         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19725         file.
19726         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19727         multiarch strchrnul for PPC32.
19728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19729         multiarch objects.
19730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19731         (__libc_ifunc_impl_list): Likewise.
19732
19733         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19734         file.
19735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19736         multiarch strncasecmp for PPC32.
19737         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19738         file.
19739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19740         multiarch strncasecmp_l for PPC32.
19741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19742         strncasecmp multiarch objects.
19743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19744         (__libc_ifunc_impl_list): Likewise.
19745
19746         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19747         file.
19748         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19749         multiarch strncasecmp for PPC32.
19750         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19751         New file.
19752         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19753         multiarch strcasecmp_l for PPC32.
19754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19755         multiarch objects.
19756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19757         (__libc_ifunc_impl_list): Likewise.
19758
19759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19760         file.
19761         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19762         file.
19763         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19764         multiarch strncmp for PPC32.
19765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19766         multiarch objects.
19767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19768         (__libc_ifunc_impl_list): Likewise.
19769
19770         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19771         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19772         file.
19773         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19774         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19776         multiarch objects.
19777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19778         (__libc_ifunc_impl_list): Likewise.
19779
19780         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19781         file.
19782         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19783         file.
19784         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19786         multiarch objects.
19787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19788         (__libc_ifunc_impl_list): Likewise.
19789
19790         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19791         file.
19792         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19793         file.
19794         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19795         multiarch rawmemchr for PPC32.
19796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19797         multiarch objects.
19798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19799         (__libc_ifunc_impl_list): Likewise.
19800
19801         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19802         file.
19803         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19804         file.
19805         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19806         file: memrchr multiarch for PPC32.
19807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19808         multiarch objects.
19809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19810         (__libc_ifunc_impl_list): Likewise.
19811
19812         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19813         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19814         file.
19815         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19816         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19817         multiarch memchr for PPC32.
19818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19819         multiarch objects.
19820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19821         (__libc_ifunc_impl_list): Likewise.
19822
19823         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19824         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19825         file.
19826         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19827         file.
19828         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19829         file: multiarch mempcpy for PPC32.
19830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19831         multiarch objects.
19832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19833         (__libc_ifunc_impl_list): Likewise.
19834
19835         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19836         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19837         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19839         multiarch bzero for PPC32.
19840         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19841         file.
19842         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19843         file.
19844         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19845         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19846         file: multiarch memset for PPC32.
19847         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19849         memset multiarch objects.
19850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19851         (__libc_ifunc_impl_list): Likewise.
19852
19853         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19854         file.
19855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19857         memcmp for PPC32.
19858         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19860         multiarch objects.
19861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19862         (__libc_ifunc_impl_list): Likewise.
19863
19864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19867         file.
19868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19869         file.
19870         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19871         file.
19872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19873         multiarch memcpy for PPC32.
19874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19875         multiarch objects.
19876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19877         (__libc_ifunc_impl_list): Likewise.
19878
19879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19880         support multiarch for POWER/PPC32.
19881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19882         Likewise.
19883         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19885         Implies file to make multiarch folder appers before the fpu and
19886         default folder for power4 configuration.
19887
19888 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19889
19890         * scripts/bench.pl: Append volatile keyword to type.
19891
19892 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19893
19894         * sysdeps/sh/sotruss-lib.c: New file.
19895         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19896
19897 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19898
19899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19900
19901 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19902
19903         [BZ #6810]
19904         * math/w_tgamma.c: Include <errno.h>.
19905         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19906         * math/w_tgammaf.c: Include <errno.h>.
19907         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19908         * math/w_tgammal.c: Include <errno.h>.
19909         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19910         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19911         underflow.  Add more tgamma tests.
19912         * math/auto-libm-test-out: Regenerated.
19913         * sysdeps/i386/fpu/libm-test-ulps: Update.
19914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915
19916         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19917         sin, sinh, tan, tanh, tgamma, y0 and y1.
19918         * math/auto-libm-test-out: Regenerated.
19919         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19920         (TEST_COND_x86): Likewise.
19921         (M_E2l): Remove macro.
19922         (M_E3l): Likewise.
19923         (M_2_SQRT_PIl): Likewise.
19924         (M_SQRT_PIl): Likewise.
19925         (M_1_DIV_El): Likewise.
19926         (log_test_data): Use AUTO_TESTS_f_f.
19927         (log10_test_data): Likewise.
19928         (log1p_test_data): Likewise.
19929         (log2_test_data): Likewise.
19930         (sin_test_data): Likewise.
19931         (sin_tonearest_test_data): Likewise.
19932         (sin_towardzero_test_data): Likewise.
19933         (sin_downward_test_data): Likewise.
19934         (sin_upward_test_data): Likewise.
19935         (sinh_test_data): Likewise.
19936         (sinh_tonearest_test_data): Likewise.
19937         (sinh_towardzero_test_data): Likewise.
19938         (sinh_downward_test_data): Likewise.
19939         (sinh_upward_test_data): Likewise.
19940         (tan_test_data): Likewise.
19941         (tan_tonearest_test_data): Likewise.
19942         (tan_towardzero_test_data): Likewise.
19943         (tan_downward_test_data): Likewise.
19944         (tan_upward_test_data): Likewise.
19945         (tanh_test_data): Likewise.
19946         (tgamma_test_data): Likewise.
19947         (y0_test_data): Likewise.
19948         (y1_test_data): Likewise.
19949         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19950         (special_real_inputs): Add pi/4.
19951         * sysdeps/i386/fpu/libm-test-ulps: Update.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19953
19954 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19955
19956         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19957         "longjmp_target" static probes.
19958         (__longjmp): Rename to __longjmp_symbol.
19959         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19960         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19961         on which longjmp to generate.
19962         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19963         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19964         probe.
19965         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19966         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19967         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19968         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19969         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19970         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19972         __longjmp_symbol based on which __longjmp to generate.
19973         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19974         probe.
19975         (setjmp): Rename to setjmp_symbol.
19976         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19977         (_setjmp): Rename to _setjmp_symbol.
19978         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19979         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19980         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19981         which setjmp to generate.
19982         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19983         "longjmp_target" static probes.
19984
19985 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19986
19987         * benchtests/README: Add note about output arguments.
19988         * benchtests/bench-sincos.c: Remove file.
19989         * benchtests/sincos-inputs: New file.
19990         * scripts/bench.pl: Identify output arguments and define
19991         static variables for them.
19992
19993         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19994
19995         [BZ #15941]
19996         * Makefile (INSTALL): Add install-plain.texi as the primary
19997         dependency.
19998         * manual/install-plain.texi: New file.
19999         * manual/install.texi: Include node directive only for
20000         non-plaintext output.
20001
20002 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20003
20004         * stdlib/longlong.h: Update from GCC.
20005
20006         [BZ #6807]
20007         [BZ #15901]
20008         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20009         * math/w_j0f.c (y0f): Likewise.
20010         * math/w_j0l.c (__y0l): Likewise.
20011         * math/w_j1.c (y1): Likewise.
20012         * math/w_j1f.c (y1f): Likewise.
20013         * math/w_j1l.c (__y1l): Likewise
20014         * math/w_jn.c (yn): Likewise.
20015         * math/w_jnf.c (ynf): Likewise.
20016         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20017         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20018         value for Bessel function domain errors outside _SVID_ mode.
20019         Adjust sign of return value for yn (negative integer, 0).
20020         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20021         by zero in return for negative x and set sign appropriately for
20022         negative n.
20023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20024         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20025         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20026         expectations in error cases.
20027         (y1_test_data): Likewise.
20028         (yn_test_data): Likewise.
20029         * sysdeps/i386/fpu/libm-test-ulps: Update.
20030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20031
20032 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20033
20034         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20035         "64" to "64-v1".  Add "64-v2".
20036         (abi-64-options): Rename to ...
20037         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20038         (abi-64-condition): Rename to ...
20039         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20040         (abi-64-ld-soname): Rename to ...
20041         (abi-64-v1-ld-soname): ... this.
20042         (abi-64-v2-options): Define.
20043         (abi-64-v2-condition): Likewise.
20044         (abi-64-v2-ld-soname): Likewise.
20045         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20046         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20050
20051 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20052             Alan Modra  <amodra@gmail.com>
20053
20054         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20055         New versions for use with the ELFv2 ABI.
20056         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20057         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20058         declaration.
20059         (struct La_ppc64v2_retval): Likewise.
20060         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20061         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20062         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20063         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20064         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20065         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20066         Do not save or restore CR.
20067         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20068         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20069         return values for ELFv2 ABI.  Fix location of FPR return registers.
20070         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20071         updated values for _CALL_ELF == 2.
20072         (La_regs, La_retval, int_retval): Likewise.
20073
20074 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20075
20076         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20077         (FRAME_MIN_SIZE_PARM): Likewise.
20078         (FRAME_BACKCHAIN): Likewise.
20079         (FRAME_CR_SAVE): Likewise.
20080         (FRAME_LR_SAVE): Likewise.
20081         (FRAME_TOC_SAVE): Likewise.
20082         (FRAME_PARM_SAVE): Likewise.
20083         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20084         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20085         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20086         (call_mcount_parm_offset): New macro.
20087         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20088         (PROF): Use symbolic stack frame offsets.
20089         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20090         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20091         Redefine in terms of FRAME_MIN_SIZE.
20092         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20093         (_dl_profile_resolve): Likewise.  Update comment.
20094         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20095         symbols stack frame offsets.
20096         (__sigsetjmp): Likewise.
20097         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20098         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20099         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20100         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20101
20102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20103         (FRAME_BACKCHAIN): Remove.
20104         (FRAME_CR_SAVE): Likewise.
20105         (FRAME_LR_SAVE): Likewise.
20106         (FRAME_COMPILER_DW): Likewise.
20107         (FRAME_LINKER_DW): Likewise.
20108         (FRAME_TOC_SAVE): Likewise.
20109         (FRAME_PARM_SAVE): Likewise.
20110         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20111         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20112         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20114         (CHECK_SP): Use symbolic stack frame offsets.
20115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20116         zone" instead of caller's parameter save area for temp storage.
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20118         Likewise.  Also, use symbolic stack frame offsets.
20119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20120         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20121         our own stack frame instead of the caller's.
20122         (__socket): Use symbolic stack frame offsets.
20123
20124 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20125             Alan Modra  <amodra@gmail.com>
20126
20127         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20128         Define.
20129         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20130         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20131         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20132         New function.
20133         (elf_machine_fixup_plt): Call it.
20134         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20135         reloc arguments.
20136         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20137         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20138         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20139         r2 before calling target.
20140
20141 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20142             Alan Modra  <amodra@gmail.com>
20143
20144         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20145         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20146         versions of macros to support ELFv2 ABI.
20147         (LOCALENTRY): New macro.
20148         (ENTRY, EALIGN): Use it.
20149         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20150         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20151         fall through into ENTRY entry point.
20152         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20153         Only define if _CALL_ELF != 2.
20154
20155         (elf_machine_matches_host): Verify ABI version matches.
20156         (RTLD_START): Use LOCALENTRY.
20157         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20158         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20159         (PLT_ENTRY_WORDS): New macro.
20160         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20161         (elf_machine_runtime_setup): Support ELFv2 ABI.
20162         (elf_machine_fixup_plt): Likewise.
20163         (elf_machine_plt_conflict): Likewise.
20164         (resolve_ifunc): Likewise.
20165         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20167         Likewise.
20168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20169         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20171         (makecontext): Support ELFv2 ABI.
20172         * elf/elf.h (EF_PPC64_ABI): Define.
20173
20174 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20175
20176         * sysdeps/powerpc/powerpc64/sysdep.h
20177         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20178         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20179         (ENTRY) [ASSEMBLER]: ... but instead here ...
20180         (EALIGN) [ASSEMBLER]: ... and here.
20181         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20182         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20183         (ENTRY_2) [!ASSEMBLER]: Use it.
20184         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20185         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20186         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20187         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20188         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20190         Use PPC64_LOAD_FUNCPTR.
20191
20192         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20193
20194 2013-12-04  Alan Modra  <amodra@gmail.com>
20195
20196         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20197         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20198         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20199         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20200
20201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20202         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20203         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20204         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20205         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20206         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20207
20208 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20209
20210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20211         (__makecontext): Fix incorrect CFI when backtracing out of
20212         context created via makecontext.
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20214         (__setcontext): Fix incorrect CFI during switch to new context.
20215         (__novec_setcontext): Likewise.
20216
20217 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20218
20219         [BZ #4772]
20220         * time/strptime_l.c (__strptime_internal): Allow modifiers
20221         in strptime.
20222         * time/tst-strptime.c (day_tests): Add testcase.
20223
20224 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20225
20226         * scripts/bench.pl: Skip over blank lines.
20227
20228 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20229
20230         [BZ #926]
20231         * manual/time.texi (Calendar Time): Clarify what timezone functions
20232         use.
20233
20234 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20235
20236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20237
20238 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20239
20240         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20241         implementation.
20242         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20243         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20244         * debug/memset_chk.c (__memset_chk): Likewise.
20245         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20246         * debug/strncpy_chk.c: Likewise.
20247
20248 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20249
20250         [BZ #15268]
20251         [BZ #15425]
20252         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20253         (__ieee754_exp): For possibly underflowing results, check size of
20254         result and force underflow exception if required.
20255         * math/auto-libm-test-in: Add more tests of exp.
20256         * math/auto-libm-test-out: Regenerated.
20257         * sysdeps/i386/fpu/libm-test-ulps: Update.
20258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20259
20260         [BZ #16283]
20261         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20262         * math/w_exp2f.c (__exp2f): Likewise.
20263         * math/w_exp2l.c (__exp2l): Likewise.
20264         * math/auto-libm-test-in: Do not allow missing errno on exp2
20265         underflow.
20266         * math/auto-libm-test-out: Regenerated.
20267
20268 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20269
20270         [BZ #16274]
20271         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20272         handle filename validation.
20273         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20274         (do_open): Delete.
20275
20276 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20277
20278         [BZ #6786]
20279         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20280         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20281         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20282         <float.h>.
20283         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20284         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20285         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20287         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20288         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20289         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20290         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20291         Add more erfc tests.
20292         * math/auto-libm-test-out: Regenerated.
20293         * sysdeps/i386/fpu/libm-test-ulps: Update.
20294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20295
20296         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20297         exp2, expm1, j0 and j1.
20298         * math/auto-libm-test-out: Regenerated.
20299         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20300         (erfc_test_data): Likewise.
20301         (exp_test_data): Likewise.
20302         (exp_tonearest_test_data): Likewise.
20303         (exp_towardzero_test_data): Likewise.
20304         (exp_downward_test_data): Likewise.
20305         (exp_upward_test_data): Likewise.
20306         (exp10_test_data): Likewise.
20307         (exp2_test_data): Likewise.
20308         (expm1_test_data): Likewise.
20309         (j0_test_data): Likewise.
20310         (j1_test_data): Likewise.
20311         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20312         (input_flag_type): Add flag_xfail_rounding.
20313         (input_flags): Add xfail-rounding.
20314         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20315         (output_for_one_input_case): Handle flag_xfail_rounding.
20316         * sysdeps/i386/fpu/libm-test-ulps: Update.
20317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20318
20319 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20320
20321         [BZ #16289]
20322         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20323         division by 0.
20324
20325 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20326
20327         [BZ #16195]
20328         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20329         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20330         (STAP_PROBE0): New macro.
20331         (STAP_PROBE1): Likewise.
20332         (STAP_PROBE2): Likewise.
20333         (STAP_PROBE3): Likewise.
20334         (STAP_PROBE4): Likewise.
20335
20336 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20337
20338         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20339
20340 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20341
20342         * benchtests/Makefile (bench): Add sqrt.
20343         (LDLIBS-bench-sqrt): New.
20344         * benchtests/sqrt-input: New.
20345
20346 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20347
20348         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20349         (GAIH_EAI): Likewise.
20350         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20351         (gaih_inet): Likewise.
20352         (getaddrinfo): Don't use GAIH_EAI.
20353
20354         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20355         (struct gaih): Remove definition.
20356
20357 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20358
20359         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20360         Use HERRNOP directly.
20361
20362 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20363
20364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20365
20366 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20367
20368         * math/gen-auto-libm-tests.c (test_functions): Add more
20369         single-argument functions.
20370         (special_fill_pi_2): New function.
20371         (special_fill_minus_pi_2): Likewise.
20372         (special_fill_pi_6): Likewise.
20373         (special_fill_minus_pi_6): Likewise.
20374         (special_fill_pi_3): Likewise.
20375         (special_fill_2pi_3): Likewise.
20376         (special_fill_e): Likewise.
20377         (special_fill_1_e): Likewise.
20378         (special_fill_e_minus_1): Likewise.
20379         (special_real_inputs): Add more special inputs.
20380         (output_for_one_input_case): Do not require ERANGE on underflow to
20381         zero if round-to-nearest result does not underflow to zero, unless
20382         exact results required.
20383         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20384         atan, atanh, cbrt, cos and cosh.
20385         * math/auto-libm-test-out: Regenerated.
20386         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20387         (acos_tonearest_test_data): Likewise.
20388         (acos_towardzero_test_data): Likewise.
20389         (acos_downward_test_data): Likewise.
20390         (acos_upward_test_data): Likewise.
20391         (acosh_test_data): Likewise.
20392         (asin_test_data): Likewise.
20393         (asin_tonearest_test_data): Likewise.
20394         (asin_towardzero_test_data): Likewise.
20395         (asin_upward_test_data): Likewise.
20396         (asinh_test_data): Likewise.
20397         (atan_test_data): Likewise.
20398         (atanh_test_data): Likewise.
20399         (cbrt_test_data): Likewise.
20400         (cos_test_data): Likewise.
20401         (cos_tonearest_test_data): Likewise.
20402         (cos_towardzero_test_data): Likewise.
20403         (cos_downward_test_data): Likewise.
20404         (cos_upward_test_data): Likewise.
20405         (cosh_test_data): Likewise.
20406         (cosh_tonearest_test_data): Likewise.
20407         (cosh_towardzero_test_data): Likewise.
20408         (cosh_downward_test_data): Likewise.
20409         (cosh_upward_test_data): Likewise.
20410         * sysdeps/i386/fpu/libm-test-ulps: Update.
20411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20412
20413 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20414
20415         [BZ #6787]
20416         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20417         * math/w_exp10f.c (__exp10f): Likewise.
20418         * math/w_exp10l.c (__exp10l): Likewise.
20419         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20420         errno settings in existing tests.
20421
20422         [BZ #14032]
20423         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20424         precision control set to double precision.
20425         * sysdeps/i386/fpu/w_sqrt.c: New file.
20426         * math/auto-libm-test-in: Add more tests.
20427         * math/auto-libm-test-out: Update.
20428
20429         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20430         (sqrt_test_tonearest): New function.
20431         (sqrt_towardzero_test_data): New variable.
20432         (sqrt_test_towardzero): New function.
20433         (sqrt_downward_test_data): New variable.
20434         (sqrt_test_downward): New function.
20435         (sqrt_upward_test_data): New variable.
20436         (sqrt_test_upward): New function.
20437         (main): Call the new functions.
20438
20439         * math/gen-auto-libm-tests.c: New file.
20440         * math/auto-libm-test-in: Likewise.
20441         * math/auto-libm-test-out: New generated file.
20442         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20443         variables.
20444         (%beautify): Add generated representations of zero.
20445         (top level): Set $auto_input and call parse_auto_input.
20446         (beautify): Remove trailing "f" from hex float constants.
20447         (parse_args): Handle XFAIL_TEST.
20448         (convert_condition): New function.
20449         (or_value): Likewise.
20450         (or_cond_value): Likewise.
20451         (generate_testfile): Handle AUTO_TESTS_* lines.
20452         (parse_auto_input): New function.
20453         * math/libm-test.inc (XFAIL_TEST): New macro.
20454         (ERRNO_UNCHANGED): Update value.
20455         (ERRNO_EDOM): Likewise.
20456         (ERRNO_ERANGE): Likewise.
20457         (IGNORE_RESULT): Likewise.
20458         (TEST_COND_flt_32): New macro.
20459         (TEST_COND_dbl_64): Likewise.
20460         (TEST_COND_ldbl_96_intel): Likewise.
20461         (TEST_COND_ldbl_96_m68k): Likewise.
20462         (TEST_COND_ldbl_128): Likewise.
20463         (TEST_COND_ldbl_128ibm): Likewise.
20464         (TEST_COND_long32): Likewise.
20465         (TEST_COND_long64): Likewise.
20466         (TEST_COND_before_rounding): Likewise.
20467         (TEST_COND_after_rounding): Likewise.
20468         (enable_test): Handle XFAIL_TEST flag.
20469         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20470         with finite results.
20471         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20472         auto-libm-test-out.
20473
20474 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20475             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20476
20477         [BZ #16214]
20478         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20479         __tls_get_addr_internal instead of __tls_get_offset in order to
20480         avoid GOT pointer dependency.  Make rtld export
20481         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20482         __tls_get_addr since we are a __tls_get_offset platform.
20483         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20484         GOT pointer being set up before.
20485         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20486
20487 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20488
20489         * manual/math.texi (Errors in Math Functions): Document accuracy
20490         goals.
20491
20492         [BZ #15004]
20493         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20494         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20495         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20496         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20497         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20499         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20500         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20501         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20502         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20503         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20504         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20505         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20506         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20507         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20508         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20509
20510         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20511         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20512         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20513         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20514         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20515         Likewise.
20516         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20517         Likewise.
20518         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20519         Likewise.
20520         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20521         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20522         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20523         atomic-feupdateenv and flt-rounds.
20524         * sysdeps/powerpc/nofpu/Versions (libc): Add
20525         __atomic_feholdexcept, __atomic_feclearexcept,
20526         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20527         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20528         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20529         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20530         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20531         here.
20532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20533         Update.
20534
20535         * manual/arith.texi (FP Exceptions): Document that exceptions may
20536         not be raised when matherr is used.
20537         (Math Error Reporting): Document overflow in directed rounding
20538         modes.  Document that errno may not be set when finite values are
20539         returned on overflow.  Document intent to set errno on underflow
20540         only for underflow to zero.
20541
20542         [BZ #16271]
20543         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20544         round-to-nearest then adjust result for other rounding modes.
20545         * include/fenv.h (fegetround): Use libm_hidden_proto.
20546         * math/fegetround.c (fegetround): Use libm_hidden_def.
20547         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20548         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20549         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20550         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20551         Likewise.
20552         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20554         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20555         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20556
20557 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20558
20559         [BZ #16077]
20560         * nss/Versions (libnss_files): Add
20561         _nss_files_gethostbyname3_r.
20562         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20563         New function.
20564         (HOST_DB_LOOKUP): Remove macro.
20565         (_nss_files_gethostbyname_r): Implement function without the
20566         HOST_DB_LOOKUP macro.
20567         (_nss_files_gethostbyname2_r): Likewise.
20568
20569 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20570
20571         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20572
20573 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20574
20575         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20576         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20577         warning.
20578
20579 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20580
20581         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20582         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20583         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20584         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20585         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20586         __fe_nomask_env_priv and attribute_hidden.
20587         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20588         (libc_feupdateenv_test_ppc): Likewise.
20589         (libc_feresetround_ppc): Likewise.
20590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20591         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20592         compat_symbol macro.
20593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20594         (__fe_nomask_env): Likewise.
20595         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20596
20597 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20598
20599         * string/Makefile: Remove ifunc tests.
20600         * string/test-string.h: Define TEST_IFUNC.
20601         * string/test-bcopy-ifunc.c: Remove.
20602         * string/test-bzero-ifunc.c: Likewise.
20603         * string/test-memccpy-ifunc.c: Likewise.
20604         * string/test-memchr-ifunc.c: Likewise.
20605         * string/test-memcmp-ifunc.c: Likewise.
20606         * string/test-memcpy-ifunc.c: Likewise.
20607         * string/test-memmem-ifunc.c: Likewise.
20608         * string/test-memmove-ifunc.c: Likewise.
20609         * string/test-mempcpy-ifunc.c: Likewise.
20610         * string/test-memrchr-ifunc.c: Likewise.
20611         * string/test-memset-ifunc.c: Likewise.
20612         * string/test-rawmemchr-ifunc.c: Likewise.
20613         * string/test-stpcpy-ifunc.c: Likewise.
20614         * string/test-stpncpy-ifunc.c: Likewise.
20615         * string/test-strcasecmp-ifunc.c: Likewise.
20616         * string/test-strcasestr-ifunc.c: Likewise.
20617         * string/test-strcat-ifunc.c: Likewise.
20618         * string/test-strchr-ifunc.c: Likewise.
20619         * string/test-strchrnul-ifunc.c: Likewise.
20620         * string/test-strcmp-ifunc.c: Likewise.
20621         * string/test-strcpy-ifunc.c: Likewise.
20622         * string/test-strcspn-ifunc.c: Likewise.
20623         * string/test-strlen-ifunc.c: Likewise.
20624         * string/test-strncasecmp-ifunc.c: Likewise.
20625         * string/test-strncat-ifunc.c: Likewise.
20626         * string/test-strncmp-ifunc.c: Likewise.
20627         * string/test-strncpy-ifunc.c: Likewise.
20628         * string/test-strnlen-ifunc.c: Likewise.
20629         * string/test-strpbrk-ifunc.c: Likewise.
20630         * string/test-strrchr-ifunc.c: Likewise.
20631         * string/test-strspn-ifunc.c: Likewise.
20632         * string/test-strstr-ifunc.c: Likewise.
20633
20634 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20635
20636         * benchtests/Makefile: Remove ifunc tests.
20637         * benchtests/bench-string.h: Define TEST_IFUNC.
20638         * benchtests/bench-bcopy-ifunc.c: Remove.
20639         * benchtests/bench-bzero-ifunc.c: Likewise.
20640         * benchtests/bench-memccpy-ifunc.c: Likewise.
20641         * benchtests/bench-memchr-ifunc.c: Likewise.
20642         * benchtests/bench-memcmp-ifunc.c: Likewise.
20643         * benchtests/bench-memcpy-ifunc.c: Likewise.
20644         * benchtests/bench-memmem-ifunc.c: Likewise.
20645         * benchtests/bench-memmove-ifunc.c: Likewise.
20646         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20647         * benchtests/bench-memrchr-ifunc.c: Likewise.
20648         * benchtests/bench-memset-ifunc.c: Likewise.
20649         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20650         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20651         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20652         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20653         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20654         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20655         * benchtests/bench-strcat-ifunc.c: Likewise.
20656         * benchtests/bench-strchr-ifunc.c: Likewise.
20657         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20658         * benchtests/bench-strcmp-ifunc.c: Likewise.
20659         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20660         * benchtests/bench-strcpy-ifunc.c: Likewise.
20661         * benchtests/bench-strcspn-ifunc.c: Likewise.
20662         * benchtests/bench-strlen-ifunc.c: Likewise.
20663         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20664         * benchtests/bench-strncat-ifunc.c: Likewise.
20665         * benchtests/bench-strncmp-ifunc.c: Likewise.
20666         * benchtests/bench-strncpy-ifunc.c: Likewise.
20667         * benchtests/bench-strnlen-ifunc.c: Likewise.
20668         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20669         * benchtests/bench-strrchr-ifunc.c: Likewise.
20670         * benchtests/bench-strsep-ifunc.c: Likewise.
20671         * benchtests/bench-strspn-ifunc.c: Likewise.
20672         * benchtests/bench-strstr-ifunc.c: Likewise.
20673
20674 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20675
20676         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20677
20678 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20679
20680         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20681         * rt/aio.h: Likewise.
20682         * sysdeps/gnu/bits/utmp.h: Likewise.
20683         * sysdeps/gnu/bits/utmpx.h: Likewise.
20684         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20685         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20686         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20687         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20688         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20689         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20690         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20691         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20692         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20693         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20694         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20695         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20696         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20698         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20699         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20700         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20701         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20702         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20703         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20704         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20705         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20706         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20707         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20708         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20710         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20711         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20712         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20713         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20714         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20715         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20716         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20718         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20719         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20720         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20721         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20722         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20723         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20724         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20725         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20726
20727 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20728
20729         [BZ #16245]
20730         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20731         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20732
20733 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20734
20735         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20736         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20737         Likewise.
20738
20739 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20740
20741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20742         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20743         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20744         (__fesetround): Remove define.
20745         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20746         rounding and exceptions handling.
20747         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20748         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20749         (__fe_nomask_env): Likewise.
20750         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20751         __fegetround instead of fegetround.
20752         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20753         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20754
20755 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20756
20757         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20758         it's there.
20759
20760         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20761
20762 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20763
20764         [BZ #11157]
20765         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20766         (encrypt_r): Likewise.
20767         * malloc/obstack.h (obstack_free): Likewise.
20768         * posix/unistd.h (encrypt): Likewise.
20769
20770 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20771
20772         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20773         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20774         DL_CALL_DT_FINI() that call the functions directly.
20775         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20776         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20777         * elf/dl-fini.c: Likewise.
20778
20779 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20780
20781         * malloc/hooks.c (memalign_check): Add alignment rounding.
20782         * malloc/malloc.c (_mid_memalign): New function.
20783         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20784         Implement by calling _mid_memalign.
20785         * manual/probes.texi (Memory Allocation Probes): Remove
20786         memory_valloc_retry and memory_pvalloc_retry.
20787
20788 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20789
20790         * locale/programs/locarchive.c (open_archive): Add const
20791         qualifier to ARCHIVEFNAME and copy default fname to
20792         DEFAULT_FNAME.
20793
20794         [BZ #15601]
20795         * libio/tst-widetext.input: Rename Oriya to Odia.
20796         * locale/iso-639.def: Likewise.
20797
20798         * manual/probes.texi (Mathematical Function Probes): Add
20799         documentation for sin, cos, asin and acos probes.
20800         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20801         (__sin32): Add slowasin probe.
20802         (__cos32): Add slowacos probe.
20803         (__mpsin): Add slowsin probe.
20804         (__mpcos): Add slowcos probe.
20805
20806 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20807
20808         [BZ #15483]
20809         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20810         thread-local __sim_exceptions_thread and global
20811         __sim_exceptions_global.
20812         (__sim_disabled_exceptions): Change to thread-local
20813         __sim_disabled_exceptions_thread and global
20814         __sim_disabled_exceptions_global.
20815         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20816         and global __sim_round_mode_global.
20817         (__simulate_exceptions): Use thread-local floating-point state and
20818         set global state from it as needed.
20819         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20820         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20821         __sim_round_mode_thread.
20822         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20823         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20824         and global __sim_exceptions_global.
20825         (__sim_disabled_exceptions): Change to thread-local
20826         __sim_disabled_exceptions_thread and global
20827         __sim_disabled_exceptions_global.
20828         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20829         and global __sim_round_mode_global.
20830         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20831         (SIM_SET_GLOBAL): Likewise.
20832         * sysdeps/powerpc/soft-fp/sfp-machine.h
20833         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20834         __sim_round_mode_thread.
20835         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20836         __sim_disabled_exceptions_thread.
20837         (__sim_exceptions): Change to __sim_exceptions_thread.
20838         (__sim_disabled_exceptions): Change to
20839         __sim_disabled_exceptions_thread.
20840         (__sim_round_mode): Change to __sim_round_mode_thread.
20841         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20842         thread-local floating-point state and set global state from it as
20843         needed.
20844         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20845         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20846         (__sim_disabled_exceptions): Remove extern declaration.
20847         (feenableexcept): Use thread-local floating-point state and set
20848         global state from it as needed.
20849         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20850         extern declaration.
20851         (__sim_disabled_exceptions): Likewise.
20852         (__sim_round_mode): Likewise.
20853         (__fegetenv): Use thread-local floating-point state.
20854         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20855         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20856         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20857         floating-point state and set global state from it as needed.
20858         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20859         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20860         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20861         Likewise.
20862         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20863         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20864         Likewise.
20865         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20866         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20867         Use __sim_round_mode_thread.
20868         * math/test-fenv-tls.c: New file.
20869         * math/Makefile (tests): Add test-fenv-tls.
20870         ($(objpfx)test-fenv-tls): Depend on
20871         $(common-objpfx)nptl/libpthread.so.
20872
20873 2013-11-19  Andreas Schwab  <schwab@suse.de>
20874
20875         * locale/programs/locale.c (show_info): Decode wordarray elements.
20876         * locale/categories.def (LC_MONETARY): Add element for
20877         _NL_MONETARY_CRNCYSTR.
20878         * locale/C-monetary.c (conversion_rate): New variable.
20879         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20880         element.
20881
20882 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20883
20884         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20885         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20886
20887 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20888
20889         * elf/Makefile (tst-auxv): New test.
20890         * elf/tst-auxv.c: New
20891         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20892
20893 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20894
20895         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20896         (hidden_proto): Caller changed.
20897         (hidden_tls_proto): New macro.
20898         (libc_hidden_tls_proto): Likewise.
20899         (rtld_hidden_tls_proto): Likewise.
20900         (libm_hidden_tls_proto): Likewise.
20901         (libresolv_hidden_tls_proto): Likewise.
20902         (librt_hidden_tls_proto): Likewise.
20903         (libdl_hidden_tls_proto): Likewise.
20904         (libnss_files_hidden_tls_proto): Likewise.
20905         (libnsl_hidden_tls_proto): Likewise.
20906         (libnss_nisplus_hidden_tls_proto): Likewise.
20907         (libutil_hidden_tls_proto): Likewise.
20908
20909 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20910
20911         [BZ #10253]
20912         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20913         (decompose_rpath): Defer expansion to fillin_rpath.
20914         (_dl_init_paths): Pass linkmap to fillin_rpath.
20915
20916 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20917
20918         * benchtests/Makefile: Add strsep.
20919         * benchtests/bench-strsep.c: New file: strsep benchtest.
20920         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20921
20922 2013-11-18  Andreas Schwab  <schwab@suse.de>
20923
20924         * locale/programs/locale.c (show_info) [case byte]: Check for
20925         '\377' instead of '\177'.
20926         * locale/C-monetary.c (not_available): Always use "\377".
20927         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20928         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20929         detect unavailable sign_posn locale elements.
20930         * locale/localeconv.c (__localeconv): For grouping and
20931         mon_grouping handle "\177" and "\377" like no grouping.
20932         (INT_ELEM): New macro.  Use it to set all numeric members.
20933         * locale/programs/ld-monetary.c (monetary_read)
20934         <tok_mon_grouping>: Normalize single -1 to the empty string.
20935         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20936         Likewise.
20937
20938 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20939
20940         [BZ #16055]
20941         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20942         when we match (nil).
20943         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20944
20945 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20946
20947         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20948         (NO_TEST_INLINE): Update value.
20949         (ERRNO_UNCHANGED): Likewise.
20950         (ERRNO_EDOM): Likewise.
20951         (ERRNO_ERANGE): Likewise.
20952         (IGNORE_RESULT): Likewise.
20953         (check_float_internal): Check signs of NaN results if
20954         TEST_NAN_SIGN used.
20955         (check_complex): Pass TEST_NAN_SIGN flag through to second
20956         check_float_internal call.
20957         (copysign_test_data): Add tests with quiet NaNs as second
20958         argument.  Use TEST_NAN_SIGN.
20959         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20960         TEST_NAN_SIGN.
20961         (signbit_test_data): Add tests of quiet NaN argument.
20962         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20963
20964         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20965         $ignore_result.
20966         (parse_args): Handle function results specified as IGNORE.
20967         * math/libm-test.inc (IGNORE_RESULT): New macro.
20968         (check_float_internal): Do not check numerical result if flag
20969         IGNORE_RESULT set.
20970         (check_complex): Pass through IGNORE_RESULT to second
20971         check_float_internal call.
20972         (check_int): Do not check numerical result if flag IGNORE_RESULT
20973         set.
20974         (check_long): Likewise.
20975         (check_bool): Likewise.
20976         (check_longlong): Likewise.
20977         (lrint_test_data): Add tests of infinite and NaN arguments.
20978         (lrint_tonearest_test_data): Likewise.
20979         (lrint_towardzero_test_data): Likewise.
20980         (lrint_downward_test_data): Likewise.
20981         (lrint_upward_test_data): Likewise.
20982         (llrint_test_data): Likewise.
20983         (llrint_tonearest_test_data): Likewise.
20984         (llrint_towardzero_test_data): Likewise.
20985         (llrint_downward_test_data): Likewise.
20986         (llrint_upward_test_data): Likewise.
20987         (lround_test_data): Likewise.
20988         (llround_test_data): Likewise.
20989
20990         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20991         (ERRNO_UNCHANGED): Update value.
20992         (ERRNO_EDOM): Likewise.
20993         (ERRNO_ERANGE): Likewise.
20994         (NO_TEST_INLINE_FLOAT): New macro.
20995         (NO_TEST_INLINE_DOUBLE): Likewise.
20996         (enable_test): New function.
20997         (RUN_TEST_f_f): Check enable_test before running test.
20998         (RUN_TEST_2_f): Likewise.
20999         (RUN_TEST_fff_f): Likewise.
21000         (RUN_TEST_c_f): Likewise.
21001         (RUN_TEST_f_f1): Likewise.
21002         (RUN_TEST_fF_f1): Likewise.
21003         (RUN_TEST_fI_f1): Likewise.
21004         (RUN_TEST_ffI_f1): Likewise.
21005         (RUN_TEST_c_c): Likewise.
21006         (RUN_TEST_cc_c): Likewise.
21007         (RUN_TEST_f_i): Likewise.
21008         (RUN_TEST_f_i_tg): Likewise.
21009         (RUN_TEST_ff_i_tg): Likewise.
21010         (RUN_TEST_f_b): Likewise.
21011         (RUN_TEST_f_b_tg): Likewise.
21012         (RUN_TEST_f_l): Likewise.
21013         (RUN_TEST_f_L): Likewise.
21014         (RUN_TEST_fFF_11): Likewise.
21015         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21016         conditionals.
21017         (cosh_test_data): Likewise.
21018         (exp_test_data): Likewise.
21019         (expm1_test_data): Likewise.
21020         (hypot_test_data): Likewise.
21021         (pow_test_data): Likewise.
21022         (sinh_test_data): Likewise.
21023         (tanh_test_data): Likewise.
21024         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21025         flags argument.
21026
21027         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21028         tests with quiet NaN input and output.
21029         (acosh_test_data): Likewise.
21030         (asin_test_data): Likewise.
21031         (asinh_test_data): Likewise.
21032         (atan_test_data): Likewise.
21033         (atanh_test_data): Likewise.
21034         (atan2_test_data): Likewise.
21035         (cbrt_test_data): Likewise.
21036         (cos_test_data): Likewise.
21037         (cosh_test_data): Likewise.
21038         (erf_test_data): Likewise.
21039         (erfc_test_data): Likewise.
21040         (exp_test_data): Likewise.
21041         (exp10_test_data): Likewise.
21042         (exp2_test_data): Likewise.
21043         (expm1_test_data): Likewise.
21044         (hypot_test_data): Likewise.
21045         (j0_test_data): Likewise.
21046         (j1_test_data): Likewise.
21047         (jn_test_data): Likewise.
21048         (lgamma_test_data): Likewise.
21049         (log_test_data): Likewise.
21050         (log10_test_data): Likewise.
21051         (log1p_test_data): Likewise.
21052         (log2_test_data): Likewise.
21053         (pow_test_data): Likewise.
21054         (scalb_test_data): Likewise.
21055         (sin_test_data): Likewise.
21056         (sincos_test_data): Likewise.
21057         (sinh_test_data): Likewise.
21058         (tan_test_data): Likewise.
21059         (tanh_test_data): Likewise.
21060         (tgamma_test_data): Likewise.
21061         (y0_test_data): Likewise.
21062         (y1_test_data): Likewise.
21063         (yn_test_data): Likewise.
21064
21065         [BZ #16167]
21066         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21067         argument being NaN and avoid computations with second argument in
21068         that case.
21069         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21070         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21071         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21072
21073 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21074
21075         * locale/iso-639.def: Add Chitwani Tharu (the).
21076
21077 2013-11-14  Andreas Schwab  <schwab@suse.de>
21078
21079         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21080         word instead of empty string.
21081
21082 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21083
21084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21085         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21087         (__fe_nomask_env): Likewise.
21088
21089 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21090
21091         * benchtests/bench-timing.h: Include time.h.
21092
21093 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21094
21095         [BZ #15997]
21096         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21097         to 3.4.0 for x32.
21098         * sysdeps/unix/sysv/linux/configure: Regenerated.
21099
21100 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21101
21102         [BZ #16151]
21103         * stdlib/strtod_l.c (round_and_return): Do not consider
21104         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21105         exponent one less than half the least subnormal exponent.
21106         * stdlib/test-strtod-round-data: Add more tests.
21107         * stdlib/tst-strtod-round.c (tests): Regenerated.
21108
21109 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21110
21111         [BZ #14143]
21112         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21113         (__fe_mask_env): Likewise.
21114         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21115         libm_hidden_proto and add function prototype.
21116         (__fe_mask_env): Add function prototype.
21117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21118         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21120         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21122         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21123
21124 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21125
21126         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21127         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21128
21129 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21130
21131         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21132         of htab_find_slot().
21133
21134 2013-11-11  David S. Miller  <davem@davemloft.net>
21135
21136         [BZ #16150]
21137         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21138         symbol in the non-vis3 case in static builds.
21139         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21140         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21141         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21142         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21143
21144 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21145
21146         [BZ #387]
21147         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21148         it is empty.
21149
21150 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21151
21152         * benchtests/Makefile: Add bench-strtod.
21153         * benchtests/bench-strtod.c: New file: strtod benchtest
21154
21155 2013-11-11  Andreas Schwab  <schwab@suse.de>
21156
21157         [BZ #16153]
21158         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21159         terminating NUL in key length.
21160
21161 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21162
21163         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21164         Add artificial ODP entry for vDSO symbol for PPC64.
21165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21166         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21167
21168 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21169
21170         [BZ #15374]
21171         * nss/getent.c (services_keys): Recognize services starting with digit.
21172
21173 2013-11-06  David S. Miller  <davem@davemloft.net>
21174
21175         [BZ #15985]
21176         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21177         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21178
21179 2013-11-06  Will Newton  <will.newton@linaro.org>
21180
21181         * manual/memory.texi (Malloc Examples): Remove register
21182         keyword from examples.
21183
21184 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21185
21186         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21187
21188 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21189
21190         [BZ #6981]
21191         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21192         depending on [__GCC_IEC_559 > 0].
21193         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21194         depending on [__GCC_IEC_559_COMPLEX > 0].
21195
21196 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21197
21198         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21199         to iso-639.def.
21200
21201 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21202
21203         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21204
21205 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21206
21207         [BZ #16112]
21208         * malloc/malloc (malloc_info): Do not handle first bin as
21209         special case.
21210
21211 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21212
21213         * locale/iso-639.def: Add Central Nahuatl (nhn).
21214
21215 2013-11-01  Bruno Haible  <bruno@clisp.org>
21216
21217         [BZ #7003]
21218         * manual/math.texi (BSD Random): Specify range upper bound as
21219         in POSIX.
21220
21221 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21222
21223         * locale/iso-639.def: Add Meadow Mari (mhr).
21224
21225 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21226
21227         [BZ #14752], [BZ #15763]
21228         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21229         Validate name.
21230         * rt/tst_shm.c: Add test for escaping directory.
21231
21232 2013-10-31  Andreas Schwab  <schwab@suse.de>
21233
21234         [BZ #15917]
21235         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21236         followed by 'x' as part of digit sequence.
21237         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21238
21239 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21240
21241         [BZ #16037]
21242         * configure.ac: allow GNU Make 4.0 and greater.
21243         * configure: Regenerated.
21244
21245 2013-10-30  Will Newton  <will.newton@linaro.org>
21246
21247         [BZ #16038]
21248         * malloc/hooks.c (memalign_check): Limit alignment to the
21249         maximum representable power of two.
21250         * malloc/malloc.c (__libc_memalign): Likewise.
21251         * malloc/tst-memalign.c (do_test): Add test for very
21252         large alignment values.
21253         * malloc/tst-posix_memalign.c (do_test): Likewise.
21254
21255 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21256
21257         [BZ #11087]
21258         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21259         (munmap_chunk): Likewise.
21260         (mremap_chunk): Likewise.
21261
21262 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21263
21264         [BZ #15799]
21265         * stdlib/div.c (div): Remove obsolete code.
21266         * stdlib/ldiv.c (ldiv): Likewise.
21267         * stdlib/lldiv.c (lldiv): Likewise.
21268
21269 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270
21271         [BZ #16071]
21272         * nss/nss_files/files-XXX.c (get_contents_ret): New
21273         enumerator.
21274         (get_contents): New function.
21275         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21276
21277 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21278
21279         * configure.in: Moved to ...
21280         * configure.ac: ... here. Change reference to configure.in
21281         to configure.ac.
21282         * sysdeps/arm/preconfigure.ac: ... here.
21283         configure.in to configure.ac.
21284         * sysdeps/gnu/configure.in: Moved to ...
21285         * sysdeps/gnu/configure.ac: ... here.
21286         * sysdeps/i386/configure.in: Moved to ...
21287         * sysdeps/i386/configure.ac: ... here.
21288         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21289         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21290         * sysdeps/mach/configure.in: Moved to ...
21291         * sysdeps/mach/configure.ac: ... here.
21292         * sysdeps/mach/hurd/configure.in: Moved to ...
21293         * sysdeps/mach/hurd/configure.ac: ... here.
21294         * sysdeps/powerpc/configure.in: Moved to ...
21295         * sysdeps/powerpc/configure.ac: ... here.
21296         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21297         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21298         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21299         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21300         * sysdeps/s390/s390-32/configure.in: Moved to ...
21301         * sysdeps/s390/s390-32/configure.ac: ... here.
21302         * sysdeps/s390/s390-64/configure.in: Moved to ...
21303         * sysdeps/s390/s390-64/configure.ac: ... here.
21304         * sysdeps/sh/configure.in: Moved to ...
21305         * sysdeps/sh/configure.ac: ... here.
21306         * sysdeps/sparc/configure.in: Moved to ...
21307         * sysdeps/sparc/configure.ac: ... here.
21308         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21309         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21310         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21311         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21312         * sysdeps/x86_64/configure.in: Moved to ...
21313         * sysdeps/x86_64/configure.ac: ... here.
21314         * sysdeps/x86_64/preconfigure.in: Moved to ...
21315         * sysdeps/x86_64/preconfigure.ac: ... here.
21316         * aclocal.m4: Change reference to configure.in to configure.ac.
21317         * config.h.in: Likewise.
21318         * manual/install.texi: Likewise.
21319         * manual/maint.texi: Likewise.
21320         * Makefile: Likewise.
21321         * malloc/Makefile: Likewise.
21322         * nscd/Makefile: Likewise.
21323         * Makeconfig: Change reference to configure.in and
21324         preconfigure.in to configure.ac and preconfigure.ac
21325         respectively.
21326         * INSTALL: Regenerated.
21327         * configure: Likewise.
21328         * sysdeps/gnu/configure: Likewise.
21329         * sysdeps/i386/configure: Likewise.
21330         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21331         * sysdeps/mach/configure: Likewise.
21332         * sysdeps/mach/hurd/configure: Likewise.
21333         * sysdeps/powerpc/configure: Likewise.
21334         * sysdeps/powerpc/powerpc32/configure: Likewise.
21335         * sysdeps/powerpc/powerpc64/configure: Likewise.
21336         * sysdeps/s390/s390-32/configure: Likewise.
21337         * sysdeps/s390/s390-64/configure: Likewise.
21338         * sysdeps/sh/configure: Likewise.
21339         * sysdeps/sparc/configure: Likewise.
21340         * sysdeps/unix/sysv/linux/configure: Likewise.
21341         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21342         * sysdeps/x86_64/configure: Likewise.
21343         * sysdeps/x86_64/preconfigure: Likewise.
21344
21345 2013-10-29  Andreas Schwab  <schwab@suse.de>
21346
21347         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21348
21349 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21350
21351         * benchtests/pow-inputs: Add new inputs.
21352
21353         * benchtests/exp-inputs: Add new inputs.
21354
21355         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21356         conditional check for return value.
21357         (__cos32): Likewise.
21358
21359 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21360
21361         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21362         to provide a boost for large inputs with word alignment.
21363         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21364         implementation based on optimized PPC64 strcpy.
21365         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21366         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21367         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21368         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21369
21370 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21371
21372         [BZ #2801]
21373         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21374
21375 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21376
21377         [BZ #14876]
21378         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21379         * time/tst-strptime.c (day_tests): Add testcase.
21380
21381 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21382
21383         [BZ #14029]
21384         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21385
21386 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21387
21388         [BZ #16074]
21389         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21390         MAP_FAILED on error.
21391
21392 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21393
21394         [BZ #16072]
21395         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21396         heap for large requests.
21397
21398 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21399
21400         [BZ #9954]
21401         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21402         result if the result has no associated interface.
21403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21404         interface for all 127.X.Y.Z addresses.
21405
21406 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21407
21408         * locale/iso-639.def: Add Ligurian (lij)
21409
21410 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21411
21412         [BZ #15825]
21413         * sunrpc/rpc_main.c: Document rpcgen -5.
21414
21415 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21416
21417         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21418
21419 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21420
21421         [BZ #10278]
21422         * posix/glob.c: Match only directories when trailing slash is present.
21423         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21424         (main): Add testcase.
21425
21426 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21427
21428         [BZ #15670]
21429         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21430
21431 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21432
21433         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21434         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21435         AUTH_DES and cindex for FIPS 140-2.
21436         (DES Encryption): Add cindex FIPS 46-3.
21437
21438         * locale/locarchive.h (struct locarhandle): Add fname.
21439         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21440         if an optional argument was specified to --list-archive,
21441         otherwise NULL.
21442         * locale/programs/locarchive.c (show_archive_content): Take new
21443         argument fname and pass it via ah.fname to open_archive.
21444         * locale/programs/localedef.h: Update decl.
21445         (open_archive): If AH->fname is non-null, open that file
21446         rather than the default file name, and don't ignore ENOENT.
21447         (create_archive): Set AH.fname to NULL.
21448         (delete_locales_from_archive): Likewise.
21449         (add_locales_to_archive): Likewise.
21450         * locale/programs/locfile.c (write_all_categories): Likewise.
21451
21452 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21453             Aldy Hernandez  <aldyh@redhat.com>
21454
21455         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21456         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21457         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21458         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21459         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21460         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21461         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21463         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21464         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21465         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21466         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21467         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21468         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21469         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21470         Likewise.
21471         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21472         Likewise.
21473         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21474         Likewise.
21475         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21476         Likewise.
21477         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21479         Likewise.
21480         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21481         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21482         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21483         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21484         Likewise.
21485         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21486         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21487         * sysdeps/powerpc/preconfigure: Likewise.
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21489         Likewise.
21490         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21491         Replace contents of file by #include of <fenv_libc.h>.
21492         * sysdeps/powerpc/soft-fp/sfp-machine.h
21493         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21494         and <sys/prctl.h>.
21495         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21504         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21506         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21508         Allow copysignl PLT reference to be missing.
21509
21510 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21511             Joseph Myers  <joseph@codesourcery.com
21512
21513         [BZ #15948]
21514         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21515         single character.
21516         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21517
21518 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21519
21520         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21521         * elf/tst-tls1.c: Likewise.
21522         * elf/tst-tls10.h: Likewise.
21523         * elf/tst-tls14.c: Likewise.
21524         * elf/tst-tls2.c: Likewise.
21525         * elf/tst-tls3.c: Likewise.
21526         * elf/tst-tls4.c: Likewise.
21527         * elf/tst-tls5.c: Likewise.
21528         * elf/tst-tls6.c: Likewise.
21529         * elf/tst-tls7.c: Likewise.
21530         * elf/tst-tls8.c: Likewise.
21531         * elf/tst-tls9.c: Likewise.
21532         * elf/tst-tlsmod1.c: Likewise.
21533         * elf/tst-tlsmod13.c: Likewise.
21534         * elf/tst-tlsmod13a.c: Likewise.
21535         * elf/tst-tlsmod14a.c: Likewise.
21536         * elf/tst-tlsmod16a.c: Likewise.
21537         * elf/tst-tlsmod16b.c: Likewise.
21538         * elf/tst-tlsmod2.c: Likewise.
21539         * elf/tst-tlsmod3.c: Likewise.
21540         * elf/tst-tlsmod4.c: Likewise.
21541         * elf/tst-tlsmod5.c: Likewise.
21542         * elf/tst-tlsmod6.c: Likewise.
21543
21544 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21545
21546         [BZ #12486]
21547         * malloc/malloc.c: remove checks for statistics.
21548
21549 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21550
21551         [BZ #15277]
21552         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21553         * inet/tst-network.c: Add testcase.
21554
21555 2013-10-17  Andreas Schwab  <schwab@suse.de>
21556
21557         [BZ #15218]
21558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21559         to determine canonical name.
21560
21561 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21562
21563         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21564         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21565         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21568         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21569         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21570         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21571         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21572         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21573         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21574         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21575         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21576         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21582         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21586         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21587         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21588         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21589         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21590         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21591         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21592         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21593         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21594         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21595         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21596         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21597         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21598         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21600         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21601         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21602         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21603         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21604         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21605         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21606         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21607         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21608         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21609         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21610         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21611         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21612         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21613         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21614         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21615         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21616         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21620         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21621
21622 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21623
21624         [BZ #16041]
21625         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21626         make result into a quiet NaN.
21627
21628 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21629
21630         * soft-fp/adddf3.c: Fix horizontal whitespace.
21631         * soft-fp/addsf3.c: Likewise.
21632         * soft-fp/addtf3.c: Likewise.
21633         * soft-fp/divdf3.c: Likewise.
21634         * soft-fp/divsf3.c: Likewise.
21635         * soft-fp/divtf3.c: Likewise.
21636         * soft-fp/double.h: Likewise.
21637         * soft-fp/eqdf2.c: Likewise.
21638         * soft-fp/eqsf2.c: Likewise.
21639         * soft-fp/eqtf2.c: Likewise.
21640         * soft-fp/extenddftf2.c: Likewise.
21641         * soft-fp/extended.h: Likewise.
21642         * soft-fp/extendsfdf2.c: Likewise.
21643         * soft-fp/extendsftf2.c: Likewise.
21644         * soft-fp/extendxftf2.c: Likewise.
21645         * soft-fp/fixdfdi.c: Likewise.
21646         * soft-fp/fixdfsi.c: Likewise.
21647         * soft-fp/fixdfti.c: Likewise.
21648         * soft-fp/fixsfdi.c: Likewise.
21649         * soft-fp/fixsfsi.c: Likewise.
21650         * soft-fp/fixsfti.c: Likewise.
21651         * soft-fp/fixtfdi.c: Likewise.
21652         * soft-fp/fixtfsi.c: Likewise.
21653         * soft-fp/fixtfti.c: Likewise.
21654         * soft-fp/fixunsdfdi.c: Likewise.
21655         * soft-fp/fixunsdfsi.c: Likewise.
21656         * soft-fp/fixunsdfti.c: Likewise.
21657         * soft-fp/fixunssfdi.c: Likewise.
21658         * soft-fp/fixunssfsi.c: Likewise.
21659         * soft-fp/fixunssfti.c: Likewise.
21660         * soft-fp/fixunstfdi.c: Likewise.
21661         * soft-fp/fixunstfsi.c: Likewise.
21662         * soft-fp/fixunstfti.c: Likewise.
21663         * soft-fp/floatdidf.c: Likewise.
21664         * soft-fp/floatdisf.c: Likewise.
21665         * soft-fp/floatditf.c: Likewise.
21666         * soft-fp/floatsidf.c: Likewise.
21667         * soft-fp/floatsisf.c: Likewise.
21668         * soft-fp/floatsitf.c: Likewise.
21669         * soft-fp/floattidf.c: Likewise.
21670         * soft-fp/floattisf.c: Likewise.
21671         * soft-fp/floattitf.c: Likewise.
21672         * soft-fp/floatundidf.c: Likewise.
21673         * soft-fp/floatundisf.c: Likewise.
21674         * soft-fp/floatunditf.c: Likewise.
21675         * soft-fp/floatunsidf.c: Likewise.
21676         * soft-fp/floatunsisf.c: Likewise.
21677         * soft-fp/floatunsitf.c: Likewise.
21678         * soft-fp/floatuntidf.c: Likewise.
21679         * soft-fp/floatuntisf.c: Likewise.
21680         * soft-fp/floatuntitf.c: Likewise.
21681         * soft-fp/fmadf4.c: Likewise.
21682         * soft-fp/fmasf4.c: Likewise.
21683         * soft-fp/fmatf4.c: Likewise.
21684         * soft-fp/gedf2.c: Likewise.
21685         * soft-fp/gesf2.c: Likewise.
21686         * soft-fp/getf2.c: Likewise.
21687         * soft-fp/ledf2.c: Likewise.
21688         * soft-fp/lesf2.c: Likewise.
21689         * soft-fp/letf2.c: Likewise.
21690         * soft-fp/muldf3.c: Likewise.
21691         * soft-fp/mulsf3.c: Likewise.
21692         * soft-fp/multf3.c: Likewise.
21693         * soft-fp/negdf2.c: Likewise.
21694         * soft-fp/negsf2.c: Likewise.
21695         * soft-fp/negtf2.c: Likewise.
21696         * soft-fp/op-1.h: Likewise.
21697         * soft-fp/op-2.h: Likewise.
21698         * soft-fp/op-4.h: Likewise.
21699         * soft-fp/op-8.h: Likewise.
21700         * soft-fp/op-common.h: Likewise.
21701         * soft-fp/quad.h: Likewise.
21702         * soft-fp/single.h: Likewise.
21703         * soft-fp/soft-fp.h: Likewise.
21704         * soft-fp/sqrtdf2.c: Likewise.
21705         * soft-fp/sqrtsf2.c: Likewise.
21706         * soft-fp/sqrttf2.c: Likewise.
21707         * soft-fp/subdf3.c: Likewise.
21708         * soft-fp/subsf3.c: Likewise.
21709         * soft-fp/subtf3.c: Likewise.
21710         * soft-fp/truncdfsf2.c: Likewise.
21711         * soft-fp/trunctfdf2.c: Likewise.
21712         * soft-fp/trunctfsf2.c: Likewise.
21713         * soft-fp/trunctfxf2.c: Likewise.
21714         * soft-fp/unorddf2.c: Likewise.
21715         * soft-fp/unordsf2.c: Likewise.
21716         * soft-fp/unordtf2.c: Likewise.
21717
21718 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21719
21720         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21721         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21722
21723 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21724
21725         * elf/dl-libc.c: Clear initfini list after freeing.
21726
21727 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21728
21729         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21730         * soft-fp/addsf3.c: Likewise.
21731         * soft-fp/addtf3.c: Likewise.
21732         * soft-fp/divdf3.c: Likewise.
21733         * soft-fp/divsf3.c: Likewise.
21734         * soft-fp/divtf3.c: Likewise.
21735         * soft-fp/double.h: Likewise.
21736         * soft-fp/eqdf2.c: Likewise.
21737         * soft-fp/eqsf2.c: Likewise.
21738         * soft-fp/eqtf2.c: Likewise.
21739         * soft-fp/extenddftf2.c: Likewise.
21740         * soft-fp/extended.h: Likewise.
21741         * soft-fp/extendsfdf2.c: Likewise.
21742         * soft-fp/extendsftf2.c: Likewise.
21743         * soft-fp/extendxftf2.c: Likewise.
21744         * soft-fp/fixdfdi.c: Likewise.
21745         * soft-fp/fixdfsi.c: Likewise.
21746         * soft-fp/fixdfti.c: Likewise.
21747         * soft-fp/fixsfdi.c: Likewise.
21748         * soft-fp/fixsfsi.c: Likewise.
21749         * soft-fp/fixsfti.c: Likewise.
21750         * soft-fp/fixtfdi.c: Likewise.
21751         * soft-fp/fixtfsi.c: Likewise.
21752         * soft-fp/fixtfti.c: Likewise.
21753         * soft-fp/fixunsdfdi.c: Likewise.
21754         * soft-fp/fixunsdfsi.c: Likewise.
21755         * soft-fp/fixunsdfti.c: Likewise.
21756         * soft-fp/fixunssfdi.c: Likewise.
21757         * soft-fp/fixunssfsi.c: Likewise.
21758         * soft-fp/fixunssfti.c: Likewise.
21759         * soft-fp/fixunstfdi.c: Likewise.
21760         * soft-fp/fixunstfsi.c: Likewise.
21761         * soft-fp/fixunstfti.c: Likewise.
21762         * soft-fp/floatdidf.c: Likewise.
21763         * soft-fp/floatdisf.c: Likewise.
21764         * soft-fp/floatditf.c: Likewise.
21765         * soft-fp/floatsidf.c: Likewise.
21766         * soft-fp/floatsisf.c: Likewise.
21767         * soft-fp/floatsitf.c: Likewise.
21768         * soft-fp/floattidf.c: Likewise.
21769         * soft-fp/floattisf.c: Likewise.
21770         * soft-fp/floattitf.c: Likewise.
21771         * soft-fp/floatundidf.c: Likewise.
21772         * soft-fp/floatundisf.c: Likewise.
21773         * soft-fp/floatunsidf.c: Likewise.
21774         * soft-fp/floatunsisf.c: Likewise.
21775         * soft-fp/floatuntidf.c: Likewise.
21776         * soft-fp/floatuntisf.c: Likewise.
21777         * soft-fp/floatuntitf.c: Likewise.
21778         * soft-fp/fmadf4.c: Likewise.
21779         * soft-fp/fmasf4.c: Likewise.
21780         * soft-fp/fmatf4.c: Likewise.
21781         * soft-fp/gedf2.c: Likewise.
21782         * soft-fp/gesf2.c: Likewise.
21783         * soft-fp/getf2.c: Likewise.
21784         * soft-fp/ledf2.c: Likewise.
21785         * soft-fp/lesf2.c: Likewise.
21786         * soft-fp/letf2.c: Likewise.
21787         * soft-fp/muldf3.c: Likewise.
21788         * soft-fp/mulsf3.c: Likewise.
21789         * soft-fp/multf3.c: Likewise.
21790         * soft-fp/negdf2.c: Likewise.
21791         * soft-fp/negsf2.c: Likewise.
21792         * soft-fp/negtf2.c: Likewise.
21793         * soft-fp/op-1.h: Likewise.
21794         * soft-fp/op-2.h: Likewise.
21795         * soft-fp/op-4.h: Likewise.
21796         * soft-fp/op-8.h: Likewise.
21797         * soft-fp/op-common.h: Likewise.
21798         * soft-fp/quad.h: Likewise.
21799         * soft-fp/single.h: Likewise.
21800         * soft-fp/soft-fp.h: Likewise.
21801         * soft-fp/sqrtdf2.c: Likewise.
21802         * soft-fp/sqrtsf2.c: Likewise.
21803         * soft-fp/sqrttf2.c: Likewise.
21804         * soft-fp/subdf3.c: Likewise.
21805         * soft-fp/subsf3.c: Likewise.
21806         * soft-fp/subtf3.c: Likewise.
21807         * soft-fp/truncdfsf2.c: Likewise.
21808         * soft-fp/trunctfdf2.c: Likewise.
21809         * soft-fp/trunctfsf2.c: Likewise.
21810         * soft-fp/trunctfxf2.c: Likewise.
21811         * soft-fp/unorddf2.c: Likewise.
21812         * soft-fp/unordsf2.c: Likewise.
21813         * soft-fp/unordtf2.c: Likewise.
21814
21815 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21816
21817         [BZ #15672]
21818         * misc/error.c (error_tail): Fix possible buffer overflow.
21819
21820 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21821
21822         [BZ #13028]
21823         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21824         address.
21825
21826 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21827
21828         [BZ #832]
21829         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21830         testing pipefail option.
21831
21832 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21833
21834         * soft-fp/double.h: Indent preprocessor directives inside #if.
21835         * soft-fp/extended.h: Likewise.
21836         * soft-fp/op-2.h: Likewise.
21837         * soft-fp/op-4.h: Likewise.
21838         * soft-fp/op-common.h: Likewise.
21839         * soft-fp/quad.h: Likewise.
21840         * soft-fp/single.h: Likewise.
21841         * soft-fp/soft-fp.h: Likewise.
21842
21843 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21844
21845         * iconv/iconv_prog.c: Fix typos.
21846         * stdio-common/psiginfo-data.h: Likewise.
21847
21848 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21849
21850         [BZ #15764]
21851         * locale/setlocale.c: Fix typo.
21852
21853 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21854
21855         [BZ #16036]
21856         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21857         signaling NaN arguments.
21858         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21859         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21860
21861         [BZ #14910]
21862         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21863         unordered operands.
21864         * soft-fp/gesf2.c (__gesf2): Likewise.
21865         * soft-fp/getf2.c (__getf2): Likewise.
21866         * soft-fp/ledf2.c (__ledf2): Likewise.
21867         * soft-fp/lesf2.c (__lesf2): Likewise.
21868         * soft-fp/letf2.c (__letf2): Likewise.
21869
21870         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21871         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21872         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21873         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21874         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21875         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21876         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21877         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21878         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21879         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21880         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21881         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21882         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21883         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21884         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21885         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21886         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21887         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21888         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21889         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21890         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21891         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21892         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21893         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21894         * soft-fp/floattidf.c (__floattidf): Likewise.
21895         * soft-fp/floattisf.c (__floattisf): Likewise.
21896         * soft-fp/floattitf.c (__floattitf): Likewise.
21897         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21898         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21899         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21900         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21901         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21902         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21903         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21904         * soft-fp/gesf2.c (__gesf2): Likewise.
21905         * soft-fp/getf2.c (__getf2): Likewise.
21906         * soft-fp/ledf2.c (__ledf2): Likewise.
21907         * soft-fp/lesf2.c (__lesf2): Likewise.
21908         * soft-fp/letf2.c (__letf2): Likewise.
21909
21910         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21911         Undefine and redefine.
21912         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21913         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21914         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21915         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21916         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21917         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21918         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21919         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21920         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21921         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21922         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21923         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21924         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21925         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21926         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21927
21928         [BZ #16032]
21929         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21930         without decrementing exponent if mantissa >= that for the
21931         denominator, not >.
21932         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21933         denominator, not >.  Decrement exponent in < case instead of
21934         incrementing in >= case.
21935         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21936         without decrementing exponent if mantissa >= that for the
21937         denominator, not >.
21938
21939         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21940         computing saturated result for unsigned overflow.
21941
21942 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21943             Jeff Law  <law@redhat.com>
21944
21945         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21946         (atan2Mp): Add systemtap probe marker.
21947         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21948         (__ieee754_log): Add systemtap probe marker.
21949         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21950         (atanMp): Add systemtap probe marker.
21951         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21952         (tanMp): Add systemtap probe marker.
21953         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21954         (__slowexp): Add systemtap probe marker.
21955         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21956         (__slowpow): Add systemtap probe marker.
21957         * manual/probes.texi: Document probes.
21958
21959 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21960
21961         [BZ #15362]
21962         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21963         written.
21964         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21965         written.
21966         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21967         written to buffer but not flushed.
21968         * libio/iofwrite_u.c:  Likewise.
21969         * libio/iopadn.c:  Return bytes returned even if EOF was
21970         encountered.
21971         * libio/iowpadn.c:  Likewise.
21972         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21973         if _IO_padn does not write the whole buffer.
21974         [!COMPILE_WPRINTF] (PAD): Likewise.
21975
21976 2013-10-10  David S. Miller  <davem@davemloft.net>
21977
21978         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21979         directory block.
21980
21981 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21982
21983         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21984         instead of FSF address.
21985         * soft-fp/fixdfti.c: Likewise.
21986         * soft-fp/fixsfti.c: Likewise.
21987         * soft-fp/fixtfti.c: Likewise.
21988         * soft-fp/fixunsdfti.c: Likewise.
21989         * soft-fp/fixunssfti.c: Likewise.
21990         * soft-fp/fixunstfti.c: Likewise.
21991         * soft-fp/floattidf.c: Likewise.
21992         * soft-fp/floattisf.c: Likewise.
21993         * soft-fp/floattitf.c: Likewise.
21994         * soft-fp/floatuntidf.c: Likewise.
21995         * soft-fp/floatuntisf.c: Likewise.
21996         * soft-fp/floatuntitf.c: Likewise.
21997         * soft-fp/trunctfxf2.c: Likewise.
21998
21999         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22000         * soft-fp/fixdfti.c: Likewise.
22001         * soft-fp/fixsfti.c: Likewise.
22002         * soft-fp/fixtfti.c: Likewise.
22003         * soft-fp/fixunsdfti.c: Likewise.
22004         * soft-fp/fixunssfti.c: Likewise.
22005         * soft-fp/fixunstfti.c: Likewise.
22006         * soft-fp/floattidf.c: Likewise.
22007         * soft-fp/floattisf.c: Likewise.
22008         * soft-fp/floattitf.c: Likewise.
22009         * soft-fp/floatuntidf.c: Likewise.
22010         * soft-fp/floatuntisf.c: Likewise.
22011         * soft-fp/floatuntitf.c: Likewise.
22012         * soft-fp/trunctfxf2.c: Likewise.
22013
22014 2013-10-10  David S. Miller  <davem@davemloft.net>
22015
22016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22017
22018 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22019
22020         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22021         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22022         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22023         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22024         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22025         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22026         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22027
22028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22029         for NaNs before doing comparisons on argument.
22030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22031         Likewise.
22032
22033 2013-10-10  Will Newton  <will.newton@linaro.org>
22034
22035         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22036         passed to _int_memalign does not overflow.
22037
22038 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22039
22040         * scripts/bench.pl: Add include-sources directive.
22041         * benchtests/README: Update documentation.
22042
22043 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22044
22045         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22046         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22047         instead of FP_INIT_ROUNDMODE.
22048         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22049         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22050
22051         [BZ #16034]
22052         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22053         copy class of input value.
22054         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22055         not handle exceptions.
22056         * soft-fp/negsf2.c (__negsf2): Likewise.
22057         * soft-fp/negtf2.c (__negtf2): Likewise.
22058         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22059
22060 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22061
22062         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22063         semicolon.  From Linux kernel.
22064
22065 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22066
22067         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22068
22069 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22070
22071         [BZ #156]
22072         * manual/socket.texi: Added statement about buffer
22073         for gethostbyname2_r.
22074
22075 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22076
22077         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22078         Use .p2align directive instead, throughout.
22079         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22080         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22081         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22084         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22085         * sysdeps/x86_64/strchr.S: Likewise.
22086         * sysdeps/x86_64/strrchr.S: Likewise.
22087
22088 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089
22090         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22091
22092         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22093
22094         * sysdeps/generic/math_private.h (__mpsin1): Remove
22095         declaration.
22096         (__mpcos1): Likewise.
22097         (__mpsin): New argument __range_reduce.
22098         (__mpcos): Likewise.
22099         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22100         (slow): Use __mpsin and __mpcos.
22101         (slow1): Likewise.
22102         (slow2): Likewise.
22103         (sloww): Likewise.
22104         (sloww1): Likewise.
22105         (sloww2): Likewise.
22106         (bsloww): Likewise.
22107         (bsloww1): Likewise.
22108         (bsloww2): Likewise.
22109         (cslow2): Likewise.
22110         (csloww): Likewise.
22111         (csloww1): Likewise.
22112         (csloww2): Likewise.
22113         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22114         range_reduce.  Merge in __mpsin1.
22115         (__mpcos): Likewise.
22116         (__mpsin1): Remove.
22117         (__mpcos1): Likewise.
22118
22119 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22120
22121         * locale/loadlocale.c (_nl_intern_locale_data): Use
22122         LOCFILE_ALIGNED_P.
22123         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22124         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22125         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22126         obstack data is appropriately aligned.
22127         (obstack_int32_grow_fast): Likewise.
22128         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22129         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22130         (add_locale_uint32_array): Likewise.
22131
22132 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22133
22134         * benchtests/Makefile: Remove ARGLIST and RET variables.
22135         ($(objpfx)bench-%.c): Pass only function name to the script.
22136         * benchtests/README: Update documentation.
22137         * benchtests/acos-inputs: Add new directives.
22138         * benchtests/acosh-inputs: Likewise.
22139         * benchtests/asin-inputs: Likewise.
22140         * benchtests/asinh-inputs: Likewise.
22141         * benchtests/atan-inputs: Likewise.
22142         * benchtests/atanh-inputs: Likewise.
22143         * benchtests/cos-inputs: Likewise.
22144         * benchtests/cosh-inputs: Likewise.
22145         * benchtests/exp-inputs: Likewise.
22146         * benchtests/log-inputs: Likewise.
22147         * benchtests/pow-inputs: Likewise.
22148         * benchtests/rint-inputs: Likewise.
22149         * benchtests/sin-inputs: Likewise.
22150         * benchtests/sinh-inputs: Likewise.
22151         * benchtests/tan-inputs: Likewise.
22152         * benchtests/tanh-inputs: Likewise.
22153         * scripts/bench.pl: Add support for new directives.
22154
22155 2013-10-07  Alan Modra  <amodra@gmail.com>
22156
22157         * README: Fix careless merge.
22158
22159 2013-10-05  Alan Modra  <amodra@gmail.com>
22160
22161         * NEWS: Mention powerpc64le support and bugs fixed.
22162         * README: Both big-endian and little-endian powerpc64 supported.
22163
22164 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22165
22166         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22167         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22168         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22169         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22170
22171 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22172
22173         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22174         match prototype.
22175
22176 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22177
22178         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22179         Move -mhard-float appending from
22180         ports/sysdeps/powerpc/powerpc32/Makefile.
22181         [$(with-fp) = yes] (ASFLAGS): Likewise.
22182         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22183         * sysdeps/powerpc/nofpu: Move directory from
22184         ports/sysdeps/powerpc/nofpu.
22185         * sysdeps/powerpc/soft-fp: Move directory from
22186         ports/sysdeps/powerpc/soft-fp.
22187         * sysdeps/powerpc/powerpc32/405: Move directory from
22188         ports/sysdeps/powerpc/powerpc32/405.
22189         * sysdeps/powerpc/powerpc32/440: Move directory from
22190         ports/sysdeps/powerpc/powerpc32/440.
22191         * sysdeps/powerpc/powerpc32/464: Move directory from
22192         ports/sysdeps/powerpc/powerpc32/464.
22193         * sysdeps/powerpc/powerpc32/476: Move directory from
22194         ports/sysdeps/powerpc/powerpc32/476.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22196         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22198         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22200         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22202         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22204         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22205         * README: Update for powerpc-*-linux-gnu software floating point
22206         support in libc.
22207
22208         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22209         case to powerpc/powerpc32*.
22210         * sysdeps/unix/sysv/linux/configure: Regenerated.
22211
22212         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22213         (_FPU_MASK_OM): Define as 0x04.
22214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22216         0x00c10080.
22217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22218         0x0000003c.
22219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22220
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22222         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22223         getcontext_e500.
22224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22225         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22226         setcontext_e500.
22227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22228         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22229         and setcontext_e500.
22230
22231 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22232
22233         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22234
22235 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22236
22237         * manual/threads.texi (Default Thread Attributes): Fix typo.
22238
22239 2013-10-04  Will Newton  <will.newton@linaro.org>
22240
22241         * malloc/Makefile: Add tst-memalign.
22242         * malloc/tst-memalign.c: New file.
22243
22244         * malloc/tst-posix_memalign.c: Add comments.
22245         (do_test): Add comments and call free on all potentially
22246         allocated pointers. Add space after cast.
22247
22248         * malloc/tst-pvalloc.c: Add comments.
22249         (do_test): Add comments and call free on all potentially
22250         allocated pointers. Remove duplicate check for NULL pointer.
22251         Add space after cast.
22252
22253         * malloc/tst-valloc.c: Add comments.
22254         (do_test): Add comments and call free on all potentially
22255         allocated pointers. Remove duplicate check for NULL pointer.
22256         Add space after cast.
22257
22258 2013-10-04  Alan Modra  <amodra@gmail.com>
22259
22260         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22261         Use stdint types in rather than __attribute__((mode())).
22262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22263
22264 2013-10-04  Alan Modra  <amodra@gmail.com>
22265
22266         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22267         Correct handling of unaligned relocs for little-endian.
22268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22269
22270 2013-10-04  Alan Modra  <amodra@gmail.com>
22271
22272         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22273         * configure: Regenerate.
22274         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22275         * shlib-versions: Likewise.
22276
22277 2013-10-04  Alan Modra  <amodra@gmail.com>
22278
22279         * string/tester.c (test_memrchr): Increment reported test cycle.
22280
22281 2013-10-04  Alan Modra  <amodra@gmail.com>
22282
22283         * string/test-memcpy.c (do_one_test): When reporting errors, print
22284         string address and don't overrun end of string.
22285
22286 2013-10-04  Alan Modra  <amodra@gmail.com>
22287
22288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22289         insrdi.  Make better use of reg selection to speed exit slightly.
22290         Schedule entry path a little better.  Remove useless "are we done"
22291         checks on entry to main loop.  Handle wrapping around zero address.
22292         Correct main loop count.  Handle single left-over word from main
22293         loop inline rather than by using loop_small.  Remove extra word
22294         case in loop_small caused by wrong loop count.  Add little-endian
22295         support.
22296         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22298         cache hint.
22299         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22300         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22301         support.  Avoid rlwimi.
22302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22303
22304 2013-10-04  Alan Modra  <amodra@gmail.com>
22305
22306         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22307         insrdi.  Formatting.
22308         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22309         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22310         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22311         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22312         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22313         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22314
22315 2013-10-04  Alan Modra  <amodra@gmail.com>
22316
22317         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22318         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22319         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22320         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22321         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22322         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22323         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22324         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22325         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22326         use of regs.  Use power7 mtocrf.  Tidy function tails.
22327
22328 2013-10-04  Alan Modra  <amodra@gmail.com>
22329
22330         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22331         Formatting.  Consistently use rXXX register defines or rN defines.
22332         Use early exit labels that avoid restoring unused non-volatile regs.
22333         Make cr field use more consistent with rWORDn compares.  Rename
22334         regs used as shift registers for unaligned loop, using rN defines
22335         for short lifetime/multiple use regs.
22336         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22337         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22338         addi 1,1,64 to pop stack frame.  Simplify return value code.
22339         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22340
22341 2013-10-04  Alan Modra  <amodra@gmail.com>
22342
22343         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22344         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22345         rather than rlwimi.
22346         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22347         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22348         little-endian support.  Correct typos.
22349         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22350         rather than rlwimi.
22351         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22352         in loop and entry code to keep "and." results.
22353         (strchr): Add little-endian support.  Comment.  Move cntlzd
22354         earlier in tail.
22355         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22356
22357 2013-10-04  Alan Modra  <amodra@gmail.com>
22358
22359         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22360         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22361         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22362         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22363
22364 2013-10-04  Alan Modra  <amodra@gmail.com>
22365
22366         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22367         (rTMP): Define as r11.
22368         (strcmp): Add little-endian support.  Optimise tail.
22369         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22370         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22371         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22372         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22374         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22375         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22376
22377 2013-10-04  Alan Modra  <amodra@gmail.com>
22378
22379         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22380         little-endian support.  Remove unnecessary "are we done" tests.
22381         Handle "s" wrapping around zero and extremely large "size".
22382         Correct main loop count.  Handle single left-over word from main
22383         loop inline rather than by using small_loop.  Correct comments.
22384         Delete "zero" tail, use "end_max" instead.
22385         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22386
22387 2013-10-04  Alan Modra  <amodra@gmail.com>
22388
22389         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22390         support.  Don't branch over align.
22391         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22392         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22393         support.  Rearrange tmp reg use to suit.  Comment.
22394         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22395
22396 2013-10-04  Alan Modra  <amodra@gmail.com>
22397
22398         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22399
22400 2013-10-04  Alan Modra  <amodra@gmail.com>
22401
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22403         conditional form of branch and link when obtaining pc.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22405
22406 2013-10-04  Alan Modra  <amodra@gmail.com>
22407
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22409         HIWORD/LOWORD.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22412
22413 2013-10-04  Alan Modra  <amodra@gmail.com>
22414
22415         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22416         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22417         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22418         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22419         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22420         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22421         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22422         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22423         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22424         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22425
22426 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22427             Alistair Popple <alistair@ozlabs.au.ibm.com>
22428             Alan Modra <amodra@gmail.com>
22429
22430         [BZ #15723]
22431         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22433         _dl_hwcap access for little-endian.
22434         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22435         destroy vmx regs when saving unaligned.
22436         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22437         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22438         destroy vmx regs when saving unaligned.
22439
22440 2013-10-04  Alan Modra  <amodra@gmail.com>
22441
22442         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22443         Don't use a union to pack hi/low value.
22444
22445 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22446
22447         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22448         for little-endian.
22449         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22450         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22451         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22452         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22453         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22454
22455 2013-10-04  Alan Modra  <amodra@gmail.com>
22456
22457         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22458         constants to usual value for .cst8 section, and remove redundant
22459         high address load.
22460         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22461         constant for 0x1p52.  Load little-endian words of double from
22462         correct stack offsets.
22463
22464 2013-10-04  Alan Modra  <amodra@gmail.com>
22465
22466         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22467         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22468         words of double from correct stack offsets.
22469         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22470         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22471         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22473         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22474         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22475         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22476         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22477         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22479         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22480         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22481         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22482         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22483         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22484         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22485         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22486
22487 2013-10-04  Alan Modra  <amodra@gmail.com>
22488
22489         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22490         64-bit int/double union.
22491         (_FPU_SETCW): Likewise.
22492         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22493         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22494
22495 2013-10-04  Alan Modra  <amodra@gmail.com>
22496
22497         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22498         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22499
22500 2013-10-04  Alan Modra  <amodra@gmail.com>
22501
22502         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22503         use vector int constants.
22504         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22505
22506 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22507
22508         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22509         array with long long.
22510         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22511         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22512         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22513         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22514         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22515         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22516         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22517         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22518         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22519         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22520         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22521         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22522         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22523
22524 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22525
22526         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22527         (__signbit): Likewise.  Correct for little-endian.
22528         (__signbitl): Call __signbit.
22529         (lrint): Correct for little-endian.
22530         (lrintf): Call lrint.
22531
22532 2013-10-04  Alan Modra  <amodra@gmail.com>
22533
22534         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22535         union 32-bit int array member with 64-bit int array.
22536         (t515, tm256): Double rather than long double.
22537         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22538
22539 2013-10-04  Alan Modra  <amodra@gmail.com>
22540
22541         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22542         Delete.
22543         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22544         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22545         version of math_ldbl.h.
22546
22547 2013-10-04  Alan Modra  <amodra@gmail.com>
22548
22549         [BZ #15734], [BZ #15735]
22550         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22551         all uses of ieee875 long double macros and unions.  Simplify test
22552         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22553         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22554         normalize after ldbl_extract_mantissa, and don't add hidden bit
22555         already handled.  Don't treat low word of ieee854 mantissa like
22556         low word of IBM long double and mask off bit when testing for
22557         zero.
22558         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22559         all uses of ieee875 long double macros and unions.  Simplify tests
22560         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22561         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22562         two1022, instead use their values.  Recognise that tests for large
22563         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22564         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22565         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22566         test for 0.0L and nan.  Correct negation.
22567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22568         ieee875 long double macros and unions.  Correct output for large
22569         magnitude x.  Correct absolute value calculation.
22570         (__erfcl): Likewise.
22571         * math/libm-test.inc: Add tests for errors discovered in IBM long
22572         double versions of fmodl, remainderl, erfl and erfcl.
22573
22574 2013-10-04  Alan Modra  <amodra@gmail.com>
22575
22576         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22577         all uses of ieee854 long double macros and unions.  Simplify tests
22578         for long doubles that are fully specified by the high double.
22579         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22580         Likewise.
22581         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22582         Remove dead code too.
22583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22584         (__ieee754_ynl): Likewise.
22585         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22588         Remove dead code too.
22589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22590         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22592         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22593         Simplify.
22594         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22595         Simplify.
22596         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22597         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22598         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22599         Comment on variable precision.
22600         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22601         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22602         Likewise.
22603         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22604         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22607         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22608
22609 2013-10-04  Alan Modra  <amodra@gmail.com>
22610
22611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22613         all uses of ieee854 long double macros and unions.
22614         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22615         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22618         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22619         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22620         Likewise.
22621         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22622         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22623         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22624         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22625         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22626         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22627         Simplify sign and nan test too.
22628         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22629         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22630         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22631         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22632         Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22635         Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22637         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22638         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22640         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22642
22643 2013-10-04  Alan Modra  <amodra@gmail.com>
22644
22645         * stdio-common/printf_size.c (__printf_size): Don't use
22646         union ieee854_long_double in fpnum union.
22647         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22648         signbit macro to retrieve sign from long double.
22649         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22650         retrieve sign from long double.
22651         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22652         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22653         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22654         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22655         * math/test-misc.c (main): Don't use union ieee854_long_double.
22656
22657 2013-10-04  Alan Modra  <amodra@gmail.com>
22658
22659         [BZ #15680]
22660         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22661         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22662         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22663         calculation.  Remove unnecessary test for denormal exponent.
22664         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22665         Correct handling of denormals.  Avoid undefined shift behaviour.
22666         Correct normalisation of low mantissa when low double is denormal.
22667         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22668         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22669         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22670         Correct normalisation of low mantissa.  Test for overflow of high
22671         mantissa and normalise.
22672         (ldbl_nearbyint): Use more readable constant for two52.
22673         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22674         (__mpn_construct_long_double): Fix test for overflow of high
22675         mantissa and correct normalisation.  Avoid undefined shift.
22676
22677 2013-10-04  Alan Modra  <amodra@gmail.com>
22678
22679         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22680         (union ibm_extended_long_double): Define as an array of ieee754_double.
22681         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22682         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22683         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22684         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22685         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22686         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22688         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22689         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22691         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22692
22693 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22694
22695         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22696         page size instead of calling getpagesize.
22697
22698         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22699         (LOCFILE_ALIGN_MASK): Likewise.
22700         (LOCFILE_ALIGN_UP): Likewise.
22701         (LOCFILE_ALIGNED_P): Likewise.
22702         * locale/programs/ld-collate.c (collate_output): Use the new
22703         macros instead of __alignof__ (int32_t).
22704         * locale/weight.h (findidx): Likewise.
22705
22706 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22707
22708         [BZ #431]
22709         * manual/string.texi: Fix strncat and wcsncat.
22710
22711 2013-10-03  Brooks Moses  <bmoses@google.com>
22712
22713         [BZ #15915]
22714         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22715         * Makerules: ...here, and adjust associated comments.
22716
22717 2013-10-02  Will Newton  <will.newton@linaro.org>
22718
22719         * malloc/Makefile: Add tst-pvalloc.
22720         * malloc/tst-pvalloc.c: New file.
22721
22722 2013-10-02  Will Newton  <will.newton@linaro.org>
22723
22724         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22725         improve test coverage.
22726
22727 2013-10-02  Will Newton  <will.newton@linaro.org>
22728
22729         * malloc/Makefile: Add tst-posix_memalign.
22730         * malloc/tst-posix_memalign.c: New file.
22731
22732 2013-10-01  Eric Blake  <eblake@redhat.com>
22733
22734         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22735         Use __THROWNL rather than __THROW on static functions.
22736
22737 2013-09-30  Petr Machata  <pmachata@redhat.com>
22738
22739         * elf/elf.h (R_AARCH64_ABS16): New macro.
22740         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22741         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22742         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22743         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22744         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22745         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22746         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22747         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22748         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22749         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22750         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22751         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22752         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22753         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22754         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22755         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22756         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22757         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22758         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22759         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22760         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22761         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22762         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22763         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22764         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22765         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22766         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22767         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22768         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22769         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22770         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22771         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22772         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22773         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22774         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22775         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22776         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22777         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22778         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22779         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22780         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22781         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22782         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22783         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22784         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22785         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22786         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22787         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22788         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22789         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22790         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22791         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22792         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22793         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22794         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22795         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22796         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22797         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22798         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22799         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22800         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22801         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22802         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22803         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22804         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22805         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22806         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22807         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22808         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22809         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22810         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22811         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22812         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22813         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22814         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22815         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22816         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22817         (R_AARCH64_TLSDESC_LDR): Likewise.
22818         (R_AARCH64_TLSDESC_ADD): Likewise.
22819         (R_AARCH64_TLSDESC_CALL): Likewise.
22820
22821 2013-09-30  Andreas Schwab  <schwab@suse.de>
22822
22823         [BZ #15048]
22824         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22825         the nss database lookup.
22826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22828
22829 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22830
22831         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22832
22833 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22834
22835         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22836         ${Bash-specific parameter/pattern/string} parameter expansion.
22837         * sysdeps/unix/make-syscalls.sh: Likewise.
22838
22839 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22840
22841         * sysdeps/sh/stackguard-macros.h: New file.
22842
22843 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22844
22845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22847         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22848         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22850         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22851
22852 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22853
22854         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22855         Fix thread ID register.
22856
22857 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22858
22859         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22860         [POSIX || UNIX98]: Require rather than permitting all symbols from
22861         <time.h>.
22862         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22863         element of struct sched_param.
22864         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22865         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22866         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22867         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22868         constant.
22869
22870 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22871
22872         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22873         argument calculation.
22874
22875 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22876
22877         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22878         Expect macro.
22879         [POSIX] (pthread_attr_t): Do not require type.
22880         [POSIX] (pthread_cond_t): Likewise.
22881         [POSIX] (pthread_condattr_t): Likewise.
22882         [POSIX] (pthread_key_t): Likewise.
22883         [POSIX] (pthread_mutex_t): Likewise.
22884         [POSIX] (pthread_mutexattr_t): Likewise.
22885         [POSIX] (pthread_once_t): Likewise.
22886         [POSIX] (pthread_t): Likewise.
22887         [POSIX-based standards] (pthread_atfork): Expect function.
22888
22889 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22890             Richard Sandiford  <richard@codesourcery.com>
22891
22892         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22893         (swap_endianness_p): New extern variable.
22894         (set_big_endian): New inline function.
22895         (maybe_swap_uint32): Likewise.
22896         (maybe_swap_uint32_array): Likewise.
22897         (maybe_swap_uint32_obstack): Likewise.
22898         * locale/programs/locfile.c: Include <stdbool.h>.
22899         (swap_endianness_p): New variable.
22900         (add_locale_uint32): Call maybe_swap_uint32.
22901         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22902         (write_locale_data): Call maybe_swap_uint32_array.
22903         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22904         maybe_swap_uint32.
22905         (obstack_int32_grow_fast): Likewise.
22906         (output_weightwc): Call maybe_swap_uint32_obstack.
22907         (collate_output): Likewise.
22908         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22909         (OPT_LITTLE_ENDIAN): Likewise.
22910         (options): Add --little-endian and --big-endian options.
22911         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22912         * locale/programs/locarchive.c: Include "locfile.h".
22913         (GET): New macro.
22914         (SET): Likewise.
22915         (INC): Likewise.
22916         (create_archive): Use the new macros to access fields of
22917         structures directly mapped from or written to locale archives.
22918         (oldlocrecentcmp): Likewise.
22919         (enlarge_archive): Likewise.
22920         (insert_name): Likewise.
22921         (add_alias): Likewise.
22922         (add_locale): Likewise.
22923         (delete_locales_from_archive): Likewise.
22924         (show_archive_content): Likewise.
22925         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22926         locale data.
22927
22928 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22929
22930         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22931         http://www.gnu.org/doc/freemanuals.texi.
22932         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22933
22934 2013-09-24  Will Newton  <will.newton@linaro.org>
22935
22936         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22937         macro.
22938
22939 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22940
22941         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22942         unsigned char.
22943
22944 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22945
22946         * manual/threads.texi (POSIX Threads): Fix a typo.
22947
22948 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22949
22950         [BZ #14547]
22951         * string/tst-strcoll-overflow.c: New test case.
22952         * string/Makefile (xtests): Add tst-strcoll-overflow.
22953         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22954         cache if string sizes may cause integer overflow.
22955
22956         [BZ #14547]
22957         * string/strcoll_l.c (coll_seq): New members rule, idx,
22958         save_idx and back_us.
22959         (get_next_seq_nocache): New function.
22960         (do_compare_nocache): New function.
22961         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22962         when malloc fails.
22963
22964 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22965
22966         [BZ #15754]
22967         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22968         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22969         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22970
22971         [BZ #15754]
22972         * elf/Makefile (tests): Add tst-ptrguard1.
22973         (tests-static): Add tst-ptrguard1-static.
22974         (tst-ptrguard1-ARGS): Define.
22975         (tst-ptrguard1-static-ARGS): Define.
22976         * elf/tst-ptrguard1.c: New file.
22977         * elf/tst-ptrguard1-static.c: New file.
22978         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22979         * sysdeps/i386/stackguard-macros.h: Likewise.
22980         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22981         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22982         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22983         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22984         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22985         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22986
22987 2013-09-23  Hector Marco  <hecmargi@upv.es>
22988             Ismael Ripoll  <iripoll@disca.upv.es>
22989             Carlos O'Donell  <carlos@redhat.com>
22990
22991         [BZ #15754]
22992         * sysdeps/generic/stackguard-macros.h: Define
22993         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22994         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22995         Define __pointer_chk_guard_local.
22996         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22997         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22998
22999 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23000
23001         [BZ #15859]
23002         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23003
23004 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23005
23006         * include/string.h (__ffs): Declare as hidden.
23007         * string/ffs.c (__ffs): Define as hidden.
23008         * sysdeps/i386/ffs.c (__ffs): Likewise.
23009         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23010         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23011         * sysdeps/s390/ffs.c (__ffs): Likewise.
23012         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23013
23014 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23015
23016         * NEWS: Mention malloc probes.
23017
23018         * malloc/arena.c (new_heap): New memory_heap_new probe.
23019         (grow_heap): New memory_heap_more probe.
23020         (shrink_heap): New memory_heap_less probe.
23021         (heap_trim): New memory_heap_free probe.
23022         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23023         (systrim): New memory_sbrk_less probe.
23024         * manual/probes.texi: Document them.
23025
23026         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23027         * manual/probes.texi: Document it.
23028
23029         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23030         (__libc_realloc): Add memory_realloc_retry probe.
23031         (__libc_memalign): Add memory_memalign_retry probe.
23032         (__libc_valloc): Add memory_valloc_retry probe.
23033         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23034         (__libc_calloc): Add memory_calloc_retry probe.
23035         * manual/probes.texi: Document them.
23036
23037         * malloc/arena.c (get_free_list): Add probe
23038         memory_arena_reuse_free_list.
23039         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23040         and memory_arena_reuse.
23041         (arena_get2) [!PER_THREAD]: Likewise.
23042         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23043         memory_arena_reuse_realloc.
23044         * manual/probes.texi: Document them.
23045
23046         * malloc/malloc.c (__libc_free): Add
23047         memory_mallopt_free_dyn_thresholds probe.
23048         (__libc_mallopt): Add multiple memory_mallopt probes.
23049         * manual/probes.texi: Document them.
23050
23051         * malloc/malloc.c: Include stap-probe.h.
23052         (__libc_mallopt): Add memory_mallopt probe.
23053         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23054         * manual/probes.texi: New.
23055         * manual/Makefile (chapters): Add probes.
23056         * manual/threads.texi: Set next node.
23057
23058 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23059
23060         [BZ #15963, #13985]
23061         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23062         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23063         Add `Chinese' to `nan' entry name.
23064
23065 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23066
23067         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23068         (POLYNOMIAL): Likewise.
23069         (TAYLOR_SINCOS): Likewise.
23070         (TAYLOR_SLOW): Likewise.
23071         (__sin): Use TAYLOR_SINCOS.
23072         (__cos): Likewise.
23073         (slow): Use TAYLOR_SLOW.
23074         (sloww): Likewise.
23075         (bsloww): Likewise.
23076         (csloww): Likewise.
23077
23078 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23079
23080         * stdlib/strtod_l.c: Fix buffer overrun.
23081
23082 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23083
23084         * benchtests/Makefile (bench): Add sincos.
23085         * benchtests/bench-sincos.c: New file.
23086
23087         * math/libm-test.inc (cos_test_data): New test inputs.
23088         (sin_test_data): Likewise.
23089
23090         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23091         macro.
23092         (__sin): Use it.
23093         (__cos): Likewise.
23094         (slow1): Likewise.
23095         (slow2): Likewise.
23096         (sloww1): Likewise.
23097         (sloww2): Likewise.
23098         (bsloww1): Likewise.
23099         (bsloww2): Likewise.
23100         (cslow2): Likewise.
23101         (csloww1): Likewise.
23102         (csloww2): Likewise.
23103
23104         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23105         function.
23106         (__sin): Use it.
23107         (__cos): Likewise.
23108
23109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23110         gotos.
23111         (__cos): Likewise.
23112
23113 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23114
23115         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23116         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23117         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23118         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23119         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23120         * elf/cache.c (print_entry): Handle the new cache flags.
23121
23122 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23123             Aldy Hernandez  <aldyh@redhat.com>
23124
23125         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23126         Change condition to [_SOFT_FLOAT].
23127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23139         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23142         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23143         declaration.
23144
23145 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23146
23147         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23148         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23149         (__longjmp): Use LOAD_GP to load saved GPRs.
23150         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23151         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23152         (__sigsetjmp): Use SAVE_GP to save GPRs.
23153
23154         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23155         Do not append -msoft-float.
23156         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23157
23158 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159
23160         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23161
23162 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23163
23164         [BZ #15966]
23165         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23166         (_FPU_GETCW): Use initial "__" on variable and field names but not
23167         on macro parameter name.
23168         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23169         parentheses around reference to macro parameter.
23170
23171 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23172
23173         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23174         prototype.
23175         (ctype_startup): Use uint32_t in cast and sizeof for
23176         ctype->charnames.
23177
23178 2013-09-11  Jia Liu  <proljc@gmail.com>
23179
23180         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23181         __daddr_t_defined.
23182         [__FreeBSD__]: Likewise.
23183
23184 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23185
23186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23187         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23188         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23189         (strchr): Remove __strchr_sse42 ifunc selection.
23190         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23191         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23192
23193 2013-09-11  Will Newton  <will.newton@linaro.org>
23194
23195         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23196         parameter to RES. Remove hardcoded 1000 value.
23197         * benchtests/bench-skeleton.c (main): Pass RES parameter
23198         to TIMING_INIT and multiply result by 1000.
23199
23200 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23201
23202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23203
23204 2013-09-11  Andreas Schwab  <schwab@suse.de>
23205
23206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23207         if not defined.
23208         (O_TMPFILE) [__USE_GNU]: Define.
23209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23210         Define.
23211
23212 2013-09-11  Will Newton  <will.newton@linaro.org>
23213
23214         [BZ #15857]
23215         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23216         does not overflow.
23217
23218 2013-09-11  Will Newton  <will.newton@linaro.org>
23219
23220         [BZ #15856]
23221         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23222         does not overflow.
23223
23224 2013-09-11  Will Newton  <will.newton@linaro.org>
23225
23226         [BZ #15855]
23227         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23228         does not overflow.
23229
23230 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23231
23232         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23233         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23234         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23235         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23236         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23237
23238 2013-09-10  Allan McRae  <allan@archlinux.org>
23239
23240         [BZ #15748]
23241         * manual/arith.texi (Parsing of Floats): Clarify
23242         cross-reference.
23243
23244         [BZ #15849]
23245         * manual/install.texi (Running make install): Mention
23246         --enable-pt-chown.
23247         * INSTALL: Regenerated.
23248
23249 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23250
23251         * csu/init-first.c (_init): Remove the !SHARED condition around
23252         FPU control word initialization.
23253         * elf/dl-support.c (_dl_fpu_control): New variable.
23254         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23255         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23256         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23257         * math/test-fpucw-static.c: New file.
23258         * math/test-fpucw-ieee.c: New file.
23259         * math/test-fpucw-ieee-static.c: New file.
23260         * math/Makefile (tests): Add `test-fpucw-ieee' and
23261         `$(tests-static)'.
23262         (tests-static): New variable.
23263         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23264         dependency to...
23265         [($(build-shared),yes)]
23266         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23267         ... this.
23268         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23269         New dependency.
23270
23271 2013-09-09  Allan McRae  <allan@archlinux.org>
23272
23273         [BZ #15939]
23274         * manual/string.texi (Collation Functions): Fix typo in
23275         strcoll example.
23276         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23277
23278         [BZ #15893]
23279         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23280
23281         [BZ #15892]
23282         * libio/memstream.c (open_memstream): Fix memory leak.
23283         * libio/wmemstream.c (open_wmemstream): Likewise.
23284
23285         [BZ #15895]
23286         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23287
23288 2013-09-09  Will Newton  <will.newton@linaro.org>
23289
23290         * malloc/Makefile: Add tst-realloc to tests.
23291         * malloc/tst-realloc.c: New file.
23292
23293 2013-09-09  Allan McRae  <allan@archlinux.org>
23294
23295         [BZ #15844]
23296         * COPYING: Update from GNU website to fix FSF address.
23297         * COPYING.LIB: Likewise.
23298
23299 2013-09-06  David S. Miller  <davem@davemloft.net>
23300
23301         * po/zh_TW.po: Update Chinese (traditional) translation from
23302         translation project.
23303
23304 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23305             Joseph Myers  <joseph@codesourcery.com>
23306
23307         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23308         "localeinfo.h".
23309         (obstack_chunk_alloc): New macro.
23310         (obstack_chunk_free): Likewise.
23311         (record_offset): New function.
23312         (init_locale_data): Likewise.
23313         (align_locale_data): Likewise.
23314         (add_locale_empty): Likewise.
23315         (add_locale_raw_data): Likewise.
23316         (add_locale_raw_obstack): Likewise.
23317         (add_locale_string): Likewise.
23318         (add_locale_wstring): Likewise.
23319         (add_locale_uint32): Likewise.
23320         (add_locale_uint32_array): Likewise.
23321         (add_locale_char): Likewise.
23322         (start_locale_structure): Likewise.
23323         (end_locale_structure): Likewise.
23324         (start_locale_prelude): Likewise.
23325         (end_locale_prelude): Likewise.
23326         (write_locale_data): Take locale_file structure rather than an
23327         iovec.
23328         * locale/programs/locfile.h: Include "obstack.h".
23329         (struct locale_file): Change to store locale file contents instead
23330         of header.
23331         (init_locale_data): New prototype.
23332         (align_locale_data): Likewise.
23333         (add_locale_empty): Likewise.
23334         (add_locale_raw_data): Likewise.
23335         (add_locale_raw_obstack): Likewise.
23336         (add_locale_string): Likewise.
23337         (add_locale_wstring): Likewise.
23338         (add_locale_uint32): Likewise.
23339         (add_locale_uint32_array): Likewise.
23340         (add_locale_char): Likewise.
23341         (start_locale_structure): Likewise.
23342         (end_locale_structure): Likewise.
23343         (start_locale_prelude): Likewise.
23344         (end_locale_prelude): Likewise.
23345         (write_locale_data): Update prototype.
23346         * locale/programs/3level.h (struct TABLE): Remove result field.
23347         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23348         Use new locale_file interface.
23349         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23350         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23351         * locale/programs/ld-address.c (address_output): Use new
23352         locale_file interface.
23353         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23354         NO_ADD_LOCALE.
23355         (collate_finish): Don't call collseq_table_finalize.
23356         (collate_output): Use new locale_file interface.
23357         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23358         in file.
23359         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23360         (TABLE): Move defines earlier in file.
23361         (ELEMENT): Likewise.
23362         (DEFAULT): Likewise.
23363         (wctrans_table_add): Move macro and inline function earlier in
23364         file.
23365         (struct wctype_table): Move type earlier in file.
23366         (add_locale_wctype_table): New static prototype.
23367         (struct locale_ctype_t): Use logical types instead of struct iovec
23368         pointers for members.
23369         (ctype_output): Use new locale_file interface.
23370         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23371         new locale_file interface.
23372         (allocate_arrays): Update for use of new locale_file interface.
23373         * locale/programs/ld-identification.c (identification_output): Use
23374         new locale_file interface.
23375         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23376         * locale/programs/ld-messages.c (messages_output): Likewise.
23377         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23378         * locale/programs/ld-name.c (name_output): Likewise.
23379         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23380         * locale/programs/ld-paper.c (paper_output): Likewise.
23381         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23382         * locale/programs/ld-time.c (time_output): Likewise.
23383
23384 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23385
23386         * benchtests/Makefile: Add memrchr benchmark.
23387         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23388         benchmark as memrchr.
23389         * benchtests/bench-memrchr-ifunc.c: New file.
23390         * benchtests/bench-memrchr.c: New file.
23391
23392 2013-09-06   Will Newton  <will.newton@linaro.org>
23393
23394         * benchtests/Makefile (string-bench): Add memcpy.
23395
23396 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23397             Cong Wang  <amwang@redhat.com>
23398
23399         [BZ #15850]
23400         * sysdeps/unix/sysv/linux/bits/in.h
23401         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23402         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23403         before __USE_KERNEL_IPV6_DEFS uses.
23404         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23405         IPPROTO_BEETPH.
23406         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23407         sockaddr_in6, or ipv6_mreq.
23408
23409 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23410
23411         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23412         memory access for final bytes in some large inputs.
23413         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23414
23415 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23416
23417         * string/test-memrchr.c: New file.
23418         * string/test-memrchr-ifunc.c: New file.
23419         * string/Makefile: Add new memrchr testcase.
23420
23421 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23422
23423         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23424         fanotify_init returns EPERM.
23425
23426 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23427
23428         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23429         errors.
23430         (top level): Treat second token from macro or constant entries for
23431         allowed headers as allowed.
23432         * include/complex.h: Condition internal declarations on
23433         [!_ISOMAC].
23434         * include/fenv.h: Condition include of <stdbool.h> and internal
23435         declarations on [!_ISOMAC].
23436
23437 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23438
23439         [BZ #15923]
23440         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23441
23442 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23443
23444         * configure.in (--enable-versioning): Remove configure option.
23445         (libc_cv_asm_symver_directive): Remove configure test.
23446         (libc_cv_ld_version_script_option): Likewise.
23447         (VERSIONING): Remove variable and AC_SUBST.
23448         (DO_VERSIONING): Remove AC_DEFINE.
23449         * configure: Regenerated.
23450         * config.h.in (DO_VERSIONING): Remove macro.
23451         * Makerules [$(versioning) = yes]: Change conditionals to
23452         [$(build-shared) = yes].
23453         * config.make.in (versioning): Remove variable.
23454         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23455         [$(build-shared) = yes].
23456         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23457         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23458         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23459         [$(build-shared) = yes].
23460         * extra-lib.mk [$(versioning) = yes]: Likewise.
23461         * hurd/Makefile [$(versioning) = yes]: Likewise.
23462         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23463         [SHARED].
23464         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23465         [SHARED].
23466         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23467         [SHARED && !NO_HIDDEN].
23468         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23469         [SHARED].
23470         [SHARED && DO_VERSIONING]: Likewise..
23471         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23472         [$(build-shared) = yes].
23473         * manual/install.texi (--disable-versioning): Remove
23474         documentation.
23475         * INSTALL: Regenerated.
23476         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23477         to [SHARED].
23478         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23479         [$(build-shared) = yes].
23480         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23481         * sysdeps/i386/i686/multiarch/strstr-c.c
23482         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23483         [SHARED && !NO_HIDDEN].
23484         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23485         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23486         * sysdeps/powerpc/powerpc32/dl-machine.c
23487         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23488         * sysdeps/powerpc/powerpc32/sysdep.h
23489         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23490         to [SHARED && PIC && !NO_HIDDEN].
23491         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23492         conditional to [SHARED].
23493
23494 2013-09-04   Will Newton  <will.newton@linaro.org>
23495
23496         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23497         * benchtests/bench-string.h: Include bench-timing.h instead
23498         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23499         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23500         call to HP_TIMING_DIFF_INIT.
23501         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23502         instead of hp-timing.h macros.
23503         * benchtests/bench-memchr.c: Likewise.
23504         * benchtests/bench-memcmp.c: Likewise.
23505         * benchtests/bench-memcpy.c: Likewise.
23506         * benchtests/bench-memmem.c: Likewise.
23507         * benchtests/bench-memmove.c: Likewise.
23508         * benchtests/bench-memset.c: Likewise.
23509         * benchtests/bench-rawmemchr.c: Likewise.
23510         * benchtests/bench-strcasecmp.c: Likewise.
23511         * benchtests/bench-strcasestr.c: Likewise.
23512         * benchtests/bench-strcat.c: Likewise.
23513         * benchtests/bench-strchr.c: Likewise.
23514         * benchtests/bench-strcmp.c: Likewise.
23515         * benchtests/bench-strcpy.c: Likewise.
23516         * benchtests/bench-strcpy_chk.c: Likewise.
23517         * benchtests/bench-strlen.c: Likewise.
23518         * benchtests/bench-strncasecmp.c: Likewise.
23519         * benchtests/bench-strncat.c: Likewise.
23520         * benchtests/bench-strncmp.c: Likewise.
23521         * benchtests/bench-strncpy.c: Likewise.
23522         * benchtests/bench-strnlen.c: Likewise.
23523         * benchtests/bench-strpbrk.c: Likewise.
23524         * benchtests/bench-strrchr.c: Likewise.
23525         * benchtests/bench-strspn.c: Likewise.
23526         * benchtests/bench-strstr.c: Likewise.
23527
23528 2013-09-04  Will Newton  <will.newton@linaro.org>
23529
23530         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23531
23532 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23533
23534         [BZ #15427]
23535         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23536         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23537         * math/libm-test.inc (lgamma_test_data): Add more tests.
23538         * sysdeps/i386/fpu/libm-test-ulps: Update.
23539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23540
23541 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23542
23543         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23545         Add ifunc.
23546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23547         Add strcmp-sse2-unaligned
23548         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23549
23550 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23551
23552         * Versions.def (libc): Add GLIBC_2.19.
23553
23554 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23555
23556         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23557         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23558
23559 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23560
23561         [BZ #14155]
23562         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23563         intermediate calculations in recurrence.
23564         (__ieee754_ynf): Likewise.
23565         * math/libm-test.inc (jn_test_data): Do not allow spurious
23566         underflow exception.  Add more tests.
23567         (yn_test_data): Add more tests.
23568         * sysdeps/i386/fpu/libm-test-ulps: Update.
23569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23570
23571 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23572
23573         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23574
23575 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23576
23577         * csu/init-first.c: Fix then/than typos.
23578         * locale/programs/ld-collate.c: Likewise.
23579         * locale/programs/linereader.h: Likewise.
23580         * manual/charset.texi: Likewise.
23581         * manual/filesys.texi: Likewise.
23582         * manual/stdio.texi: Likewise.
23583         * manual/string.texi: Likewise.
23584         * stdlib/fmtmsg.c: Likewise.
23585         * sysdeps/i386/stpncpy.S: Likewise.
23586         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23587         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23588         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23589         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23590
23591 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23592
23593         * elf/dl-open.c: Fix typos.
23594         * iconvdata/gbbig5.c: Likewise.
23595         * iconvdata/iso-2022-jp.c: Likewise.
23596         * iconv/gconv_int.h: Likewise.
23597         * iconv/loop.c: Likewise.
23598         * nis/rpcsvc/nis.h: Likewise.
23599         * resolv/ns_name.c: Likewise.
23600         * stdio-common/vfscanf.c: Likewise.
23601         * streams/stropts.h: Likewise.
23602         * sunrpc/rpc_thread.c: Likewise.
23603         * sysdeps/i386/strpbrk.S: Likewise.
23604         * sysdeps/ieee754/k_standard.c: Likewise.
23605         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23606         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23607         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23608         * sysdeps/mach/hurd/profil.c: Likewise.
23609         * sysdeps/s390/dl-procinfo.h: Likewise.
23610         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23611         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23612         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23613         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23614         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23615
23616 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23617
23618         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23620
23621 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23622
23623         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23624         aix specific files.
23625         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23626         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23627         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23628         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23629         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23630         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23631         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23632         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23633
23634 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23635             Roland McGrath  <roland@hack.frob.com>
23636
23637         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23638         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23639
23640 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23641
23642         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23643         __executable_start symbol instead of _start.
23644
23645 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23646
23647         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23648         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23649         Move macros to...
23650         * sysdeps/gnu/ldsodefs.h: ... this new file.
23651
23652         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23653         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23654         instead of ELFOSABI_LINUX.
23655
23656         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23657         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23658         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23659         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23660         Likewise.
23661         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23662         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23663         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23664         Likewise.
23665         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23666         (ibm_extended_long_double): Add ieee_nan member.
23667         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23668         (do_test): New function.
23669
23670         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23671         TEST_TRUNC.
23672         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23673         functions, renamed from truncdfsf_test, trunctfsf_test,
23674         trunctfdf_test.
23675         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23676         functions.
23677         (do_test): Run all these.
23678
23679 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23680
23681         * argp/argp-help.c: Fix typos.
23682         * argp/argp-parse.c: Likewise.
23683         * debug/backtracesyms.c: Likewise.
23684         * elf/elf.h: Likewise.
23685         * malloc/malloc.c: Likewise.
23686         * nis/nis_print.c: Likewise.
23687         * resolv/res_comp.c: Likewise.
23688         * stdlib/stdlib.h: Likewise.
23689         * sunrpc/clnt_tcp.c: Likewise.
23690         * sunrpc/clnt_udp.c: Likewise.
23691         * sunrpc/clnt_unix.c: Likewise.
23692         * sysdeps/unix/bsd/ptsname.c: Likewise.
23693         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23696         Likewise.
23697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23698         Likewise.
23699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23700         Likewise.
23701         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23702
23703 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23704
23705         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23707
23708 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23709
23710         [BZ #15897]
23711         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23712         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23713         ($(objpfx)bug-dl-leaf): New rule.
23714         ($(objpfx)bug-dl-leaf.so): Likewise.
23715         ($(objpfx)bug-dl-leaf.out): Likewise.
23716         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23717         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23718         * dlfcn/bug-dl-leaf.c: New test.
23719         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23720         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23721         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23722         (dlclose): Likewise.
23723         (dlmopen): Likewise.
23724
23725 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23726
23727         * include/netdb.h [!_ISOMAC]:
23728         Don't include <tls.h>.
23729         (h_errno, __libc_h_errno): Move declaration and macros out of
23730         [_LIBC_REENTRANT].
23731
23732         * include/resolv.h [_RESOLV_H_]:
23733         Don't include <tls.h>.
23734         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23735         * resolv/res_libc.c: Don't include <tls.h>.
23736         (_res): Use __attribute__ ((nocommon)) in place of
23737         __attribute__ ((section (".bss"))).
23738
23739         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23740         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23741
23742         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23743
23744         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23745         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23746
23747         * resolv/res_mkquery.c: Include <sys/time.h>.
23748
23749         * inet/ifreq.c: Moved to ...
23750         * sysdeps/unix/ifreq.c: ... here.
23751         * inet/ifreq.c: New file, true stub version.
23752
23753         * socket/sa_len.c: New file.
23754         * socket/Makefile (aux): Add it.
23755         * sysdeps/unix/sysv/linux/Makefile
23756         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23757         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23758         and #include <socket/sa_len.c>.
23759         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23760         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23761
23762         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23763         * bits/socket.h: ... here.
23764
23765         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23766         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23767         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23768
23769 2013-08-27  Andreas Schwab  <schwab@suse.de>
23770
23771         [BZ #15736]
23772         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23773         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23774         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23775         * string/test-strcasecmp.c (test_main): Run tests in several
23776         locales.
23777         * string/test-strncasecmp.c (test_main): Likewise.
23778
23779         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23780         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23781         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23783         (__strncasecmp_ssse3) [PIC]: Likewise.
23784
23785 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23786
23787         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23788
23789         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23790         instead of explicitly declaring xdecrypt.
23791         * nis/nss_nis/nis-publickey.c: Likewise.
23792
23793 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23794
23795         [BZ #15890]
23796         * nscd/aicache.c: Include res_hconf.h.
23797         (addhstaiX): Initialize res_hconf.
23798
23799 2013-08-26  Andreas Schwab  <schwab@suse.de>
23800
23801         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23802         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23803
23804 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23805
23806         * nscd/aicache.c (addhstaiX): Fix indentation.
23807
23808 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23809
23810         * configure.ac: Quote $build_pt_chown test.
23811         * configure: Regenerated.
23812
23813 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23814
23815         [BZ #15532]
23816         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23817         * math/s_cexpf.c (__cexpf): Likewise.
23818         * math/s_cexpl.c (__cexpl): Likewise.
23819         * math/libm-test.inc (cexp_test_data): Correct expected return
23820         value for NaN + i0.  Add another test.
23821
23822 2013-08-22  David S. Miller  <davem@davemloft.net>
23823
23824         * po/ca.po: Update Catalan translation from translation project.
23825         * po/uk.po: Add Ukrainian translations from translation project.
23826
23827 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23828
23829         [BZ #15797]
23830         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23831         is infinite, not alongside NaN test.
23832         * math/s_fdimf.c (__fdimf): Likewise.
23833         * math/s_fdiml.c (__fdiml): Likewise.
23834         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23835         errno is unchanged.
23836
23837 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23838
23839         * argp/argp-help.c: Fix typos.
23840         * crypt/speeds.c: Likewise.
23841         * csu/check_fds.c: Likewise.
23842         * elf/dl-load.c: Likewise.
23843         * elf/dl-open.c: Likewise.
23844         * elf/reldep3.c: Likewise.
23845         * elf/reldep.c: Likewise.
23846         * elf/sprof.c: Likewise.
23847         * iconv/iconv_charmap.c: Likewise.
23848         * iconv/skeleton.c: Likewise.
23849         * iconv/strtab.c: Likewise.
23850         * io/lockf64.c: Likewise.
23851         * libio/libioP.h: Likewise.
23852         * resolv/gai_notify.c: Likewise.
23853         * resolv/ns_name.c: Likewise.
23854         * resolv/ns_samedomain.c: Likewise.
23855         * resolv/res_send.c: Likewise.
23856         * stdlib/random.c: Likewise.
23857         * sunrpc/rpc/xdr.h: Likewise.
23858         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23859         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23860         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23861         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23864         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23865         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23866         * sysdeps/mach/hurd/check_fds.c: Likewise.
23867         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23868         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23869         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23870         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23871         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23872         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23873         * sysdeps/pthread/aio_notify.c: Likewise.
23874         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23875         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23876         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23877         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23878         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23879
23880 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23881
23882         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23883         version if bit_Slow_SSE4_2 is set.
23884         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23885         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23886
23887 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23888
23889         [BZ #15867]
23890         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23891         trampoline stack frame information.
23892         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23893         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23894         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23895         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23896         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23897         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23898         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23899         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23900         sa_flags value.
23901         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23902         interrupting a syscall and set with option SA_SIGINFO.
23903
23904 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23905
23906         [BZ #15531]
23907         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23908         argument is infinite.
23909         * math/s_cprojf.c (__cprojf): Likewise.
23910         * math/s_cprojl.c (__cprojl): Likewise.
23911         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23912         * math/libm-test.inc (cproj_test_data): Add more tests.
23913
23914         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23915
23916         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23917         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23918         size.  Use __ffs to determine corresponding shift.
23919
23920 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23921             Roland McGrath  <roland@hack.frob.com>
23922
23923         * Makefile (INSTALL): Remove trailing blank lines from output of
23924         makeinfo.
23925
23926 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23927
23928         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23929         Align 32 bit compat elf_greg to 8 bytes.
23930
23931 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23932
23933         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23934
23935 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23936
23937         * string/strcoll_l.c (coll_seq): New structure.
23938         (get_next_seq_cached): New function.
23939         (get_next_seq): New function.
23940         (do_compare): New function.
23941         (STRCOLL): Use GNU style definition.  Simplify implementation
23942         by using get_next_seq, get_next_seq_cached and do_compare.
23943
23944 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23945
23946         [BZ #14699]
23947         CVE-2013-4237
23948         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23949         member.
23950         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23951         member.
23952         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23953         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23954         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23955         conditional.
23956         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23957         GETDENTS_64BIT_ALIGNED.
23958         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23959         * manual/filesys.texi (Reading/Closing Directory): Document
23960         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23961         strongly.
23962         * manual/conf.texi (Limits for Files): Add portability note to
23963         NAME_MAX, PATH_MAX.
23964         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23965
23966 2013-08-13  Andreas Schwab  <schwab@suse.de>
23967
23968         [BZ #15749]
23969         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23970         of fabs.
23971         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23972         LDBL_MAX_EXP >= 16384]: Add tests for it.
23973
23974 2013-08-12  David S. Miller  <davem@davemloft.net>
23975
23976         * version.h (RELEASE): Set to "development".
23977         (VERSION): Set to "2.18.90".
23978         * NEWS: Add 2.19 section.
23979
23980 2013-08-03  David S. Miller  <davem@davemloft.net>
23981
23982         * po/ko.po: Update Korean translation from translation project.
23983
23984 2013-08-01  David S. Miller  <davem@davemloft.net>
23985
23986         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23987         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23988         Bilka.
23989
23990 2013-07-30  David S. Miller  <davem@davemloft.net>
23991
23992         * po/fr.po: Update French translation from translation project.
23993
23994 2013-07-28  David S. Miller  <davem@davemloft.net>
23995
23996         * po/cs.po: Update Czech translation from translation project.
23997
23998         * po/sv.po: Update Swedish translation from translation project.
23999
24000 2013-07-27  David S. Miller  <davem@davemloft.net>
24001
24002         * po/eo.po: Update Esperanto translation from translation project.
24003
24004         * po/vi.po: Update Vietnamese translation from translation project.
24005
24006         * po/de.po: Update German translation from translation project.
24007
24008 2013-07-26  David S. Miller  <davem@davemloft.net>
24009
24010         * po/bg.po: Update Bulgarian translation from translation project.
24011
24012         * po/nl.po: Update Dutch translation from translation project.
24013         * po/pl.po: Update Polish translation from translation project.
24014         * po/ru.po: Update Russian translation from translation project.
24015
24016 2013-07-24  David S. Miller  <davem@davemloft.net>
24017
24018         * po/libc.pot: Update.
24019
24020 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24021
24022         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24023         variable page size.
24024         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24025         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24026         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24027
24028 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24029
24030         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24031
24032 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24033             Andreas Schwab  <schwab@suse.de>
24034             Roland McGrath  <roland@hack.frob.com>
24035             Joseph Myers  <joseph@codesourcery.com>
24036             Carlos O'Donell  <carlos@redhat.com>
24037
24038         [BZ #15755]
24039         * config.h.in: Define HAVE_PT_CHOWN.
24040         * config.make.in (build-pt-chown): New variable.
24041         * configure.in (--enable-pt_chown): New configure option.
24042         * configure: Regenerate.
24043         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24044         build-pt-chown is enabled.
24045         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24046         pt_chown to fix pty ownership.
24047         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24048         CLOSE_ALL_FDS.
24049         * manual/install.texi (Configuring and compiling): Mention
24050         --enable-pt_chown. Add @findex for grantpt.
24051         * INSTALL: Regenerate.
24052
24053 2013-07-20  David S. Miller  <davem@davemloft.net>
24054
24055         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24056         difference between 32-bit and 64-bit.
24057
24058 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24059
24060         [BZ #15711]
24061         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24062         Avoid system header dependency with -ffreestanding.
24063         ($(objpfx)bits/syscall%d): Likewise.
24064
24065 2013-07-13  David S. Miller  <davem@davemloft.net>
24066
24067         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24068         underflows from atanl/atan2l due to bug 15319.
24069         (casinh_test_data): Likewise.
24070
24071 2013-07-07  David S. Miller  <davem@davemloft.net>
24072
24073         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24074
24075 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24076
24077         * sysdeps/i386/fpu/libm-test-ulps: Update.
24078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079
24080 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24081
24082         * configure.in (--enable-lock-elision): Fix message text.
24083         * INSTALL: Regenerate.
24084         * configure: Regenerate.
24085
24086 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24087
24088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24089
24090 2013-07-03  Andreas Jaeger  <aj@suse.de>
24091
24092         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24093         define.
24094         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24095         (ptrace_peeksiginfo_args): Add.
24096         (__ptrace_peeksiginfo_flags): Add.
24097         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24098         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24099         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24100
24101 2013-07-03  Allan McRae  <allan@archlinux.org>
24102
24103         * sysdeps/i386/fpu/libm-test-ulps: Update.
24104
24105 2013-07-02  David S. Miller  <davem@davemloft.net>
24106
24107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24108
24109 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24110
24111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24112
24113 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24114
24115         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24117
24118 2013-07-02  Andi Kleen <ak@linux.intel.com>
24119
24120         * config.h.in (ENABLE_LOCK_ELISION): Add.
24121         * configure.in (--enable-lock-elision): Add option.
24122         * manual/install.texi: Document --enable lock elision.
24123         * configure: Regenerate
24124         * INSTALL: Regenerate.
24125
24126 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24127
24128         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24129         SSE4.2 strcasecmp for libc.a.
24130         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24131
24132 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24133
24134         [BZ #13304]
24135         * soft-fp/op-common.h (_FP_FMA): New macro.
24136         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24137         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24138         (_FP_MUL_MEAT_1_imm): ... here.
24139         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24140         (_FP_MUL_MEAT_1_wide): ... here.
24141         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24142         (_FP_MUL_MEAT_1_hard): ... here.
24143         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24144         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24145         (_FP_MUL_MEAT_2_wide): ... here.
24146         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24147         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24148         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24149         (_FP_MUL_MEAT_2_gmp): ... here.
24150         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24151         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24152         (_FP_MUL_MEAT_4_wide): ... here.
24153         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24154         (_FP_MUL_MEAT_4_gmp): ... here.
24155         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24156         (_FP_WFRACBITS_DW_S): Likewise.
24157         (_FP_WFRACXBITS_DW_S): Likewise.
24158         (_FP_HIGHBIT_DW_S): Likewise.
24159         (FP_FMA_S): Likewise.
24160         (_FP_FRAC_HIGH_DW_S): Likewise.
24161         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24162         (_FP_WFRACBITS_DW_D): Likewise.
24163         (_FP_WFRACXBITS_DW_D): Likewise.
24164         (_FP_HIGHBIT_DW_D): Likewise.
24165         (FP_FMA_D): Likewise.
24166         (_FP_FRAC_HIGH_DW_D): Likewise.
24167         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24168         (_FP_WFRACBITS_DW_E): Likewise.
24169         (_FP_WFRACXBITS_DW_E): Likewise.
24170         (_FP_HIGHBIT_DW_E): Likewise.
24171         (FP_FMA_E): Likewise.
24172         (_FP_FRAC_HIGH_DW_E): Likewise.
24173         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24174         (_FP_WFRACBITS_DW_Q): Likewise.
24175         (_FP_WFRACXBITS_DW_Q): Likewise.
24176         (_FP_HIGHBIT_DW_Q): Likewise.
24177         (FP_FMA_Q): Likewise.
24178         (_FP_FRAC_HIGH_DW_Q): Likewise.
24179         * soft-fp/fmasf4.c: New file.
24180         * soft-fp/fmadf4.c: Likewise.
24181         * soft-fp/fmatf4.c: Likewise.
24182
24183 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24184
24185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24186         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24187         Silvermont.
24188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24189         macro.
24190         (index_Slow_SSE4_2): Likewise.
24191         (index_Prefer_PMINUB_for_stringop): Likewise.
24192         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24193         bit_Slow_SSE4_2 is set.
24194         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24195         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24196
24197 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24198
24199         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24200         rtld_global._dl_hwcap2.
24201         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24202         POWER8.
24203         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24204         POWER8 feature descriptions defined in _dl_hwcap2.
24205         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24206         string handling for POWER8 feature bits.
24207         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24208         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24209         _dl_powerpc_cap_flags.
24210         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24211         * sysdeps/powerpc/rtld-global-offsets.sym
24212         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24213         _dl_hwcap2 in the rtld_global_ro structure.
24214
24215 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24216
24217         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24218         hardware capabilities in support of AT_HWCAP2.
24219         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24220         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24221         GLRO(dl_hwcap2).
24222         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24223         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24224         explicitly the unknown a_type display mechanism is used.
24225         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24226         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24227         struct member.
24228         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24229         to macro prototype for AT_HWCAP2 support.
24230         * sysdeps/i386/dl-procinfo.h: Likewise.
24231         * sysdeps/s390/dl-procinfo.h: Likewise.
24232         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24233         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24234         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24235         return -1 for unknown a_type display fallback.
24236         * sysdeps/sparc/dl-procinfo.h: Likewise.
24237         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24238         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24239
24240 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24241
24242         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24243         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24244
24245 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24246
24247         [BZ #12492]
24248         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24249         mprotect making __stack_prot writable.
24250
24251 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24252             Joseph Myers  <joseph@codesourcery.com>
24253
24254         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24255         as being properly aligned.
24256
24257 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24258
24259         * dlfcn/modstatic5.c: New file.
24260         * dlfcn/tststatic5.c: New file.
24261         * dlfcn/Makefile (tests): Add tststatic5.
24262         (tests-static): Likewise.
24263         (modules-names): Add modstatic5.
24264         (tststatic5-ENV): New variable.
24265         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24266
24267         [BZ #15022]
24268         * elf/dl-support.c (_dl_main_map): New variable.
24269         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24270         (_dl_nns, _dl_load_adds): Set to 1.
24271         (_dl_initial_searchlist): Refer to _dl_main_map.
24272         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24273         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24274         call to _dl_get_origin.
24275         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24276         around call_map.
24277         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24278         * dlfcn/modstatic3.c: New file.
24279         * dlfcn/tststatic3.c: New file.
24280         * dlfcn/tststatic4.c: New file.
24281         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24282         (tests-static): Likewise.
24283         (modules-names): Add modstatic3.
24284         (tststatic3-ENV, tststatic4-ENV): New variables.
24285         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24286         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24287
24288 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24289
24290         * configure.in (CC): Require GCC version 4.4 or later.
24291         * configure: Regenerated.
24292         * manual/install.texi (Tools for Compilation): Update GCC version
24293         requirement.
24294         * INSTALL: Regenerated.
24295
24296 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24297
24298         [BZ #15674]
24299         * string/test-memcmp.c (check2): New.
24300         (main): Call check2.
24301
24302         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24303
24304 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24305
24306         [BZ #15022]
24307         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24308         over to...
24309         (dl_open_worker) [!SHARED]: ... here.
24310
24311 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24312
24313         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24314
24315 2013-06-25  Richard Henderson  <rth@redhat.com>
24316
24317         * locale/programs/locarchive.c: Include <libc-internal.h>
24318
24319 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24320
24321         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24322         trailing whitespace removed.
24323
24324 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24325
24326         [BZ #10283]
24327         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24328         * locale/programs/locarchive.c: Include libc-mmap.h.
24329         (prepare_address_space): Take two new outputs (the mmap base and len).
24330         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24331         values.
24332         (create_archive): Declare new mmap base and len values for
24333         prepare_address_space, and store the result in ah.
24334         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24335         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24336         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24337         Declare new mmap base and len values for
24338         prepare_address_space, and store the result in new_ah.
24339         (open_archive): Declare new mmap base and len values for
24340         prepare_address_space, and store the result in ah.
24341         (close_archive): If ah->mmap_base is not NULL, use that and
24342         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24343         * sysdeps/generic/libc-mmap.h: New file.
24344
24345 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24346
24347         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24348         (ALIGN_UP): Likewise.
24349         (PTR_ALIGN_DOWN): Likewise.
24350         (PTR_ALIGN_UP): Likewise.
24351
24352 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24353
24354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24355         entry mapped to PPC_PLATFORM_POWER8.
24356         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24357         POWER8.
24358         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24359         (_dl_string_platform): Add case for exporting platform position for
24360         POWER8.
24361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24362         search path to sysdeps/powerpc/powerpc32/power8 directory.
24363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24364         search path to sysdeps/powerpc/powerpc64/power8 directory.
24365         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24366         power7 directories.
24367         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24368         power7 directories.
24369
24370 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371
24372         * INSTALL: Regenerate.
24373
24374         * nscd/connections.c (nscd_init): Fix comment.
24375
24376 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24377
24378         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24379
24380         [BZ #15667]
24381         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24382         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24383
24384 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24385
24386         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24387         DL_DST_REQ_STATIC.
24388         (DL_DST_REQ_STATIC): Remove macro.
24389
24390 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24391
24392         [BZ #7006]
24393         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24394         with a shift of 0 bits.
24395
24396 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24397
24398         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24399         $(tststatic-ENV).
24400
24401 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24402
24403         [BZ #15655]
24404         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24405
24406 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24407
24408         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24409         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24410         accepts -fno-tree-loop-distribute-patterns.
24411         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24412         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24413         recursive call.
24414         * string/memset.c (memset): Likewise.
24415         * string/test-memmove.c (simple_memmove): Disable loop transformation
24416         to library calls.
24417         * string/test-memset.c (simple_memset): Likewise.
24418         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24419         * benchtests/bench-memset.c (simple_memset): Likewise.
24420         * configure: Regenerated.
24421
24422 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24423
24424         * math/test-misc.c (main): Ignore fesetround failure when failures
24425         of subsequent rounding tests would be ignored.
24426
24427         [BZ #15654]
24428         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24429         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24430         * math/fegetenv.c (__fegetenv): Return 0.
24431         * math/fegetexcept.c (fegetexcept): Return 0.
24432         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24433         FE_TONEAREST.
24434         * math/feholdexcpt.c (feholdexcept): Return 0.
24435         * math/fesetenv.c (__fesetenv): Return 0.
24436         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24437         argument FE_TONEAREST.
24438         * math/feupdateenv.c (__feupdateenv): Return 0.
24439         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24440
24441 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24442
24443         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24444         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24445         ($(objpfx)rtld-%.os rules): Use them.
24446
24447 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24448
24449         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24450         fields.
24451
24452 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24453
24454         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24455         length of target pattern, then descending length of dependency pattern.
24456         * configure.in (AWK): Require gawk 3.1.2 or newer.
24457         * manual/install.texi (Tools for Compilation): Say that we do.
24458         * configure: Regenerated.
24459
24460         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24461         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24462         * scripts/sysd-rules.awk: ... this new script.
24463         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24464         than a glob-style pattern.
24465
24466 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24467
24468         * math/test-misc.c (main): Do not treat incorrectly rounded
24469         conversions as failure unless ROUNDING_TESTS passes.
24470
24471 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24472
24473         [BZ #15631]
24474         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24475         restore exception state around main square root computation, then
24476         check for inexactness explicitly.
24477
24478         * math/libm-test.inc (fma_test_data): Add another test.
24479
24480 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24481
24482         * manual/threads.texi (Non-POSIX Extensions): New document
24483         node.  Document pthread_getattr_default_np and
24484         pthread_setattr_default_np.
24485
24486         * Versions.def (libpthread): Add GLIBC_2.18.
24487         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24489         Likewise.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24493         Likewise.
24494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24495         Likewise.
24496         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24497         Likewise.
24498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24499         Likewise.
24500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24501         Likewise.
24502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24503         Likewise.
24504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24505         Likewise.
24506
24507 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24508
24509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24510         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24511
24512 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24513             H.J. Lu  <hjl.tools@gmail.com>
24514
24515         [BZ #15627]
24516         * sysdeps/x86_64/rtld-memset.c: Remove file.
24517         * sysdeps/x86_64/rtld-memset.S: New file.
24518
24519 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24520
24521         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24522         (test_in_one_mode): Take arguments for whether the rounding mode
24523         is supported for each floating-point type.
24524         (do_test): Pass new arguments to test_in_one_mode using
24525         ROUNDING_TESTS.
24526
24527 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24528
24529         * posix/tst-waitid.c (do_test): Distinguish different instances of
24530         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24531         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24532         before entering the kernel for waitpid.
24533
24534 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24535
24536         * NEWS: Fix note on clock function precision.  Text by Roland
24537         McGrath.
24538
24539 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24540
24541         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24542         it into place only when and if the sanity check passes.
24543
24544 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24545
24546         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24547         output for whether conversion result is exact.  Take argument
24548         indicating whether type is IBM long double.
24549         (round_for_all): Change need_exact field to ibm_ld.
24550         * stdlib/tst-strtod-round.c (struct exactness): New type.
24551         (struct test): Change bool ld_ok field to struct exactness exact.
24552         (TEST): Update all definitions for change to field.
24553         (tests): Regenerate array contents.
24554         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24555         field value.  Check for IBM long double here.
24556         (do_test): Update calls to test_in_one_mode.
24557
24558 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24559
24560         [BZ #12515]
24561         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24562         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24563
24564 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24565
24566         [BZ #15605]
24567         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24568         generated by the compiler on loop optimizations.
24569         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24570         general definitions.
24571
24572 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24573
24574         * math/bug-nextafter.c: Include <math-tests.h>.
24575         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24576         the relevant type.
24577         * math/bug-nexttoward.c: Include <math-tests.h>.
24578         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24579         the relevant type.
24580         * math/test-misc.c: Include <math-tests.h>.
24581         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24582         the relevant type.
24583
24584 2013-06-12  Andreas Jaeger  <aj@suse.de>
24585
24586         * po/ia.po: Update Interlingua translation from translation
24587         project.
24588
24589 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590
24591         * include/fenv.h: Include stdbool.h.
24592         (struct rm_ctx): New structure.
24593         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24594         Define macro.
24595         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24596         (SET_RESTORE_ROUNDF): Likewise.
24597         (SET_RESTORE_ROUNDL): Likewise.
24598         (SET_RESTORE_ROUND_NOEX): Likewise.
24599         (SET_RESTORE_ROUND_NOEXF): Likewise.
24600         (SET_RESTORE_ROUND_NOEXL): Likewise.
24601         (SET_RESTORE_ROUND_53BIT): Likewise.
24602         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24603         (libc_feresetround_noexf_ctx): Likewise.
24604         (libc_feresetround_noexl_ctx): Likewise.
24605         (libc_feholdsetround_53bit_ctx): Likewise.
24606         (libc_feresetround_53bit_ctx): Likewise.
24607         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24608         (libc_feholdexcept_setround_sse_ctx): New function.
24609         (libc_fesetenv_sse_ctx): Likewise.
24610         (libc_feupdateenv_sse_ctx): Likewise.
24611         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24612         (libc_feholdexcept_setround_387_ctx): Likewise.
24613         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24614         (libc_feholdsetround_387_prec_ctx): Likewise.
24615         (libc_feholdsetround_387_ctx): Likewise.
24616         (libc_feholdsetround_387_53bit_ctx): Likewise.
24617         (libc_feholdsetround_sse_ctx): Likewise.
24618         (libc_feresetround_sse_ctx): Likewise.
24619         (libc_feresetround_387_ctx): Likewise.
24620         (libc_feupdateenv_387_ctx): Likewise.
24621         (libc_feholdexcept_setroundf_ctx): Define macro.
24622         (libc_fesetenvf_ctx): Likewise.
24623         (libc_feupdateenvf_ctx): Likewise.
24624         (libc_feholdsetroundf_ctx): Likewise.
24625         (libc_feresetroundf_ctx): Likewise.
24626         (libc_feholdexcept_setround_ctx): Likewise.
24627         (libc_fesetenv_ctx): Likewise.
24628         (libc_feupdateenv_ctx): Likewise.
24629         (libc_feholdsetround_ctx): Likewise.
24630         (libc_feresetround_ctx): Likewise.
24631         (libc_feholdexcept_setroundl_ctx): Likewise.
24632         (libc_feupdateenvl_ctx): Likewise.
24633         (libc_feholdsetroundl_ctx): Likewise.
24634         (libc_feresetroundl_ctx): Likewise.
24635         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24636         (libc_feresetround_53bit_ctx): Likewise.
24637
24638 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24639
24640         * locale/iso-639.def: Convert to UTF-8.
24641
24642 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24643
24644         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24645         (EXCEPTION_TESTS_double): Likewise.
24646         (EXCEPTION_TESTS_long_double): Likewise.
24647         (EXCEPTION_TESTS): Likewise.
24648         * math/libm-test.inc (test_exceptions): Only test exceptions if
24649         EXCEPTION_TESTS (FLOAT).
24650
24651 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24652
24653         * benchtests/Makefile (string-bench): Add strcpy_chk and
24654         stpcpy_chk.
24655         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24656         * benchtests/bench-stpcpy_chk.c: New file.
24657         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24658         * benchtests/bench-strcpy_chk.c: New file.
24659         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24660         code.
24661         (do_test): Likewise.
24662
24663 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24664
24665         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24666         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24667         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24668         with tabs where appropriate.
24669         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24670         dl-procinfo.h.
24671         [PPC_PLATFORM_PPC440]: Likewise.
24672         [PPC_PLATFORM_PPC464]: Likewise.
24673         [PPC_PLATFORM_PPC476]: Likewise.
24674         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24675         ppc464, and ppc476 platform strings merging from ports/
24676         dl-procinfo.h.
24677
24678 2013-06-11  Andreas Schwab  <schwab@suse.de>
24679
24680         [BZ #14991]
24681         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24682         (from_ucs4_idx): Regenerate.
24683         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24684         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24685         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24686         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24687         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24688         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24689         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24690         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24691         from FROM_LOOP and TO_LOOP specific macros.
24692         (BODY): Handle combining characters.
24693         * iconvdata/BIG5HKSCS.irreversible: Update.
24694         * iconvdata/BIG5HKSCS.precomposed: New file.
24695         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24696         characters.
24697         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24698
24699 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24700
24701         * include/sys/time.h: Fix indentation and add copyright header.
24702
24703         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24704         (do_test): Likewise.
24705         * string/test-memchr.c (do_one_test): Likewise.
24706         (do_test): Likewise.
24707         * string/test-memcmp.c (do_one_test): Likewise.
24708         (do_test): Likewise.
24709         * string/test-memcpy.c (do_one_test): Likewise.
24710         (do_test): Likewise.
24711         * string/test-memmem.c (do_one_test): Likewise.
24712         (do_test): Likewise.
24713         (do_random_tests): Likewise.
24714         * string/test-memmove.c (do_one_test): Likewise.
24715         (do_test): Likewise.
24716         * string/test-memset.c (do_one_test): Likewise.
24717         (do_test): Likewise.
24718         * string/test-rawmemchr.c (do_one_test): Likewise.
24719         (do_test): Likewise.
24720         * string/test-strcasecmp.c (do_one_test): Likewise.
24721         (do_test): Likewise.
24722         * string/test-strcasestr.c (do_one_test): Likewise.
24723         (do_test): Likewise.
24724         * string/test-strcat.c (do_one_test): Likewise.
24725         (do_test): Likewise.
24726         * string/test-strchr.c (do_one_test): Likewise.
24727         (do_test): Likewise.
24728         * string/test-strcmp.c (do_one_test): Likewise.
24729         (do_test): Likewise.
24730         * string/test-strcpy.c (do_one_test): Likewise.
24731         (do_test): Likewise.
24732         * string/test-string.h: Likewise.
24733         (test_init): Likewise.
24734         * string/test-strlen.c (do_one_test): Likewise.
24735         (do_test): Likewise.
24736         * string/test-strncasecmp.c (do_one_test): Likewise.
24737         (do_test): Likewise.
24738         * string/test-strncat.c (do_one_test): Likewise.
24739         (do_test): Likewise.
24740         * string/test-strncmp.c (do_one_test): Likewise.
24741         (do_test_limit): Likewise.
24742         (do_test): Likewise.
24743         * string/test-strncpy.c (do_one_test): Likewise.
24744         (do_test): Likewise.
24745         * string/test-strnlen.c (do_one_test): Likewise.
24746         (do_test): Likewise.
24747         * string/test-strpbrk.c (do_one_test): Likewise.
24748         (do_test): Likewise.
24749         * string/test-strrchr.c (do_one_test): Likewise.
24750         (do_test): Likewise.
24751         * string/test-strspn.c (do_one_test): Likewise.
24752         (do_test): Likewise.
24753         * string/test-strstr.c (do_one_test): Likewise.
24754         (do_test): Likewise.
24755
24756         * benchtests/Makefile (string-bench): Add string benchmarks.
24757         * benchtests/bench-bcopy-ifunc.c: New file.
24758         * benchtests/bench-bcopy.c: New file.
24759         * benchtests/bench-bzero-ifunc.c: New file.
24760         * benchtests/bench-bzero.c: New file.
24761         * benchtests/bench-memccpy-ifunc.c: New file.
24762         * benchtests/bench-memccpy.c: New file.
24763         * benchtests/bench-memchr-ifunc.c: New file.
24764         * benchtests/bench-memchr.c: New file.
24765         * benchtests/bench-memcmp-ifunc.c: New file.
24766         * benchtests/bench-memcmp.c: New file.
24767         * benchtests/bench-memmem-ifunc.c: New file.
24768         * benchtests/bench-memmem.c: New file.
24769         * benchtests/bench-memmove-ifunc.c: New file.
24770         * benchtests/bench-memmove.c: New file.
24771         * benchtests/bench-mempcpy-ifunc.c: New file.
24772         * benchtests/bench-mempcpy.c: New file.
24773         * benchtests/bench-memset-ifunc.c: New file.
24774         * benchtests/bench-memset.c: New file.
24775         * benchtests/bench-rawmemchr-ifunc.c: New file.
24776         * benchtests/bench-rawmemchr.c: New file.
24777         * benchtests/bench-stpcpy-ifunc.c: New file.
24778         * benchtests/bench-stpcpy.c: New file.
24779         * benchtests/bench-stpncpy-ifunc.c: New file.
24780         * benchtests/bench-stpncpy.c: New file.
24781         * benchtests/bench-strcasecmp-ifunc.c: New file.
24782         * benchtests/bench-strcasecmp.c: New file.
24783         * benchtests/bench-strcasestr-ifunc.c: New file.
24784         * benchtests/bench-strcasestr.c: New file.
24785         * benchtests/bench-strcat-ifunc.c: New file.
24786         * benchtests/bench-strcat.c: New file.
24787         * benchtests/bench-strchr-ifunc.c: New file.
24788         * benchtests/bench-strchr.c: New file.
24789         * benchtests/bench-strchrnul-ifunc.c: New file.
24790         * benchtests/bench-strchrnul.c: New file.
24791         * benchtests/bench-strcmp-ifunc.c: New file.
24792         * benchtests/bench-strcmp.c: New file.
24793         * benchtests/bench-strcpy-ifunc.c: New file.
24794         * benchtests/bench-strcpy.c: New file.
24795         * benchtests/bench-strcspn-ifunc.c: New file.
24796         * benchtests/bench-strcspn.c: New file.
24797         * benchtests/bench-strlen-ifunc.c: New file.
24798         * benchtests/bench-strlen.c: New file.
24799         * benchtests/bench-strncasecmp-ifunc.c: New file.
24800         * benchtests/bench-strncasecmp.c: New file.
24801         * benchtests/bench-strncat-ifunc.c: New file.
24802         * benchtests/bench-strncat.c: New file.
24803         * benchtests/bench-strncmp-ifunc.c: New file.
24804         * benchtests/bench-strncmp.c: New file.
24805         * benchtests/bench-strncpy-ifunc.c: New file.
24806         * benchtests/bench-strncpy.c: New file.
24807         * benchtests/bench-strnlen-ifunc.c: New file.
24808         * benchtests/bench-strnlen.c: New file.
24809         * benchtests/bench-strpbrk-ifunc.c: New file.
24810         * benchtests/bench-strpbrk.c: New file.
24811         * benchtests/bench-strrchr-ifunc.c: New file.
24812         * benchtests/bench-strrchr.c: New file.
24813         * benchtests/bench-strspn-ifunc.c: New file.
24814         * benchtests/bench-strspn.c: New file.
24815         * benchtests/bench-strstr-ifunc.c: New file.
24816         * benchtests/bench-strstr.c: New file.
24817
24818         * benchtests/Makefile: Disable parallel execution of targets.
24819         (string-bench): Add memcpy.
24820         (benchset): New variable to store a list of benchmark sets.
24821         (bench-func): Renamed from bench.
24822         (bench-set): New target.
24823         (bench): Depend on bench-func and bench-set.
24824         * benchtests/README: Add section on benchmark sets.
24825         * benchtests/bench-memcpy-ifunc.c: New file.
24826         * benchtests/bench-memcpy.c: New file.
24827         * benchtests/bench-string.h: New file.
24828
24829 2013-06-11  Andreas Schwab  <schwab@suse.de>
24830
24831         [BZ #15577]
24832         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24833         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24834         values in the triple.
24835         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24836         terminator in the group key.
24837
24838 2013-06-11  Andreas Jaeger  <aj@suse.de>
24839
24840         * po/zh_TW.po: Update Chinese (traditional) translation from
24841         translation project.
24842
24843 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844
24845         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24846         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24847         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24849         (clock_getcpuclockid): Likewise.
24850         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24851         Add weak_alias and libc_hidden_def.
24852         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24853         * rt/clock_gettime.c (clock_gettime): Rename to
24854         __clock_gettime.  Add weak_alias and libc_hidden_def.
24855         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24856         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24857         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24858         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24859         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24860         Likewise.
24861         * rt/clock_settime.c (clock_settime): Rename to
24862         __clock_settime.  Add weak_alias and libc_hidden_def.
24863         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24864
24865 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24866
24867         * mach/err_boot.sub: Remove trailing whitespace.
24868         * mach/err_ipc.sub: Likewise.
24869         * mach/err_mach.sub: Likewise.
24870
24871         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24872         (ROUNDING_TESTS_double): Likewise.
24873         (ROUNDING_TESTS_long_double): Likewise.
24874         (ROUNDING_TESTS): Likewise.
24875         * math/libm-test.inc: Include <math-tests.h>.
24876         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24877         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24878         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24879         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24880
24881 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24882
24883         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24884         of assigning.
24885
24886 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24887
24888         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24889         otherwise empty TRANS lines.
24890         * sysdeps/gnu/errlist.c: Regenerated.
24891
24892         * catgets/gencat.c (error_print): Use (void) in function
24893         definition.
24894         * crypt/crypt_util.c (__init_des): Likewise.
24895         * crypt/speeds.c (Stop): Likewise.
24896         (main): Likewise.
24897         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24898         * inet/ruserpass.c (token): Likewise.
24899         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24900         * intl/localealias.c (extend_alias_table): Likewise.
24901         * intl/plural-exp.c (init_germanic_plural): Likewise.
24902         * libio/fcloseall.c (__fcloseall): Likewise.
24903         * libio/genops.c (_IO_flush_all): Likewise.
24904         (_IO_flush_all_linebuffered): Likewise.
24905         (_IO_cleanup): Likewise.
24906         (_IO_iter_begin): Likewise.
24907         (_IO_iter_end): Likewise.
24908         (_IO_list_lock): Likewise.
24909         (_IO_list_unlock): Likewise.
24910         (_IO_list_resetlock): Likewise.
24911         * libio/getchar.c (getchar): Likewise.
24912         * libio/getchar_u.c (getchar_unlocked): Likewise.
24913         * libio/getwchar.c (getwchar): Likewise.
24914         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24915         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24916         * login/getpt.c (__getpt): Likewise.
24917         * login/tst-utmp.c (main): Likewise.
24918         * malloc/hooks.c (__malloc_check_init): Likewise.
24919         * malloc/malloc.c (__malloc_stats): Likewise.
24920         * malloc/mtrace.c (tr_break): Likewise.
24921         (mtrace): Likewise.
24922         (muntrace): Likewise.
24923         * misc/fstab.c (endfsent): Likewise.
24924         * misc/getclktck.c (__getclktck): Likewise.
24925         * misc/getdtsz.c (__getdtablesize): Likewise.
24926         * misc/gethostid.c (gethostid): Likewise.
24927         * misc/getpagesize.c (__getpagesize): Likewise.
24928         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24929         (__get_nprocs): Likewise.
24930         (__get_phys_pages): Likewise.
24931         (__get_avphys_pages): Likewise.
24932         * misc/getttyent.c (getttyent): Likewise.
24933         (setttyent): Likewise.
24934         (endttyent): Likewise.
24935         * misc/getusershell.c (getusershell): Likewise.
24936         (endusershell): Likewise.
24937         (setusershell): Likewise.
24938         (initshells): Likewise.
24939         * misc/hsearch.c (__hdestroy): Likewise.
24940         * misc/sync.c (sync): Likewise.
24941         * misc/syslog.c (closelog_internal): Likewise.
24942         (closelog): Likewise.
24943         * misc/ttyslot.c (ttyslot): Likewise.
24944         * misc/vhangup.c (vhangup): Likewise.
24945         * posix/fork.c (__fork): Likewise.
24946         * posix/getegid.c (__getegid): Likewise.
24947         * posix/geteuid.c (__geteuid): Likewise.
24948         * posix/getgid.c (__getgid): Likewise.
24949         * posix/getpid.c (__getpid): Likewise.
24950         * posix/getppid.c (__getppid): Likewise.
24951         * posix/getuid.c (__getuid): Likewise.
24952         * posix/pause.c (pause): Likewise.
24953         * posix/setpgrp.c (setpgrp): Likewise.
24954         * posix/setsid.c (__setsid): Likewise.
24955         * posix/test-vfork.c (noop): Likewise.
24956         * resolv/gethnamaddr.c (_endhtent): Likewise.
24957         (_gethtent): Likewise.
24958         (ht_endhostent): Likewise.
24959         (gethostent): Likewise.
24960         (dns_service): Likewise.
24961         * stdlib/drand48.c (drand48): Likewise.
24962         * stdlib/lrand48.c (lrand48): Likewise.
24963         * stdlib/mrand48.c (mrand48): Likewise.
24964         * stdlib/rand.c (rand): Likewise.
24965         * stdlib/random.c (__random): Likewise.
24966         * stdlib/setenv.c (clearenv): Likewise.
24967         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24968         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24969         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24970         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24971         (__get_nprocs): Likewise.
24972         (__get_phys_pages): Likewise.
24973         (__get_avphys_pages): Likewise.
24974         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24975         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24976         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24977         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24978         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24979         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24980         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24981         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24982         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24983         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24984         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24985         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24986         * sysdeps/posix/clock.c (clock): Likewise.
24987         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24988         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24989         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24990         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24991         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24993         (__get_nprocs_conf): Likewise.
24994         (__get_phys_pages): Likewise.
24995         (__get_avphys_pages): Likewise.
24996         * time/clock.c (clock): Likewise.
24997         * time/tzset.c (__tzname_max): Likewise.
24998
24999 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25000
25001         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25002         (__bswap_32): Do not use "register".
25003         * crypt/crypt.c (_ufc_doit_r): Likewise.
25004         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25005         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25006         * gmon/gmon.c (__monstartup): Likewise.
25007         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25008         * hurd/hurdmalloc.c (more_memory): Likewise.
25009         (malloc): Likewise.
25010         (free): Likewise.
25011         (realloc): Likewise.
25012         (malloc_fork_prepare): Likewise.
25013         (malloc_fork_parent): Likewise.
25014         (malloc_fork_child): Likewise.
25015         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25016         (_svcauth_des): Likewise.
25017         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25018         * inet/inet_net.c (inet_network): Likewise.
25019         * inet/inet_netof.c (inet_netof): Likewise.
25020         * inet/rcmd.c (__validuser2_sa): Likewise.
25021         * io/fts.c (fts_open): Likewise.
25022         (fts_load): Likewise.
25023         (fts_close): Likewise.
25024         (fts_read): Likewise.
25025         (fts_children): Likewise.
25026         (fts_build): Likewise.
25027         (fts_stat): Likewise.
25028         (fts_sort): Likewise.
25029         (fts_alloc): Likewise.
25030         (fts_lfree): Likewise.
25031         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25032         (_IO_file_xsgetn): Likewise.
25033         (_IO_file_xsgetn_mmap): Likewise.
25034         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25035         (_IO_cookie_write): Likewise.
25036         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25037         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25038         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25039         * malloc/obstack.c (_obstack_begin): Likewise.
25040         (_obstack_begin_1): Likewise.
25041         (_obstack_newchunk): Likewise.
25042         (_obstack_allocated_p): Likewise.
25043         (obstack_free): Likewise.
25044         (_obstack_memory_used): Likewise.
25045         * misc/getttyent.c (getttynam): Likewise.
25046         (getttyent): Likewise.
25047         (skip): Likewise.
25048         (value): Likewise.
25049         * misc/getusershell.c (initshells): Likewise.
25050         * misc/syslog.c (__vsyslog_chk): Likewise.
25051         * misc/ttyslot.c (ttyslot): Likewise.
25052         * nis/nis_hash.c (__nis_hash): Likewise.
25053         * posix/fnmatch_loop.c (FCT): Likewise.
25054         * posix/getconf.c (print_all): Likewise.
25055         (main): Likewise.
25056         * posix/getopt.c (exchange): Likewise.
25057         * posix/glob.c (globfree): Likewise.
25058         (prefix_array): Likewise.
25059         (__glob_pattern_type): Likewise.
25060         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25061         (NS_GET32): Likewise.
25062         (NS_PUT16): Likewise.
25063         (NS_PUT32): Likewise.
25064         * resolv/gethnamaddr.c (getanswer): Likewise.
25065         (gethostbyname2): Likewise.
25066         (gethostbyaddr): Likewise.
25067         (_gethtent): Likewise.
25068         (_gethtbyname2): Likewise.
25069         (_gethtbyaddr): Likewise.
25070         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25071         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25072         * resolv/res_init.c (__res_vinit): Likewise.
25073         (net_mask): Likewise.
25074         * resolv/res_mkquery.c (outchar): Likewise.
25075         (PRINT): Likewise.
25076         * stdio-common/printf_fp.c (outchar): Likewise.
25077         (PRINT): Likewise.
25078         * stdio-common/printf_fphex.c (outchar): Likewise.
25079         (PRINT): Likewise.
25080         * stdio-common/printf_size.c (outchar): Likewise.
25081         (PRINT): Likewise.
25082         * stdio-common/test_rdwr.c (main): Likewise.
25083         * stdio-common/tfformat.c (matches): Likewise.
25084         * stdio-common/vfprintf.c (outchar): Likewise.
25085         (printf_unknown): Likewise.
25086         (buffered_vfprintf): Likewise.
25087         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25088         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25089         (ReadFile): Likewise.
25090         * stdlib/qsort.c (SWAP): Likewise.
25091         (_quicksort): Likewise.
25092         * stdlib/setenv.c (__add_to_environ): Likewise.
25093         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25094         * stdlib/strtol_l.c (__strtol_l): Likewise.
25095         * stdlib/tst-strtod.c (main): Likewise.
25096         * stdlib/tst-strtol.c (main): Likewise.
25097         * stdlib/tst-strtoll.c (main): Likewise.
25098         * string/bits/string2.h (__strcmp_cc): Likewise.
25099         (__strcmp_cg): Likewise.
25100         (__strcspn_c1): Likewise.
25101         (__strcspn_c2): Likewise.
25102         (__strcspn_c3): Likewise.
25103         (__strspn_c1): Likewise.
25104         (__strspn_c2): Likewise.
25105         (__strspn_c3): Likewise.
25106         (__strsep_1c): Likewise.
25107         (__strsep_2c): Likewise.
25108         (__strsep_3c): Likewise.
25109         * string/memccpy.c (__memccpy): Likewise.
25110         * string/stpcpy.c (__stpcpy): Likewise.
25111         * string/strcmp.c (strcmp): Likewise.
25112         * string/strrchr.c (strrchr): Likewise.
25113         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25114         Likewise.
25115         * sysdeps/mach/hurd/getcwd.c
25116         (_hurd_canonicalize_directory_name_internal): Likewise.
25117         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25118         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25119         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25120         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25121         Likewise, in both definitions.
25122         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25123         definitions.
25124         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25125         64] (__bswap_64): Likewise.
25126         * time/test_time.c (main): Likewise.
25127         * time/tzfile.c (__tzfile_read): Likewise.
25128         (__tzfile_compute): Likewise.
25129         * time/tzset.c (__tzset_parse_tz): Likewise.
25130         (tzset_internal): Likewise.
25131         (compute_change): Likewise.
25132         * wcsmbs/wcscat.c (__wcscat): Likewise.
25133         * wcsmbs/wcschr.c (wcschr): Likewise.
25134         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25135         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25136         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25137         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25138         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25139         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25140         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25141         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25142         * wcsmbs/wmemset.c (wmemset): Likewise.
25143
25144 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25145
25146         * scripts/config.guess: Update to version 2013-05-16.
25147         * scripts/config.sub: Update to version 2013-04-24.
25148         * scripts/install-sh: Update to version 2011-11-20.07.
25149         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25150         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25151
25152 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25153
25154         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25155         * elf/sln.c: Likewise.
25156         * hurd/hurd/ioctl.h: Likewise.
25157         * hurd/hurdmalloc.c: Likewise.
25158         * hurd/xattr.c: Likewise.
25159         * include/shlib-compat.h: Likewise.
25160         * inet/ruserpass.c: Likewise.
25161         * libio/iofgets_u.c: Likewise.
25162         * libio/iofgetws_u.c: Likewise.
25163         * locale/programs/ld-identification.c: Likewise.
25164         * locale/programs/ld-time.c: Likewise.
25165         * mach/msg-destroy.c: Likewise.
25166         * nss/nss_files/files-netgrp.c: Likewise.
25167         * resolv/res_data.c: Likewise.
25168         * soft-fp/op-1.h: Likewise.
25169         * soft-fp/op-2.h: Likewise.
25170         * soft-fp/op-4.h: Likewise.
25171         * soft-fp/op-common.h: Likewise.
25172         * stdio-common/printf_fphex.c: Likewise.
25173         * stdlib/strtod_l.c: Likewise.
25174         * sunrpc/rpc/clnt.h: Likewise.
25175         * sysdeps/generic/framestate.c: Likewise.
25176         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25177         * sysdeps/i386/bsd-setjmp.S: Likewise.
25178         * sysdeps/i386/__longjmp.S: Likewise.
25179         * sysdeps/i386/setjmp.S: Likewise.
25180         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25181         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25182         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25183         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25185         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25186         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25189         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25190         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25191         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25192         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25193         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25194         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25198         * sysdeps/ieee754/support.c: Likewise.
25199         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25200         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25201         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25202         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25203         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25204         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25205         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25206         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25207         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25208         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25209         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25210         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25211         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25212         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25213         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25214         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25215         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25217
25218 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25219
25220         * posix/transbug.c: Remove executable mode.
25221
25222 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25223
25224         * crypt/speeds.c: Remove trailing whitespace.
25225         * dlfcn/default.c: Likewise.
25226         * elf/ifuncdep2.c: Likewise.
25227         * elf/ifuncmain1.c: Likewise.
25228         * elf/ifuncmain1vis.c: Likewise.
25229         * elf/testobj.h: Likewise.
25230         * elf/tst-stackguard1.c: Likewise.
25231         * gmon/sys/gmon.h: Likewise.
25232         * hurd/hurdmsg.c: Likewise.
25233         * hurd/new-fd.c: Likewise.
25234         * hurd/ports-get.c: Likewise.
25235         * iconvdata/ibm1008_420.c: Likewise.
25236         * inet/tst-getni1.c: Likewise.
25237         * inet/tst-getni2.c: Likewise.
25238         * libio/ioungetc.c: Likewise.
25239         * libio/wfiledoalloc.c: Likewise.
25240         * manual/libm-err-tab.pl: Likewise.
25241         * math/w_dremf.c: Likewise.
25242         * misc/ftruncate.c: Likewise.
25243         * posix/bug-glob2.c: Likewise.
25244         * posix/tst-pcre.c: Likewise.
25245         * posix/wait4.c: Likewise.
25246         * resolv/README: Likewise.
25247         * resolv/res_debug.h: Likewise.
25248         * resolv/tst-inet_ntop.c: Likewise.
25249         * setjmp/bug269-setjmp.c: Likewise.
25250         * soft-fp/extended.h: Likewise.
25251         * soft-fp/op-1.h: Likewise.
25252         * soft-fp/op-2.h: Likewise.
25253         * soft-fp/op-4.h: Likewise.
25254         * soft-fp/op-8.h: Likewise.
25255         * soft-fp/testit.c: Likewise.
25256         * stdio-common/bug16.c: Likewise.
25257         * stdlib/random.c: Likewise.
25258         * sunrpc/rpcsvc/rquota.x: Likewise.
25259         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25260         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25261         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25262         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25263         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25264         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25265         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25266         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25267         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25268         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25269         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25270         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25271         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25272         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25273         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25274         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25275         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25276         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25277         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25280         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25281         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25282         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25283         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25284         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25285         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25287         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25288         * sysdeps/ieee754/s_lib_version.c: Likewise.
25289         * sysdeps/mach/hurd/check_fds.c: Likewise.
25290         * sysdeps/mach/hurd/getsockname.c: Likewise.
25291         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25292         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25293         * sysdeps/powerpc/bits/link.h: Likewise.
25294         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25295         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25296         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25297         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25298         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25299         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25300         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25301         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25302         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25303         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25304         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25305         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25306         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25307         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25308         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25309         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25310         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25311         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25312         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25313         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25314         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25315         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25317         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25318         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25319         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25320         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25321         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25322         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25323         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25324         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25325         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25326         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25328         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25329         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25330         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25331         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25332         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25333         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25334         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25335         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25336         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25337         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25338         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25339         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25340         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25341         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25342         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25343         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25346         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25348         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25349         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25350         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25351         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25352         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25353         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25354         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25355         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25356         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25357         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25358         * sysdeps/powerpc/sysdep.h: Likewise.
25359         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25360         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25361         * sysdeps/sh/dl-trampoline.S: Likewise.
25362         * sysdeps/sh/memset.S: Likewise.
25363         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25364         * sysdeps/sh/strlen.S: Likewise.
25365         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25366         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25367         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25368         * sysdeps/sparc/sparc32/rem.S: Likewise.
25369         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25370         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25371         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25372         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25373         * sysdeps/sparc/sparc32/urem.S: Likewise.
25374         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25375         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25376         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25377         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25378         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25379         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25380         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25381         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25382         * sysdeps/unix/bsd/times.c: Likewise.
25383         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25384         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25388         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25389         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25391         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25393         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25394         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25395         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25396         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25397         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25398         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25399         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25400         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25401         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25402         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25403         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25404         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25405         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25406         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25407         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25408         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25409         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25410         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25411         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25412         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25413         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25414         * sysdeps/x86_64/strcspn.S: Likewise.
25415
25416 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25417
25418         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25419         generated file.  Regenerate properly from gen-translit.pl.
25420         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25421         locale/C-translit.h.
25422
25423 2013-06-05  Andreas Schwab  <schwab@suse.de>
25424
25425         [BZ #15100]
25426         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25427         week as 6 instead of -1.
25428         * time/tst-strptime.c (day_tests): Add test case.
25429
25430 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25431
25432         * sysdeps/generic/math_private.h
25433         (libc_feholdexcept_setround_53bit): Replace with
25434         libc_feholdsetround_53bit.
25435         (libc_feupdateenv_53bit): Replace with
25436         libc_feresetround_53bit.
25437         (SET_RESTORE_ROUND_53BIT): Adjust.
25438
25439 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25440
25441         * string/test-strchrnul.c: Add copyright header.
25442
25443         * posix/tst-getaddrinfo4.c: Increase test timeout.
25444
25445 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25446
25447         [BZ #15536]
25448         * math/libm-test.inc (MAX_EXP): Remove
25449         (MIN_EXP): Define.
25450         (ulp): Use MIN_EXP - MANT_DIG.
25451         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25452
25453 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25454
25455         * po/be.po: Revert last change.
25456         * po/zh_CN.po: Likewise.
25457         * po/header.pot: Likewise.
25458
25459 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25460
25461         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25462         link-libc-deps to empty as target-specific variable.
25463         * Makerules (link-libc-args): New variable.
25464         (libc-for-link): Likewise.
25465         (link-libc-deps): Likewise.
25466         (lib%.so): Depend on $(link-libc-deps).  Link with
25467         $(link-libc-args).
25468         (build-module): Link with $(link-libc-args).
25469         (build-module-asneeded): Likewise.
25470         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25471         list of objects.
25472         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25473         target-specific variable.
25474         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25475         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25476         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25477         libc.
25478         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25479         libc and ld.so.
25480         ($(objpfx)libpcprofile.so): Likewise.
25481         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25482         libc_nonshared.a.
25483         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25484         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25485         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25486         $(link-libc-deps).
25487         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25488         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25489         * login/Makefile ($(objpfx)libutil.so): Likewise.
25490         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25491         * math/Makefile ($(objpfx)libm.so): Likewise.
25492         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25493         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25494         variable instead of depending directly on libc.
25495         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25496         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25497         $(link-libc-deps).
25498         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25499         libc.
25500         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25501         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25502         ($(objpfx)libanl.so): Likewise.
25503         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25504         ld.so.
25505         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25506         $(link-libc-deps).
25507         * sysdeps/i386/fpu/Makefile: Remove file.
25508         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25509         ($(objpfx)libm.so): Remove dependency on ld.so.
25510
25511 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25512
25513         [BZ # 15553]
25514         * nis/yp_xdr.c (XDRMAXNAME): Define.
25515         (XDRMAXRECORD): Define.
25516         (xdr_domainname): Use XDRMAXNAME.
25517         (xdr_mapname): Likewise.
25518         (xdr_peername): Likewise.
25519         (xdr_keydat): Use XDRMAXRECORD.
25520         (xdr_valdat): Likewise.
25521
25522 2013-05-30  Jeff Law  <law@redhat.com>
25523
25524         [BZ #14256]
25525         * manual/errno.texi (ESTALE): Update to account for more than
25526         just NFS file systems.
25527         * sysdeps/gnu/errlist.c: Regenerated.
25528
25529 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25530
25531         [BZ #15465]
25532         * elf/Makefile (tests): Add tst-null-argv.
25533         (modules-names):  Add tst-null-argv-lib.
25534         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25535         (tst-null-argv-ENV): Set environment for tst-null-argv.
25536         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25537         (RTLD_PROGNAME): New macro.
25538         * elf/tst-null-argv.c: New test case.
25539         * elf/tst-null-argv-lib.c: Library for test case.
25540         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25541         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25542         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25543         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25544         * elf/dl-init.c (call_init): Likewise.
25545         (_dl_init): Likewise.
25546         * elf/dl-load.c (print_search_path): Likewise.
25547         (_dl_map_object): Likewise.
25548         * elf/dl-lookup.c (do_lookup_x): Likewise.
25549         (add_dependency): Likewise.
25550         (_dl_lookup_symbol_x): Likewise.
25551         (_dl_debug_bindings): Likewise.
25552         * elf/dl-open.c (_dl_show_scope): Likewise.
25553         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25554         * elf/dl-version.c (match_symbol): Likewise.
25555         (_dl_check_map_versions): Likewise.
25556         * elf/rtld.c (dl_main): Likewise.
25557         (print_unresolved): Use RTLD_PROGNAME.
25558         (print_missing_version): Likewise.
25559         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25560         (elf_machine_rela): Likewise.
25561         * sysdeps/powerpc/powerpc32/dl-machine.c
25562         (__process_machine_rela): Likewise.
25563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25564         Likewise.
25565         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25566         Likewise.
25567         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25568         Likewise.
25569         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25570         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25571         Likewise.
25572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25573         Likewise.
25574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25575
25576 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25577
25578         * po/be.po: Add descriptive title.
25579         * po/zh_CN.po: Likewise.
25580         * po/header.pot: Likewise.
25581
25582 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25583
25584         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25585         error message.
25586         (enlarge_archive): Likewise.
25587
25588 2013-05-28  Ben North  <ben@redfrontdoor.org>
25589
25590         * manual/arith.texi (frexp): It is the magnitude of the return
25591         value which lies in [0.5, 1), not the return value itself.
25592
25593 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25594
25595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25596
25597 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25598
25599         * stdio-common/bug26.c (main): Correct fscanf template.
25600
25601         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25602         declare _dl_skip_args.
25603
25604         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25605         Don't declare.
25606
25607         * manual/platform.texi: Add missing @end deftypefun.
25608
25609 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25610
25611         [BZ #15529]
25612         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25613         bit of mantissa of 2^16382.
25614         * math/libm-test.inc (hypot_test_data): Add more tests.
25615
25616         * math/libm-test.inc: Add drem and pow10 to list of tested
25617         functions.
25618         (pow10_test): New function.
25619         (drem_test): Likewise.
25620         (drem_test_tonearest): Likewise.
25621         (drem_test_towardzero): Likewise.
25622         (drem_test_downward): Likewise.
25623         (drem_test_upward): Likewise.
25624         (main): Call the new functions.
25625
25626         * math/libm-test.inc (finite_test_data): Remove.
25627         (finite_test): Run tests from isfinite_test_data.
25628         (gamma_test_data): Remove.
25629         (gamma_test): Run tests from lgamma_test_data.
25630         * sysdeps/i386/fpu/libm-test-ulps: Update.
25631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25632
25633 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25634
25635         * manual/platform.texi: Add PowerPC PPR function set documentation.
25636         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25637         implementation.
25638
25639 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25640
25641         * math/libm-test.inc (MAX_EXP): Define.
25642         (ULPDIFF): Define.
25643         (ulp): New function.
25644         (check_float_internal): Use ULPDIFF.
25645         (cpow_test): Disable failing test.
25646         (check_ulp): Test ulp() implemetnation.
25647         (main): Call check_ulp before starting tests.
25648
25649 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25650
25651         * math/gen-libm-test.pl (generate_testfile): Do not handle
25652         START_DATA and END_DATA.
25653         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25654         END_DATA.
25655         (acos_tonearest_test_data): Likewise.
25656         (acos_towardzero_test_data): Likewise.
25657         (acos_downward_test_data): Likewise.
25658         (acos_upward_test_data): Likewise.
25659         (acosh_test_data): Likewise.
25660         (asin_test_data): Likewise.
25661         (asin_tonearest_test_data): Likewise.
25662         (asin_towardzero_test_data): Likewise.
25663         (asin_downward_test_data): Likewise.
25664         (asin_upward_test_data): Likewise.
25665         (asinh_test_data): Likewise.
25666         (atan_test_data): Likewise.
25667         (atanh_test_data): Likewise.
25668         (atan2_test_data): Likewise.
25669         (cabs_test_data): Likewise.
25670         (cacos_test_data): Likewise.
25671         (cacosh_test_data): Likewise.
25672         (carg_test_data): Likewise.
25673         (casin_test_data): Likewise.
25674         (casinh_test_data): Likewise.
25675         (catan_test_data): Likewise.
25676         (catanh_test_data): Likewise.
25677         (cbrt_test_data): Likewise.
25678         (ccos_test_data): Likewise.
25679         (ccosh_test_data): Likewise.
25680         (ceil_test_data): Likewise.
25681         (cexp_test_data): Likewise.
25682         (cimag_test_data): Likewise.
25683         (clog_test_data): Likewise.
25684         (clog10_test_data): Likewise.
25685         (conj_test_data): Likewise.
25686         (copysign_test_data): Likewise.
25687         (cos_test_data): Likewise.
25688         (cos_tonearest_test_data): Likewise.
25689         (cos_towardzero_test_data): Likewise.
25690         (cos_downward_test_data): Likewise.
25691         (cos_upward_test_data): Likewise.
25692         (cosh_test_data): Likewise.
25693         (cosh_tonearest_test_data): Likewise.
25694         (cosh_towardzero_test_data): Likewise.
25695         (cosh_downward_test_data): Likewise.
25696         (cosh_upward_test_data): Likewise.
25697         (cpow_test_data): Likewise.
25698         (cproj_test_data): Likewise.
25699         (creal_test_data): Likewise.
25700         (csin_test_data): Likewise.
25701         (csinh_test_data): Likewise.
25702         (csqrt_test_data): Likewise.
25703         (ctan_test_data): Likewise.
25704         (ctan_tonearest_test_data): Likewise.
25705         (ctan_towardzero_test_data): Likewise.
25706         (ctan_downward_test_data): Likewise.
25707         (ctan_upward_test_data): Likewise.
25708         (ctanh_test_data): Likewise.
25709         (ctanh_tonearest_test_data): Likewise.
25710         (ctanh_towardzero_test_data): Likewise.
25711         (ctanh_downward_test_data): Likewise.
25712         (ctanh_upward_test_data): Likewise.
25713         (erf_test_data): Likewise.
25714         (erfc_test_data): Likewise.
25715         (exp_test_data): Likewise.
25716         (exp_tonearest_test_data): Likewise.
25717         (exp_towardzero_test_data): Likewise.
25718         (exp_downward_test_data): Likewise.
25719         (exp_upward_test_data): Likewise.
25720         (exp10_test_data): Likewise.
25721         (exp2_test_data): Likewise.
25722         (expm1_test_data): Likewise.
25723         (fabs_test_data): Likewise.
25724         (fdim_test_data): Likewise.
25725         (finite_test_data): Likewise.
25726         (floor_test_data): Likewise.
25727         (fma_test_data): Likewise.
25728         (fma_towardzero_test_data): Likewise.
25729         (fma_downward_test_data): Likewise.
25730         (fma_upward_test_data): Likewise.
25731         (fmax_test_data): Likewise.
25732         (fmin_test_data): Likewise.
25733         (fmod_test_data): Likewise.
25734         (fpclassify_test_data): Likewise.
25735         (frexp_test_data): Likewise.
25736         (gamma_test_data): Likewise.
25737         (hypot_test_data): Likewise.
25738         (ilogb_test_data): Likewise.
25739         (isfinite_test_data): Likewise.
25740         (isgreater_test_data): Likewise.
25741         (isgreaterequal_test_data): Likewise.
25742         (isinf_test_data): Likewise.
25743         (isless_test_data): Likewise.
25744         (islessequal_test_data): Likewise.
25745         (islessgreater_test_data): Likewise.
25746         (isnan_test_data): Likewise.
25747         (isnormal_test_data): Likewise.
25748         (issignaling_test_data): Likewise.
25749         (isunordered_test_data): Likewise.
25750         (j0_test_data): Likewise.
25751         (j1_test_data): Likewise.
25752         (jn_test_data): Likewise.
25753         (ldexp_test_data): Likewise.
25754         (lgamma_test_data): Likewise.
25755         (lrint_test_data): Likewise.
25756         (lrint_tonearest_test_data): Likewise.
25757         (lrint_towardzero_test_data): Likewise.
25758         (lrint_downward_test_data): Likewise.
25759         (lrint_upward_test_data): Likewise.
25760         (llrint_test_data): Likewise.
25761         (llrint_tonearest_test_data): Likewise.
25762         (llrint_towardzero_test_data): Likewise.
25763         (llrint_downward_test_data): Likewise.
25764         (llrint_upward_test_data): Likewise.
25765         (log_test_data): Likewise.
25766         (log10_test_data): Likewise.
25767         (log1p_test_data): Likewise.
25768         (log2_test_data): Likewise.
25769         (logb_test_data): Likewise.
25770         (logb_downward_test_data): Likewise.
25771         (lround_test_data): Likewise.
25772         (llround_test_data): Likewise.
25773         (modf_test_data): Likewise.
25774         (nearbyint_test_data): Likewise.
25775         (nextafter_test_data): Likewise.
25776         (nexttoward_test_data): Likewise.
25777         (pow_test_data): Likewise.
25778         (pow_tonearest_test_data): Likewise.
25779         (pow_towardzero_test_data): Likewise.
25780         (pow_downward_test_data): Likewise.
25781         (pow_upward_test_data): Likewise.
25782         (remainder_test_data): Likewise.
25783         (remainder_tonearest_test_data): Likewise.
25784         (remainder_towardzero_test_data): Likewise.
25785         (remainder_downward_test_data): Likewise.
25786         (remainder_upward_test_data): Likewise.
25787         (remquo_test_data): Likewise.
25788         (rint_test_data): Likewise.
25789         (rint_tonearest_test_data): Likewise.
25790         (rint_towardzero_test_data): Likewise.
25791         (rint_downward_test_data): Likewise.
25792         (rint_upward_test_data): Likewise.
25793         (round_test_data): Likewise.
25794         (scalb_test_data): Likewise.
25795         (scalbn_test_data): Likewise.
25796         (scalbln_test_data): Likewise.
25797         (signbit_test_data): Likewise.
25798         (sin_test_data): Likewise.
25799         (sin_tonearest_test_data): Likewise.
25800         (sin_towardzero_test_data): Likewise.
25801         (sin_downward_test_data): Likewise.
25802         (sin_upward_test_data): Likewise.
25803         (sincos_test_data): Likewise.
25804         (sinh_test_data): Likewise.
25805         (sinh_tonearest_test_data): Likewise.
25806         (sinh_towardzero_test_data): Likewise.
25807         (sinh_downward_test_data): Likewise.
25808         (sinh_upward_test_data): Likewise.
25809         (sqrt_test_data): Likewise.
25810         (tan_test_data): Likewise.
25811         (tan_tonearest_test_data): Likewise.
25812         (tan_towardzero_test_data): Likewise.
25813         (tan_downward_test_data): Likewise.
25814         (tan_upward_test_data): Likewise.
25815         (tanh_test_data): Likewise.
25816         (tgamma_test_data): Likewise.
25817         (trunc_test_data): Likewise.
25818         (y0_test_data): Likewise.
25819         (y1_test_data): Likewise.
25820         (yn_test_data): Likewise.
25821         (significand_test_data): Likewise.
25822
25823         * math/gen-libm-test.pl (@functions): Remove variable.
25824         (generate_testfile): Don't handle START and END lines.
25825         * math/libm-test.inc (START): New macro.
25826         (END): Likewise.
25827         (END_COMPLEX): Likewise.
25828         (acos_test): Use END macro without arguments.
25829         (acos_test_tonearest): Likewise.
25830         (acos_test_towardzero): Likewise.
25831         (acos_test_downward): Likewise.
25832         (acos_test_upward): Likewise.
25833         (acosh_test): Likewise.
25834         (asin_test): Likewise.
25835         (asin_test_tonearest): Likewise.
25836         (asin_test_towardzero): Likewise.
25837         (asin_test_downward): Likewise.
25838         (asin_test_upward): Likewise.
25839         (asinh_test): Likewise.
25840         (atan_test): Likewise.
25841         (atanh_test): Likewise.
25842         (atan2_test): Likewise.
25843         (cabs_test): Likewise.
25844         (cacos_test): Use END_COMPLEX macro without arguments.
25845         (cacosh_test): Likewise.
25846         (carg_test): Use END macro without arguments.
25847         (casin_test): Use END_COMPLEX macro without arguments.
25848         (casinh_test): Likewise.
25849         (catan_test): Likewise.
25850         (catanh_test): Likewise.
25851         (cbrt_test): Use END macro without arguments.
25852         (ccos_test): Use END_COMPLEX macro without arguments.
25853         (ccosh_test): Likewise.
25854         (ceil_test): Use END macro without arguments.
25855         (cexp_test): Use END_COMPLEX macro without arguments.
25856         (cimag_test): Use END macro without arguments.
25857         (clog_test): Use END_COMPLEX macro without arguments.
25858         (clog10_test): Likewise.
25859         (conj_test): Likewise.
25860         (copysign_test): Use END macro without arguments.
25861         (cos_test): Likewise.
25862         (cos_test_tonearest): Likewise.
25863         (cos_test_towardzero): Likewise.
25864         (cos_test_downward): Likewise.
25865         (cos_test_upward): Likewise.
25866         (cosh_test): Likewise.
25867         (cosh_test_tonearest): Likewise.
25868         (cosh_test_towardzero): Likewise.
25869         (cosh_test_downward): Likewise.
25870         (cosh_test_upward): Likewise.
25871         (cpow_test): Use END_COMPLEX macro without arguments.
25872         (cproj_test): Likewise.
25873         (creal_test): Use END macro without arguments.
25874         (csin_test): Use END_COMPLEX macro without arguments.
25875         (csinh_test): Likewise.
25876         (csqrt_test): Likewise.
25877         (ctan_test): Likewise.
25878         (ctan_test_tonearest): Likewise.
25879         (ctan_test_towardzero): Likewise.
25880         (ctan_test_downward): Likewise.
25881         (ctan_test_upward): Likewise.
25882         (ctanh_test): Likewise.
25883         (ctanh_test_tonearest): Likewise.
25884         (ctanh_test_towardzero): Likewise.
25885         (ctanh_test_downward): Likewise.
25886         (ctanh_test_upward): Likewise.
25887         (erf_test): Use END macro without arguments.
25888         (erfc_test): Likewise.
25889         (exp_test): Likewise.
25890         (exp_test_tonearest): Likewise.
25891         (exp_test_towardzero): Likewise.
25892         (exp_test_downward): Likewise.
25893         (exp_test_upward): Likewise.
25894         (exp10_test): Likewise.
25895         (exp2_test): Likewise.
25896         (expm1_test): Likewise.
25897         (fabs_test): Likewise.
25898         (fdim_test): Likewise.
25899         (finite_test): Likewise.
25900         (floor_test): Likewise.
25901         (fma_test): Likewise.
25902         (fma_test_towardzero): Likewise.
25903         (fma_test_downward): Likewise.
25904         (fma_test_upward): Likewise.
25905         (fmax_test): Likewise.
25906         (fmin_test): Likewise.
25907         (fmod_test): Likewise.
25908         (fpclassify_test): Likewise.
25909         (frexp_test): Likewise.
25910         (gamma_test): Likewise.
25911         (hypot_test): Likewise.
25912         (ilogb_test): Likewise.
25913         (isfinite_test): Likewise.
25914         (isgreater_test): Likewise.
25915         (isgreaterequal_test): Likewise.
25916         (isinf_test): Likewise.
25917         (isless_test): Likewise.
25918         (islessequal_test): Likewise.
25919         (islessgreater_test): Likewise.
25920         (isnan_test): Likewise.
25921         (isnormal_test): Likewise.
25922         (issignaling_test): Likewise.
25923         (isunordered_test): Likewise.
25924         (j0_test): Likewise.
25925         (j1_test): Likewise.
25926         (jn_test): Likewise.
25927         (ldexp_test): Likewise.
25928         (lgamma_test): Likewise.
25929         (lrint_test): Likewise.
25930         (lrint_test_tonearest): Likewise.
25931         (lrint_test_towardzero): Likewise.
25932         (lrint_test_downward): Likewise.
25933         (lrint_test_upward): Likewise.
25934         (llrint_test): Likewise.
25935         (llrint_test_tonearest): Likewise.
25936         (llrint_test_towardzero): Likewise.
25937         (llrint_test_downward): Likewise.
25938         (llrint_test_upward): Likewise.
25939         (log_test): Likewise.
25940         (log10_test): Likewise.
25941         (log1p_test): Likewise.
25942         (log2_test): Likewise.
25943         (logb_test): Likewise.
25944         (logb_test_downward): Likewise.
25945         (lround_test): Likewise.
25946         (llround_test): Likewise.
25947         (modf_test): Likewise.
25948         (nearbyint_test): Likewise.
25949         (nextafter_test): Likewise.
25950         (nexttoward_test): Likewise.
25951         (pow_test): Likewise.
25952         (pow_test_tonearest): Likewise.
25953         (pow_test_towardzero): Likewise.
25954         (pow_test_downward): Likewise.
25955         (pow_test_upward): Likewise.
25956         (remainder_test): Likewise.
25957         (remainder_test_tonearest): Likewise.
25958         (remainder_test_towardzero): Likewise.
25959         (remainder_test_downward): Likewise.
25960         (remainder_test_upward): Likewise.
25961         (remquo_test): Likewise.
25962         (rint_test): Likewise.
25963         (rint_test_tonearest): Likewise.
25964         (rint_test_towardzero): Likewise.
25965         (rint_test_downward): Likewise.
25966         (rint_test_upward): Likewise.
25967         (round_test): Likewise.
25968         (scalb_test): Likewise.
25969         (scalbn_test): Likewise.
25970         (scalbln_test): Likewise.
25971         (signbit_test): Likewise.
25972         (sin_test): Likewise.
25973         (sin_test_tonearest): Likewise.
25974         (sin_test_towardzero): Likewise.
25975         (sin_test_downward): Likewise.
25976         (sin_test_upward): Likewise.
25977         (sincos_test): Likewise.
25978         (sinh_test): Likewise.
25979         (sinh_test_tonearest): Likewise.
25980         (sinh_test_towardzero): Likewise.
25981         (sinh_test_downward): Likewise.
25982         (sinh_test_upward): Likewise.
25983         (sqrt_test): Likewise.
25984         (tan_test): Likewise.
25985         (tan_test_tonearest): Likewise.
25986         (tan_test_towardzero): Likewise.
25987         (tan_test_downward): Likewise.
25988         (tan_test_upward): Likewise.
25989         (tanh_test): Likewise.
25990         (tgamma_test): Likewise.
25991         (trunc_test): Likewise.
25992         (y0_test): Likewise.
25993         (y1_test): Likewise.
25994         (yn_test): Likewise.
25995         (significand_test): Likewise.
25996
25997 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25998
25999         [BZ #15381]
26000         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26001
26002 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26003
26004         [BZ #14894]
26005         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26006         __ppc_mdoio and __ppc_mdoom.
26007         * manual/platform.texi: Document new functions __ppc_yield,
26008         __ppc_mdoio and __ppc_mdoom.
26009
26010 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26011
26012         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26013         (main): Mention "tls" pseudo-hwcap is legacy.
26014         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26015
26016 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26017
26018         * math/gen-libm-test.pl (parse_args): Output only string of
26019         arguments as text for test name, not full call or descriptions of
26020         tests for extra outputs.
26021         (generate_testfile): Do not pass function name to parse_args.
26022         Generate this_func variable from START.
26023         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26024         field to arg_str.
26025         (struct test_ff_f_data): Likewise.
26026         (test_ff_f_data_nexttoward): Likewise.
26027         (struct test_fi_f_data): Likewise.
26028         (struct test_fl_f_data): Likewise.
26029         (struct test_if_f_data): Likewise.
26030         (struct test_fff_f_data): Likewise.
26031         (struct test_c_f_data): Likewise.
26032         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26033         (struct test_fF_f1_data): Likewise.
26034         (struct test_ffI_f1_data): Likewise.
26035         (struct test_c_c_data): Rename test_name field to arg_str.
26036         (struct test_cc_c_data): Likewise.
26037         (struct test_f_i_data): Likewise.
26038         (struct test_ff_i_data): Likewise.
26039         (struct test_f_l_data): Likewise.
26040         (struct test_f_L_data): Likewise.
26041         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26042         and extra2_name.
26043         (COMMON_TEST_SETUP): New macro.
26044         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26045         (COMMON_TEST_CLEANUP): Likewise.
26046         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26047         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26048         macros.
26049         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26050         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26051         macros.
26052         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26053         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26054         cleanup macros.
26055         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26056         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26057         macros.
26058         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26059         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26060         macros.
26061         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26062         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26063         cleanup macros.
26064         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26065         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26066         cleanup macros.
26067         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26068         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26069         cleanup macros.
26070         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26071         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26072         macros.
26073         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26074         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26075         macros.
26076         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26077         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26078         macros.
26079         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26080         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26081         cleanup macros.
26082         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26083         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26084         cleanup macros.
26085         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26086         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26087         macros.
26088         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26089         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26090         cleanup macros.
26091         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26092         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26093         macros.
26094         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26095         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26096         macros.
26097         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26098         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26099         cleanup macros.
26100         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26101
26102 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26103
26104         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26105         to _sifields.sigfault.
26106         (si_addr_lsb): Define new macro.
26107         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26108         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26109         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26110
26111 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26112
26113         [BZ #15441]
26114         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26115         returns -1.
26116         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26117         null return -1.
26118         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26119         loading the domain.
26120
26121 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26122
26123         * math/gen-libm-test.pl (parse_args): Do not include expected
26124         result in test name.
26125         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26126         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26127         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26128         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26129         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26131
26132 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26133
26134         * benchtests/Makefile: Sort function entries.
26135
26136         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26137         tanh, asinh, acosh, atanh.
26138         * benchtests/acos-inputs: New file.
26139         * benchtests/acosh-inputs: New file.
26140         * benchtests/asin-inputs: New file.
26141         * benchtests/asinh-inputs: New file.
26142         * benchtests/atanh-inputs: New file.
26143         * benchtests/cosh-inputs: New file.
26144         * benchtests/log-inputs: New file.
26145         * benchtests/sinh-inputs: New file.
26146         * benchtests/tanh-inputs: New file.
26147
26148 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26149
26150         [BZ #15339]
26151         * posix/tst-getaddrinfo4.c: New test.
26152         * posix/Makefile (tests): Add it.
26153
26154 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155
26156         [BZ #15339]
26157         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26158         when no services were used.
26159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26160         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26161
26162 2013-05-21  Andreas Schwab  <schwab@suse.de>
26163
26164         [BZ #15014]
26165         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26166         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26167         successful.
26168         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26169         redundant variable declarations and reallocation of buffer when
26170         parsing as IPv6 address.  Always set NSS status when called from
26171         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26172         buffer too small.  Correct computation of needed size.
26173         * nss/Makefile (tests): Add test-digits-dots.
26174         * nss/test-digits-dots.c: New test.
26175
26176 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26177
26178         * benchtests/Makefile: Remove instructions for adding
26179         benchmark tests.
26180         * benchtests/README: New file to explain how to execute and
26181         enhance the benchmark tests.
26182
26183 2013-05-21  Andreas Schwab  <schwab@suse.de>
26184
26185         [BZ #15493]
26186         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26187         * setjmp/tst-sigsetjmp.c: New test.
26188
26189 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26190
26191         * sysdeps/x86_64/memset.S (memset): New implementation.
26192         (__bzero): Likewise.
26193         (__memset_tail): New function.
26194
26195 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26196
26197         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26198         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26199         __memcpy_sse2_unaligned ifunc selection.
26200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26201         Add memcpy-sse2-unaligned.S.
26202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26203         Add: __memcpy_sse2_unaligned.
26204
26205 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26206
26207         [BZ #15490]
26208         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26209         math_force_eval before restoring floating-point envrionment.
26210         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26211         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26212         Likewise.
26213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26214         <math_private.h>.
26215         (__nearbyintl): Use math_force_eval before restoring
26216         floating-point environment.
26217         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26218
26219         * math/gen-libm-test.pl (special_functions): Remove.
26220         (parse_args): Don't handle TEST_extra.  Handle functions with no
26221         return value.
26222         * math/libm-test.inc (struct test_sincos_data): Replace with
26223         struct test_fFF_11_data.
26224         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26225         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26226         (sincos_test_data): Change element type to struct
26227         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26228         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26229         RUN_TEST_LOOP_sincos.
26230         * math/README.libm-test: Don't mention special handling of
26231         individual functions.
26232         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26234         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26235         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26236         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26238
26239         * math/gen-libm-test.pl (get_variable): Remove function.
26240         (parse_args): Don't show pointer parameters to call in test
26241         names.  Use "extra output N" in test names for extra outputs
26242         rather than naming variables.
26243
26244 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26245
26246         [BZ #15488]
26247         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26248         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26249         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26250         double tests.
26251         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26252         disable.
26253         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26254         check_long_double.
26255
26256         * math/gen-libm-test.pl (@tests): Remove variable.
26257         ($count): Likewise.
26258         (new_test): Remove function.
26259         (show_exceptions): New function.
26260         (special_functions): Use show_exceptions instead of new_test.
26261         (parse_args): Likewise.
26262         (generate_testfile): Pass only function name in generated call to
26263         print_max_error or print_complex_max_error.
26264         (get_ulps): Do not handle complex tests specially.
26265         (output_test): Rename to ...
26266         (get_all_ulps_for_test): ... this.  Return a string rather than
26267         printing to a file.  Require ulps to be present.
26268         (output_ulps): Generate arrays rather than #defines.
26269         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26270         (struct ulp_data): New type.
26271         (BUILD_COMPLEX_ULP): Remove macro.
26272         (compare_ulp_data): New function.
26273         (find_ulps): Likewise.
26274         (find_test_ulps): Likewise.
26275         (find_function_ulps): Likewise.
26276         (find_complex_function_ulps): Likewise.
26277         (print_max_error): Determine allowed ulps using
26278         find_function_ulps.
26279         (print_complex_max_error): Determine allowed ulps using
26280         find_complex_function_ulps.
26281         (check_float_internal): Determine max ulps using find_test_ulps.
26282         (check_float): Do not take max_ulp parameter.  Update call to
26283         check_float_internal.
26284         (check_complex): Likewise.
26285         (check_int): Do not take max_ulp parameter.
26286         (check_long): Likewise.
26287         (check_bool): Likewise.
26288         (check_longlong): Likewise.
26289         (struct test_f_f_data): Remove max_ulp field.
26290         (struct test_ff_f_data): Likewise.
26291         (struct test_ff_f_data_nexttoward): Likewise.
26292         (struct test_fi_f_data): Likewise.
26293         (struct test_fl_f_data): Likewise.
26294         (struct test_if_f_data): Likewise.
26295         (struct test_fff_f_data): Likewise.
26296         (struct test_c_f_data): Likewise.
26297         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26298         (struct test_fF_f1_data): Likewise.
26299         (struct test_ffI_f1_data): Likewise.
26300         (struct test_c_c_data): Remove max_ulp field.
26301         (struct test_cc_c_data): Likewise.
26302         (struct test_f_i_data): Likewise.
26303         (struct test_ff_i_data): Likewise.
26304         (struct test_f_l_data): Likewise.
26305         (struct test_f_L_data): Likewise.
26306         (struct test_sincos_data): Likewise.
26307         (RUN_TEST_f_f): Do not handle ulps.
26308         (RUN_TEST_LOOP_f_f): Likewise.
26309         (RUN_TEST_2_f): Likewise.
26310         (RUN_TEST_LOOP_2_f): Likewise.
26311         (RUN_TEST_fff_f): Likewise.
26312         (RUN_TEST_LOOP_fff_f): Likewise.
26313         (RUN_TEST_c_f): Likewise.
26314         (RUN_TEST_LOOP_c_f): Likewise.
26315         (RUN_TEST_f_f1): Likewise.
26316         (RUN_TEST_LOOP_f_f1): Likewise.
26317         (RUN_TEST_fF_f1): Likewise.
26318         (RUN_TEST_LOOP_fF_f1): Likewise.
26319         (RUN_TEST_fI_f1): Likewise.
26320         (RUN_TEST_LOOP_fI_f1): Likewise.
26321         (RUN_TEST_ffI_f1): Likewise.
26322         (RUN_TEST_LOOP_ffI_f1): Likewise.
26323         (RUN_TEST_c_c): Likewise.
26324         (RUN_TEST_LOOP_c_c): Likewise.
26325         (RUN_TEST_cc_c): Likewise.
26326         (RUN_TEST_LOOP_cc_c): Likewise.
26327         (RUN_TEST_f_i): Likewise.
26328         (RUN_TEST_LOOP_f_i): Likewise.
26329         (RUN_TEST_f_i_tg): Likewise.
26330         (RUN_TEST_LOOP_f_i_tg): Likewise.
26331         (RUN_TEST_ff_i_tg): Likewise.
26332         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26333         (RUN_TEST_f_b): Likewise.
26334         (RUN_TEST_LOOP_f_b): Likewise.
26335         (RUN_TEST_f_b_tg): Likewise.
26336         (RUN_TEST_LOOP_f_b_tg): Likewise.
26337         (RUN_TEST_f_l): Likewise.
26338         (RUN_TEST_LOOP_f_l): Likewise.
26339         (RUN_TEST_f_L): Likewise.
26340         (RUN_TEST_LOOP_f_L): Likewise.
26341         (RUN_TEST_sincos): Likewise.
26342         (RUN_TEST_LOOP_sincos): Likewise.
26343
26344 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26345
26346         [BZ #15480]
26347         [BZ #15485]
26348         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26349         main case of finite arguments, set rounding mode to FE_TONEAREST
26350         and discard exceptions.
26351         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26352         exceptions.
26353         (remainder_tonearest_test_data): New variable.
26354         (remainder_test_tonearest): New function.
26355         (remainder_towardzero_test_data): New variable.
26356         (remainder_test_towardzero): New function.
26357         (remainder_downward_test_data): New variable.
26358         (remainder_test_downward): New function.
26359         (remainder_upward_test_data): New variable.
26360         (remainder_test_upward): New function.
26361         (main): Call the new test functions.
26362
26363         * math/libm-test.inc (struct test_f_f1_data): Remove field
26364         extra_init.
26365         (struct test_fF_f1_data): Likewise.
26366         (struct test_ffI_f1_data): Likewise.
26367         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26368         based on value of EXTRA_EXPECTED.
26369         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26370         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26371         EXTRA_VAR based on value of EXTRA_EXPECTED.
26372         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26373         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26374         EXTRA_VAR based on value of EXTRA_EXPECTED.
26375         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26376         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26377         EXTRA_VAR based on value of EXTRA_EXPECTED.
26378         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26379         * math/gen-libm-test.pl (parse_args): Don't output initializers
26380         for extra output values.
26381
26382         * math/libm-test.inc (check_int): Expect result to be exactly
26383         equal to expected value and do not handle ulps.
26384         (check_long): Likewise.
26385         (check_longlong): Likewise.
26386
26387         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26388         exceptions.
26389         (cimag_test_data): Likewise.
26390         (conj_test_data): Likewise.
26391         (copysign_test_data): Likewise.
26392         (cproj_test_data): Likewise.
26393         (creal_test_data): Likewise.
26394         (fabs_test_data): Likewise.
26395         (fdim_test_data): Likewise.
26396         (finite_test_data): Likewise.
26397         (floor_test_data): Likewise.
26398         (fmax_test_data): Likewise.
26399         (fmin_test_data): Likewise.
26400         (fmod_test_data): Likewise.
26401         (fpclassify_test_data): Likewise.
26402         (frexp_test_data): Likewise.
26403         (ilogb_test_data): Likewise.
26404         (isfinite_test_data): Likewise.
26405         (isgreater_test_data): Likewise.
26406         (isgreaterequal_test_data): Likewise.
26407         (isinf_test_data): Likewise.
26408         (isless_test_data): Likewise.
26409         (islessequal_test_data): Likewise.
26410         (islessgreater_test_data): Likewise.
26411         (isnan_test_data): Likewise.
26412         (isnormal_test_data): Likewise.
26413         (issignaling_test_data): Likewise.
26414         (isunordered_test_data): Likewise.
26415         (ldexp_test_data): Likewise.
26416         (lrint_test_data): Likewise.
26417         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26418         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26419         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26420         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26421         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26422         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26423         test input.
26424         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26425         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26426         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26427         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26428         that test input.
26429         (lrint_downward_test_data): Test for "inexact" exceptions.
26430         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26431         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26432         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26433         test input.
26434         (lrint_upward_test_data): Test for "inexact" exceptions.
26435         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26436         test input.
26437         (llrint_test_data): Test for "inexact" exceptions.
26438         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26439         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26440         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26441         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26442         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26443         (llrint_downward_test_data): Test for "inexact" exceptions.
26444         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26445         (llrint_upward_test_data): Test for "inexact" exceptions.
26446         (logb_test_data): Likewise.
26447         (logb_downward_test_data): Likewise.
26448         (nextafter_test_data): Likewise.
26449         (nexttoward_test_data): Likewise.
26450         (remainder_test_data): Likewise.
26451         (remquo_test_data): Likewise.
26452         (scalbn_test_data): Likewise.
26453         (scalbln_test_data): Likewise.
26454         (signbit_test_data): Likewise.
26455         (sqrt_test_data): Likewise.
26456         (significand_test_data): Likewise.
26457
26458 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26459
26460         [BZ #15424]
26461         * benchtests/bench-modf.c (struct args): Mark arg0 as
26462         volatile.
26463         * scripts/bench.pl: Mark members of struct args as volatile.
26464
26465 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26466
26467         [BZ # 15497]
26468         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26469         negative infinity on POWER6 or lower.
26470         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26471
26472 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26473
26474         [BZ #15442]
26475         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26476         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26477         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26478         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26479         (_FP_SETQNAN): New macro.
26480         (_FP_SETQNAN_SEMIRAW): Likewise.
26481         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26482         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26483         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26484         (FP_EXTEND): Use _FP_FRAC_SNANP.
26485         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26486         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26487         into account.
26488         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26489         New macro.
26490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26491         Likewise.
26492
26493 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26494
26495         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26496         with DIVIDE_BY_ZERO_EXCEPTION.
26497         (gamma_test_data): Likewise.
26498         (lgamma_test_data): Likewise.
26499         (log_test_data): Likewise.
26500         (log10_test_data): Likewise.
26501         (log2_test_data): Likewise.
26502         (tgamma_test_data): Likewise.
26503
26504         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26505         (acos_test_tonearest): Likewise.
26506         (acos_test_towardzero): Likewise.
26507         (acos_test_downward): Likewise.
26508         (acos_test_upward): Likewise.
26509         (acosh_test): Likewise.
26510         (asin_test): Likewise.
26511         (asin_test_tonearest): Likewise.
26512         (asin_test_towardzero): Likewise.
26513         (asin_test_downward): Likewise.
26514         (asin_test_upward): Likewise.
26515         (asinh_test): Likewise.
26516         (atan_test): Likewise.
26517         (atanh_test): Likewise.
26518         (atan2_test): Likewise.
26519         (cabs_test): Likewise.
26520         (cacos_test): Likewise.
26521         (cacosh_test): Likewise.
26522         (casin_test): Likewise.
26523         (casinh_test): Likewise.
26524         (catan_test): Likewise.
26525         (catanh_test): Likewise.
26526         (cbrt_test): Likewise.
26527         (ccos_test): Likewise.
26528         (ccosh_test): Likewise.
26529         (cexp_test): Likewise.
26530         (clog_test): Likewise.
26531         (clog10_test): Likewise.
26532         (cos_test): Likewise.
26533         (cos_test_tonearest): Likewise.
26534         (cos_test_towardzero): Likewise.
26535         (cos_test_downward): Likewise.
26536         (cos_test_upward): Likewise.
26537         (cosh_test): Likewise.
26538         (cosh_test_tonearest): Likewise.
26539         (cosh_test_towardzero): Likewise.
26540         (cosh_test_downward): Likewise.
26541         (cosh_test_upward): Likewise.
26542         (cpow_test): Likewise.
26543         (csin_test): Likewise.
26544         (csinh_test): Likewise.
26545         (csqrt_test): Likewise.
26546         (ctan_test): Likewise.
26547         (ctan_test_tonearest): Likewise.
26548         (ctan_test_towardzero): Likewise.
26549         (ctan_test_downward): Likewise.
26550         (ctan_test_upward): Likewise.
26551         (ctanh_test): Likewise.
26552         (ctanh_test_tonearest): Likewise.
26553         (ctanh_test_towardzero): Likewise.
26554         (ctanh_test_downward): Likewise.
26555         (ctanh_test_upward): Likewise.
26556         (erf_test): Likewise.
26557         (erfc_test): Likewise.
26558         (exp_test): Likewise.
26559         (exp_test_tonearest): Likewise.
26560         (exp_test_towardzero): Likewise.
26561         (exp_test_downward): Likewise.
26562         (exp_test_upward): Likewise.
26563         (exp10_test): Likewise.
26564         (exp2_test): Likewise.
26565         (expm1_test): Likewise.
26566         (fmod_test): Likewise.
26567         (gamma_test): Likewise.
26568         (hypot_test): Likewise.
26569         (j0_test): Likewise.
26570         (j1_test): Likewise.
26571         (jn_test): Likewise.
26572         (lgamma_test): Likewise.
26573         (log_test): Likewise.
26574         (log10_test): Likewise.
26575         (log1p_test): Likewise.
26576         (log2_test): Likewise.
26577         (logb_test_downward): Likewise.
26578         (pow_test): Likewise.
26579         (pow_test_tonearest): Likewise.
26580         (pow_test_towardzero): Likewise.
26581         (pow_test_downward): Likewise.
26582         (pow_test_upward): Likewise.
26583         (remainder_test): Likewise.
26584         (remquo_test): Likewise.
26585         (sin_test): Likewise.
26586         (sin_test_tonearest): Likewise.
26587         (sin_test_towardzero): Likewise.
26588         (sin_test_downward): Likewise.
26589         (sin_test_upward): Likewise.
26590         (sincos_test): Likewise.
26591         (sinh_test): Likewise.
26592         (sinh_test_tonearest): Likewise.
26593         (sinh_test_towardzero): Likewise.
26594         (sinh_test_downward): Likewise.
26595         (sinh_test_upward): Likewise.
26596         (sqrt_test): Likewise.
26597         (tan_test): Likewise.
26598         (tan_test_tonearest): Likewise.
26599         (tan_test_towardzero): Likewise.
26600         (tan_test_downward): Likewise.
26601         (tan_test_upward): Likewise.
26602         (tanh_test): Likewise.
26603         (tgamma_test): Likewise.
26604         (y0_test): Likewise.
26605         (y1_test): Likewise.
26606         (yn_test): Likewise.
26607
26608         * math/gen-libm-test.pl (adjust_arg): Remove function.
26609         (special_function): Remove argument $in_func.  Only handle
26610         generating output for tables of tests, not inside functions.
26611         (parse_args): Likewise.
26612         (generate_testfile): Remove variable $in_func.  Update call to
26613         parse_args.
26614         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26615         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26616         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26617         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26618         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26619         (MAX_VALUE_INIT): Rename macro to max_value.
26620         (MIN_VALUE_INIT): Rename macro to min_value.
26621         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26622         (plus_zero): Remove variable.
26623         (minus_zero): Likewise.
26624         (plus_infty): Likewise.
26625         (minus_infty): Likewise.
26626         (qnan_value): Likewise.
26627         (max_value): Likewise.
26628         (min_value): Likewise.
26629         (min_subnorm_value): Likewise.
26630
26631 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26632
26633         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26634         uint64_t or uint32_t usage.
26635         * crypt/sha256-block.c: Likewise.
26636         * crypt/sha256-crypt.c: Likewise.
26637         * crypt/sha256.c: Likewise.
26638         * crypt/sha512-block.c: Likewise.
26639         * crypt/sha512-crypt.c: Likewise.
26640         * crypt/sha512.c: Likewise.
26641         * debug/backtrace-tst.c: Likewise.
26642         * debug/pcprofiledump.c: Likewise.
26643         * elf/cache.c: Likewise.
26644         * elf/dl-cache.c: Likewise.
26645         * elf/dl-misc.c: Likewise.
26646         * elf/dl-profile.c: Likewise.
26647         * elf/dl-support.c: Likewise.
26648         * elf/ldconfig.c: Likewise.
26649         * elf/sprof.c: Likewise.
26650         * iconv/dummy-repertoire.c: Likewise.
26651         * iconv/iconv_charmap.c: Likewise.
26652         * iconv/skeleton.c: Likewise.
26653         * iconvdata/8bit-generic.c: Likewise.
26654         * iconvdata/cp737.h: Likewise.
26655         * iconvdata/cp775.h: Likewise.
26656         * iconvdata/ibm1008.h: Likewise.
26657         * iconvdata/ibm1025.h: Likewise.
26658         * iconvdata/ibm1046.h: Likewise.
26659         * iconvdata/ibm1097.h: Likewise.
26660         * iconvdata/ibm1112.h: Likewise.
26661         * iconvdata/ibm1122.h: Likewise.
26662         * iconvdata/ibm1123.h: Likewise.
26663         * iconvdata/ibm1124.h: Likewise.
26664         * iconvdata/ibm1129.h: Likewise.
26665         * iconvdata/ibm1130.h: Likewise.
26666         * iconvdata/ibm1132.h: Likewise.
26667         * iconvdata/ibm1133.h: Likewise.
26668         * iconvdata/ibm1137.h: Likewise.
26669         * iconvdata/ibm1140.h: Likewise.
26670         * iconvdata/ibm1141.h: Likewise.
26671         * iconvdata/ibm1142.h: Likewise.
26672         * iconvdata/ibm1143.h: Likewise.
26673         * iconvdata/ibm1144.h: Likewise.
26674         * iconvdata/ibm1145.h: Likewise.
26675         * iconvdata/ibm1146.h: Likewise.
26676         * iconvdata/ibm1147.h: Likewise.
26677         * iconvdata/ibm1148.h: Likewise.
26678         * iconvdata/ibm1149.h: Likewise.
26679         * iconvdata/ibm1153.h: Likewise.
26680         * iconvdata/ibm1154.h: Likewise.
26681         * iconvdata/ibm1155.h: Likewise.
26682         * iconvdata/ibm1156.h: Likewise.
26683         * iconvdata/ibm1157.h: Likewise.
26684         * iconvdata/ibm1158.h: Likewise.
26685         * iconvdata/ibm1160.h: Likewise.
26686         * iconvdata/ibm1161.h: Likewise.
26687         * iconvdata/ibm1162.h: Likewise.
26688         * iconvdata/ibm1163.h: Likewise.
26689         * iconvdata/ibm1164.h: Likewise.
26690         * iconvdata/ibm1166.h: Likewise.
26691         * iconvdata/ibm1167.h: Likewise.
26692         * iconvdata/ibm12712.h: Likewise.
26693         * iconvdata/ibm1390.h: Likewise.
26694         * iconvdata/ibm1399.h: Likewise.
26695         * iconvdata/ibm16804.h: Likewise.
26696         * iconvdata/ibm4517.h: Likewise.
26697         * iconvdata/ibm4899.h: Likewise.
26698         * iconvdata/ibm4909.h: Likewise.
26699         * iconvdata/ibm4971.h: Likewise.
26700         * iconvdata/ibm5347.h: Likewise.
26701         * iconvdata/ibm803.h: Likewise.
26702         * iconvdata/ibm856.h: Likewise.
26703         * iconvdata/ibm901.h: Likewise.
26704         * iconvdata/ibm902.h: Likewise.
26705         * iconvdata/ibm9030.h: Likewise.
26706         * iconvdata/ibm9066.h: Likewise.
26707         * iconvdata/ibm921.h: Likewise.
26708         * iconvdata/ibm922.h: Likewise.
26709         * iconvdata/ibm9448.h: Likewise.
26710         * iconvdata/isiri-3342.h: Likewise.
26711         * iconvdata/jis0201.h: Likewise.
26712         * include/link.h: Likewise.
26713         * include/netdb.h: Likewise.
26714         * inet/check_native.c: Likewise.
26715         * inet/check_pf.c: Likewise.
26716         * inet/getipv4sourcefilter.c: Likewise.
26717         * inet/getnameinfo.c: Likewise.
26718         * inet/getsourcefilter.c: Likewise.
26719         * inet/htonl.c: Likewise.
26720         * inet/setipv4sourcefilter.c: Likewise.
26721         * inet/setsourcefilter.c: Likewise.
26722         * inet/test-inet6_opt.c: Likewise.
26723         * inet/tst-network.c: Likewise.
26724         * locale/C-collate.c: Likewise.
26725         * locale/C-ctype.c: Likewise.
26726         * locale/C-time.c: Likewise.
26727         * locale/C-translit.h: Likewise.
26728         * locale/loadarchive.c: Likewise.
26729         * locale/programs/3level.h: Likewise.
26730         * locale/programs/charmap.c: Likewise.
26731         * locale/programs/charmap.h: Likewise.
26732         * locale/programs/ld-address.c: Likewise.
26733         * locale/programs/ld-collate.c: Likewise.
26734         * locale/programs/ld-ctype.c: Likewise.
26735         * locale/programs/ld-identification.c: Likewise.
26736         * locale/programs/ld-measurement.c: Likewise.
26737         * locale/programs/ld-messages.c: Likewise.
26738         * locale/programs/ld-monetary.c: Likewise.
26739         * locale/programs/ld-name.c: Likewise.
26740         * locale/programs/ld-numeric.c: Likewise.
26741         * locale/programs/ld-paper.c: Likewise.
26742         * locale/programs/ld-telephone.c: Likewise.
26743         * locale/programs/ld-time.c: Likewise.
26744         * locale/programs/linereader.c: Likewise.
26745         * locale/programs/locale.c: Likewise.
26746         * locale/programs/locarchive.c: Likewise.
26747         * locale/programs/locfile.h: Likewise.
26748         * locale/programs/repertoire.c: Likewise.
26749         * locale/programs/simple-hash.c: Likewise.
26750         * locale/programs/simple-hash.h: Likewise.
26751         * malloc/memusage.c: Likewise.
26752         * malloc/memusagestat.c: Likewise.
26753         * nis/nis_defaults.c: Likewise.
26754         * nis/nis_hash.c: Likewise.
26755         * nis/nis_print.c: Likewise.
26756         * nis/nis_xdr.c: Likewise.
26757         * nscd/connections.c: Likewise.
26758         * nscd/hstcache.c: Likewise.
26759         * nscd/nscd_gethst_r.c: Likewise.
26760         * nscd/nscd_getserv_r.c: Likewise.
26761         * nscd/nscd_helper.c: Likewise.
26762         * nscd/servicescache.c: Likewise.
26763         * nss/makedb.c: Likewise.
26764         * nss/nss_db/db-XXX.c: Likewise.
26765         * nss/nss_db/db-initgroups.c: Likewise.
26766         * nss/nss_db/db-netgrp.c: Likewise.
26767         * nss/nss_files/files-network.c: Likewise.
26768         * nss/nss_files/files-parse.c: Likewise.
26769         * posix/bug-regex5.c: Likewise.
26770         * posix/fnmatch_loop.c: Likewise.
26771         * posix/regcomp.c: Likewise.
26772         * posix/regexec.c: Likewise.
26773         * posix/tst-rfc3484-2.c: Likewise.
26774         * posix/tst-rfc3484-3.c: Likewise.
26775         * posix/tst-rfc3484.c: Likewise.
26776         * resolv/nss_dns/dns-canon.c: Likewise.
26777         * resolv/nss_dns/dns-network.c: Likewise.
26778         * resolv/res_init.c: Likewise.
26779         * resolv/res_mkquery.c: Likewise.
26780         * resolv/tst-aton.c: Likewise.
26781         * stdlib/cxa_atexit.c: Likewise.
26782         * stdlib/cxa_finalize.c: Likewise.
26783         * stdlib/gen-fpioconst.c: Likewise.
26784         * stdlib/strtol_l.c: Likewise.
26785         * string/tst-endian.c: Likewise.
26786         * sunrpc/auth_des.c: Likewise.
26787         * sunrpc/clnt_udp.c: Likewise.
26788         * sunrpc/rtime.c: Likewise.
26789         * sunrpc/svcauth_des.c: Likewise.
26790         * sunrpc/xdr.c: Likewise.
26791         * sunrpc/xdr_intXX_t.c: Likewise.
26792         * sunrpc/xdr_rec.c: Likewise.
26793         * sysdeps/generic/ldconfig.h: Likewise.
26794         * sysdeps/generic/ldsodefs.h: Likewise.
26795         * sysdeps/generic/memusage.h: Likewise.
26796         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26798         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26802         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26803         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26804         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26805         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26806         * sysdeps/posix/getaddrinfo.c: Likewise.
26807         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26808         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26809         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26810         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26811         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26812         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26813         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26814         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26815         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26816         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26817         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26818         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26819         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26820         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26821         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26822         * sysdeps/x86_64/dl-tls.h: Likewise.
26823         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26824         * time/alt_digit.c: Likewise.
26825         * time/era.c: Likewise.
26826         * wcsmbs/tst-c16c32-1.c: Likewise.
26827
26828 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26829
26830         * math/libm-test.inc (struct test_sincos_data): New type.
26831         (RUN_TEST_LOOP_sincos): New macro.
26832         (sincos_test_data): New variable.
26833         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26834
26835 2013-05-16  Richard Henderson  <rth@redhat.com>
26836
26837         * math/atest-exp2.c (LIMB64): New macro.
26838         (CONSTSZ): New macro.
26839         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26840         (hexdig): Move ...
26841         (print_mpn_fp): ... to function scope.
26842         (read_mpn_hex): Remove.
26843         (get_log2): Remove.
26844         (exp2_mpn): Use mp_log2.
26845         (main): Use mp_exp1.
26846
26847 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26848
26849         * math/libm-test.inc: Remove comment about not testing "inexact"
26850         exceptions.
26851         (INEXACT_EXCEPTION): New macro.
26852         (NO_INEXACT_EXCEPTION): Likewise.
26853         (INVALID_EXCEPTION_OK): Update value.
26854         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26855         (OVERFLOW_EXCEPTION_OK): Likewise.
26856         (UNDERFLOW_EXCEPTION_OK): Likewise.
26857         (IGNORE_ZERO_INF_SIGN): Likewise.
26858         (ERRNO_UNCHANGED): Likewise.
26859         (ERRNO_EDOM): Likewise.
26860         (ERRNO_ERANGE): Likewise.
26861         (test_exceptions): Handle testing "inexact" exceptions.
26862         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26863         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26864         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26865         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26866         INEXACT_EXCEPTION.
26867         (rint_towardzero_test_data): Likewise.
26868         (rint_downward_test_data): Likewise.
26869         (rint_upward_test_data): Likewise.
26870
26871         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26872         with OVERFLOW_EXCEPTION.
26873         (exp10_test_data): Likewise.
26874         (exp2_test_data): Likewise.
26875         (expm1_test_data): Likewise.
26876         (lgamma_test_data): Likewise.
26877         (pow_test_data): Likewise.
26878         (tgamma_test_data): Likewise.
26879         (yn_test_data): Remove duplicate test of overflow.
26880
26881         * math/libm-test.inc (struct test_cc_c_data): New type.
26882         (RUN_TEST_LOOP_cc_c): New macro.
26883         (cpow_test_data): New variable.
26884         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26885
26886         * math/libm-test.inc (struct test_f_L_data): New type.
26887         (RUN_TEST_LOOP_f_L): New macro.
26888         (llrint_test_data): New variable.
26889         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26890         (llrint_tonearest_test_data): New variable.
26891         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26892         (llrint_towardzero_test_data): New variable.
26893         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26894         (llrint_downward_test_data): New variable.
26895         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26896         (llrint_upward_test_data): New variable.
26897         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26898         (llround_test_data): New variable.
26899         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26900
26901 2013-05-13  Peter Collingbourne  <pcc@google.com>
26902
26903         * math/atest-exp2.c (get_log2): Remove const attribute.
26904
26905 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26906
26907         * math/libm-test.inc (struct test_f_l_data): New type.
26908         (RUN_TEST_LOOP_f_l): New macro.
26909         (lrint_test_data): New variable.
26910         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26911         (lrint_tonearest_test_data): New variable.
26912         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26913         (lrint_towardzero_test_data): New variable.
26914         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26915         (lrint_downward_test_data): New variable.
26916         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26917         (lrint_upward_test_data): New variable.
26918         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26919         (lround_test_data): New variable.
26920         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26921
26922 2013-05-15  Peter Collingbourne  <pcc@google.com>
26923
26924         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26925         (EXTRACT_WORDS64) Use where appropriate.
26926         (INSERT_WORDS64) Likewise.
26927
26928         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26929         constraints with x constraints.
26930         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26931
26932         * malloc/obstack.c (_obstack_compat): Add initializer.
26933
26934 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26935
26936         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26937         si_trapno and add si_addr_lsb to _sifields.sigfault.
26938         (si_trapno): Remove macro.
26939         (si_addr_lsb): Define new macro.
26940         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26941
26942 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26943
26944         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26945         instead of TEST_f_l.
26946         (llrint_test_tonearest): Likewise.
26947         (llrint_test_towardzero): Likewise.
26948         (llrint_test_downward): Likewise.
26949         (llrint_test_upward): Likewise.
26950         (llround_test): Likewise.
26951
26952         * math/libm-test.inc (struct test_f_i_data): Add comment.
26953         (RUN_TEST_LOOP_f_b): New macro.
26954         (RUN_TEST_LOOP_f_b_tg): Likewise.
26955         (finite_test_data): New variable.
26956         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26957         (isfinite_test_data): New variable.
26958         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26959         (isinf_test_data): New variable.
26960         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26961         (isnan_test_data): New variable.
26962         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26963         (isnormal_test_data): New variable.
26964         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26965         (issignaling_test_data): New variable.
26966         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26967         (signbit_test_data): New variable.
26968         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26969
26970         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26971         with INVALID_EXCEPTION.
26972         (acosh_test_data): Likewise.
26973         (asin_test_data): Likewise.
26974         (atanh_test_data): Likewise.
26975         (fmod_test_data): Likewise.
26976         (log_test_data): Likewise.
26977         (log10_test_data): Likewise.
26978         (log2_test_data): Likewise.
26979         (pow_test_data): Likewise.
26980         (sqrt_test_data): Likewise.
26981         (y0_test_data): Likewise.
26982         (y1_test_data): Likewise.
26983         (yn_test_data): Likewise.
26984
26985         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26986         function contents.
26987
26988         * math/libm-test.inc (struct test_ff_i_data): New type.
26989         (RUN_TEST_LOOP_ff_i_tg): New macro.
26990         (isgreater_test_data): New variable.
26991         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26992         (isgreaterequal_test_data): New variable.
26993         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26994         (isless_test_data): New variable.
26995         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26996         (islessequal_test_data): New variable.
26997         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26998         (islessgreater_test_data): New variable.
26999         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27000         (isunordered_test_data): New variable.
27001         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27002
27003 2013-05-14  David S. Miller  <davem@davemloft.net>
27004
27005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27006
27007 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27008
27009         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27010
27011         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27012         extra_test to int.
27013         (struct test_f_i_data): Change type of max_ulp to int.
27014
27015         * math/libm-test.inc (test_ffI_f1_data): New type.
27016         (RUN_TEST_LOOP_ffI_f1): New macro.
27017         (remquo_test_data): New variable.
27018         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27019
27020         * setjmp/tst-setjmp-fp.c: New file.
27021         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27022         (link-libm): New variable.
27023         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27024
27025         * math/libm-test.inc (struct test_f_i_data): New type.
27026         (RUN_TEST_LOOP_f_i): New macro.
27027         (RUN_TEST_LOOP_f_i_tg): Likewise.
27028         (fpclassify_test_data): New variable.
27029         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27030         (ilogb_test_data): New variable.
27031         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27032
27033         * math/libm-test.inc (scalbln_test): Correct function name in END
27034         call.
27035
27036         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27037         (RUN_TEST_LOOP_fI_f1): New macro.
27038         (frexp_test_data): New variable.
27039         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27040
27041         * math/libm-test.inc (struct test_fF_f1_data): New type.
27042         (RUN_TEST_LOOP_fF_f1): New macro.
27043         (modf_test_data): New variable.
27044         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27045
27046         * math/libm-test.inc (struct test_f_f1_data): New type.
27047         (RUN_TEST_LOOP_f_f1): New macro.
27048         (gamma_test_data): New variable.
27049         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27050         (lgamma_test_data): New variable.
27051         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27052
27053 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27054
27055         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27056         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27057         (main): Comment "tls" pseudo-hwcap.
27058
27059 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27060
27061         * math/libm-test.inc (struct test_fl_f_data): New type.
27062         (RUN_TEST_LOOP_fl_f): New variable.
27063         (scalbln_test_data): New variable.
27064         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27065
27066         * math/libm-test.inc (struct test_fi_f_data): New type.
27067         (RUN_TEST_LOOP_fi_f): New macro.
27068         (ldexp_test_data): New variable.
27069         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27070         (scalbn_test_data): New variable.
27071         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27072
27073         * math/libm-test.inc (struct test_c_f_data): New type.
27074         (RUN_TEST_LOOP_c_f): New macro.
27075         (cabs_test_data): New variable.
27076         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27077         (carg_test_data): New variable.
27078         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27079         (cimag_test_data): New variable.
27080         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27081         (creal_test_data): New variable.
27082         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27083
27084         * math/libm-test.inc (struct test_if_f_data): New type.
27085         (RUN_TEST_LOOP_if_f): New macro.
27086         (jn_test_data): New variable.
27087         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27088         (yn_test_data): New variable.
27089         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27090
27091         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27092
27093 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27094
27095         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27096         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27097
27098 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27099
27100         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27101         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27102         (bench-deps): Add bench-timing.h.
27103         * benchtests-bench-skeleton.c: Include bench-timing.h.
27104         (main): Use TIMING_* macros instead of clock_gettime.
27105         * benchtests/bench-timing.h: New file.
27106
27107         [BZ #14582]
27108         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27109         Renamed from _LIB_VERSION.
27110         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27111
27112 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27113
27114         * math/libm-test.inc (struct test_fff_f_data): New type.
27115         (RUN_TEST_LOOP_fff_f): New macro.
27116         (fma_test_data): New variable.
27117         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27118         (fma_towardzero_test_data): New variable.
27119         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27120         (fma_downward_test_data): New variable.
27121         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27122         (fma_upward_test_data): New variable.
27123         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27124
27125         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27126         (struct test_c_c_data): New type.
27127         (RUN_TEST_LOOP_c_c): New macro.
27128         (cacos_test_data): New variable.
27129         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27130         (cacosh_test_data): New variable.
27131         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27132         (casin_test_data): New variable.
27133         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27134         (casinh_test_data): New variable.
27135         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27136         (catan_test_data): New variable.
27137         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27138         (catanh_test_data): New variable.
27139         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27140         (ccos_test_data): New variable.
27141         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27142         (ccosh_test_data): New variable.
27143         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27144         (cexp_test_data): New variable.
27145         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27146         (clog_test_data): New variable.
27147         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27148         (clog10_test_data): New variable.
27149         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27150         (conj_test_data): New variable.
27151         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27152         (cproj_test_data): New variable.
27153         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27154         (csin_test_data): New variable.
27155         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27156         (csinh_test_data): New variable.
27157         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27158         (csqrt_test_data): New variable.
27159         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27160         (ctan_test_data): New variable.
27161         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27162         (ctan_tonearest_test_data): New variable.
27163         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27164         (ctan_towardzero_test_data): New variable.
27165         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27166         (ctan_downward_test_data): New variable.
27167         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27168         (ctan_upward_test_data): New variable.
27169         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27170         (ctanh_test_data): New variable.
27171         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27172         (ctanh_tonearest_test_data): New variable.
27173         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27174         (ctanh_towardzero_test_data): New variable.
27175         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27176         (ctanh_downward_test_data): New variable.
27177         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27178         (ctanh_upward_test_data): New variable.
27179         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27180         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27181         of BUILD_COMPLEX.
27182
27183         * math/libm-test.inc (struct test_ff_f_data): New type.
27184         (struct test_ff_f_data_nexttoward): Likewise.
27185         (RUN_TEST_LOOP_2_f): New macro.
27186         (RUN_TEST_LOOP_ff_f): Likewise.
27187         (atan2_test_data): New variable.
27188         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27189         (copysign_test_data): New variable.
27190         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27191         (fdim_test_data): New variable.
27192         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27193         (fmax_test_data): New variable.
27194         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27195         (fmin_test_data): New variable.
27196         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27197         (fmod_test_data): New variable.
27198         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27199         (hypot_test_data): New variable.
27200         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27201         (nextafter_test_data): New variable.
27202         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27203         (nexttoward_test_data): New variable.
27204         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27205         (pow_test_data): New variable.
27206         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27207         (pow_tonearest_test_data): New variable.
27208         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27209         (pow_towardzero_test_data): New variable.
27210         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27211         (pow_downward_test_data): New variable.
27212         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27213         (pow_upward_test_data): New variable.
27214         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27215         (remainder_test_data): New variable.
27216         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27217         (scalb_test_data): New variable.
27218         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27219         * sysdeps/i386/fpu/libm-test-ulps: Update.
27220
27221 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27222
27223         * math/libm-test.inc (fma_test): Use max_value instead of local
27224         variable fltmax.
27225         (nextafter_test): Likewise.
27226
27227         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27228         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27229         (acos_downward_test_data): New variable.
27230         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27231         (acos_upward_test_data): New variable.
27232         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27233         (acosh_test_data): New variable.
27234         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27235         (asin_test_data): New variable.
27236         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27237         (asin_tonearest_test_data): New variable.
27238         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27239         (asin_towardzero_test_data): New variable.
27240         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27241         (asin_downward_test_data): New variable.
27242         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27243         (asin_upward_test_data): New variable.
27244         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27245         (asinh_test_data): New variable.
27246         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27247         (atan_test_data): New variable.
27248         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27249         (atanh_test_data): New variable.
27250         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27251         (cbrt_test_data): New variable.
27252         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27253         (ceil_test_data): New variable.
27254         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27255         (cos_test_data): New variable.
27256         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27257         (cos_tonearest_test_data): New variable.
27258         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27259         (cos_towardzero_test_data): New variable.
27260         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27261         (cos_downward_test_data): New variable.
27262         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27263         (cos_upward_test_data): New variable.
27264         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27265         (cosh_test_data): New variable.
27266         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27267         (cosh_tonearest_test_data): New variable.
27268         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27269         (cosh_towardzero_test_data): New variable.
27270         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27271         (cosh_downward_test_data): New variable.
27272         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27273         (cosh_upward_test_data): New variable.
27274         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27275         (erf_test_data): New variable.
27276         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27277         (erfc_test_data): New variable.
27278         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27279         (exp_test_data): New variable.
27280         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27281         (exp_tonearest_test_data): New variable.
27282         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27283         (exp_towardzero_test_data): New variable.
27284         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27285         (exp_downward_test_data): New variable.
27286         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27287         (exp_upward_test_data): New variable.
27288         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27289         (exp10_test_data): New variable.
27290         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27291         (exp2_test_data): New variable.
27292         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27293         (expm1_test_data): New variable.
27294         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27295         (fabs_test_data): New variable.
27296         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27297         (floor_test_data): New variable.
27298         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27299         (j0_test_data): New variable.
27300         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27301         (j1_test_data): New variable.
27302         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27303         (log_test_data): New variable.
27304         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27305         (log10_test_data): New variable.
27306         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27307         (log1p_test_data): New variable.
27308         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27309         (log2_test_data): New variable.
27310         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27311         (logb_test_data): New variable.
27312         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27313         (logb_downward_test_data): New variable.
27314         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27315         (nearbyint_test_data): New variable.
27316         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27317         (rint_test_data): New variable.
27318         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27319         (rint_tonearest_test_data): New variable.
27320         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27321         (rint_towardzero_test_data): New variable.
27322         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27323         (rint_downward_test_data): New variable.
27324         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27325         (rint_upward_test_data): New variable.
27326         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27327         (round_test_data): New variable.
27328         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27329         (sin_test_data): New variable.
27330         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27331         (sin_tonearest_test_data): New variable.
27332         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27333         (sin_towardzero_test_data): New variable.
27334         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27335         (sin_downward_test_data): New variable.
27336         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27337         (sin_upward_test_data): New variable.
27338         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27339         (sinh_test_data): New variable.
27340         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27341         (sinh_tonearest_test_data): New variable.
27342         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27343         (sinh_towardzero_test_data): New variable.
27344         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27345         (sinh_downward_test_data): New variable.
27346         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27347         (sinh_upward_test_data): New variable.
27348         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27349         (sqrt_test_data): New variable.
27350         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27351         (tan_test_data): New variable.
27352         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27353         (tan_tonearest_test_data): New variable.
27354         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27355         (tan_towardzero_test_data): New variable.
27356         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27357         (tan_downward_test_data): New variable.
27358         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27359         (tan_upward_test_data): New variable.
27360         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27361         (tanh_test_data): New variable.
27362         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27363         (tgamma_test_data): New variable.
27364         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27365         (trunc_test_data): New variable.
27366         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27367         (y0_test_data): New variable.
27368         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27369         (y1_test_data): New variable.
27370         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27371         (significand_test_data): New variable.
27372         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27373
27374 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27375
27376         [BZ #12387]
27377         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27378
27379 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27380
27381         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27382
27383 2013-05-10  Andreas Jaeger  <aj@suse.de>
27384
27385         [BZ #15448]
27386         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27387         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27388
27389 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27390
27391         * math/gen-libm-test.pl (adjust_arg): New function.
27392         (special_functions): Handle generating output in both functions
27393         and arrays.
27394         (parse_args): Likewise.
27395         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27396         $in_func argument to parse_args.
27397         * math/libm-test.inc (struct test_f_f_data): New type.
27398         (IF_ROUND_INIT_): New macro.
27399         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27400         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27401         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27402         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27403         (ROUND_RESTORE_): Likewise.
27404         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27405         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27406         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27407         (ROUND_RESTORE_FE_UPWARD): Likewise.
27408         (RUN_TEST_LOOP_f_f): New macro.
27409         (acos_test_data): New variable.
27410         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27411         (acos_tonearest_test_data): New variable.
27412         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27413
27414 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27415
27416         * benchtests/bench-skeleton.c (startup): Fix coding style.
27417
27418 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27419
27420         [BZ #6809]
27421         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27422         negative infinity argument.
27423         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27424         negative infinity argument.
27425         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27426         negative infinity argument.
27427         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27428         domain errors.
27429
27430 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27431
27432         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27433         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27434         * iconv/iconv_prog.c (main): Likewise.
27435         * locale/programs/charmap-dir.c (charmap_readdir)
27436         (fopen_uncompressed): Likewise.
27437         * locale/programs/locfile.c (siblings_uncached)
27438         (write_locale_data): Use lstat64 instead of lstat.
27439         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27440         stat.
27441
27442 2013-05-10  Andreas Jaeger  <aj@suse.de>
27443
27444         [BZ #15395]
27445         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27446         localization.
27447         Include <locale.h>.
27448
27449 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27450
27451         * elf/dl-close.c (_dl_close_worker): Add comments.
27452
27453 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27454
27455         [BZ #15359]
27456         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27457         high part of pi/2.
27458         (__ieee754_rem_pio2l): Update comments.
27459
27460         [BZ #15429]
27461         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27462         high part of pi/2.
27463         (__ieee754_rem_pio2l): Update comments.
27464
27465         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27466         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27467
27468         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27469         M_PI_4l.
27470
27471         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27472         (M_PI_34_LOG10El): Likewise.
27473         (M_PI2_LOG10El): Likewise.
27474         (M_PI4_LOG10El): Likewise.
27475         (M_PI_LOG10El): Likewise.
27476
27477 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27478
27479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27480
27481 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27482
27483         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27484         (MINUS_ZERO_INIT): Likewise.
27485         (PLUS_INFTY_INIT): Likewise.
27486         (MINUS_INFTY_INIT): Likewise.
27487         (QNAN_VALUE_INIT): Likewise.
27488         (MAX_VALUE_INIT): Likewise.
27489         (MIN_VALUE_INIT): Likewise.
27490         (MIN_SUBNORM_VALUE_INIT): Likewise.
27491         (plus_zero): Initialize with PLUS_ZERO_INIT.
27492         (minus_zero): Initialize with MINUS_ZERO_INIT.
27493         (plus_infty): Initialize with PLUS_INFTY_INIT.
27494         (minus_infty): Initialize with MINUS_INFTY_INIT.
27495         (qnan_value): Initialize with QNAN_VALUE_INIT.
27496         (max_value): Initialize with MAX_VALUE_INIT.
27497         (min_value): Initialize with MIN_VALUE_INIT.
27498         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27499
27500         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27501         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27502         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27503         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27504
27505         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27506         (RUN_TEST_2_f): Likewise.
27507         (RUN_TEST_ff_f): Likewise.
27508         (RUN_TEST_fi_f): Likewise.
27509         (RUN_TEST_fl_f): Likewise.
27510         (RUN_TEST_fff_f): Likewise.
27511         (RUN_TEST_c_f): Likewise.
27512         (RUN_TEST_f_f1): Likewise.
27513         (RUN_TEST_fF_f1): Likewise.
27514         (RUN_TEST_fI_f1): Likewise.
27515         (RUN_TEST_ffI_f1): Likewise.
27516         (RUN_TEST_c_c): Likewise.
27517         (RUN_TEST_cc_c): Likewise.
27518         (RUN_TEST_f_i): Likewise.
27519         (RUN_TEST_f_i_tg): Likewise.
27520         (RUN_TEST_ff_i_tg): Likewise.
27521         (RUN_TEST_f_b): Likewise.
27522         (RUN_TEST_f_b_tg): Likewise.
27523         (RUN_TEST_f_l): Likewise.
27524         (RUN_TEST_f_L): Likewise.
27525         (RUN_TEST_sincos): Likewise.
27526         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27527         whether to show exceptions.  Do not include ");\n" in return
27528         value.
27529         (special_functions): Output call to RUN_TEST_sincos instead of
27530         check_float calls.  Update calls to new_test.
27531         (parse_args): Output call to single RUN_TEST_* macro instead of
27532         check_* calls and other assignments.  Update calls to new_test.
27533
27534         [BZ #2546]
27535         [BZ #2560]
27536         [BZ #5159]
27537         [BZ #15426]
27538         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27539         input to result for tgamma overflow.
27540         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27541         (gamma_coeff): New variable.
27542         (NCOEFF): New macro.
27543         (gamma_positive): New function.
27544         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27545         underflow here.  Use gamma_positive instead of exp (lgamma) for
27546         other arguments.
27547         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27548         (gamma_coeff): New variable.
27549         (NCOEFF): New macro.
27550         (gammaf_positive): New function.
27551         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27552         underflow here.  Use gamma_positive instead of exp (lgamma) for
27553         other arguments.
27554         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27555         (gamma_coeff): New variable.
27556         (NCOEFF): New macro.
27557         (gammal_positive): New function.
27558         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27559         underflow here.  Use gamma_positive instead of exp (lgamma) for
27560         other arguments.
27561         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27562         (gamma_coeff): New variable.
27563         (NCOEFF): New macro.
27564         (gammal_positive): New function.
27565         (__ieee754_gammal_r): Handle positive infinity, overflow and
27566         underflow here.  Handle NaN the same as positive infinity.  Remove
27567         check x < 0xffffffff for negative integers.  Use gamma_positive
27568         instead of exp (lgamma) for other arguments.
27569         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27570         (gamma_coeff): New variable.
27571         (NCOEFF): New macro.
27572         (gammal_positive): New function.
27573         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27574         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27575         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27576         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27577         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27578         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27579         * sysdeps/generic/math_private.h (__gamma_productf): New
27580         prototype.
27581         (__gamma_product): Likewise.
27582         (__gamma_productl): Likewise.
27583         * math/Makefile (libm-calls): Add gamma_product.
27584         * math/libm-test.inc (tgamma_test): Add more tests.
27585         * sysdeps/i386/fpu/libm-test-ulps: Update.
27586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27587
27588 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27589
27590         * benchtests/bench-skeleton.c (main): Preheat CPU.
27591
27592 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27593
27594         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27595
27596 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27597
27598         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27599         and _dl_skip_args_internal.
27600
27601 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27602
27603         * manual/message.texi (Message Translation): Talk about users.
27604         Message to key mapping impacts design.
27605
27606 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27607
27608         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27609
27610         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27611
27612         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27613         * sysdeps/wordsize-64/glob64.c: ... here.
27614
27615         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27616         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27617         New macros.
27618
27619         * debug/getlogin_r_chk.c: Moved to ...
27620         * login/getlogin_r_chk.c: ... here.
27621         * debug/Makefile (routines): Move getlogin_r_chk to ...
27622         * login/Makefile (routines): ... here.
27623         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27624         * login/Versions (libc: GLIBC_2.4): ... here.
27625
27626         * io/poll.c (__poll): Renamed from poll.
27627         Add libc_hidden_def.
27628         (poll): Define as weak alias.
27629
27630         * debug/ptsname_r_chk.c: Moved to ...
27631         * login/ptsname_r_chk.c: ... here.
27632         * debug/Makefile (routines): Move ptsname_r_chk to ...
27633         * login/Makefile (routines): ... here.
27634         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27635         * login/Versions (libc: GLIBC_2.4): ... here.
27636
27637         * posix/getlogin.c: Moved to ...
27638         * login/getlogin.c: ... here.
27639         * posix/getlogin_r.c: Moved to ...
27640         * login/getlogin_r.c: ... here.
27641         * posix/getlogin_r.c: Moved to ...
27642         * login/getlogin_r.c: ... here.
27643         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27644         * login/Makefile (routines): ... here.
27645         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27646         * login/Versions (libc: GLIBC_2.0): ... here.
27647
27648         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27649         (setrlimit): Define as weak alias.
27650
27651         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27652         Call __ names for open, ftruncate, and close.
27653         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27654         (truncate): Define as weak alias.
27655
27656 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27657
27658         * math/gen-libm-test.pl (parse_args): Initialize x before each
27659         test of frexp, modf and remquo.
27660
27661         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27662         test signgam value.
27663
27664 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27665
27666         [BZ #15418]
27667         [BZ #15419]
27668         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27669         internal tests.
27670         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27671
27672 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27673
27674         * elf/dl-writev.h: New file.
27675         * elf/dl-misc.c: Include it.
27676         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27677         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27678
27679 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27680
27681         * math/libm-test.inc (noXFails): Remove variable.
27682         (noXPasses): Likewise.
27683         (BUILD_COMPLEX_INT): Remove macro.
27684         (print_screen): Remove xfail argument.
27685         (print_screen_max_error): Likewise.
27686         (update_stats): Likewise.
27687         (print_max_error): Likewise.  Update calls to other affected
27688         functions.
27689         (print_complex_max_error): Likewise.
27690         (test_single_exception): Update calls to print_screen.
27691         (test_single_errno): Likewise.
27692         (check_float_internal): Remove xfail argument.  Update calls to
27693         other affected functions.
27694         (check_float): Likewise.
27695         (check_complex): Likewise.
27696         (check_int): Likewise.
27697         (check_long): Likewise.
27698         (check_bool): Likewise.
27699         (check_longlong): Likewise.
27700         (main): Don't print noXFails and noXPasses.
27701         * math/gen-libm-test.pl (top level): Don't mention expected
27702         failure handling in comment.
27703         (new_test): Don't handle expected failures.
27704         (parse_args): Don't mention expected failure handling in comment.
27705         (generate_testfile): Don't handle expected failures.
27706         (parse_ulps): Likewise.
27707         (print_ulps_file): Likewise.
27708         (get_failure): Remove function.
27709         (output_test): Don't handle expected failures.
27710         * make/README.libm-test: Don't mention expected failure handling.
27711
27712         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27713         (minus_zero): Likewise.
27714         (plus_infty): Likewise.
27715         (minus_infty): Likewise.
27716         (qnan_value): Likewise.
27717         (max_value): Likewise.
27718         (min_value): Likewise.
27719         (min_subnorm_value): Likewise.
27720         (initialize): Do not initialize those variables dynamically.
27721
27722 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27723
27724         * io/open.c (__open_2): Moved to ...
27725         * io/open_2.c: ... this new file.
27726         * io/open64.c (__open64_2): Moved to ...
27727         * io/open64_2.c: ... this new file.
27728         * io/openat.c (__openat_2): Moved to ...
27729         * io/openat_2.c: ... this new file.
27730         * io/openat64.c (__openat64_2): Moved to ...
27731         * io/openat64_2.c: ... this new file.
27732         * io/Makefile (routines): Add them.
27733         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27734         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27735         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27736         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27737         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27738         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27739         (__openat64): Add hidden_ver.
27740         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27741         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27742
27743         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27744         Separately conditionalize setting of GLRO(dl_sysinfo) so
27745         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27746         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27747
27748 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27749
27750         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27751         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27752         definition.
27753         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27754         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27755         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27756         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27757         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27758
27759 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27760
27761         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27762         test signgam value.
27763
27764         * math/libm-test.inc (hypot_test): Do not use
27765         IGNORE_ZERO_INF_SIGN.
27766
27767 2013-05-03  Andreas Jaeger  <aj@suse.de>
27768
27769         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27770         Linux 3.9.
27771         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27772         (PF_MAX): Adjust for VSOCK change.
27773
27774 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27775
27776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27777
27778 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27779
27780         [BZ #15264]
27781         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27782         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27783         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27784
27785 2013-05-02  David S. Miller  <davem@davemloft.net>
27786
27787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27788
27789 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27790
27791         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27792
27793 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27794
27795         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27796
27797 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27798
27799         [BZ #14952]
27800         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27801         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27802         Use __attribute__ ((__gnu_inline__)).
27803         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27804         Don't use __attribute__ ((__gnu_inline__)).
27805
27806 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27807
27808         [BZ #15423]
27809         * math/s_catan.c (__catan): Handle small real or imaginary part of
27810         input specially to avoid spurious underflow.
27811         * math/s_catanf.c (__catanf): Likewise.
27812         * math/s_catanh.c (__catanh): Likewise.
27813         * math/s_catanhf.c (__catanhf): Likewise.
27814         * math/s_catanhl.c (__catanhl): Likewise.
27815         * math/s_catanl.c (__catanl): Likewise.
27816         * math/libm-test.inc (catan_test): Add more tests.
27817         (catanh_test): Likewise.
27818         * sysdeps/i386/fpu/libm-test-ulps: Update.
27819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27820
27821 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822
27823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27824
27825 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27826
27827         [BZ #15416]
27828         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27829         accurately for denominator in atan2.
27830         * math/s_catanf.c (__catanf): Likewise.
27831         * math/s_catanh.c (__catanh): Likewise.
27832         * math/s_catanhf.c (__catanhf): Likewise.
27833         * math/s_catanhl.c (__catanhl): Likewise.
27834         * math/s_catanl.c (__catanl): Likewise.
27835         * math/libm-test.inc (catan_test): Add more tests.
27836         (catanh_test): Likewise.
27837         * sysdeps/i386/fpu/libm-test-ulps: Update.
27838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27839
27840 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27841
27842         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27843
27844         * benchtests/Makefile (bench): Remove slow benchmarks.
27845         * benchtests/atan-inputs: Add slow benchmark inputs.
27846         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27847         (BENCH_FUNC): Accept variant offset.
27848         (VARIANT): Define.
27849         * benchtests/bench-skeleton.c (main): Run benchmark for each
27850         variant.
27851         * benchtests/cos-inputs: Add slow benchmark inputs.
27852         * benchtests/exp-inputs: Likewise.
27853         * benchtests/pow-inputs: Likewise.
27854         * benchtests/sin-inputs: Likewise.
27855         * benchtests/slowatan-inputs: Remove.
27856         * benchtests/slowatan.c: Remove.
27857         * benchtests/slowcos-inputs: Remove.
27858         * benchtests/slowcos.c: Remove.
27859         * benchtests/slowexp-inputs: Remove.
27860         * benchtests/slowexp.c: Remove.
27861         * benchtests/slowpow-inputs: Remove.
27862         * benchtests/slowpow.c: Remove.
27863         * benchtests/slowsin-inputs: Remove.
27864         * benchtests/slowsin.c: Remove.
27865         * benchtests/slowtan-inputs: Remove.
27866         * benchtests/slowtan.c: Remove.
27867         * benchtests/tan-inputs: Add slow benchmark inputs.
27868         * scripts/bench.pl: Parse comments and directives.
27869
27870         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27871         in CPPFLAGS.
27872         ($(objpfx)bench-%.c): Remove *-ITER.
27873         * benchtests/bench-modf.c: Remove definition of ITER.
27874         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27875         (main): Loop for DURATION seconds instead of fixed number of
27876         iterations.
27877         * scripts/bench.pl: Don't expect iterations in parameters.
27878
27879 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27880
27881         * io/fchdir.c (__fchdir): Renamed from fchdir.
27882         (fchdir): Define as weak alias.
27883
27884 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27885
27886         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27887         (ERRNO_EDOM): Likewise.
27888         (ERRNO_ERANGE): Likewise.
27889         (noErrnoTests): New variable.
27890         (init_max_error): Set errno to 0.
27891         (test_single_errno): New function.
27892         (test_errno): Likewise.
27893         (check_float_internal): Call test_errno.  Set errno to 0.
27894         (check_complex): Refer to errno tests in comment.
27895         (check_int): Call test_errno.  Set errno to 0.
27896         (check_long): Likewise.
27897         (check_bool): Likewise.
27898         (check_longlong): Likewise.
27899         (cos_test): Use ERRNO_* flags for errno tests instead of
27900         check_int.
27901         (expm1_test): Likewise.
27902         (fmod_test): Likewise.
27903         (ilogb_test): Likewise.
27904         (lgamma_test): Likewise.
27905         (pow_test): Likewise.
27906         (remainder_test): Likewise.
27907         (sin_test): Likewise.
27908         (tan_test): Likewise.
27909         (yn_test): Likewise.
27910         (initialize): Set errno to 0.
27911         (main): Print number of errno tests.
27912         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27913
27914 2013-04-29  Andreas Jaeger  <aj@suse.de>
27915
27916         [BZ #15084]
27917         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27918         and RES_USEVC.
27919
27920         [BZ #15085]
27921         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27922         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27923         unimplemented.
27924
27925         [BZ #15380]
27926         * stdlib/random.c (__initstate): Return NULL if
27927         __initstate fails.
27928
27929         [BZ #15086]
27930         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27931         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27932         RES_SNGLKUPREOP.
27933
27934 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27935
27936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27937
27938 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27939
27940         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27941         of individual tests.
27942         (casin_test): Likewise.
27943         (casinh_test): Likewise.
27944
27945 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27946
27947         [BZ #15409]
27948         * math/s_catan.c (__catan): Handle arguments with large real or
27949         imaginary part separately without squaring.
27950         * math/s_catanf.c (__catanf): Likewise.
27951         * math/s_catanh.c (__catanh): Likewise.
27952         * math/s_catanhf.c (__catanhf): Likewise.
27953         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27954         and redefine.
27955         (__catanhl): Handle arguments with large real or imaginary part
27956         separately without squaring.
27957         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27958         and redefine.
27959         (__catanl): Handle arguments with large real or imaginary part
27960         separately without squaring.
27961         * math/libm-test.inc (catan_test): Add more tests.
27962         (catanh_test): Likewise.
27963         * sysdeps/i386/fpu/libm-test-ulps: Update.
27964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965
27966 2013-04-27  Andreas Jaeger  <aj@suse.de>
27967
27968         [BZ #15007]
27969         * stdlib/stdlib.h: Update guards for qecvt.
27970         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27971         <stdlib.h>.
27972
27973 2013-04-27  Allan McRae  <allan@archlinux.org>
27974
27975         * sysdeps/i386/fpu/libm-test-ulps: Update.
27976
27977 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27978
27979         [BZ #15406]
27980         * math/s_catan.c: Include <float.h>.
27981         (__catan): Ensure underflow exception occurs for underflowed
27982         result.
27983         * math/s_catanf.c: Include <float.h>.
27984         (__catanf): Ensure underflow exception occurs for underflowed
27985         result.
27986         * math/s_catanh.c: Include <float.h>.
27987         (__catanh): Ensure underflow exception occurs for underflowed
27988         result.
27989         * math/s_catanhf.c: Include <float.h>.
27990         (__catanhf): Ensure underflow exception occurs for underflowed
27991         result.
27992         * math/s_catanhl.c: Include <float.h>.
27993         (__catanhl): Ensure underflow exception occurs for underflowed
27994         result.
27995         * math/s_catanl.c: Include <float.h>.
27996         (__catanl): Ensure underflow exception occurs for underflowed
27997         result.
27998         * math/libm-test.inc (catan_test): Add more tests.
27999         (catanh_test): Likewise.
28000
28001         [BZ #15405]
28002         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28003         underflowed result.
28004         * math/s_ccoshf.c (__ccoshf): Likewise.
28005         * math/s_ccoshl.c (__ccoshl): Likewise.
28006         * math/s_csin.c (__csin): Likewise.
28007         * math/s_csinf.c (__csinf): Likewise.
28008         * math/s_csinh.c (__csinh): Likewise.
28009         * math/s_csinhf.c (__csinhf): Likewise.
28010         * math/s_csinhl.c (__csinhl): Likewise.
28011         * math/s_csinl.c (__csinl): Likewise.
28012         * math/libm-test.inc (ccos_test): Add more tests.
28013         (ccosh_test): Likewise.
28014         (csin_test): Likewise.
28015         (csinh_test): Likewise.
28016
28017 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28018
28019         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28020         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28021         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28022         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28023         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28024         powerpc/power5+/fpu folders.
28025         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28026
28027
28028 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28029
28030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28031
28032 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28033
28034         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28035         additions to variable.
28036         [$(config-machine) = x86_64] (modules-names): Likewise.
28037         ($(objpfx)tst-audit3): Remove dependency.
28038         ($(objpfx)tst-audit3.out): Likewise.
28039         ($(objpfx)tst-audit4): Likewise.
28040         ($(objpfx)tst-audit4.out): Likewise.
28041         ($(objpfx)tst-audit5): Likewise.
28042         ($(objpfx)tst-audit5.out): Likewise.
28043         ($(objpfx)tst-audit6): Likewise.
28044         ($(objpfx)tst-audit6.out): Likewise.
28045         ($(objpfx)tst-audit7): Likewise.
28046         ($(objpfx)tst-audit7.out): Likewise.
28047         (tst-audit3-ENV): Remove variable.
28048         (tst-audit4-ENV): Likewise.
28049         (tst-audit5-ENV): Likewise.
28050         (tst-audit6-ENV): Likewise.
28051         (tst-audit7-ENV): Likewise.
28052         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28053         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28054         addition to variable.
28055         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28056         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28057         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28058         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28059         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28060         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28061         tst-audit3, tst-audit4 and tst-audit5.
28062         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28063         tst-audit6 and tst-audit7.
28064         [$(subdir) = elf] (modules-names): Add audit modules for those
28065         tests.
28066         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28067         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28068         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28069         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28070         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28071         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28072         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28073         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28074         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28075         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28076         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28077         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28078         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28079         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28080         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28081         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28082         Likewise.
28083         [$(subdir) = elf && $(config-cflags-avx) = yes]
28084         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28085         [$(subdir) = elf && $(config-cflags-avx) = yes]
28086         (CFLAGS-tst-auditmod4a.c): Likewise.
28087         [$(subdir) = elf && $(config-cflags-avx) = yes]
28088         (CFLAGS-tst-auditmod4b.c): Likewise.
28089         [$(subdir) = elf && $(config-cflags-avx) = yes]
28090         (CFLAGS-tst-auditmod6b.c): Likewise.
28091         [$(subdir) = elf && $(config-cflags-avx) = yes]
28092         (CFLAGS-tst-auditmod6c.c): Likewise.
28093         [$(subdir) = elf && $(config-cflags-avx) = yes]
28094         (CFLAGS-tst-auditmod7b.c): Likewise.
28095         * elf/tst-audit3.c: Move to ...
28096         * sysdeps/x86_64/tst-audit3.c: ... here.
28097         * elf/tst-audit4.c: Move to ...
28098         * sysdeps/x86_64/tst-audit4.c: ... here.
28099         * elf/tst-audit5.c: Move to ...
28100         * sysdeps/x86_64/tst-audit5.c: ... here.
28101         * elf/tst-audit6.c: Move to ...
28102         * sysdeps/x86_64/tst-audit6.c: ... here.
28103         * elf/tst-audit7.c: Move to ...
28104         * sysdeps/x86_64/tst-audit7.c: ... here.
28105         * elf/tst-auditmod3a.c: Move to ...
28106         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28107         * elf/tst-auditmod3b.c: Move to ...
28108         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28109         * elf/tst-auditmod4a.c: Move to ...
28110         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28111         * elf/tst-auditmod4b.c: Move to ...
28112         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28113         * elf/tst-auditmod5a.c: Move to ...
28114         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28115         * elf/tst-auditmod5b.c: Move to ...
28116         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28117         * elf/tst-auditmod6a.c: Move to ...
28118         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28119         * elf/tst-auditmod6b.c: Move to ...
28120         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28121         * elf/tst-auditmod6c.c: Move to ...
28122         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28123         * elf/tst-auditmod7a.c: Move to ...
28124         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28125         * elf/tst-auditmod7b.c: Move to ...
28126         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28127
28128 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28129
28130         [BZ #15366]
28131         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28132         define unconditionally.
28133         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28134         define unconditionally.
28135         (INT8_C, INT16_C, etc.): Likewise.
28136
28137 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28138
28139         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28140         __ehdr_start with hidden visibility.
28141
28142         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28143
28144 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28145
28146         * math/libm-test.inc (cos_test): Use accurate hex constants.
28147         (sincost_test): Likewise.
28148
28149 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28150
28151         * math/libm-test.inc (catan_test): Add more tests.
28152         (catanh_test): Likewise.
28153
28154         * math/s_catanf.c (__catanf): Use suffixed floating-point
28155         constants.
28156         * math/s_catanhf.c (__catanhf): Likewise.
28157         * math/s_catanhl.c (__catanhl): Likewise.
28158         * math/s_catanl.c (__catanl): Likewise.
28159
28160         [BZ #15394]
28161         * math/s_catan.c (__catan): Calculate imaginary part of result
28162         with log1p not log unless computing log of number close to 0.
28163         * math/s_catanf.c (__catanf): Likewise.
28164         * math/s_catanl.c (__catanl): Likewise.
28165         * math/s_catanh.c (__catanh): Calculate real part of result with
28166         log1p not log unless computing log of number close to 0.
28167         * math/s_catanhf.c (__catanhf): Likewise.
28168         * math/s_catanhl.c (__catanhl): Likewise.
28169         * math/libm-test.inc (catan_test): Add more tests.
28170         (catanh_test): Likewise.
28171         * sysdeps/i386/fpu/libm-test-ulps: Update.
28172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28173
28174 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28175
28176         * benchtests/Makefile: Mention files in which fast and slow
28177         paths of math functions are implemented.
28178
28179 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28180
28181         * sysdeps/posix/timespec_get.c: New file.
28182
28183 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28184
28185         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28186         POWER.
28187         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28188         for POWER.
28189         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28190         powerpc/power5/fpu folders.
28191         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28192         * benchtests/Makefile: Add modf testcase.
28193         * benchtests/bench-modf.c: New file: Benchmark test for mo
28194
28195 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28196
28197         [BZ #14888]
28198         * time/Makefile (tests): Add tst-strptime-whitespace.
28199         * time/strptime_l.c (get_number): Use ISSPACE.
28200         (__strptime_internal): Likewise.
28201         * time/tst-strptime-whitespace.c: New test case.
28202
28203 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28204
28205         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28206         member.
28207         (_nss_files_init): Set it here.
28208
28209 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28210
28211         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28212         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28213         unsigned.
28214
28215 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28216
28217         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28218
28219 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220
28221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28222         size just once.
28223
28224 2013-04-21  David S. Miller  <davem@davemloft.net>
28225
28226         * po/ru.po: Update Russion translation from translation project.
28227
28228 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28229
28230         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28231         and setfsgid.
28232
28233 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28234
28235         * configure.in: Remove i386 configure warning. Remove i386 case.
28236         * configure: Regenerate.
28237         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28238         Add example to error message.
28239         * sysdeps/i386/configure: Regenerate.
28240
28241 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28242
28243         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28244         slowtan.
28245         * benchtests/cos-inputs: New file.
28246         * benchtests/slowcos-inputs: New file.
28247         * benchtests/slowcos.c: New file.
28248         * benchtests/slowtan-inputs: New file.
28249         * benchtests/slowtan.c: New file.
28250         * benchtests/tan-inputs: New file.
28251
28252 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28253
28254         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28255         considered kosher.
28256
28257 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28258
28259         * benchtests/Makefile: Include cppflags-iterator.mk to add
28260         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28261
28262         * Makefile.in (bench-clean): New target.
28263         * benchtests/Makefile (bench-clean): Likewise.
28264
28265 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28266
28267         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28268
28269 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28270
28271         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28272
28273 2013-04-15  Andreas Schwab  <schwab@suse.de>
28274
28275         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28276         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28277         * nscd/pwdcache.c (cache_addpw): Likewise.
28278         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28279         more than recsize.
28280
28281 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28282
28283         * benchtests/Makefile (bench): Write all output to
28284         bench-out.tmp together.
28285
28286 2013-04-15  Andreas Schwab  <schwab@suse.de>
28287
28288         * nscd/nscd.c (main): Don't fork again after closing files.
28289
28290 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28291
28292         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28293
28294         * benchtests/Rules (bench-deps): Collect dependencies into a
28295         single variable.  Add Makefile to dependencies.
28296         ($(objpfx)bench-%.c): Depend on bench-deps.
28297
28298 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28299             Xavier Roche  <roche+kml2@exalead.com>
28300
28301         [BZ #15361]
28302         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28303         just that it's a file descriptor.
28304         * manual/llio.texi (Synchronizing AIO Operations): Update description
28305         for EBADF error from aio_fsync.
28306
28307 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28308
28309         * Rules (bench): Move target definition...
28310         * benchtests/Makefile: ... here.
28311
28312 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28313
28314         * math/libm-test.inc (cos_test): Fix PI/2 test.
28315         (sincos_test): Likewise.
28316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28317         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28318
28319 2013-04-11  Andreas Schwab  <schwab@suse.de>
28320
28321         [BZ #13988]
28322         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28323         accept exponent character only when digits were seen.
28324         * stdio-common/Makefile (tests): Add bug26.
28325         * stdio-common/bug26.c: New file.
28326
28327         [BZ #14293]
28328         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28329         non-freeable.
28330
28331 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28332
28333         * Makeconfig (rtld-prefix): Define built linker prefix.
28334         * Rules (run-bench): Use it.
28335         * math/Makefile (run-regen-ulps): Likewise.
28336
28337         * Rules (bench): Remove eval.
28338
28339 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28340             Roland McGrath  <roland@hack.frob.com>
28341             Ondrej Bilka  <neleai@seznam.cz>
28342
28343         [BZ #15346]
28344         * time/getdate.c: Include ctype.h and alloca.h.
28345         (__getdate_r): Trim leading and trailing spaces of input.
28346         * time/tst-getdate.c (tests): Add tests with leading and
28347         trailing spaces.
28348
28349 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28350
28351         [BZ #14280]
28352         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28353         when computing value.
28354
28355 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28356
28357         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28358         Use testrun.sh to run libm tests.
28359
28360         [BZ #15309]
28361         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28362
28363 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28364
28365         [BZ #15264]
28366         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28367
28368 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28369
28370         * Makefile.in (regen-ulps): New target.
28371         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28372         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28373         [ifneq (no,$(PERL)] (regen-ulps): New target.
28374         [ifeq (no,$(PERL)] (regen-ulps): New target.
28375         * math/libm-test.inc (ulps_file_name): Define.
28376         (output_dir): New variable.
28377         (options): Add "output-dir" option.
28378         (parse_opt): Handle 'o' case.
28379         (main): If output_dir is non-NULL use it as a prefix
28380         otherwise use "".
28381         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28382
28383 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28384
28385         [BZ #10060, #10062]
28386         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28387         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28388         fail configure if __sync_val_compare_and_swap is not inlined.
28389         * sysdeps/i386/configure: Regenerate.
28390         * configure.in: Build for i686 when configured for i386.
28391         * configure: Regenerate.
28392         * README: Remove i386 reference.
28393
28394 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28395
28396         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28397         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28398
28399 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28400
28401         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28402         (lmsnanval): New variables.
28403         (F): Add conversion tests.
28404         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28405         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28406
28407         * stdio-common/tstdiomisc.c (F): Properly collect individual
28408         tests' results.
28409
28410         [BZ #14686, #15336]
28411         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28412         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28413         Instead, use input NaN values or generate a qNaN by arithmetic
28414         operation.  Also fix bugs to comply with the standard.
28415         * math/libm-test.inc (remainder_test): Add more tests.
28416
28417         [BZ #15335, #15342]
28418         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28420         input NaN values or generate a qNaN by arithmetic operation.
28421
28422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28423         unreachable code.
28424
28425         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28426         definitions.
28427
28428 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28429
28430         [BZ #14478]
28431         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28432         underflowed result.
28433         * math/s_cexpf.c (__cexpf): Likewise.
28434         * math/s_cexpl.c (__cexpl): Likewise.
28435         * math/libm-test.inc (cexp_test): Add more tests.
28436
28437 2013-04-03  Andreas Schwab  <schwab@suse.de>
28438
28439         [BZ #15330]
28440         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28441         order arrays from heap if bigger than alloca cutoff.
28442
28443 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28444
28445         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28446         (SNAN_TESTS_double): Refer to GCC PR56831.
28447         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28448         GCC PR56828.
28449
28450 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28451
28452         * Rules (bench): Move bench.out after the run is complete.
28453
28454         * Rules (bench): Echo currently running benchmark.
28455
28456         * benchtests/Makefile (bench): Add atan and slowatan.
28457         * benchtests/atan-inputs: New file.
28458         * benchtests/slowatan-inputs: New file.
28459         * benchtests/slowatan.c: New file.
28460
28461         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28462         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28463         its value.
28464
28465         [BZ #15305]
28466         * sysdeps/unix/sysv/linux/kernel-features.h
28467         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28468         __ASSUME_XFS_RESTRICTED_CHOWN.
28469         * sysdeps/unix/sysv/linux/pathconf.c
28470         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28471         Save and restore errno.
28472
28473 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28474
28475         [BZ #15327]
28476         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28477         arguments using __kernel_casinh.
28478         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28479         arguments using __kernel_casinhf.
28480         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28481         arguments using __kernel_casinhl.
28482         * math/libm-test.inc (cacosh_test): Add more tests.
28483         * sysdeps/i386/fpu/libm-test-ulps: Update.
28484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28485
28486 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28487
28488         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28490
28491         * bench/Makefile (bench): Add sin and slowsin.
28492         * benchtests/sin-inputs: New file.
28493         * benchtests/slowsin-inputs: New file.
28494         * benchtests/slowsin.c: New file.
28495
28496         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28497         (bench): Add slowexp and slowpow.
28498         (exp-ITER): Increase iterations.
28499         (pow-ITER): Likewise.
28500         * benchtests/exp-inputs: Change input.
28501         * benchtests/pow-inputs: Likewise.
28502         * benchtests/slowexp-inputs: New file.
28503         * benchtests/slowexp.c: New file.
28504         * benchtests/slowpow-inputs: New file.
28505         * benchtests/slowpow.c: New file.
28506
28507 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28508
28509         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28510         instructions.
28511         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28512         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28513         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28514         * benchtests/Makefile: Add rint benchtest.
28515         * benchtests/rint-inputs: Input for rint benchtest.
28516
28517 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28518
28519         * Versions.def (libm): Add GLIBC_2.18.
28520         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28521         hidden libm prototypes.
28522         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28523         * math/Makefile (libm-calls): Add s_issignaling.
28524         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28525         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28526         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28527         declaration.
28528         * math/math.h [__USE_GNU] (issignaling): New macro.
28529         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28530         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28531         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28532         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28535         * manual/arith.texi (issignaling): New section.
28536         * manual/libm-err-tab.pl (@all_functions): Update comment.
28537         * math/gen-libm-test.pl (parse_args): Apply special handling for
28538         issignaling.
28539         * math/libm-test.inc (print_float, issignaling_test): New
28540         functions.
28541         (check_float_internal): Add issignaling checks.
28542         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28543         default definition.
28544         * sysdeps/powerpc/math-tests.h: New file.
28545         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28546         tests.
28547         * math/test-snan.c (TEST_FUNC): Likewise.
28548
28549 2013-03-30  David S. Miller  <davem@davemloft.net>
28550
28551         * po/de.po: Update from translation team.
28552
28553 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28554
28555         [BZ #10357]
28556         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28557         imaginary part less than 1.0 and real part less than 0.5
28558         specially.
28559         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28560         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28561         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28562         (cacos_test): Add more tests.
28563         (casin_test): Likewise.
28564         (casinh_test): Likewise.
28565         * sysdeps/i386/fpu/libm-test-ulps: Update.
28566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567
28568 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28569
28570         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28571         ONE with its value.
28572
28573         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28574         (__pow_mp): Replace ONE and MONE with their values.
28575         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28576         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28577         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28578         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28579         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28580         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28581
28582         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28583
28584         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28585         (__pow_mp): Replace ZERO and MZERO with their values.
28586         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28588         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28590         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28591         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28592         (__sqr): Likewise.
28593
28594         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28595
28596         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28597
28598 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28599
28600         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28601         Declare with __attribute__ ((weak)).
28602         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28603         Call __call_tls_dtors only if it's not NULL.
28604
28605 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28606
28607         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28608         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28609         magic __ehdr_start linker symbol if it's defined.
28610         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28611         them up here if it was already done.
28612
28613         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28614         (_dl_aux_init): Use const in cast when setting it.
28615         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28616         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28617         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28618
28619         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28620         Declare them here.
28621         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28622         * csu/libc-tls.c: Nor here.
28623         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28624
28625         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28626         (__libc_message): Never call vsyslog.
28627
28628 2013-03-28  Alan Modra  <amodra@gmail.com>
28629
28630         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28631         Define as empty.
28632         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28633         Likewise.
28634
28635 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28636
28637         [BZ #15214]
28638         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28639         underflow.
28640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28641
28642 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28643
28644         [BZ #15304]
28645         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28646         Don't add gid passed as argument.
28647
28648         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28649
28650 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28651
28652         [BZ #15307]
28653         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28654         imaginary part between 1.0 and 1.5 and real part less than 0.5
28655         specially.
28656         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28657         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28658         * math/libm-test.inc (cacos_test): Add more tests.
28659         (casin_test): Likewise.
28660         (casinh_test): Likewise.
28661         * sysdeps/i386/fpu/libm-test-ulps: Update.
28662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28663
28664 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28665
28666         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28667         constants.
28668         (norm): Likewise.
28669         (denorm): Likewise.
28670         (__dbl_mp): Likewise.
28671         (add_magnitudes): Likewise.
28672         (sub_magnitudes): Likewise.
28673         (__add): Likewise.
28674         (__sub): Likewise.
28675         (__mul): Likewise.
28676         (__sqr): Likewise.
28677         (__inv): Likewise.
28678         (__dvd): Likewise.
28679
28680         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28681         commented code.
28682         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28683         (__dubcos): Likewise.
28684         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28685         (__ieee754_acos): Likewise.
28686         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28687         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28688         (__exp1): Likewise.
28689         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28691         (log1): Likewise.
28692         (my_log2): Likewise.
28693         (checkint): Likewise.
28694         * sysdeps/ieee754/dbl-64/e_remainder.c
28695         (__ieee754_remainder): Likewise.
28696         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28698         (bsloww): Likewise.
28699         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28700
28701         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28702         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28703         MANTISSA_STORE_T to store computations on mantissa.  Use
28704         macros for rounding and division.
28705         (denorm): Likewise.
28706         (__dbl_mp): Likewise.
28707         (add_magnitudes): Likewise.
28708         (sub_magnitudes): Likewise.
28709         (__mul): Likewise.
28710         (__sqr): Likewise.
28711         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28712         powers of two in terms of TWOPOW macro.
28713         (mp_no): Make type of mantissa as MANTISSA_T.
28714         [!RADIXI]: Define RADIXI.
28715         [!TWO52]: Define TWO52.
28716         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28717
28718 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28719
28720         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28721         llroundl symbol when building for PPC32.
28722
28723 2013-03-24  Mark H Weaver  <mhw@netris.org>
28724
28725         * manual/arith.texi (Normalization Functions): Fix prototypes for
28726         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28727
28728 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28729
28730         [BZ #13889]
28731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28732         high value to check if expl overflow.
28733         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28734         to check for underflow and overflow.
28735         * math/libm-test.inc: Add exp test.
28736
28737 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28738
28739         [BZ #11120]
28740         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28741         with NOT_IN_libc.
28742
28743 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28744
28745         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28746         symbol.
28747
28748 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28749
28750         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28751         wrap blocks consisting of several statements.
28752
28753         * sysdeps/generic/math-tests.h: New file.
28754         * sysdeps/i386/fpu/math-tests.h: Likewise.
28755         * math/test-snan.c: Include it.
28756         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28757
28758 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28759
28760         [BZ #15285]
28761         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28762         (__ieee754_j0l): Do not improve calculations using cos of twice
28763         input for inputs above LDBL_MAX / 2.0L.
28764         (__ieee754_y0l): Likewise.
28765         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28766         (__ieee754_j1l): Do not improve calculations using cos of twice
28767         input for inputs above LDBL_MAX / 2.0L.
28768         (__ieee754_y1l): Likewise.
28769         * math/libm-test.inc (j0_test): Add another test.
28770         (j1_test): Likewise.
28771         (y0_test): Likewise.
28772         (y1_test): Likewise.
28773         * sysdeps/i386/fpu/libm-test-ulps: Update.
28774
28775 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28776
28777         * Rules ($(objpfx)bench-%.c): Include code from a C source
28778         file.
28779
28780 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28781
28782         [BZ #15287]
28783         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28784         imaginary part 1.0 and real part less than 0.5 specially.
28785         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28786         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28787         * math/libm-test.inc (cacos_test): Add more tests.
28788         (casin_test): Likewise.
28789         (casinh_test): Likewise.
28790         * sysdeps/i386/fpu/libm-test-ulps: Update.
28791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28792
28793 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28794
28795         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28796         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28797
28798 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28799
28800         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28801         * config.make.in (config-cflags-sse4): Remove variable.
28802         (config-cflags-avx): Likewise.
28803         (config-cflags-sse2avx): Likewise.
28804         (config-cflags-novzeroupper): Likewise.
28805         (config-asflags-i686): Likewise.
28806         (have-mfma4): Likewise.
28807         (have-as-vis3): Likewise.
28808         (MIG): Likewise.
28809         * configure.in (MIG): Do not AC_SUBST.
28810         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28811         (libc_cv_cc_sse4): Do not AC_SUBST.
28812         (libc_cv_cc_avx): Likewise.
28813         (libc_cv_cc_sse2avx): Likewise.
28814         (libc_cv_cc_novzeroupper): Likewise.
28815         (libc_cv_cc_fma4): Likewise.
28816         (libc_cv_as_i686): Likewise.
28817         (libc_cv_sparc_as_vis3): Likewise.
28818         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28819         LIBC_CONFIG_VAR.
28820         (config-asflags-i686): Likewise.
28821         (config-cflags-avx): Likewise.
28822         (config-cflags-sse2avx): Likewise.
28823         (have-mfma4): Likewise.
28824         (config-cflags-novzeroupper): Likewise.
28825         * sysdeps/mach/configure.in (MIG): Likewise.
28826         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28827         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28828         LIBC_CONFIG_VAR.
28829         (config-cflags-avx): Likewise.
28830         (config-cflags-sse2avx): Likewise.
28831         (have-mfma4): Likewise.
28832         (config-cflags-novzeroupper): Likewise.
28833         * configure: Regenerated.
28834         * sysdeps/i386/configure: Likewise.
28835         * sysdeps/mach/configure: Likewise.
28836         * sysdeps/sparc/configure: Likewise.
28837         * sysdeps/x86_64/configure: Likewise.
28838
28839 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28840
28841         [BZ #14812]
28842         * locale/programs/localedef.c (options): Put N_ translation marker
28843         on argument names, not just descriptions.
28844
28845 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28846
28847         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28848
28849 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28850
28851         [BZ #14176]
28852         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28853
28854 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28855
28856         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28857         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28858         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28859         [!BEFORE_ABORT] (before_abort): New function.
28860         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28861         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28862         (writev_for_fatal): New function.
28863         (WRITEV_FOR_FATAL): New macro; call that.
28864         (backtrace_and_maps): New function.
28865         (BEFORE_ABORT): New macro; call that.
28866         (struct str_list): Type removed.
28867         (__libc_message, __libc_fatal): Functions removed.
28868         Include <sysdeps/posix/libc_fatal.c> instead.
28869
28870 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28871
28872         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28873         constants.
28874         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28875         double constants.
28876
28877 2013-03-19  Andreas Schwab  <schwab@suse.de>
28878
28879         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28880         * sysdeps/gnu/configure: Regenerate.
28881
28882         * configure.in: Substitute libc_cv_rtlddir.
28883         * configure: Regenerate.
28884         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28885         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28886         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28887         * elf/Makefile (install-others, CFLAGS-interp.c)
28888         (ldso_install, common-ldd-rewrite): Likewise.
28889         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28890         $(inst_slibdir)/$(rtld-installed-name).
28891         * scripts/rellns-sh: Add -p option.
28892         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28893         for source.
28894
28895 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28896
28897         * manual/nptl.texi: Renamed to ...
28898         * manual/threads.texi: ... this.
28899         * manual/Makefile (chapters): Update.
28900
28901 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28902
28903         [BZ #14812]
28904         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28905         on argument names, not just descriptions.
28906         * malloc/memusagestat.c (options): Likewise.
28907         * nss/getent.c (options): Likewise.
28908
28909 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28910
28911         [BZ #14812]
28912         * iconv/iconv_prog.c (options): Put N_ translation marker
28913         on argument names, not just descriptions.
28914         * iconv/iconvconfig.c (options): Likewise.
28915
28916 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28917
28918         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28919         implementation which is faster on all x86_64 architectures.
28920         Tested on AMD, Intel Nehalem, SNB, IVB.
28921         * sysdeps/x86_64/strnlen.S: Likewise.
28922
28923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28924         Remove all multiarch strlen and strnlen versions.
28925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28926         Remove strlen and strnlen related parts.
28927
28928         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28929         Inline strlen part.
28930         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28931
28932         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28933         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28934         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28935         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28936         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28937         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28938
28939 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28940
28941         * manual/memory.texi (Malloc Tunable Parameters):
28942         Sort parameters alphabetically. Add comments for missing entries.
28943
28944 2013-03-17  David S. Miller  <davem@davemloft.net>
28945
28946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28947
28948 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28949
28950         [BZ #15283]
28951         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28952         for arguments at most half maximum finite value.
28953         * math/libm-test.inc (j0_test): Add more tests.
28954         (j1_test): Likewise.
28955         (y0_test): Likewise.
28956         (y1_test): Likewise.
28957         * sysdeps/i386/fpu/libm-test-ulps: Update.
28958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28959
28960         [BZ #14155]
28961         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28962         1 / x and functions P and Q for arguments above 0x1p256L.
28963         (__ieee754_y0l): Likewise.
28964         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28965         (__ieee754_y1l): Likewise.
28966         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28967         (j1_test): Likewise.
28968         (y0_test): Likewise.
28969         (y1_test): Likewise.
28970
28971 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28972
28973         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28974         variable.
28975
28976 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28977
28978         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28979         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28980         zero since it's initialized to EXEC_PAGESIZE.
28981
28982         * sysdeps/unix/sysv/linux/ldsodefs.h
28983         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28984         * sysdeps/generic/ldsodefs.h: ... here.
28985
28986 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28987
28988         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28989
28990         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28991         math/test-snan.c.
28992         * math/test-snan.c: Renamed from
28993         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28994         * math/Makefile (tests): Add test-snan.
28995         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28996         test-powerpc-snan.
28997
28998         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28999         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29000         functions.
29001         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29002         __builtin_nan family of functions.
29003         * math/libm-test.inc (initialize): Initialize qnan_value with
29004         __builtin_nan family of functions.
29005         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29006         Remove variables.
29007         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29008         Remove functions.
29009         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29010         storage class.  Initialize qNaN_var and sNaN_var with
29011         __builtin_nan and __builtin_nans families of functions,
29012         respectively.
29013
29014         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29015         (sqrt_test): Remove duplicate test with qNaN input.
29016         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29017         (round_test, signbit_test, significand_test): Note missing +/-Inf
29018         as well as qNaN tests.
29019
29020         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29021         qNaN_var.  Fix a few strings, too.
29022         * math/libm-test.inc (nan_value): Rename to qnan_value.
29023         * math/gen-libm-test.pl (%beautify): Adjust to that.
29024         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29025         * math/test-misc.c (main): Likewise.
29026         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29027         to __qnan_bytes, and __qnan_union, respectively.
29028         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29029         Likewise.
29030         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29031         and lqnanval, respectively.
29032         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29033         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29034         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29035         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29036
29037         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29038         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29039         doubles.
29040
29041         * math/test-misc.c (main): Fix copy'n'pastos.
29042         * misc/tst-efgcvt.c (special): Likewise.
29043
29044         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29045         Remove declarations.
29046
29047 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29048
29049         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29050         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29051         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29052         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29053
29054 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29055
29056         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29057         macro to return vdso values correctly in IFUNC implementations.
29058         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29059         Optimization by using IFUNC.
29060
29061 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062             Richard Henderson  <rth@redhat.com>
29063             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29064
29065         * Makefile.in (bench): New target.
29066         * NEWS: Mention the benchmark framework.
29067         * Rules (bench): Likewise.
29068         (binaries-bench): Generate binaries for functions to
29069         benchmark.
29070         * benchtests/Makefile: New makefile for benchmark tests.
29071         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29072         programs.
29073         * benchtests/exp-inputs: New input file for EXP function.
29074         * benchtests/pow-inputs: New input file for POW function.
29075         * scripts/bench.pl: New script to generate source files for
29076         benchmark programs.
29077
29078 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29079
29080         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29081         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29082         computations on mantissa.  Use macros for rounding and
29083         division.
29084         (denorm): Likewise.
29085         (__dbl_mp): Likewise.
29086         (add_magnitudes): Likewise.
29087         (sub_magnitudes): Likewise.
29088         (__mul): Likewise.
29089         (__sqr): Likewise.
29090         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29091         powers of two in terms of TWOPOW macro.
29092         (mp_no): Make type of mantissa as MANTISSA_T.
29093         [!RADIXI]: Define RADIXI.
29094         [!TWO52]: Define TWO52.
29095         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29096
29097         * manual/nptl.texi (cindex): Modify threads to pthreads.
29098
29099 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29100
29101         * sysdeps/x86_64/preconfigure: Regenerated.
29102
29103 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29104
29105         [BZ #14155]
29106         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29107         0x1p28 and above.
29108         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29109         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29110         0x1p28 and above.
29111         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29112         * math/libm-test.inc (j0_test): Do not allow one spurious
29113         underflow exception.
29114         (y1_test): Likewise.
29115
29116 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29117
29118         * manual/Makefile (chapters): Add nptl.
29119         * manual/debug.texi (Debugging Support): Add link to Threads
29120         chapter.
29121         * manual/nptl.texi: New file.
29122
29123         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29124
29125 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29126
29127         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29128         for non-NULL pointer before the memory validity test. Pointed
29129         out by Holger Brunck <holger.brunck@keymile.com>.
29130
29131 2013-03-13  Andreas Schwab  <schwab@suse.de>
29132
29133         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29134         instead of .os.
29135
29136 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29137
29138         * timezone/zic.c: Update from tzcode 2013b.
29139
29140 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29141
29142         * manual/install.texi (Configuring and compiling):
29143         Mention i686 and i586.
29144         * INSTALL: Regenerate.
29145
29146 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29147
29148         * sysdeps/init_array/elf-init.c: New file.
29149         * csu/elf-init.c
29150         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29151         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29152
29153         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29154         __gmon_start__ as global, but as static with a .preinit_array pointer.
29155         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29156         * sysdeps/init_array/crti.S: New file, empty except for comments.
29157         * sysdeps/init_array/crtn.S: Likewise.
29158
29159 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29160
29161         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29162         definining bcopy.
29163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29164         Remove Prefer_SSE_for_memop.
29165         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29166         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29167         HAS_PREFER_SSE_FOR_MEMOP.
29168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29169         memset-x86-64.
29170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29171         Remove bzero, memset ifunc support.
29172         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29173         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29174         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29175         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29176
29177 2013-03-11  Andreas Schwab  <schwab@suse.de>
29178
29179         [BZ #15234]
29180         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29181         by SHLIB_COMPAT.
29182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29183         (GLIBC_2.16): Remove pthread_atfork.
29184
29185 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29186
29187         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29188         (ptestcases.h): Likewise.
29189
29190 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29191
29192         * Makeconfig ($(common-objpfx)config.status): Depend on
29193         sysdeps/*/preconfigure{,.in} too.
29194
29195 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29196
29197         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29198         (__free_hook): Use void * instead of __malloc_ptr_t.
29199         (__malloc_hook): Likewise.
29200         (__realloc_hook): Likewise.
29201         (__memalign_hook): Likewise.
29202         (__after_morecore_hook): Likewise.
29203         * malloc/arena.c (save_malloc_hook): Likewise.
29204         (save_free_hook): Likewise.
29205         * malloc/hooks.c (malloc_hook_ini): Likewise.
29206         (realloc_hook_ini): Likewise.
29207         (memalign_hook_ini): Likewise.
29208         * malloc/malloc.c (malloc_hook_ini): Likewise.
29209         (realloc_hook_ini): Likewise.
29210         (memalign_hook_ini): Likewise.
29211         (__free_hook): Likewise.
29212         (__malloc_hook): Likewise.
29213         (__realloc_hook): Likewise.
29214         (__memalign_hook): Likewise.
29215         (__libc_malloc): Likewise.
29216         (__libc_free): Likewise.
29217         (__libc_realloc): Likewise.
29218         (__libc_memalign): Likewise.
29219         (__libc_valloc): Likewise.
29220         (__libc_pvalloc): Likewise.
29221         (__libc_calloc): Likewise.
29222         (__posix_memalign): Likewise.
29223         * malloc/morecore.c (__sbrk): Likewise.
29224         (__default_morecore): Likewise.
29225
29226         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29227
29228         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29229         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29230         __malloc_ptrdiff_t.
29231
29232         * malloc/malloc.h (__malloc_size_t): Remove macro.
29233         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29234         __malloc_size_t.
29235         (old_memalign_hook): Likewise.
29236         (old_realloc_hook): Likewise.
29237         (struct hdr): Likewise.
29238         (flood): Likewise.
29239         (mallochook): Likewise.
29240         (memalignhook): Likewise.
29241         (reallochook): Likewise.
29242         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29243         (tr_old_realloc_hook): Likewise.
29244         (tr_old_memalign_hook): Likewise.
29245         (tr_mallochook): Likewise.
29246         (tr_reallochook): Likewise.
29247         (tr_memalignhook): Likewise.
29248
29249 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29250
29251         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29252         default_ldbl_pack and using as default implementation.
29253         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29254         implementation.
29255         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29256         redundant definition.
29257         (ldbl_insert_mantissa): Likewise.
29258         (ldbl_canonicalize): Likewise.
29259         (ldbl_nearbyint): Likewise.
29260         (ldbl_pack): Rename to ldbl_pack_ppc.
29261         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29262         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29263         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29264
29265 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29266
29267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29268         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29269         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29270         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29272         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29273         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29274         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29275
29276 2013-03-07  Andreas Jaeger  <aj@suse.de>
29277
29278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29279         bits/mman-linux.h.
29280
29281 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29282
29283         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29284         Include mpa.h and declare __MPEXP.
29285         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29286         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29287         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29288         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29289         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29290         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29291         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29292
29293         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29294         (__slowpow): Use long double EXPL and LOGL functions to
29295         compute POW.
29296         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29297         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29298         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29299         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29300         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29301         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29302
29303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29304         intermediate variable to calculate exponent.
29305         (__sqr): Likewise.
29306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29307         Likewise.
29308         (__sqr): Likewise.
29309
29310         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29311         [!NO__SQR]: Define __sqr.
29312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29313         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29314         sysdeps/ieee754/dbl-64/mpa.c.
29315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29316
29317         [BZ #12723]
29318         * posix/Makefile (tests): Add tst-pathconf.
29319         * posix/tst-pathconf.c: New test case.
29320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29321         _PC_PIPE_BUF.
29322         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29323
29324 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29325
29326         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29327
29328 2013-03-06  Andreas Jaeger  <aj@suse.de>
29329
29330         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29331         definition via __MAP_ANONYMOUS.
29332
29333         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29334         it's not part of Linux headers.
29335
29336         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29337         (MAP_HUGE_MASK): Define.
29338
29339         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29340         Define.
29341         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29342         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29343         Define.
29344         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29345         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29346         Define.
29347         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29349         Define.
29350         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29351
29352         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29353         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29354         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29355         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29356         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29357         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29358
29359         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29360         Handle f2fs.
29361
29362         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29363         Handle f2fs and efivarfs.
29364
29365         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29366         f2fs.
29367
29368         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29369         (EFIVARFS_MAGIC): Add.
29370         (F2FS_LINK_MAX): Add.
29371
29372 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29373
29374         * stdio-common/vfprintf.c: Replace __builtin_expect with
29375         __glibc_unlikely.
29376
29377 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29378
29379         [BZ #13550]
29380         * sysdeps/generic/bp-sym.h: Remove file.
29381         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29382         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29383         <bp-sym.h> and <bp-asm.h>.
29384         (__longjmp): Don't use BP_SYM.
29385         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29386         and <bp-asm.h>.
29387         (memcpy): Don't use BP_SYM.
29388         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29389         <bp-sym.h> and <bp-asm.h>.
29390         (memcpy): Don't use BP_SYM.
29391         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29392         <bp-asm.h>.
29393         (memcpy): Don't use BP_SYM.
29394         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29395         <bp-asm.h>.
29396         (memset): Don't use BP_SYM.
29397         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29398         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29399         (__bzero): Don't use BP_SYM.
29400         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29401         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29402         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29403         <bp-sym.h> and <bp-asm.h>.
29404         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29405         pointers.
29406         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29407         <bp-sym.h> and <bp-asm.h>.
29408         (memcpy): Don't use BP_SYM.
29409         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29410         <bp-sym.h> and <bp-asm.h>.
29411         (memset): Don't use BP_SYM.
29412         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29413         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29414         (__bzero): Don't use BP_SYM.
29415         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29416         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29418         <bp-sym.h> and <bp-asm.h>.
29419         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29420         pointers.
29421         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29422         <bp-sym.h> and <bp-asm.h>.
29423         (memcpy): Don't use BP_SYM.
29424         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29425         <bp-sym.h> and <bp-asm.h>.
29426         (memset): Don't use BP_SYM.
29427         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29428         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29429         (__bzero): Don't use BP_SYM.
29430         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29431         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29433         <bp-sym.h> and <bp-asm.h>.
29434         (__memchr): Don't use BP_SYM.
29435         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29436         <bp-sym.h> and <bp-asm.h>.
29437         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29438         pointers.
29439         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29440         <bp-sym.h> and <bp-asm.h>.
29441         (memcpy): Don't use BP_SYM.
29442         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29443         <bp-sym.h> and <bp-asm.h>.
29444         (__mempcpy): Don't use BP_SYM.
29445         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29446         <bp-sym.h> and <bp-asm.h>.
29447         (__memrchr): Don't use BP_SYM.
29448         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29449         <bp-sym.h> and <bp-asm.h>.
29450         (memset): Don't use BP_SYM.
29451         (__bzero): Likewise.
29452         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29453         <bp-sym.h> and <bp-asm.h>.
29454         (__rawmemchr): Don't use BP_SYM.
29455         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29456         <bp-sym.h> and <bp-asm.h>.
29457         (__STRCMP): Don't use BP_SYM.
29458         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29459         <bp-sym.h> and <bp-asm.h>.
29460         (strchr): Don't use BP_SYM.
29461         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29462         <bp-sym.h> and <bp-asm.h>.
29463         (__strchrnul): Don't use BP_SYM.
29464         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29465         <bp-sym.h> and <bp-asm.h>.
29466         (strlen): Don't use BP_SYM.
29467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29468         <bp-sym.h> and <bp-asm.h>.
29469         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29470         pointers.
29471         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29472         <bp-sym.h> and <bp-asm.h>.
29473         (__strnlen): Don't use BP_SYM.
29474         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29475         <bp-sym.h> and <bp-asm.h>.
29476         (__GI__setjmp): Don't use BP_SYM.
29477         (_setjmp): Likewise.
29478         (__sigsetjmp): Likewise.
29479         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29480         (L(start_addresses)): Don't use BP_SYM.
29481         (_start): Likewise.
29482         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29483         <bp-asm.h>.
29484         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29485         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29486         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29487         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29488         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29489         <bp-asm.h>.
29490         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29491         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29492         about bounded pointers.
29493         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29494         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29495         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29496         <bp-asm.h>.
29497         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29498         about bounded pointers.  Remove GKM FIXME comments.
29499         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29500         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29501         <bp-asm.h>.
29502         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29503         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29504         Remove GKM FIXME comments.
29505         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29506         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29507         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29508         <bp-asm.h>.
29509         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29510         about bounded pointers.  Remove GKM FIXME comment.
29511         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29512         and <bp-asm.h>.
29513         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29514         pointers.
29515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29516         <bp-sym.h> and <bp-asm.h>.
29517         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29519         <bp-sym.h> and <bp-asm.h>.
29520         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29521         comment.
29522
29523 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29524
29525         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29526         call free(NULL).
29527
29528 2013-03-05  David S. Miller  <davem@davemloft.net>
29529
29530         * po/es.po: Update from translation team.
29531
29532 2013-03-05  Andreas Jaeger  <aj@suse.de>
29533
29534         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29535         <bits/mman-linux.h>.
29536         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29537         is fine.
29538         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29539         <bits/mman-linux.h> to end of file.
29540         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29541         is fine.
29542         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29543         <bits/mman-linux.h> to end of file.
29544         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29545         is fine.
29546         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29547         <bits/mman-linux.h> to end of file.
29548
29549         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29550         (MCL_CURRENT, MCL_FUTURE): Define here.
29551
29552 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29553
29554         [BZ #15232]
29555         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29556         attribute_hidden.
29557         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29558
29559 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29560
29561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29562         fourth parameter needed for rt_sigprocmask syscall.
29563         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29564         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29565         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29566         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29567         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29568         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29569
29570 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29571
29572         [BZ #13550]
29573         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29574         comment about bounded pointers.
29575         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29576         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29577
29578 2013-03-04  Andreas Jaeger  <aj@suse.de>
29579
29580         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29581         common definitions.
29582
29583         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29584         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29585         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29587         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29589
29590 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29591
29592         [BZ #15055]
29593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29594         __ieee754_sqrl instead of __sqrl.
29595
29596 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29597
29598         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29599         * sysdeps/powerpc/fpu_control.h: ... here.
29600         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29601         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29602         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29603         * sysdeps/powerpc/bits/mathinline.h: ... here.
29604
29605 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29606
29607         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29608         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29609         to just [NEED_DL_SYSINFO_DSO].
29610         * elf/dl-support.c: Likewise.
29611         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29612         * elf/rtld.c (dl_main): Likewise.
29613         * elf/setup-vdso.h (setup_vdso): Likewise.
29614         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29615         * sysdeps/unix/sysv/linux/dl-sysdep.c
29616         (_dl_discover_osversion): Likewise.
29617
29618 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29619
29620         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29621         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29622
29623 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29624
29625         * NEWS: Mention libm performance improvements and non-x86 PI
29626         futex support.
29627
29628         * csu/libc-start.c (__pthread_initialize_minimal): Change
29629         function arguments.
29630         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29631
29632 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29633
29634         [BZ #13550]
29635         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29637         <bp-sym.h> and <bp-asm.h>.
29638         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29639         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29640         and <bp-asm.h>.
29641         (memcpy): Don't use BP_SYM.
29642         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29643         <bp-asm.h>.
29644         (__mpn_add_n): Don't use BP_SYM.
29645         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29646         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29647         and <bp-asm.h>.
29648         (__mpn_addmul_1): Don't use BP_SYM.
29649         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29650         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29651         <bp-sym.h>.
29652         (_setjmp): Don't use BP_SYM.
29653         (__novmx_setjmp): Likewise.
29654         (__GI__setjmp): Likewise.
29655         (__vmx_setjmp): Likewise.
29656         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29657         <bp-sym.h>.
29658         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29659         (__bzero): Don't use BP_SYM.
29660         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29661         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29662         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29663         <bp-sym.h> and <bp-asm.h>.
29664         (memcpy): Don't use BP_SYM.
29665         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29666         <bp-sym.h> and <bp-asm.h>.
29667         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29668         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29669         <bp-sym.h> and <bp-asm.h>.
29670         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29671         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29672         <bp-asm.h>.
29673         (__mpn_lshift): Don't use BP_SYM.
29674         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29675         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29676         <bp-asm.h>.
29677         (memset): Don't use BP_SYM.
29678         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29679         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29680         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29681         <bp-asm.h>.
29682         (__mpn_mul_1): Don't use BP_SYM.
29683         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29684         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29685         <bp-sym.h> and <bp-asm.h>.
29686         (memcmp): Don't use BP_SYM.
29687         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29688         <bp-sym.h> and <bp-asm.h>.
29689         (memcpy): Don't use BP_SYM.
29690         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29691         <bp-sym.h> and <bp-asm.h>.
29692         (memset): Don't use BP_SYM.
29693         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29694         <bp-sym.h> and <bp-asm.h>.
29695         (strncmp): Don't use BP_SYM.
29696         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29697         <bp-sym.h> and <bp-asm.h>.
29698         (memcpy): Don't use BP_SYM.
29699         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29700         <bp-sym.h> and <bp-asm.h>.
29701         (memset): Don't use BP_SYM.
29702         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29703         <bp-sym.h> and <bp-asm.h>.
29704         (__memchr): Don't use BP_SYM.
29705         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29706         <bp-sym.h> and <bp-asm.h>.
29707         (memcmp): Don't use BP_SYM.
29708         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29709         <bp-sym.h> and <bp-asm.h>.
29710         (memcpy): Don't use BP_SYM.
29711         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29712         <bp-sym.h> and <bp-asm.h>.
29713         (__mempcpy): Don't use BP_SYM.
29714         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29715         <bp-sym.h> and <bp-asm.h>.
29716         (__memrchr): Don't use BP_SYM.
29717         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29718         <bp-sym.h> and <bp-asm.h>.
29719         (memset): Don't use BP_SYM.
29720         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29721         <bp-sym.h> and <bp-asm.h>.
29722         (__rawmemchr): Don't use BP_SYM.
29723         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29724         <bp-sym.h> and <bp-asm.h>.
29725         (__STRCMP): Don't use BP_SYM.
29726         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29727         <bp-sym.h> and <bp-asm.h>.
29728         (strchr): Don't use BP_SYM.
29729         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29730         <bp-sym.h> and <bp-asm.h>.
29731         (__strchrnul): Don't use BP_SYM.
29732         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29733         <bp-sym.h> and <bp-asm.h>.
29734         (strlen): Don't use BP_SYM.
29735         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29736         <bp-sym.h> and <bp-asm.h>.
29737         (strncmp): Don't use BP_SYM.
29738         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29739         <bp-sym.h> and <bp-asm.h>.
29740         (__strnlen): Don't use BP_SYM.
29741         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29742         <bp-asm.h>.
29743         (__mpn_rshift): Don't use BP_SYM.
29744         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29745         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29746         <bp-sym.h> and <bp-asm.h>.
29747         (__sigsetjmp): Don't use BP_SYM.
29748         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29749         (L(start_addresses)): Don't use BP_SYM.
29750         (_start): Likewise.
29751         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29752         <bp-asm.h>.
29753         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29754         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29755         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29756         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29757         <bp-asm.h>.
29758         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29759         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29760         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29761         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29762         <bp-asm.h>.
29763         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29764         comments.
29765         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29766         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29767         <bp-asm.h>.
29768         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29769         FIXME comments.
29770         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29771         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29772         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29773         <bp-asm.h>.
29774         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29775         comment.
29776         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29777         and <bp-asm.h>.
29778         (strncmp): Don't use BP_SYM,
29779         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29780         <bp-asm.h>.
29781         (__mpn_sub_n): Don't use BP_SYM.
29782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29783         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29784         and <bp-asm.h>.
29785         (__mpn_submul_1): Don't use BP_SYM.
29786         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29788         <bp-sym.h> and <bp-asm.h>.
29789         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29791         <bp-sym.h> and <bp-asm.h>.
29792         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29793         comment.
29794
29795 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29796
29797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29798         Use ZK to minimize writes to Z.
29799         (sub_magnitudes): Simplify code a bit.
29800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29801         Use ZK to minimize writes to Z.
29802         (sub_magnitudes): Simplify code a bit.
29803
29804 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29805
29806         * csu/gmon-start.c: Add special exception to license text.
29807
29808 2013-02-27  Richard Henderson  <rth@redhat.com>
29809
29810         * scripts/config.guess: Update from config.git.
29811         * scripts/config.sub: Likewise.
29812
29813 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814
29815         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29816
29817         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29818
29819         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29820
29821         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29822
29823         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29824
29825 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29826
29827         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29828         [$(build-shared = yes].
29829
29830 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29831
29832         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29833         (__mul): Reduce iterations for calculating mantissa.
29834
29835         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29836         MPTWO.
29837         (__mpranred): Likewise.
29838
29839         [BZ #15160]
29840         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29841         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29842
29843 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29844
29845         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29846         Define __attribute__.
29847
29848 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849
29850         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29851         unused.
29852         * posix/regex_internal.h (__attribute): Remove.
29853         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29854         (re_string_context_at): Likewise.
29855         (bitset_not): Use __attribute__ and mark function as possibly
29856         unused.
29857         (bitset_merge): Likewise.
29858         (bitset_mask): Likewise.
29859         (re_string_char_size_at): Likewise.
29860         (re_string_wchar_at): Likewise.
29861         (re_string_elem_size_at): Likewise.
29862
29863 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29864
29865         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29866         code.
29867         (cc32): Likewise.
29868
29869         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29870         (__acr): Likewise.
29871         (__cpy): Likewise.
29872         (norm): Likewise.
29873         (denorm): Likewise.
29874         (__dbl_mp): Likewise.
29875         (add_magnitudes): Likewise.
29876         (sub_magnitudes): Likewise.
29877         (__mul): Likewise.
29878         (__inv): Likewise.
29879
29880         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29881         style.
29882
29883         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29884         style.
29885
29886         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29887         code.
29888
29889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29890         up changes with default code.
29891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29892         Likewise.
29893
29894 2013-02-24  Allan McRae  <allan@archlinux.org>
29895
29896         * manual/socket.texi (The Internet Namespace): Order menu items
29897         to match that in the file.
29898
29899         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29900         node listing of the info page menu.
29901
29902 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29903
29904         [BZ #13550]
29905         * sysdeps/i386/bp-asm.h: Remove file.
29906         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29907         (PARMS): Do not use macros from bp-asm.h.
29908         (S1): Likewise.
29909         (S2): Likewise.
29910         (SIZE): Likewise.
29911         (__mpn_add_n): Do not use BP_SYM
29912         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29913         "bp-asm.h".
29914         (PARMS): Do not use macros from bp-asm.h.
29915         (S1): Likewise.
29916         (SIZE): Likewise.
29917         (__mpn_addmul_1): Do not use BP_SYM
29918         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29919         "bp-asm.h".
29920         (PARMS): Do not use macros from bp-asm.h.
29921         (SIGMSK): Likewise.
29922         (_setjmp): Likewise.  Do not use BP_SYM.
29923         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29924         "bp-asm.h".
29925         (PARMS): Do not use macros from bp-asm.h.
29926         (SIGMSK): Likewise.
29927         (setjmp): Likewise.  Do not use BP_SYM.
29928         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29929         "bp-asm.h".
29930         (PARMS): Do not use macros from bp-asm.h.
29931         (__frexp): Do not use BP_SYM.
29932         (frexp): Likewise.
29933         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29934         "bp-asm.h".
29935         (PARMS): Do not use macros from bp-asm.h.
29936         (__frexpf): Do not use BP_SYM.
29937         (frexpf): Likewise.
29938         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29939         "bp-asm.h".
29940         (PARMS): Do not use macros from bp-asm.h.
29941         (__frexpl): Do not use BP_SYM.
29942         (frexpl): Likewise.
29943         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29944         "bp-asm.h".
29945         (PARMS): Do not use macros from bp-asm.h.
29946         (__remquo): Do not use BP_SYM.
29947         (remquo): Likewise.
29948         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29949         "bp-asm.h".
29950         (PARMS): Do not use macros from bp-asm.h.
29951         (__remquof): Do not use BP_SYM.
29952         (remquof): Likewise.
29953         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29954         "bp-asm.h".
29955         (PARMS): Do not use macros from bp-asm.h.
29956         (__remquol): Do not use BP_SYM.
29957         (remquol): Likewise.
29958         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29959         "bp-asm.h".
29960         (PARMS): Do not use macros from bp-asm.h.
29961         (DEST): Likewise.
29962         (SRC): Likewise.
29963         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29964         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29965         "bp-asm.h".
29966         (PARMS): Do not use macros from bp-asm.h.
29967         (strlen): Do not use BP_SYM.
29968         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29969         "bp-asm.h".
29970         (PARMS): Do not use macros from bp-asm.h.
29971         (S1): Likewise.
29972         (S2): Likewise.
29973         (SIZE): Likewise.
29974         (__mpn_add_n): Do not use BP_SYM.
29975         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29976         "bp-asm.h".
29977         (PARMS): Do not use macros from bp-asm.h.
29978         (S1): Likewise.
29979         (SIZE): Likewise.
29980         (__mpn_addmul_1): Do not use BP_SYM.
29981         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29982         weak_alias.
29983         (bzero): Likewise.
29984         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29985         "bp-asm.h".
29986         (PARMS): Do not use macros from bp-asm.h.
29987         (S): Likewise.
29988         (SIZE): Likewise.
29989         (__mpn_lshift): Do not use BP_SYM.
29990         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29991         "bp-asm.h".
29992         (PARMS): Do not use macros from bp-asm.h.
29993         (DEST): Likewise.
29994         (SRC): Likewise.
29995         (LEN): Likewise.
29996         (memcpy): Likewise.  Do not use BP_SYM.
29997         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29998         libc_hidden_def and weak_alias.
29999         (mempcpy): Do not use BP_SYM in weak_alias.
30000         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30001         "bp-asm.h".
30002         (PARMS): Do not use macros from bp-asm.h.
30003         (DEST): Likewise.
30004         (LEN): Likewise.
30005         [!BZERO_P] (CHR): Likewise.
30006         (memset): Likewise.  Do not use BP_SYM.
30007         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30008         "bp-asm.h".
30009         (PARMS): Do not use macros from bp-asm.h.
30010         (S1): Likewise.
30011         (SIZE): Likewise.
30012         (__mpn_mul_1): Do not use BP_SYM.
30013         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30014         "bp-asm.h".
30015         (PARMS): Do not use macros from bp-asm.h.
30016         (S): Likewise.
30017         (SIZE): Likewise.
30018         (__mpn_rshift): Do not use BP_SYM.
30019         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30020         "bp-asm.h".
30021         (PARMS): Do not use macros from bp-asm.h.
30022         (STR): Likewise.
30023         (CHR): Likewise.
30024         (strchr): Likewise.  Do not use BP_SYM.
30025         (index): Do not use BP_SYM in weak_alias.
30026         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30027         "bp-asm.h".
30028         (PARMS): Do not use macros from bp-asm.h.
30029         (DEST): Likewise.
30030         (SRC): Likewise.
30031         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30032         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30033         "bp-asm.h".
30034         (PARMS): Do not use macros from bp-asm.h.
30035         (strlen): Do not use BP_SYM.
30036         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30037         "bp-asm.h".
30038         (PARMS): Do not use macros from bp-asm.h.
30039         (S1): Likewise.
30040         (S2): Likewise.
30041         (SIZE): Likewise.
30042         (__mpn_sub_n): Do not use BP_SYM.
30043         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30044         "bp-asm.h".
30045         (PARMS): Do not use macros from bp-asm.h.
30046         (S1): Likewise.
30047         (SIZE): Likewise.
30048         (__mpn_submul_1): Do not use BP_SYM.
30049         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30050         "bp-asm.h".
30051         (PARMS): Do not use macros from bp-asm.h.
30052         (S1): Likewise.
30053         (S2): Likewise.
30054         (SIZE): Likewise.
30055         (__mpn_add_n): Do not use BP_SYM.
30056         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30057         weak_alias.
30058         (bzero): Likewise.
30059         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30060         "bp-asm.h".
30061         (PARMS): Do not use macros from bp-asm.h.
30062         (BLK2): Likewise.
30063         (LEN): Likewise.
30064         (memcmp): Do not use BP_SYM.
30065         (bcmp): Do not use BP_SYM in weak_alias.
30066         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30067         "bp-asm.h".
30068         (PARMS): Do not use macros from bp-asm.h.
30069         (DEST): Likewise.
30070         (SRC): Likewise.
30071         (LEN): Likewise.
30072         (memcpy): Likewise.  Do not use BP_SYM.
30073         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30074         "bp-asm.h".
30075         (PARMS): Do not use macros from bp-asm.h.
30076         (DEST): Likewise.
30077         (SRC): Likewise.
30078         (LEN): Likewise.
30079         (memmove): Likewise.  Do not use BP_SYM.
30080         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30081         "bp-asm.h".
30082         (PARMS): Do not use macros from bp-asm.h.
30083         (DEST): Likewise.
30084         (SRC): Likewise.
30085         (LEN): Likewise.
30086         (__mempcpy): Likewise.  Do not use BP_SYM.
30087         (mempcpy): Do not use BP_SYM in weak_alias.
30088         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30089         "bp-asm.h".
30090         (PARMS): Do not use macros from bp-asm.h.
30091         (DEST): Likewise.
30092         (LEN): Likewise.
30093         [!BZERO_P] (CHR): Likewise.
30094         (memset): Likewise.  Do not use BP_SYM.
30095         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30096         "bp-asm.h".
30097         (PARMS): Do not use macros from bp-asm.h.
30098         (STR2): Likewise.
30099         (strcmp): Do not use BP_SYM.
30100         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30101         "bp-asm.h".
30102         (PARMS): Do not use macros from bp-asm.h.
30103         (STR): Likewise.
30104         (DELIM): Likewise.
30105         [USE_AS_STRTOK_R] (SAVE): Likewise.
30106         (FUNCTION): Likewise.  Do not use BP_SYM.
30107         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30108         aliases.
30109         (strtok_r): Likewise.
30110         (__GI___strtok_r): Likewise.
30111         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30112         (PARMS): Do not use macros from bp-asm.h.
30113         (S): Likewise.
30114         (SIZE): Likewise.
30115         (__mpn_lshift): Do not use BP_SYM.
30116         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30117         (PARMS): Do not use macros from bp-asm.h.
30118         (STR): Likewise.
30119         (CHR): Likewise.
30120         (__memchr): Do not use BP_SYM.
30121         (memchr): Do not use BP_SYM in weak_alias.
30122         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30123         (PARMS): Do not use macros from bp-asm.h.
30124         (BLK2): Likewise.
30125         (LEN): Likewise.
30126         (memcmp): Do not use BP_SYM.
30127         (bcmp): Do not use BP_SYM in weak_alias.
30128         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30129         (PARMS): Do not use macros from bp-asm.h.
30130         (S1): Likewise.
30131         (SIZE): Likewise.
30132         (__mpn_mul_1): Do not use BP_SYM.
30133         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30134         "bp-asm.h".
30135         (PARMS): Do not use macros from bp-asm.h.
30136         (STR): Likewise.
30137         (CHR): Likewise.
30138         (__rawmemchr): Do not use BP_SYM.
30139         (rawmemchr): Do not use BP_SYM in weak_alias.
30140         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30141         (PARMS): Do not use macros from bp-asm.h.
30142         (S): Likewise.
30143         (SIZE): Likewise.
30144         (__mpn_rshift): Do not use BP_SYM.
30145         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30146         (PARMS): Do not use macros from bp-asm.h.
30147         (SIGMSK): Likewise.
30148         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30149         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30150         (_start): Do not use BP_SYM.
30151         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30152         (PARMS): Do not use macros from bp-asm.h.
30153         (DEST): Likewise.
30154         (SRC): Likewise.
30155         (__stpcpy): Likewise.  Do not use BP_SYM.
30156         (stpcpy): Do not use BP_SYM in weak_alias.
30157         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30158         "bp-asm.h".
30159         (PARMS): Do not use macros from bp-asm.h.
30160         (DEST): Likewise.
30161         (SRC): Likewise.
30162         (LEN): Likewise.
30163         (__stpncpy): Likewise.  Do not use BP_SYM.
30164         (stpncpy): Do not use BP_SYM in weak_alias.
30165         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30166         (PARMS): Do not use macros from bp-asm.h.
30167         (STR): Likewise.
30168         (CHR): Likewise.
30169         (strchr): Likewise.  Do not use BP_SYM.
30170         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30171         "bp-asm.h".
30172         (PARMS): Do not use macros from bp-asm.h.
30173         (STR): Likewise.
30174         (CHR): Likewise.
30175         (__strchrnul): Likewise.  Do not use BP_SYM.
30176         (strchrnul): Do not use BP_SYM in weak_alias.
30177         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30178         "bp-asm.h".
30179         (PARMS): Do not use macros from bp-asm.h.
30180         (STOP): Likewise.
30181         (strcspn): Do not use BP_SYM.
30182         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30183         "bp-asm.h".
30184         (PARMS): Do not use macros from bp-asm.h.
30185         (STR): Likewise.
30186         (STOP): Likewise.
30187         (strpbrk): Likewise.  Do not use BP_SYM.
30188         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30189         "bp-asm.h".
30190         (PARMS): Do not use macros from bp-asm.h.
30191         (STR): Likewise.
30192         (CHR): Likewise.
30193         (strrchr): Likewise.  Do not use BP_SYM.
30194         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30195         (PARMS): Do not use macros from bp-asm.h.
30196         (SKIP): Likewise.
30197         (strspn): Do not use BP_SYM.
30198         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30199         (PARMS): Do not use macros from bp-asm.h.
30200         (STR): Likewise.
30201         (DELIM): Likewise.
30202         (SAVE): Likewise.
30203         (FUNCTION): Likewise.  Do not use BP_SYM.
30204         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30205         aliases.
30206         (strtok_r): Likewise.
30207         (__GI___strtok_r): Likewise.
30208         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30209         (PARMS): Do not use macros from bp-asm.h.
30210         (S1): Likewise.
30211         (S2): Likewise.
30212         (SIZE): Likewise.
30213         (__mpn_sub_n): Do not use BP_SYM.
30214         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30215         "bp-asm.h".
30216         (PARMS): Do not use macros from bp-asm.h.
30217         (S1): Likewise.
30218         (SIZE): Likewise.
30219         (__mpn_submul_1): Do not use BP_SYM.
30220         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30221         <bp-sym.h>.
30222         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30223         and <bp-asm.h>.
30224         (PARMS): Do not use macros from bp-asm.h.
30225         (FLAGS): Likewise.
30226         (PTID): Likewise.
30227         (TLS): Likewise.
30228         (CTID): Likewise.
30229         (__clone): Do not use BP_SYM.
30230         (clone): Do not use BP_SYM in weak_alias.
30231         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30232         and <bp-asm.h>.
30233         (PARMS): Do not use macros from bp-asm.h.
30234         (LEN): Likewise.
30235         (__mmap64): Do not use BP_SYM.
30236         (mmap64): Do not use BP_SYM in weak_alias.
30237         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30238         <bp-sym.h> and <bp-asm.h>.
30239         (PARMS): Do not use macros from bp-asm.h.
30240         (__posix_fadvise64_l64): Do not use BP_SYM.
30241         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30242         (PARMS): Do not use macros from bp-asm.h.
30243         (NSOPS): Likewise.
30244         (semtimedop): Do not use BP_SYM.
30245         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30246         and <bp-asm.h>.
30247
30248 2013-02-21  Allan McRae  <allan@archlinux.org>
30249
30250         * manual/message.texi (Charset conversion in gettext):
30251         Move @end statement to beginning of line.
30252
30253 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30254
30255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30256         static.
30257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30258         Likewise.
30259
30260         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30261         (denorm): Likewise.
30262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30264
30265 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30266
30267         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30268         tail-call to the resolved function if pltexit isn't needed.
30269
30270 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30271
30272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30273         or Y being zero as being unlikely.
30274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30275         Likewise.
30276
30277 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30278
30279         * manual/nss.texi (System Databases and Name Service Switch):
30280         Remove frobnicate @pxref.
30281
30282 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30283
30284         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30285         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30286
30287 2013-02-20  Petr Machata  <pmachata@redhat.com>
30288
30289         * elf/elf.h (R_ARM_TARGET1): New macro.
30290         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30291         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30292         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30293         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30294         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30295         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30296         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30297         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30298         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30299         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30300         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30301         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30302         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30303         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30304         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30305         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30306         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30307         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30308         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30309         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30310         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30311         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30312         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30313         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30314         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30315         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30316         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30317         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30318         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30319         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30320         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30321         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30322         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30323         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30324         (R_ARM_THM_GOT_BREL12): Likewise.
30325         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30326         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30327         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30328         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30329         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30330         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30331         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30332         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30333         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30334
30335 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30336
30337         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30338         __attribute_used__ to __attribute__ ((unused)).
30339
30340 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30341
30342         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30343         powerpc mpa.c.
30344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30345         comment formatting.
30346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30347
30348 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30349
30350         [BZ #13550]
30351         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30352         Remove macro.
30353         (ENTER): Remove both macro definitions.
30354         (LEAVE): Likewise.
30355         (CHECK_BOUNDS_LOW): Likewise.
30356         (CHECK_BOUNDS_HIGH): Likewise.
30357         (CHECK_BOUNDS_BOTH): Likewise.
30358         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30359         (RETURN_BOUNDED_POINTER): Likewise.
30360         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30361         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30362         (POP_ERRNO_LOCATION_RETURN): Likewise.
30363         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30364         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30365         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30366         macros.
30367         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30368         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30369         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30370         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30371         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30372         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30373         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30374         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30375         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30376         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30377         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30378         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30380         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30381         removed macros.
30382         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30383         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30384         macros.
30385         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30386         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30387         * sysdeps/i386/i586/memset.S (memset): Likewise.
30388         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30389         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30390         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30391         macros.
30392         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30393         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30394         Change uses of L(2) to L(out).
30395         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30396         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30397         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30398         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30399         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30400         removed macros.
30401         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30402         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30403         macros.
30404         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30405         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30406         (RETURN): Do not use macro LEAVE.
30407         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30408         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30409         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30410         * sysdeps/i386/i686/memset.S (memset): Likewise.
30411         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30412         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30414         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30415         Likewise.
30416         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30417         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30418         L(1_2) and L(1_3) into L(1).
30419         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30420         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30421         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30422         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30423         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30424         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30425         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30426         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30427         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30428         macros.
30429         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30430         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30431         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30432         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30433         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30434         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30435         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30436         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30437         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30438         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30439         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30440         * sysdeps/i386/strspn.S (strspn): Likewise.
30441         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30442         conditional code.
30443         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30444         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30445         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30446         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30447         L(1_3) into L(1_1).
30448         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30449         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30450         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30451         macros.
30452         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30453
30454 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30455
30456         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30457         macro.
30458
30459 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460
30461         * math/atest-exp.c (exp_mpn): Remove ROUND.
30462         * math/atest-exp2.c (exp_mpn): Likewise.
30463         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30464
30465         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30466         * stdlib/tst-tls-atexit-lib.c: Likewise.
30467         * stdlib/tst-tls-atexit.c: Likewise.
30468
30469 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30470
30471         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30472         and __attribute_alloc_size__.
30473
30474 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30475
30476         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30477         __attribute_alloc_size__.
30478         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30479         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30480
30481 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30482
30483         * include/programs/xmalloc.h: New file.
30484         * catgets/gencat.c: Include it.
30485         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30486         * elf/pldd.c: Likewise.
30487         * iconv/iconv_charmap.c: Likewise.
30488         * iconv/iconvconfig.c: Likewise.
30489         * iconv/strtab.c: Likewise.
30490         * locale/programs/locale.c: Likewise.
30491         * locale/programs/localedef.h: Likewise.
30492         * locale/programs/simple-hash.c: Likewise.
30493         * nscd/nscd.h: Likewise.
30494         * nss/makedb.c: Likewise.
30495         * sysdeps/generic/ldconfig.h: Likewise.
30496
30497 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30498
30499         * Versions.def: Add GLIBC_2.18.
30500         * include/link.h (struct link_map): New member l_tls_dtor_count.
30501         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30502         (__call_tls_dtors): Likewise.
30503         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30504         __cxa_thread_atexit_impl.
30505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30506         Likewise.
30507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30508         Likewise.
30509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30510         Likewise.
30511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30512         Likewise.
30513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30515         Likewise.
30516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30517         Likewise.
30518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30520         Likewise.
30521         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30522         (tests): Add test case tst-tls-atexit.
30523         (modules-names): Add shared library for tst-tls-atexit.
30524         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30525         (GLIBC_PRIVATE): Add __call_tls_dtors.
30526         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30527         for libstdc++.
30528         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30529         * stdlib/tst-tls-atexit.c: New test case.
30530         * stdlib/tst-tls-atexit-lib.c: New test case.
30531
30532         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30533
30534         * elf/Versions (ld): Add _dl_find_dso_for_object.
30535         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30536         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30537         (dl_open_worker): Use _dl_find_dso_for_object.
30538         * elf/dl-sym.c (do_sym): Likewise.
30539         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30540
30541 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30542
30543         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30544         Syntactic changes only.
30545         (_dl_runtime_profile): Do a tail-call to the resolved function.
30546
30547 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30548
30549         [BZ #13550]
30550         * sysdeps/x86_64/bp-asm.h: Remove file.
30551         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30552         <bp-sym.h> and <bp-asm.h>.
30553         (__clone): Do not use BP_SYM.
30554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30555         <bp-sym.h> and <bp-asm.h>.
30556         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30557         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30558         "bp-asm.h".
30559         (_setjmp): Do not use BP_SYM.
30560         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30561         "bp-asm.h".
30562         (setjmp): Do not use BP_SYM.
30563         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30564         libc_hidden_def.
30565         (mempcpy): Do not use BP_SYM in weak_alias.
30566         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30567         "bp-asm.h".
30568         (strchr): Do not use BP_SYM.
30569         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30570         "bp-asm.h".
30571         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30572         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30573         (_start): Do not use BP_SYM.
30574         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30575         "bp-asm.h".
30576         (strcat): Do not use BP_SYM.
30577         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30578         "bp-asm.h".
30579         (STRCMP): Do not use BP_SYM.
30580         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30581         "bp-asm.h".
30582         (STRCPY): Do not use BP_SYM.
30583         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30584         "bp-asm.h".
30585         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30586         "bp-asm.h".
30587         (FUNCTION): Do not use BP_SYM.
30588         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30589         weak_alias.
30590         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30591
30592 2013-02-17  Andreas Jaeger  <aj@suse.de>
30593
30594         * time/Versions: Sort entries.
30595         * string/Versions: Likewise.
30596         * resolv/Versions: Likewise.
30597         * posix/Versions: Likewise.
30598         * iconv/Versions: Likewise.
30599         * elf/Versions: Likewise.
30600         * wcsmbs/Versions: Likewise.
30601
30602 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30603
30604         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30605         loop termination condition.
30606
30607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30608         variable to calculate EZ.
30609         (__sqr): Likewise.
30610
30611         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30612         the lower precision input.
30613
30614 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30615
30616         [BZ #13550]
30617         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30618         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30619         (run-via-rtld-prefix): Do not handle %-bp tests.
30620         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30621         (all-object-suffixes): Remove .ob.
30622         (bppfx): Remove variable.
30623         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30624         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30625         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30626         [$(build-bounded) = yes] (libtype.ob): Likewise.
30627         * Makerules (elide-routines.ob): Remove variable.
30628         (do-tests-clean): Do not handle *-bp.out.
30629         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30630         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30631         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30632         (tests): Do not include $(tests-bp.out).
30633         (xtests): Do not include $(xtests-bp.out).
30634         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30635         [$(build-bounded) = yes] ($(addprefix
30636         $(objpfx),$(binaries-bounded))): Remove rule.
30637         ($(objpfx)%-bp.out): Remove rule.
30638         * config.make.in (build-bounded): Remove variable.
30639         * crypt/Makefile [$(build-bounded) = yes]
30640         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30641         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30642         append to variable.
30643         [$(build-bounded) = yes] (install-lib): Likewise.
30644         [$(build-bounded) = yes] (generated): Likewise.
30645         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30646         Remove rule.
30647         * intl/Makefile [$(build-bounded) = yes]
30648         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30649         * math/Makefile [$(build-bounded) = yes]
30650         ($(tests:%=$(objpfx)%-bp): Likewise.
30651         * misc/Makefile [$(build-bounded) = yes]
30652         ($(objpfx)tst-tsearch-bp): Likewise.
30653         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30654         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30655         Remove dependency.
30656         * string/Makefile (o-objects.ob): Remove variable.
30657         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30658         (CFLAGS-.ob): Remove variable.
30659         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30660         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30661         both definitions of variable.
30662         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30663         (ASFLAGS-.ob): Remove variable.
30664
30665 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30666
30667         [BZ #13550]
30668         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30669         Remove __BOUNDED_POINTERS__ from condition.
30670         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30671         * string/bits/string2.h [!__NO_STRING_INLINES &&
30672         !__BOUNDED_POINTERS__]: Likewise.
30673         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30674         Likewise.
30675         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30676         Remove conditional code.
30677         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30678         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30679         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30680         condition.
30681
30682         [BZ #13550]
30683         * csu/libc-start.c: Do not include <bp-sym.h>.
30684         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30685         * elf/dl-open.c: Do not include <bp-sym.h>.
30686         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30687         * math/fegetenv.c: Do not include <bp-sym.h>.
30688         (fegetenv): Do not use BP_SYM in versioned symbols.
30689         * nptl/sysdeps/pthread/bits/libc-lockP.h
30690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30691         <bp-sym.h>.
30692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30693         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30695         (__pthread_mutex_destroy): Likewise.
30696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30697         (__pthread_mutex_lock): Likewise.
30698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30699         (__pthread_mutex_trylock): Likewise.
30700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30701         (__pthread_mutex_unlock): Likewise.
30702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30703         (__pthread_mutexattr_init): Likewise.
30704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30705         (__pthread_mutexattr_destroy): Likewise.
30706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30707         (__pthread_mutexattr_settype): Likewise.
30708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30709         (__pthread_rwlock_init): Likewise.
30710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30711         (__pthread_rwlock_destroy): Likewise.
30712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30713         (__pthread_rwlock_rdlock): Likewise.
30714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30715         (__pthread_rwlock_tryrdlock): Likewise.
30716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30717         (__pthread_rwlock_wrlock): Likewise.
30718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30719         (__pthread_rwlock_trywrlock): Likewise.
30720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30721         (__pthread_rwlock_unlock): Likewise.
30722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30723         (__pthread_key_create): Likewise.
30724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30725         (__pthread_setspecific): Likewise.
30726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30727         (__pthread_getspecific): Likewise.
30728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30729         Likewise.
30730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30731         (_pthread_cleanup_push_defer): Likewise.
30732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30733         (_pthread_cleanup_pop_restore): Likewise.
30734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30735         (pthread_setcancelstate): Likewise.
30736         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30737         <bp-sym.h>.
30738         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30739         (memchr): Do not use BP_SYM in weak_alias.
30740         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30741         (fegetenv): Do not use BP_SYM in versioned symbols.
30742         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30743         (fesetenv): Do not use BP_SYM in versioned symbols.
30744         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30745         (feupdateenv): Do not use BP_SYM in versioned symbols.
30746         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30747         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30748         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30749         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30750         (open64): Do not use BP_SYM in weak_alias.
30751         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30752         (fegetenv): Do not use BP_SYM in versioned symbols.
30753         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30754         (fesetenv): Do not use BP_SYM in versioned symbols.
30755         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30756         (feupdateenv): Do not use BP_SYM in versioned symbols.
30757         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30758         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30759         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30760         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30761         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30762         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30763         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30764         <bp-sym.h>.
30765         (__libc_start_main): Do not use BP_SYM.
30766
30767 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30768
30769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30770         redundant return line.
30771         (norm): Likewise.
30772         (denorm): Likewise.
30773         (dbl_mp): Likewise.
30774         (sub_magnitudes): Likewise.
30775         (__add): Likewise.
30776         (__sub): Likewise.
30777         (__mul): Likewise.
30778         (__inv): Likewise.
30779         (__dvd): Likewise.
30780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30781         (norm): Likewise.
30782         (denorm): Likewise.
30783         (dbl_mp): Likewise.
30784         (sub_magnitudes): Likewise.
30785         (__add): Likewise.
30786         (__sub): Likewise.
30787         (__mul): Likewise.
30788         (__inv): Likewise.
30789         (__dvd): Likewise.
30790
30791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30792         instead of __mul.
30793         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30794         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30795         (cc32): Likewise.
30796
30797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30798         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30800         of __mul for squares.
30801         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30802         function
30803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30804         Likewise.
30805         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30806         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30807
30808 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30809
30810         [BZ #13550]
30811         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30812         code.
30813         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30814         prototype or function definition.  Rename ubp_* variables and
30815         parameters.  Remove argv definitions conditional on
30816         [__BOUNDED_POINTERS__].
30817         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30818         * elf/dl-runtime.c (_dl_fixup): Likewise.
30819         * include/set-hooks.h (RUN_HOOK): Likewise.
30820         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30821         definition.
30822         * string/strcpy.c (strcpy): Do not use __unbounded.
30823         * sysdeps/generic/frame.h (struct layout): Likewise.
30824         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30825         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30826         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30827         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30828         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30829         (__backtrace): Likewise.
30830         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30831         use __ptrvalue.
30832         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30833         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30834         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30835         Likewise.
30836         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30837         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30838         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30839         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30840         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30841         Do not use __unbounded.
30842         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30843         Rename __unboundedrlimits parameter to rlimits in prototype.
30844         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30845         Do not use __unbounded.
30846         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30847         not use __ptrvalue.
30848         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30849         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30850         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30851         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30852         __ptrvalue or __unbounded.
30853         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30854         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30855         use __unbounded.
30856         (__new_msgctl): Do not use __ptrvalue.
30857         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30858         __unbounded.
30859         (__libc_msgrcv): Do not use __ptrvalue.
30860         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30861         startup_info): Do not use __unbounded.
30862         (__libc_start_main): Likewise.  Rename ubp_* variables and
30863         parameters.  Remove argv definitions conditional on
30864         [__BOUNDED_POINTERS__].
30865         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30866         __ptrvalue.
30867         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30868         use __unbounded.
30869         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30870         or __ptrvalue.
30871         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30872         use __unbounded.
30873         (__new_shmctl): Do not use __ptrvalue.
30874         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30875         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30876         Likewise.
30877         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30878         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30879         (__libc_sigaction): Likewise.
30880         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30881         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30882         Likewise.
30883         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30884
30885 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30886
30887         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30888
30889         * string/mempcpy.c: Implement by calling memcpy.
30890
30891 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30892
30893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30894
30895         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30896         evaluation.
30897
30898         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30899         values in the mantissa.
30900
30901         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30902         minimize writes to Z.
30903         (sub_magnitudes): Simplify code a bit.
30904
30905 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30906
30907         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30908         from the message.  The linker prefixes all warnings with that already.
30909
30910 2013-02-12  Andreas Schwab  <schwab@suse.de>
30911
30912         [BZ #15078]
30913         * posix/regexec.c (extend_buffers): Add parameter min_len.
30914         (check_matching): Pass minimum needed length.
30915         (clean_state_log_if_needed): Likewise.
30916         (get_subexp): Likewise.
30917         * posix/Makefile (tests): Add bug-regex34.
30918         (bug-regex34-ENV): Define.
30919         * posix/bug-regex34.c: New file.
30920
30921         [BZ #11561]
30922         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30923         elements compare against the byte sequence of it, not its name.
30924         * posix/Makefile (tests): Add bug-regex35.
30925         (bug-regex35-ENV): Define.
30926         * posix/bug-regex35.c: New file.
30927
30928 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30929
30930         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30931         comment.
30932         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30933         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30934         (CHECK_EOL): Add undef.
30935
30936 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30937
30938         * bits/stdlib-bsearch.h: New file.
30939         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30940         * stdlib/stdlib.h: Likewise.
30941
30942 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30943
30944         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30945         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30946         declaration.
30947         * manual/search.texi (Array Search Function): Add missing const in
30948         lfind prototype.
30949         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30950         declaration to use rlim_t.
30951         (Basic Scheduling Functions): Remove erroneous const from
30952         sched_getparam prototype.  Remove erroneous * from
30953         sched_get_priority_max and sched_get_priority_min prototypes.
30954         (Resource Usage): Fix summary @comment on vtimes to refer to
30955         sys/vtimes.h rather than vtimes.h.
30956         Add missing *s in vtimes prototype.
30957         (Limits on Resources): Fix ulimit prototype to return long int.
30958         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30959         prototypes to use long int rather than double.
30960         (BSD Random): Fix initstate and setstate to use char *, not void *.
30961         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30962         prototype to make second argument 'struct aiocb64 *const[]'.
30963         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30964         (Status of AIO Operations): Remove erroneous const in aio_return and
30965         aio_return64 prototypes.
30966         (Synchronizing I/O): Fix sync prototype to return void.
30967         * manual/startup.texi (Suboptions): Remove an erroneous const in
30968         getsubopt prototype.
30969         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30970         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30971         use size_t rather than int.
30972         (Scanning All Users): Likewise for getpwent_r.
30973         (Setting Groups): Add missing const to setgroups prototype.
30974         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30975         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30976         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30977         'const void *' rather than 'const char *'.
30978         (Host Address Functions): Likewise for inet_ntop.
30979         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30980         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30981         ssize_t for return value.
30982         (Sending Data): Likewise for send, sendto, sendmsg.
30983         (Socket Option Functions): Add a missing const in setsockopt prototype.
30984         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30985         use wchar_t for the argument.
30986         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30987         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30988         take no arguments.
30989         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30990         double/float/long double for second argument.
30991         Fix return types of significand, significandf, significandl.
30992         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30993         argument in fchmod prototype.
30994         (File Owner): Use uid_t and gid_t in fchown prototype.
30995         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30996         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30997         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30998         use 'const struct dirent **' as argument types to CMP function pointer
30999         argument.
31000         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31001         (File Times): Fix summary magic @comment for struct utimbuf and utime
31002         to refer to utime.h, not time.h.
31003         * manual/string.texi (Argz Functions): Add missing const in
31004         argz_extract and argz_next prototypes.
31005         (Finding Tokens in a String): Likewise for basename.
31006         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31007         (Copying and Concatenation): Fix typo in wmemmove prototype.
31008         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31009         (Signal Stack): Remove erroneous const in sigstack prototype.
31010         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31011         prototype.
31012         (Simple Calendar Time): Likewise for stime.
31013         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31014         prototype.
31015         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31016         say sys/sysctl.h instead.
31017         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31018         and vsyslog prototypes.
31019
31020 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31021
31022         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31023         Remove.
31024
31025 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31026
31027         * misc/sys/mman.h: Fix typo in mremap comment.
31028
31029 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31030
31031         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31032         the '\0' terminator.
31033
31034 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31035
31036         [BZ #13550]
31037         * debug/segfault.c: Don't include <bp-checks.h>.
31038         * sysdeps/generic/bp-checks.h: Remove file.
31039         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31040         (__GETDENTS): Don't use CHECK_N.
31041         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31042         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31043         (__getgroups): Don't use CHECK_N.
31044         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31045         (setgroups): Don't use CHECK_N.
31046         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31047         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31048         (__libc_msgrcv): Don't use CHECK_N.
31049         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31050         (__libc_msgsnd): Don't use CHECK_N.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31052         <bp-checks.h>.
31053         (__libc_pread): Don't use CHECK_N.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31055         include <bp-checks.h>.
31056         (__libc_pread64): Don't use CHECK_N.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31058         include <bp-checks.h>.
31059         (__libc_pwrite): Don't use CHECK_N.
31060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31061         include <bp-checks.h>.
31062         (__libc_pwrite64): Don't use CHECK_N.
31063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31064         <bp-checks.h>.
31065         (__libc_pread): Don't use CHECK_N.
31066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31067         include <bp-checks.h>.
31068         (__libc_pread64): Don't use CHECK_N.
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31070         include <bp-checks.h>.
31071         (__libc_pwrite): Don't use CHECK_N.
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31073         include <bp-checks.h>.
31074         (__libc_pwrite64): Don't use CHECK_N.
31075         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31076         (do_pread): Don't use CHECK_N.
31077         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31078         (do_pread64): Don't use CHECK_N.
31079         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31080         (do_pwrite): Don't use CHECK_N.
31081         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31082         (do_pwrite64): Don't use CHECK_N.
31083         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31084         (__libc_readv): Don't use CHECK_N.
31085         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31086         (semop): Don't use CHECK_N.
31087         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31088         <bp-checks.h>.
31089         (semtimedop): Don't use CHECK_N.
31090         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31091         (__libc_pread): Don't use CHECK_N.
31092         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31093         <bp-checks.h>.
31094         (__libc_pread64): Don't use CHECK_N.
31095         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31096         <bp-checks.h>.
31097         (__libc_pwrite): Don't use CHECK_N.
31098         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31099         <bp-checks.h>.
31100         (__libc_pwrite64): Don't use CHECK_N.
31101         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31102         <bp-checks.h>.
31103         (__libc_msgrcv): Don't use CHECK_N.
31104         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31105         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31106         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31107         (__libc_writev): Don't use CHECK_N.
31108
31109 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31110
31111         * string/strcpy.c: Removed unused variable.
31112
31113         * Makeconfig (+sysdep-includes): Define with := rather than =.
31114         Use an existing include/ subdir of each sysdeps dir before it.
31115
31116 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31117
31118         * nscd/connection.c (register_traced_file): Comment function.
31119         [HAVE_INOTIFY] (union __inev): Define.
31120         [HAVE_INOTIFY] (inotify_check_files): New function.
31121         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31122         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31123         clear_db_cache.
31124         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31125
31126 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31127
31128         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31129         loaded if not already and that a failure is permanent.
31130
31131 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31132
31133         [BZ #15006]
31134         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31135         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31136
31137 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31138
31139         [BZ #13550]
31140         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31141         (CHECK_1_NULL_OK): Likewise.
31142         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31143         (__fxstat): Do not use CHECK_1.
31144         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31145         <bp-checks.h>.
31146         (___fxstat64): Do not use CHECK_1.
31147         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31148         <bp-checks.h>.
31149         (__fxstatat): Do not use CHECK_1.
31150         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31151         <bp-checks.h>.
31152         (__fxstatat64): Do not use CHECK_1.
31153         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31154         <bp-checks.h>.
31155         (__fxstat): Do not use CHECK_1.
31156         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31157         <bp-checks.h>.
31158         (__fxstatat): Do not use CHECK_1.
31159         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31160         <bp-checks.h>.
31161         (__getresgid): Do not use CHECK_1.
31162         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31163         <bp-checks.h>.
31164         (__getresuid): Do not use CHECK_1.
31165         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31166         <bp-checks.h>.
31167         (__lxstat): Do not use CHECK_1.
31168         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31169         <bp-checks.h>.
31170         (__old_msgctl): Do not use CHECK_1.
31171         (__new_msgctl): Likewise.
31172         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31173         <bp-checks.h>.
31174         (__new_setrlimit): Do not use CHECK_1.
31175         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31176         <bp-checks.h>.
31177         (__old_shmctl): Do not use CHECK_1.
31178         (__new_shmctl): Likewise.
31179         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31180         <bp-checks.h>.
31181         (__xstat): Do not use CHECK_1.
31182         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31183         (__lxstat): Do not use CHECK_1.
31184         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31185         <bp-checks.h>.
31186         (___lxstat64): Do not use CHECK_1.
31187         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31188         (__old_msgctl): Do not use CHECK_1.
31189         (__new_msgctl): Likewise.
31190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31191         <bp-checks.h>.
31192         (__gettimeofday): Do not use CHECK_1.
31193         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31194         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31195         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31196         <bp-checks.h>.
31197         (__gettimeofday): Do not use CHECK_1.
31198         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31199         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31200         (__new_shmctl): Do not use CHECK_1.
31201         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31202         <bp-checks.h>.
31203         (do_sigtimedwait): Do not use CHECK_1.
31204         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31205         <bp-checks.h>.
31206         (do_sigwaitinfo): Do not use CHECK_1.
31207         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31208         <bp-checks.h>.
31209         (msgctl): Do not use CHECK_1.
31210         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31211         <bp-checks.h>.
31212         (shmctl): Do not use CHECK_1.
31213         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31214         (ustat): Do not use CHECK_1.
31215         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31216         <bp-checks.h>.
31217         (__fxstat): Do not use CHECK_1.
31218         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31219         <bp-checks.h>.
31220         (__fxstatat): Do not use CHECK_1.
31221         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31222         <bp-checks.h>.
31223         (__lxstat): Do not use CHECK_1.
31224         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31225         <bp-checks.h>.
31226         (__xstat): Do not use CHECK_1.
31227         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31228         (__xstat): Do not use CHECK_1.
31229         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31230         (___xstat64): Do not use CHECK_1.
31231
31232         [BZ #13550]
31233         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31234         definitions.
31235         (CHECK_BOUNDS_HIGH): Likewise.
31236         * string/strcpy.c: Do not include <bp-checks.h>.
31237         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31238
31239 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31240
31241         * nscd/nscd-client.h (__nscd_drop_map_ref):
31242         Add __attribute__ ((unused)).
31243         * nis/nss-nisplus.h (niserr2nss): Likewise.
31244
31245         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31246         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31247
31248         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31249         Remove inline keyword.
31250         * include/rounding-mode.h (round_away): Likewise.
31251         * libio/wfileops.c (adjust_wide_data): Likewise.
31252         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31253         (__m128i_strloadu_tolower): Likewise.
31254         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31255         (__m128i_strloadu_tolower): Likewise.
31256         * time/mktime.c (ydhms_diff): Likewise.
31257         * locale/elem-hash.h (elem_hash): Likewise.
31258         * locale/setlocale.c (setdata): Likewise.
31259         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31260         (re_string_wchar_at): Likewise.
31261         (bitset_not, bitset_merge, bitset_mask): Likewise.
31262         [!(__GNUC__ > 3)] (inline): Remove macro.
31263         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31264         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31265         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31266         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31267         * string/memcmp.c (memcmp_bytes): Likewise.
31268         * locale/programs/locarchive.c (compute_hashval): Likewise.
31269         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31270         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31271         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31272         * nss/getent.c (print_rpc, print_protocols): Likewise.
31273         (print_passwd, print_group, print_aliases): Likewise.
31274         * nis/nss-nisplus.h (niserr2nss): Likewise.
31275         * nscd/connections.c (restart_p): Likewise.
31276         Change return type to bool.
31277
31278 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31279
31280         * Makeconfig (all-Depend-files): Add existing
31281         $(sorted-subdirs:=/Depend) files.
31282         (all-subdirs): Remove nss.
31283         * sysdeps/unix/inet/Subdirs: Add it here instead.
31284         * hesiod/Depend: New file.
31285
31286         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31287         instead of calling alloca.
31288
31289         * io/lseek.c (__lseek): Rename to __libc_lseek.
31290         Define __lseek as an alias.
31291
31292         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31293
31294 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31295
31296         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31297         else clause and remove check for non-standard endianness.
31298
31299 2013-02-04  David S. Miller  <davem@davemloft.net>
31300
31301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31302
31303 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31304
31305         [BZ #13550]
31306         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31307         (__ubp_memchr): Remove prototype.
31308         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31309         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31310         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31311         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31312         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31313         Remove alias.
31314         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31315         (__ubp_memchr): Likewise.
31316         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31317         (__ubp_memchr): Likewise.
31318         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31319         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31320         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31321         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31322         CHECK_STRING.
31323         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31324         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31325         (__getcwd): Do not use CHECK_STRING.
31326         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31327         <bp-checks.h>.
31328         (__real_chown): Do not use CHECK_STRING.
31329         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31330         <bp-checks.h>.
31331         (fchownat): Do not use CHECK_STRING.
31332         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31333         CHECK_STRING.
31334         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31335         <bp-checks.h>.
31336         (__lchown): Do not use CHECK_STRING.
31337         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31338         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31339         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31340         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31342         include <bp-checks.h>.
31343         (truncate64): Do not use CHECK_STRING.
31344         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31345         <bp-checks.h>.
31346         (__real_chown): Do not use CHECK_STRING.
31347         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31348         <bp-checks.h>.
31349         (__lchown): Do not use CHECK_STRING.
31350         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31351         <bp-checks.h>.
31352         (__chown): Do not use CHECK_STRING.
31353         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31354         <bp-checks.h>.
31355         (truncate64): Do not use CHECK_STRING.
31356         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31357         Likewise.
31358         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31359         (__xmknod): Do not use CHECK_STRING.
31360         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31361         <bp-checks.h>.
31362         (__xmknodat): Do not use CHECK_STRING.
31363         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31364         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31365
31366 2013-02-04  Andreas Schwab  <schwab@suse.de>
31367
31368         [BZ #14142]
31369         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31370         * include/netdb.h: Likewise for h_errno.
31371         * elf/tst-stackguard1.c: Include <tls.h>.
31372
31373 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31374
31375         * elf/link.h (struct link_map): Extend the l_addr comment.
31376         * include/link.h (struct link_map): Likewise.
31377
31378 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31379
31380         [BZ #13550]
31381         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31382         (BOUNDED_1): Remove macro.
31383         * debug/backtrace.c: Don't include <bp-checks.h>.
31384         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31385         (__backtrace): Likewise.
31386         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31387         <bp-checks.h>.
31388         (__backtrace): Don't use BOUNDED_1.
31389         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31390         <bp-checks.h>.
31391         (__backtrace): Don't use BOUNDED_1.
31392         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31393         (__backtrace): Don't use BOUNDED_1.
31394         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31395         (shmat): Don't use BOUNDED_N.
31396
31397 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31398
31399         [BZ #13550]
31400         * sysdeps/generic/bp-start.h: Remove file.
31401         * csu/libc-start.c: Don't include <bp-start.h>.
31402         (LIBC_START_MAIN): Set up __environ directly instead of using
31403         INIT_ARGV_and_ENVIRON.
31404         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31405         <bp-start.h>.
31406
31407         [BZ #13550]
31408         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31409         definitions.
31410         (CHECK_FCNTL): Likewise.
31411         (CHECK_N_PAGES): Likewise.
31412
31413         [BZ #13550]
31414         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31415         definitions.
31416         (CHECK_SIGSET_NULL_OK): Likewise.
31417         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31418         <bp-checks.h>.
31419         (sigpending): Don't use CHECK_SIGSET.
31420         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31421         <bp-checks.h>.
31422         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31423         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31424         <bp-checks.h>.
31425         (do_sigsuspend): Don't use CHECK_SIGSET.
31426         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31427         use CHECK_SIGSET.
31428         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31429         (do_sigwait): Don't use CHECK_SIGSET.
31430         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31431         use CHECK_SIGSET.
31432         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31433         include <bp-checks.h>.
31434         (sigpending): Don't use CHECK_SIGSET.
31435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31436         include <bp-checks.h>.
31437         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31438         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31439         <bp-checks.h>.
31440         (sigpending): Don't use CHECK_SIGSET.
31441         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31442         <bp-checks.h>.
31443         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31444
31445         [BZ #13550]
31446         * sysdeps/generic/bp-semctl.h: Remove file.
31447         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31448         <bp-checks.h> and <bp-semctl.h>.
31449         (__old_semctl): Don't use CHECK_SEMCTL.
31450         (__new_semctl): Likewise.
31451         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31452         and <bp-semctl.h>.
31453         (__old_semctl): Don't use CHECK_SEMCTL.
31454         (__new_semctl): Likewise.
31455         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31456         <bp-checks.h> and <bp-semctl.h>.
31457         (__old_semctl): Don't use CHECK_SEMCTL.
31458         (__new_semctl): Likewise.
31459         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31460         <bp-checks.h> and <bp-semctl.h>.
31461         (semctl): Don't use CHECK_SEMCTL.
31462
31463         [BZ #13550]
31464         * Makerules (elide-bp-thunks): Remove variable.
31465         (elide-routines.oS): Don't use $(elide-bp-thunks).
31466         (elide-routines.os): Likewise.
31467         (elide-routines.o): Likewise.
31468         (elide-routines.op): Likewise.
31469         (elide-routines.og): Likewise.
31470         (objects): Don't use $(bp-thunks).
31471         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31472         include.
31473         (common-generated): Do not add s-proto-bp.d.
31474         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31475         (int): Likewise.
31476         (typ): Likewise.
31477         Do not generate makefile rules for bounded-pointer thunks.
31478         * sysdeps/generic/bp-thunks.h: Remove file.
31479         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31480         * sysdeps/unix/s-proto-bp.S: Likewise.
31481
31482         [BZ #15062]
31483         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31484         parts of result separately when argument is not close to line from
31485         -i to i and one part of argument is small.
31486         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31487         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31488         * math/libm-test.inc (cacos_test): Add more tests.
31489         (casin_test): Likewise.
31490         (casinh_test): Likewise.
31491         * sysdeps/i386/fpu/libm-test-ulps: Update.
31492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31493
31494 2013-01-31  David S. Miller  <davem@davemloft.net>
31495
31496         * po/de.po: Update from translation team.
31497
31498 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31499
31500         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31501
31502 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31503
31504         * configure.in (_AC_PROG_CC_C89): New definition.
31505         * configure: Regenerate.
31506
31507         * configure.in (AC_PROG_CPP): New definition.
31508         * configure: Regenerate.
31509
31510 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31511
31512         * debug/tst-backtrace.h: New file.
31513         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31514         (ret): Remove variable.
31515         (x): Likewise.
31516         (FAIL): Remove macro.
31517         (NO_INLINE): Likewise.
31518         (fn1): Use match function instead of strstr.
31519         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31520         (ret): Remove variable.
31521         (x): Likewise.
31522         (FAIL): Remove macro.
31523         (NO_INLINE): Likewise.
31524         (fn): Use match function instead of strstr.
31525         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31526         (ret): Remove variable.
31527         (x): Likewise.
31528         (FAIL): Remove macro.
31529         (NO_INLINE): Likewise.
31530         (handle_signal): Use match function instead of strstr.
31531         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31532         (ret): Remove variable.
31533         (x): Likewise.
31534         (FAIL): Remove macro.
31535         (NO_INLINE): Likewise.
31536         (handle_signal): Use match function instead of strstr.
31537
31538 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31539
31540         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31541
31542 2013-01-23  David S. Miller  <davem@davemloft.net>
31543
31544         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31545         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31546         argument of CAS if possible.
31547         * sysdeps/sparc/sparc64/bits/atomic.h
31548         (__arch_compare_and_exchange_val_32_acq): Likewise.
31549         (__arch_compare_and_exchange_val_64_acq): Likewise.
31550
31551 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31552
31553         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31554         * sysdeps/posix/ulimit.c: ... this.
31555         Include <limits.h>.
31556         * sysdeps/unix/bsd/ulimit.c: Remove file.
31557
31558 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31559
31560         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31561         (LDFLAGS-tst-array5): Likewise.
31562
31563 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31564
31565         [BZ #15036]
31566         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31567         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31568         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31569         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31570
31571 2013-01-21  David S. Miller  <davem@davemloft.net>
31572
31573         * sysdeps/sparc/backtrace.c: New file.
31574         * sysdeps/sparc/sparc32/backtrace.h: New file.
31575         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31576         * sysdeps/sparc/sparc64/backtrace.h: New file.
31577         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31578         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31579         -funwind-tables.
31580
31581 2013-01-21  Andreas Schwab  <schwab@suse.de>
31582
31583         [BZ #15020]
31584         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31585         closed its stdout.
31586
31587 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31588
31589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31590         "mpa2.h".
31591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31592
31593 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31594             Mark Mitchell  <mark@codesourcery.com>
31595             Tom de Vries  <tom@codesourcery.com>
31596             Paul Pluzhnikov  <ppluzhnikov@google.com>
31597
31598         * debug/tst-backtrace2.c: New file.
31599         * debug/tst-backtrace3.c: Likewise.
31600         * debug/tst-backtrace4.c: Likewise.
31601         * debug/tst-backtrace5.c: Likewise.
31602         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31603         (CFLAGS-tst-backtrace3.c): Likewise.
31604         (CFLAGS-tst-backtrace4.c): Likewise.
31605         (CFLAGS-tst-backtrace5.c): Likewise.
31606         (LDFLAGS-tst-backtrace2): Likewise.
31607         (LDFLAGS-tst-backtrace3): Likewise.
31608         (LDFLAGS-tst-backtrace4): Likewise.
31609         (LDFLAGS-tst-backtrace5): Likewise.
31610         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31611         tst-backtrace4 and tst-backtrace5.
31612
31613 2013-01-18  Anton Blanchard  <anton@samba.org>
31614             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31615
31616         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31617         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31618         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31619         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31621         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31622         "+r" and remove output regs list as redundant.  Add explicit inline
31623         asm to specify register of return val to work around compiler codegen
31624         bug.  Remove (int) cast on return value.  Add return type parameter to
31625         use in macro so that this macro does not truncate return value for
31626         64-bit values.
31627         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31628         pass to INTERNAL_VSYSCALL_NCS.
31629         (INLINE_VSYSCALL): Add 'long int' as return type to
31630         INTERNAL_VSYSCALL_NCS macro invocation.
31631         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31632         INTERNAL_VSYSCALL_NCS macro invocation.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31634
31635 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31636
31637         [BZ #14496]
31638         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31639         Fix application of SIMD FP exception mask.
31640
31641         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31642         mp_no from a power of two.
31643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31644         __mpexp_twomm1.  Use __pow_mp.
31645
31646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31647         multiplication.
31648
31649 2013-01-17  David S. Miller  <davem@davemloft.net>
31650
31651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31652
31653 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31654
31655         [BZ #15023]
31656         * include/complex.h: Condition contents on [!_COMPLEX_H].
31657         (__kernel_casinhf): New prototype.
31658         (__kernel_casinh): Likewise.
31659         (__kernel_casinhl): Likewise.
31660         * math/Makefile (libm_calls): Add k_casinh.
31661         * math/k_casinh.c: New file.
31662         * math/k_casinhf.c: Likewise.
31663         * math/k_casinhl.c: Likewise.
31664         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31665         finite nonzero arguments.
31666         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31667         finite nonzero arguments.
31668         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31669         finite nonzero arguments.
31670         * math/s_casinh.c: Do not include <float.h>.
31671         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31672         * math/s_casinhf.c: Do not include <float.h>.
31673         (__casinhf): Move code for finite nonzero arguments to
31674         k_casinhf.c.
31675         * math/s_casinhl.c: Do not include <float.h>.
31676         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31677         redefine.
31678         (__casinhl): Move code for finite nonzero arguments to
31679         k_casinhl.c.
31680         * math/libm-test.inc (cacos_test): Add more tests.
31681         * sysdeps/i386/fpu/libm-test-ulps: Update.
31682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31683
31684 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31685
31686         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31687         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31688         [!HAVE_MREMAP]: Remove [defined linux] case.
31689         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31690
31691 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692
31693         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31694
31695 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31696
31697         * elf/elf.h (R_386_SIZE32): New relocation.
31698         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31699         R_386_SIZE32.
31700         (elf_machine_rela): Likewise.
31701         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31702         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31703
31704 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31705
31706         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31707         (FP_FAST_FMA): Do not define.
31708         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31709         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31710         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31711         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31712         !_SOFT_FLOAT]: Likewise.
31713         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31714         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31715         value.
31716         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31717         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31718         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31719         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31720         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31721         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31722         file.
31723
31724 2013-01-16  Andreas Schwab  <schwab@suse.de>
31725
31726         [BZ #14327]
31727         * include/stdlib.h (__mktemp): Add declaration.
31728         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31729         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31730
31731 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31732
31733         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31734         definitions.
31735         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31736         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31737         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31738         definitions here.
31739         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31740         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31741         definitions.
31742         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31743         and ONE.
31744         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31745         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31746         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31747         definitions.
31748         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31749         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31750         definitions.
31751         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31752
31753         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31754
31755 2013-01-15  David S. Miller  <davem@davemloft.net>
31756
31757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31758         trunc{,f} to libm-sysdep_routes.
31759         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31761         file.
31762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31764         file.
31765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31766         file.
31767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31769         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31770         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31771         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31772         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31773         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31774         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31775
31776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31777         nearbyint{,f} to libm-sysdep_routes.
31778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31780         New file.
31781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31782         file.
31783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31784         New file.
31785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31786         file.
31787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31789         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31790         file.
31791         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31792         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31793         file.
31794         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31795         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31796         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31797
31798         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31799         libc_feholdexcept and libc_fesetenv.
31800
31801 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31802
31803         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31804
31805 2013-01-14  David S. Miller  <davem@davemloft.net>
31806
31807         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31808         (SPARC_ASM_VIS2_IFUNC): Likewise.
31809         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31811         use of 'siam' instruction.
31812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31813         Likewise.
31814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31815         Likewise.
31816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31817         Likewise.
31818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31823         file.
31824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31825         file.
31826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31827         file.
31828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31829         file.
31830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31835         new VIS2 routines.
31836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31839         Likewise.
31840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31845         routines to libm-sysdep_routines.
31846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31847
31848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31849         fdim/fdimf to libm-sysdep_routines.
31850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31851         file.
31852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31854         file.
31855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31858         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31859         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31860         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31861         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31862
31863 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31864
31865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31866         to optimize copies.
31867
31868         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31871
31872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31873         local variable MPTWO.
31874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31875         Likewise.
31876
31877 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31878
31879         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31880         GLOB_NOESCAPE.
31881
31882 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31883
31884         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31885
31886 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31887
31888         * manual/pattern.texi (glob_t): Document gl_flags.
31889         (glob64_t): Likewise.
31890
31891 2013-01-11  David S. Miller  <davem@davemloft.net>
31892
31893         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31894         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31895         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31896         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31897         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31898         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31899         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31900         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31901         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31902         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31903         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31904         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31905         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31906
31907         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31908         sparc V9 rather than using V8 code.
31909         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31910         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31911
31912         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31913         Move to...
31914         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31915         Here.
31916
31917 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31918
31919         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31920         not in the main loop.
31921         * configure: Regenerated.
31922
31923 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31924
31925         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31926         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31927         to just #else.
31928         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31929         [!__GLIBC_HAVE_LONG_LONG] case.
31930         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31931         condition to just #else.
31932         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31933         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31934         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31935         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31936         unconditional.
31937         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31938         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31939         #elif condition to just #else.
31940         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31941         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31942         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31943         #elif condition to just #else.
31944
31945 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31946
31947         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31948         (EF_MIPS_ARCH_64): Fix value.
31949         (EF_MIPS_ARCH_32R2): New.
31950         (EF_MIPS_ARCH_64R2): New.
31951
31952 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31953
31954         * Makeconfig (+link-pie-before-libc): New.
31955         (+link-pie-after-libc): Likewise.
31956         (+link-pie-tests): Likewise.
31957         (+link-pie): Rewritten.
31958         (link-before-libc): Remove $(config-LDFLAGS).
31959         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31960         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31961         (config-LDFLAGS): Renamed to ...
31962         (rtld-LDFLAGS): This.
31963         (rtld-tests-LDFLAGS): New macro.
31964         (link-libc-rpath-link): Likewise.
31965         (link-libc-tests-rpath-link): Likewise.
31966         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31967         (link-libc): Prepand $(link-libc-rpath-link).
31968         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31969         (test-program-prefix): New macro.
31970         (test-via-rtld-prefix): Likewise.
31971         (test-program-cmd): Likewise.
31972         (host-test-program-cmd): Likewise.
31973         * Makefile ($(common-objpfx)testrun.sh): Replace
31974         $(run-program-prefix) with $(test-program-prefix).
31975         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31976         $(rtld-LDFLAGS).
31977         ($(common-objpfx)shlib.lds): Likewise.
31978         (build-module-helper): Likewise.
31979         ($(common-objpfx)format.lds): Likewise.
31980         * Rules (binaries-pie-tests): New.
31981         (binaries-pie-notests): Likewise.
31982         (binaries-pie): Rewritten.
31983         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31984         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31985         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31986         (make-test-out): Replace $(host-built-program-cmd) with
31987         $(host-test-program-cmd).
31988         * config.make.in (build-hardcoded-path-in-tests): New variable.
31989         * configure.in (--enable-hardcoded-path-in-tests): New configure
31990         option.
31991         (hardcoded_path_in_tests): New AC_SUBST.
31992         * configure: Regenerated.
31993         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31994         $(built-program-cmd) with $(test-program-cmd).
31995         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31996         (test_program_cmd): This.
31997         * elf/Makefile ($(objpfx)order.out): Run test with
31998         $(test-program-prefix).
31999         ($(objpfx)order2.out): Likewise.
32000         ($(objpfx)tst-initorder.out): Likewise.
32001         ($(objpfx)tst-initorder2.out): Likewise.
32002         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32003         $(test-program-cmd).
32004         ($(objpfx)tst-array1-static.out): Likewise.
32005         ($(objpfx)tst-array2.out): Likewise.
32006         ($(objpfx)tst-array3.out): Likewise.
32007         ($(objpfx)tst-array4.out): Likewise.
32008         ($(objpfx)tst-array5.out): Likewise.
32009         ($(objpfx)tst-array5-static.out): Likewise.
32010         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32011         $(test-program-cmd).
32012         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32013         $(run-program-prefix) with $(test-program-prefix).
32014         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32015         (test_program_prefix): This.
32016         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32017         $(run-program-prefix) with $(test-program-prefix).
32018         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32019         (test_program_prefix): This.
32020         * iconvdata/tst-tables.sh: Likewise.
32021         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32022         $(run-program-prefix) with $(test-program-prefix).
32023         ($(objpfx)tst-translit.out): Likewise.
32024         ($(objpfx)tst-gettext2.out): Likewise.
32025         ($(objpfx)tst-gettext4.out): Likewise.
32026         ($(objpfx)tst-gettext6.out): Likewise.
32027         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32028         (test_program_prefix): This.
32029         * intl/tst-gettext2.sh: Likewise.
32030         * intl/tst-gettext4.sh  Likewise.
32031         * intl/tst-gettext6.sh: Likewise.
32032         * intl/tst-translit.sh: Likewise.
32033         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32034         with $(test-program-cmd).
32035         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32036         $(run-program-prefix) with $(test-program-prefix).
32037         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32038         (test_program_prefix): This.
32039         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32040         $(run-program-prefix) with $(test-program-prefix).
32041         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32042         (test_program_prefix): This.
32043         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32044         * posix/Makefile ($(objpfx)globtest.out): Replace
32045         $(run-via-rtld-prefix) and $(test-wrapper) with
32046         $(test-program-prefix) and $(test-via-rtld-prefix).
32047         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32048         $(test-program-prefix).
32049         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32050         $(host-test-program-cmd).
32051         (tst-spawn-ARGS): Likewise.
32052         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32053         $(test-program-prefix).
32054         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32055         (test_via_rtld_prefix): This.
32056         (test_wrapper): Renamed to ...
32057         (test_program_prefix): This.
32058         (run_program_prefix): Replaced by test_program_prefix.
32059         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32060         (test_program_prefix): This.
32061         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32062         with $(host-test-program-cmd).
32063         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32064         $(run-program-prefix) with $(test-program-prefix).
32065         ($(objpfx)tst-printf.out): Likewise.
32066         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32067         $(test-program-cmd).
32068         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32069         (test_program_prefix): This.
32070         * stdio-common/tst-unbputc.sh: Likewise.
32071         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32072         $(run-program-prefix) with $(test-program-prefix).
32073         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32074         (test_program_prefix): This.
32075         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32076         $(built-program-cmd) with $(test-program-cmd).
32077
32078 2013-01-11  Andreas Jaeger  <aj@suse.de>
32079
32080         [BZ #15003]
32081         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32082         value. Sync with Linux 3.7.
32083
32084 2013-01-10  David S. Miller  <davem@davemloft.net>
32085
32086         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32087         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32088         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32089
32090 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32091
32092         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32093         never set.
32094         * configure: Regenerated.
32095
32096 2013-01-10  David S. Miller  <davem@davemloft.net>
32097
32098         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32099         sparc V9 rather than using V8 code.
32100         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32101         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32102
32103 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32104
32105         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32106         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32107         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32108         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32109         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32110         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32111         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32112         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32113         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32114         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32115         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32116         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32117         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32118         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32119         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32120         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32121         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32122         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32123         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32124         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32125         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32126         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32127         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32128         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32129         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32130         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32131         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32132
32133 2013-01-10  David S. Miller  <davem@davemloft.net>
32134
32135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32136
32137 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32138
32139         * posix/Makefile (tests-static): New variable.
32140         (tests): Add $(tests-static).
32141         (tst-exec-static-ARGS): New variable.
32142         (tst-spawn-static-ARGS): Likewise.
32143         * posix/tst-exec-static.c: New file.
32144         * posix/tst-spawn-static.c: Likewise.
32145         * posix/tst-exec.c: Support run directly.
32146         * posix/tst-spawn.c: Likewise.
32147
32148 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32149
32150         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32151         long.
32152         * math/bits/mathcalls.h (llrint): Likewise.
32153         (llround): Likewise.
32154         * stdlib/stdlib.h (struct drand48_data): Likewise.
32155         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32156         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32157         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32158         Likewise.
32159         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32160         Likewise.
32161         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32162         (elf_greg_t): Likewise.
32163         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32164         (__jmp_buf): Likewise.
32165         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32166         definitions.
32167         (llrint): Likewise, for all definitions.
32168         (llrintl): Likewise.
32169
32170         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32171         Remove [__GNUC__] condition.
32172         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32173         condition to just [__USE_ISOC99].
32174         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32175
32176 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32177
32178         [BZ #14200]
32179         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32180         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32181         defined.
32182         (_POSIX_V6_ILP32_OFF32): Likewise.
32183         (_XBS5_ILP32_OFF32): Likewise.
32184         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32185         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32186
32187 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32188
32189         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32190
32191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32192         doubles __mpexp_twomm1.  Adjust usage.
32193         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32194         Remove.
32195
32196 2013-01-10  Andreas Schwab  <schwab@suse.de>
32197
32198         [BZ #14964]
32199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32200         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32201
32202 2013-01-09  David S. Miller  <davem@davemloft.net>
32203
32204         [BZ #15003]
32205         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32206         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32207         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32208         (TCP_FASTOPEN): Define.
32209         (tcp_repair_opt): New structure.
32210         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32211         enum values.
32212         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32213         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32214         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32215         (tcp_cookie_transactions): New structure.
32216
32217 2013-01-09  Anton Blanchard  <anton@samba.org>
32218
32219         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32220         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32221         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32222         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32223
32224 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32225
32226         * include/features.h (__USE_ANSI): Remove.
32227
32228 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32229
32230         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32231
32232         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32233
32234 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32235
32236         * sysdeps/s390/fpu/libm-test-ulps: Update.
32237
32238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32239
32240         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32241         (__acr): Likewise.
32242         (__cpy): Likewise.
32243         (norm): Likewise.
32244         (denorm): Likewise.
32245         (__mp_dbl): Likewise.
32246         (__dbl_mp): Likewise.
32247         (add_magnitudes): Likewise.
32248         (sub_magnitudes): Likewise.
32249         (__add): Likewise.
32250         (__sub): Likewise.
32251         (__mul): Likewise.
32252         (__inv): Likewise.
32253         (__dvd): Likewise.
32254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32255         (__acr): Likewise.
32256         (__cpy): Likewise.
32257         (norm): Likewise.
32258         (denorm): Likewise.
32259         (__mp_dbl): Likewise.
32260         (__dbl_mp): Likewise.
32261         (add_magnitudes): Likewise.
32262         (sub_magnitudes): Likewise.
32263         (__add): Likewise.
32264         (__sub): Likewise.
32265         (__mul): Likewise.
32266         (__inv): Likewise.
32267         (__dvd): Likewise.
32268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32269         (__acr): Likewise.
32270         (__cpy): Likewise.
32271         (norm): Likewise.
32272         (denorm): Likewise.
32273         (__mp_dbl): Likewise.
32274         (__dbl_mp): Likewise.
32275         (add_magnitudes): Likewise.
32276         (sub_magnitudes): Likewise.
32277         (__add): Likewise.
32278         (__sub): Likewise.
32279         (__mul): Likewise.
32280         (__inv): Likewise.
32281         (__dvd): Likewise.
32282
32283 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32284
32285         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32286         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32287         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32288         2 && __USE_EXTERN_INLINES]: Likewise.
32289
32290 2013-01-08  Andreas Jaeger  <aj@suse.de>
32291
32292         [BZ# 14985]
32293         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32294         Remove.
32295         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32296         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32297
32298 2013-01-07  Anton Blanchard  <anton@samba.org>
32299
32300         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32301         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32302         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32303         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32304         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32305         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32306         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32307         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32309         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32310         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32311         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32312         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32313         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32314         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32315         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32316         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32318         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32319         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32320         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32321         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32323         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32324         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32325         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32326         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32327         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32328         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32329         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32330         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32332         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32333         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32334         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32335         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32336         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32337         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32338         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32339         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32340         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32342         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32343
32344 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32345
32346         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32347         (__MALLOC_PMT): Likewise.
32348         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32349         [__GNUC__], only on [_LIBC].
32350         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32351         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32352         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32353         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32354         forward declaration.
32355         (realloc_hook_ini): Likewise.
32356         (memalign_hook_ini): Likewise.
32357         (__libc_memalign): Do not use __MALLOC_PMT in variable
32358         declaration.
32359         (__libc_valloc): Likewise.
32360         (__libc_pvalloc): Likewise.
32361         (__libc_calloc): Likewise.
32362         (__posix_memalign): Likewise.
32363
32364         [BZ #14996]
32365         * math/s_casinh.c: Include <float.h>.
32366         (__casinh): Do not do computation with squaring and square root
32367         for large arguments.
32368         * math/s_casinhf.c: Include <float.h>.
32369         (__casinhf): Do not do computation with squaring and square root
32370         for large arguments.
32371         * math/s_casinhl.c: Include <float.h>.
32372         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32373         (__casinhl): Do not do computation with squaring and square root
32374         for large arguments.
32375         * math/libm-test.inc (casin_test): Add more tests.
32376         (casinh_test): Likewise.
32377         * sysdeps/i386/fpu/libm-test-ulps: Update.
32378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379
32380 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32381
32382         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32383         (__x86_64_raw_data_cache_size): Likewise.
32384         (__x86_64_data_cache_size_half): Likewise.
32385         (__x86_64_raw_data_cache_size_half): Likewise.
32386         (__x86_64_shared_cache_size): Likewise.
32387         (__x86_64_raw_shared_cache_size): Likewise.
32388         (__x86_64_shared_cache_size_half): Likewise.
32389         (__x86_64_raw_shared_cache_size_half): Likewise.
32390         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32391         to ...
32392         (__x86_data_cache_size): This.
32393         (__x86_64_raw_data_cache_size): Renamed to ...
32394         (__x86_raw_data_cache_size): This.
32395         (__x86_64_data_cache_size_half): Renamed to ...
32396         (__x86_data_cache_size_half): This.
32397         (__x86_64_raw_data_cache_size_half): Renamed to ...
32398         (__x86_raw_data_cache_size_half): This.
32399         (__x86_64_shared_cache_size): Renamed to ...
32400         (__x86_shared_cache_size): This.
32401         (__x86_64_raw_shared_cache_size): Renamed to ...
32402         (__x86_raw_shared_cache_size): This.
32403         (__x86_64_shared_cache_size_half): Renamed to ...
32404         (__x86_shared_cache_size_half): This.
32405         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32406         (__x86_raw_shared_cache_size_half): This.
32407         * sysdeps/x86_64/memcpy.S: Updated.
32408         * sysdeps/x86_64/memset.S: Likewise.
32409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32410         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32411         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32412
32413 2013-01-04  David S. Miller  <davem@davemloft.net>
32414
32415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32416
32417 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32418
32419         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32420         1 to avoid redefinition warning.
32421         (__USE_GNU): Don't define.
32422         (init_signaling_nan): Protoize.
32423
32424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32425
32426 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32427
32428         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32430         (__cpymn): Likewise.
32431         (norm): Remove commented code.
32432         (denorm): Likewise.
32433         (__mp_dbl): Likewise.
32434         (__inv): Likewise.
32435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32436         (__cpymn): Likewise.
32437         (norm): Remove commented code.
32438         (denorm): Likewise.
32439         (__mp_dbl): Likewise.
32440         (__inv): Likewise.
32441
32442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32443         mp_no value for 1.0 and 2.0.
32444         (norm): Use RADIXI instead of radixi.d.
32445         (denorm): Likewise.
32446         (__mul): Use 0.0 instead of zero.d.
32447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32448         mp_no value for 1.0 and 2.0.
32449         (norm): Use RADIXI instead of radixi.d.
32450         (denorm): Likewise.
32451         (__mul): Use 0.0 instead of zero.d.
32452
32453 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32454
32455         [BZ #14994]
32456         * math/s_casinh.c (__casinh): Reduce finite argument to first
32457         quadrant then set signs of results at the end.
32458         * math/s_casinhf.c (__casinhf): Likewise.
32459         * math/s_casinhl.c (__casinhl): Likewise.
32460         * math/libm-test.inc (casin_test): Add more tests.
32461         (casinh_test): Likewise.
32462         * sysdeps/i386/fpu/libm-test-ulps: Update.
32463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32464
32465 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32466
32467         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32468
32469         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32470
32471         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32472         declarations.
32473         (denorm): Likewise.
32474         (__mp_dbl): Likewise.
32475         (__inv): Likewise.
32476
32477         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32478         and adjust the header comment.
32479
32480         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32481         variable name from declaration.
32482
32483 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32484
32485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32486         Initialize COMMON_CPUID_INDEX_7 element.
32487         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32488         (CPUID_RTM): Likewise.
32489         (HAS_RTM): Likewise.
32490         (COMMON_CPUID_INDEX_7): New enum.
32491
32492 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32493
32494         [BZ #14981]
32495         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32496         size is zero, record memory as freed.
32497
32498 2013-01-03  Andreas Jaeger  <aj@suse.de>
32499
32500         * po/ia.po: Add new Interlingua translation.
32501
32502 2012-01-03  Allan McRae  <allan@archlinux.org>
32503
32504         * locale/programs/localedef.c: Fix description of '--posix' flag.
32505
32506 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32507
32508         * NEWS: Update dates in second copyright notice.
32509         * README: Update copyright dates in example.
32510         * manual/libc.texinfo: Update copyright dates.
32511         * scripts/test-installation.pl: Update copyright date in --version
32512         output.
32513
32514         * hurd/ctty-input.c: Fix copyright notice formatting.
32515         * hurd/ctty-output.c: Likewise.
32516         * hurd/dtable.c: Likewise.
32517         * hurd/hurd-raise.c: Likewise.
32518         * hurd/hurdprio.c: Likewise.
32519         * hurd/msgportdemux.c: Likewise.
32520         * misc/sys/file.h: Likewise.
32521         * misc/sys/ioctl.h: Likewise.
32522         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32523         * sysdeps/mach/hurd/chdir.c: Likewise.
32524         * sysdeps/mach/hurd/fchdir.c: Likewise.
32525         * sysdeps/mach/hurd/rename.c: Likewise.
32526         * sysdeps/mach/hurd/rmdir.c: Likewise.
32527         * sysdeps/mach/hurd/seekdir.c: Likewise.
32528         * sysdeps/mach/hurd/setsid.c: Likewise.
32529         * sysdeps/posix/wait3.c: Likewise.
32530
32531         * All files with FSF copyright notices: Update copyright dates
32532         using scripts/update-copyrights.
32533         * intl/plural.c: Regenerated.
32534         * locale/programs/charmap-kw.h: Likewise.
32535         * locale/programs/locfile-kw.h: Likewise.
32536
32537 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32538
32539         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32540         four values.
32541
32542         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32543         calculation loop and add branch prediction.
32544
32545         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32546         check access beyond bounds of m1np.
32547
32548         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32549         MPTWO.
32550         (__inv): Remove local variable MPTWO to use the global
32551         constant.
32552         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32554         variable MPTWO.
32555         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32556         MP3HALFS static const.
32557
32558 2013-01-01  David S. Miller  <davem@davemloft.net>
32559
32560         * po/ca.po: Update from translation team.
32561
32562 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32563
32564         * scripts/update-copyrights: New file.
32565         * Makeconfig: Reformat copyright notice.
32566         * ctype/ctype.h: Likewise.
32567         * debug/swprintf_chk.c: Likewise.
32568         * elf/dl-cache.c: Likewise.
32569         * elf/dl-debug.c: Likewise.
32570         * elf/dl-object.c: Likewise.
32571         * grp/initgroups.c: Likewise.
32572         * hurd/Makefile: Likewise.
32573         * hurd/hurd/signal.h: Likewise.
32574         * hurd/hurdfault.c: Likewise.
32575         * hurd/hurdioctl.c: Likewise.
32576         * hurd/hurdlookup.c: Likewise.
32577         * hurd/intr-msg.c: Likewise.
32578         * iconv/gconv_open.c: Likewise.
32579         * libio/swprintf.c: Likewise.
32580         * locale/lc-ctype.c: Likewise.
32581         * locale/nl_langinfo.c: Likewise.
32582         * mach/Machrules: Likewise.
32583         * mach/Makefile: Likewise.
32584         * malloc/obstack.h: Likewise.
32585         * manual/Makefile: Likewise.
32586         * manual/tsort.awk: Likewise.
32587         * misc/bits/stab.def: Likewise.
32588         * nis/nis_print_group_entry.c: Likewise.
32589         * nis/nis_table.c: Likewise.
32590         * nis/nss_compat/compat-pwd.c: Likewise.
32591         * nis/nss_compat/compat-spwd.c: Likewise.
32592         * po/Makefile: Likewise.
32593         * posix/fnmatch.c: Likewise.
32594         * posix/regex.h: Likewise.
32595         * resolv/Makefile: Likewise.
32596         * resolv/nss_dns/dns-network.c: Likewise.
32597         * resolv/res_hconf.c: Likewise.
32598         * scripts/gen-sorted.awk: Likewise.
32599         * soft-fp/soft-fp.h: Likewise.
32600         * stdio-common/printf.h: Likewise.
32601         * stdlib/monetary.h: Likewise.
32602         * stdlib/random.c: Likewise.
32603         * stdlib/random_r.c: Likewise.
32604         * sysdeps/generic/Makefile: Likewise.
32605         * sysdeps/gnu/Makefile: Likewise.
32606         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32613         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32614         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32616         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32617         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32619         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32620         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32621         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32622         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32623         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32624         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32626         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32627         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32628         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32629         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32630         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32631         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32632         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32633         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32634         * sysdeps/mach/hurd/errnos.awk: Likewise.
32635         * sysdeps/mach/hurd/fork.c: Likewise.
32636         * sysdeps/mach/hurd/getcwd.c: Likewise.
32637         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32638         * sysdeps/mach/hurd/mmap.c: Likewise.
32639         * sysdeps/mach/hurd/utimes.c: Likewise.
32640         * sysdeps/mach/hurd/xmknod.c: Likewise.
32641         * sysdeps/posix/profil.c: Likewise.
32642         * sysdeps/posix/readdir_r.c: Likewise.
32643         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32644         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32645         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32646         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32648         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32649         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32650         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32652         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32653         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32654         * sysdeps/pthread/lio_listio.c: Likewise.
32655         * sysdeps/sparc/dl-procinfo.h: Likewise.
32656         * sysdeps/unix/i386/sysdep.S: Likewise.
32657         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32658         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32659         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32660         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32662         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32663         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32664         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32665         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32666         * sysdeps/wordsize-32/divdi3.c: Likewise.
32667         * time/sys/time.h: Likewise.
32668         * wcsmbs/Makefile: Likewise.
32669
32670 2013-01-01  David S. Miller  <davem@davemloft.net>
32671
32672         * po/fr.po: Update from translation team.
32673
32674         * catgets/gencat.c: Update copyright year.
32675         * csu/version.c: Likewise.
32676         * debug/catchsegv.sh: Likewise.
32677         * debug/pcprofiledump.c: Likewise.
32678         * debug/xtrace.sh: Likewise.
32679         * elf/ldconfig.c: Likewise.
32680         * elf/ldd.bash.in: Likewise.
32681         * elf/pldd.c: Likewise.
32682         * elf/sotruss.ksh: Likewise.
32683         * elf/sprof.c: Likewise.
32684         * iconv/iconv_prog.c: Likewise.
32685         * iconv/iconvconfig.c: Likewise.
32686         * locale/programs/locale.c: Likewise.
32687         * locale/programs/localedef.c: Likewise.
32688         * login/programs/pt_chown.c: Likewise.
32689         * malloc/memusage.sh: Likewise.
32690         * malloc/memusagestat.c: Likewise.
32691         * malloc/mtrace.pl: Likewise.
32692         * nscd/nscd.c: Likewise.
32693         * nss/getent.c: Likewise.
32694         * nss/makedb.c: Likewise.
32695         * posix/getconf.c: Likewise.
32696
32697 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32698
32699         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32700         numbers.
32701
32702 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32703
32704         * math/bits/mathcalls.h (modf): Use __nonnull.
32705
32706 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32707
32708         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32709         (split): Use macro CN instead of the bare value.
32710         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32711         could be used.
32712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32713         instead of the bare value.
32714         (power1): Likewise.
32715
32716 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32717
32718         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32719         __ATAN_TWOM.
32720         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32721
32722         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32723         their values.
32724         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32725         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32726         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32727         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32728
32729 2012-12-28  Andreas Jaeger  <aj@suse.de>
32730
32731         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32732         values are from Linux 3.7.
32733
32734         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32735         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32736
32737 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32738
32739         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32740         TRUE case.
32741
32742         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32743         (norm): Likewise.
32744         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32745         variables with preprocessor constants.
32746         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32747         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32748         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32749
32750 2012-12-27  Bruno Haible  <bruno@clisp.org>
32751
32752         [BZ #14317]
32753         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32754         only if needed.
32755
32756 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32757
32758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32759         and use variable directly.
32760         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32761
32762         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32763         MPONE.
32764         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32765         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32766         variable MPONE.
32767         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32769         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32770         include directive.  Remove local variable MPONE.
32771         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32772         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32773         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32774
32775 2012-12-25  David S. Miller  <davem@davemloft.net>
32776
32777         * version.h (RELEASE): Set to "development".
32778         (VERSION): Set to "2.17.90".
32779         * NEWS: Add 2.18 section.
32780
32781 2012-12-21  David S. Miller  <davem@davemloft.net>
32782
32783         * po/hr.po: Update from translation team.
32784
32785 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32786
32787         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32788
32789 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32790
32791         * NEWS:  Mention new memcpy for MIPS.
32792
32793 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32794
32795         * manual/contrib.texi (Contributors): Spelling correction.
32796
32797 2012-12-15  David S. Miller  <davem@davemloft.net>
32798
32799         * po/ru.po: Update from translation team.
32800
32801 2012-12-13  David S. Miller  <davem@davemloft.net>
32802
32803         * NEWS: Mention IFUNC testsuite enhancements.
32804
32805         * po/pl.po: Update from translation team.
32806         * po/bg.po: Likewise.
32807
32808         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32809         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32810
32811 2012-12-11  David S. Miller  <davem@davemloft.net>
32812
32813         * po/sv.po: Update from translation team.
32814
32815         * po/vi.po: Update from translation team.
32816
32817         * po/cs.po: Update from translation team.
32818
32819         * po/de.po: Update from translation team.
32820         * po/eo.po: Likewise.
32821         * po/nl.po: Likewise.
32822
32823 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32824
32825         [BZ #14246]
32826         * manual/argp.texi (Argp Helper Functions): Move node to follow
32827         Argp Parsing State.
32828
32829         [BZ #14872]
32830         * manual/conf.texi (Limits on File System Capacity): Mention if
32831         terminating null is included in the max size.
32832
32833 2012-12-10  Andreas Jaeger  <aj@suse.de>
32834
32835         * po/cs.po: Update from translation team.
32836
32837 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32838
32839         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32840         void pointer and cast to uintptr_t.
32841         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32842         path.
32843         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32844         * sysdeps/s390/s390-64/memset.S: Likewise.
32845
32846 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32847
32848         [BZ #14833]
32849         * menual/message.texi (Message Translation): Fix typos.
32850         (Helper programs for gettext): Likewise.
32851
32852 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32853
32854         [BZ #14898]
32855         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32856         Change to -1.
32857
32858 2012-12-07  David S. Miller  <davem@davemloft.net>
32859
32860         * po/libc.pot: Update.
32861
32862 2012-12-07  Richard Henderson  <rth@redhat.com>
32863
32864         [BZ #10114]
32865         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32866         normal/normal case to before the switch.
32867         (_FP_DIV): Likewise.
32868
32869 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32870             Mike Frysinger  <vapier@gentoo.org>
32871
32872         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32873         check for __NR_fadvise64_64.
32874
32875 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32876
32877         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32878         0, not just to plain "0" as a statement.
32879         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32880         with cw.
32881
32882 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32883
32884         * NEWS: Use sourceware.org in Bugzilla URL.
32885
32886 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32887
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32889         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32890
32891         * stdio-common/tst-put-error.c (do_test): Add newline to the
32892         padded test to ensure flush.
32893
32894 2012-12-05  Jeff Law  <law@redhat.com>
32895
32896         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32897
32898 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32899
32900         * README: Don't refer to ports add-on as distributed separately.
32901         Mention AArch64 in list of systems supported in the ports add-on.
32902
32903         * LICENSES: Add more non-FSF copyright and license notices.
32904
32905         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32906         ((unused)).
32907
32908         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32909
32910         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32911         10000 as width of padded output.
32912
32913 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32914
32915         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32916
32917         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32918         variable LX with __attribute__ ((unused)).
32919         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32920         Likewise.
32921         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32923         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32924         with __attribute__ ((unused)).
32925
32926 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32927
32928         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32929
32930 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32931
32932         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32933         (CFLAGS-nldbl-acos.c): New variable.
32934         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32935         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32936         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32937         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32938         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32939         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32940         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32941         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32942         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32943         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32944         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32945         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32946         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32947         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32948         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32949         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32950         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32951         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32952         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32953         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32954         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32955         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32956         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32957         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32958         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32959         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32960         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32961         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32962         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32963         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32964         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32965         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32966         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32967         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32968         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32969         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32970         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32971         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32972         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32973         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32974         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32975         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32976         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32977         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32978         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32979         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32980         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32981         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32982         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32983         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32984         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32985         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32986         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32987         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32988         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32989         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32990         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32991         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32992         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32993         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32994         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32995         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32996         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32997         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32998         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32999         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33000         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33001         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33002         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33003         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33004         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33005         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33006         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33007         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33008         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33009         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33010         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33011         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33012         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33013         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33014         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33015         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33016         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33017         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33018         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33019         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33020         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33021         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33022         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33023         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33024         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33025         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33026         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33027         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33028         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33029         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33030         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33031
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33033         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33034
33035         [BZ #14914]
33036         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33037         whole low double instead of just low 47 bits when splitting values
33038         into two parts.
33039
33040 2012-12-03  Allan McRae  <allan@archlinux.org>
33041
33042         * manual/stdio.texi (Predefined Printf Handlers): Remove
33043         @hsep and @vsep usage.
33044
33045 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33046
33047         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33048         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33049
33050 2012-12-03  Jeff Law  <law@redhat.com>
33051
33052         * time/sys/time.h (settimeofday): Do not mark TV argument
33053         as __nonnull.
33054
33055 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33056
33057         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33058         when currently writing and seek to current position when not.
33059         * libio/Makefile (tests): Remove bug-fclose1.
33060         * libio/bug-fclose1.c: Delete.
33061
33062 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33063
33064         * manual/arith.texi (feenableexcept): Fix typo.
33065         (fedisableexcept): Likewise.
33066
33067 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33068
33069         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33070         second, differently-typed declaration, rather than a cast.
33071
33072 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33073
33074         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33075         * include/rpc/svc.h: ... here.
33076
33077 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33078
33079         [BZ #13013]
33080         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33081         depending n and resplen2 to catch cases where answer
33082         equals answerp2.
33083
33084 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33085
33086         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33087         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33088
33089 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33090
33091         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33092
33093 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33094
33095         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33096
33097 2012-11-28  Jeff Law  <law@redhat.com>
33098
33099         [BZ #13761]
33100         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33101         dataset_temporary.  Track alloca usage into alloca_used.
33102         If dataset is large allocate and release it via malloc/free.
33103
33104 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33105
33106         [BZ #14197]
33107         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33108
33109 2012-11-28  David S. Miller  <davem@davemloft.net>
33110
33111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33112
33113 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33114
33115         [BZ #14803]
33116         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33117         of pi/2 rounded to nearest to 64 bits.
33118         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33119         nearest to 64 bits.
33120         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33121         bits.
33122
33123 2012-11-28  Jeff Law <law@redhat.com>
33124             Martin Osvald <mosvald@redhat.com>
33125
33126         [BZ #14889]
33127         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33128         * sunrpc/svc.c: Include time.h.
33129         (__svc_accept_failed): New function.
33130         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33131         any reason other than EINTR, call __svc_accept_failed.
33132         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33133         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33134
33135 2012-11-28  Andreas Schwab  <schwab@suse.de>
33136
33137         * scripts/abilist.awk: Also handle indirect functions in .opd
33138         section.
33139
33140 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33141
33142         [BZ #13881]
33143         * sysdeps/x86/fpu/powl_helper.c: New file.
33144         * sysdeps/x86/fpu/Makefile: Likewise.
33145         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33146         (p3): New object.
33147         (__ieee754_powl): Use __powl_helper for finite arguments except
33148         integer exponents below 8.
33149         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33150         (p3): New object.
33151         (__ieee754_powl): Use __powl_helper for finite arguments except
33152         integer exponents below 8.
33153         * math/libm-test.inc (pow_test): Add more tests and enable some
33154         previously disabled tests.
33155         * sysdeps/i386/fpu/libm-test-ulps: Update.
33156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33157
33158 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33159             Carlos O'Donell  <carlos_odonell@mentor.com>
33160
33161         * nss/makedb.c (is_prime): Assert that input is odd and greater
33162         than 4.  Note that fact in a comment too.
33163         (next_prime): Add 4 to input.
33164
33165 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33166
33167         [BZ #11741]
33168         * libio/Makefile (tests): Add test case tst-fwrite-error.
33169         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33170         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33171         * libio/tst-fwrite-error.c: New test case.
33172
33173 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33174
33175         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33176         before casting to void *.
33177         * include/libc-internal.h (__pointer_type): New macro.
33178         (__integer_if_pointer_type_sub): Likewise.
33179         (__integer_if_pointer_type): Likewise.
33180         (cast_to_integer): Likewise.
33181         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33182         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33183         before casting to atomic64_t.
33184         (atomic_exchange_acq): Likewise.
33185         (__arch_exchange_and_add_body): Likewise.
33186         (__arch_add_body): Likewise.
33187         (atomic_add_negative): Likewise.
33188         (atomic_add_zero): Likewise.
33189
33190 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33191
33192         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33193         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33194         (add_fdes): Likewise.
33195         (linear_search_fdes): Likewise.
33196         (binary_search_unencoded_fdes): Likewise.
33197
33198 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33199
33200         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33201
33202 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33203
33204         * configure.in: Autodetect C++ header directories.
33205         * configure: Regenerated.
33206
33207 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33208
33209         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33210
33211 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33212
33213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33214
33215 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33216
33217         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33218         LDBL_MANT_DIG == 106]: Disable some tests.
33219         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33220         Likewise.
33221         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33222         Likewise.
33223
33224         [BZ #14871]
33225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33226         input for small inputs.  Return +/- pi/2 for large inputs.
33227         * math/libm-test.inc (atan_test): Add more tests.
33228
33229         * sysdeps/generic/unwind-dw2-fde-glibc.c
33230         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33231         __attribute__ ((unused)).
33232
33233         [BZ #14645]
33234         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33235         x * y if x and y are nonzero and z is zero.
33236
33237         [BZ #14811]
33238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33239         nonzero exponents with absolute value below 0x1p-117 to +/-
33240         0x1p-117.
33241
33242         [BZ #14869]
33243         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33244         up arguments below 2**-450, not just those below 2**-500.
33245         * math/libm-test.inc (hypot_test): Add another test.
33246
33247         [BZ #14868]
33248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33249         Return a+b for ratio over 2**120, not 2**60.
33250         * math/libm-test.inc (hypot_test): Add another test.
33251
33252         * math/libm-test.inc (clog_test): Use
33253         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33254         (clog10_test): Likewise.
33255
33256         [BZ #6778]
33257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33258
33259 2012-11-22  Andreas Schwab  <schwab@suse.de>
33260
33261         * sysdeps/i386/fpu/libm-test-ulps: Update.
33262
33263 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33264
33265         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33266         printf output with newline.
33267
33268 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33269
33270         [BZ #14865]
33271         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33272         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33273         -z nodlopen, -z initfirst and -z execstack support.
33274         * configure: Regenerated.
33275
33276         * elf/elf.h (DF_1_NODIRECT): New macro.
33277         (DF_1_IGNMULDEF): Likewise.
33278         (DF_1_NOKSYMS): Likewise.
33279         (DF_1_NOHDR): Likewise.
33280         (DF_1_EDITED): Likewise.
33281         (DF_1_NORELOC): Likewise.
33282         (DF_1_SYMINTPOSE): Likewise.
33283         (DF_1_GLOBAUDIT): Likewise.
33284         (DF_1_SINGLETON): Likewise.
33285         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33286         DT_1_SUPPORTED_MASK bits.
33287         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33288
33289 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33290
33291         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33292
33293 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33294
33295         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33296         macro.
33297
33298         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33299         (sendmmsg): Move declarations...
33300         * socket/sys/socket.h: ... here.
33301         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33302         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33303         include it from...
33304         * socket/recvmmsg.c: ... this new file.
33305         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33306         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33307         definition of __sendmmsg hidden.
33308         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33309         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33310         Move ENOSYS stub into and include it from...
33311         * socket/sendmmsg.c: ... this new file.
33312         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33313         (sysdep_routines): Move recvmmsg and sendmmsg...
33314         * socket/Makefile (routines): ... here.
33315         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33316         (GLIBC_PRIVATE): Add __sendmmsg.
33317         * include/sys/socket.h (__sendmmsg): Add declarations.
33318         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33319         sendmmsg.
33320
33321 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33322
33323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33324         variable I1 with __attribute__ ((unused)).
33325         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33326
33327 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33328
33329         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33330         DUMMY variables with __attribute__ ((unused)).
33331
33332         * bits/byteswap.h: Include <bits/types.h>.
33333         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33334
33335 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33336
33337         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33338         string_t.  Do not manually set errno.
33339         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33340         length with __strnlen.  Make sure to both set errno and return it on
33341         failure.
33342
33343 2012-11-19  David S. Miller  <davem@davemloft.net>
33344
33345         With help from Joseph Myers.
33346         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33347         very large arguments properly.
33348         * math/libm-test.inc (atan_test): New tests.
33349         (atan2_test): New tests.
33350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33352
33353 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33354
33355         [BZ #14856]
33356         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33357         Define to 3.
33358
33359         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33360         [POSIX] (EADDRNOTAVAIL): Likewise.
33361         [POSIX] (EAFNOSUPPORT): Likewise.
33362         [POSIX] (EALREADY): Likewise.
33363         [POSIX] (ECONNABORTED): Likewise.
33364         [POSIX] (ECONNREFUSED): Likewise.
33365         [POSIX] (ECONNRESET): Likewise.
33366         [POSIX] (EDESTADDRREQ): Likewise.
33367         [POSIX] (EDQUOT): Likewise.
33368         [POSIX] (EHOSTUNREACH): Likewise.
33369         [POSIX] (EIDRM): Likewise.
33370         [POSIX] (EISCONN): Likewise.
33371         [POSIX] (ELOOP): Likewise.
33372         [POSIX] (EMULTIHOP): Likewise.
33373         [POSIX] (ENETDOWN): Likewise.
33374         [POSIX] (ENETUNREACH): Likewise.
33375         [POSIX] (ENOBUFS): Likewise.
33376         [POSIX] (ENODATA): Likewise.
33377         [POSIX] (ENOLINK): Likewise.
33378         [POSIX] (ENOMSG): Likewise.
33379         [POSIX] (ENOPROTOOPT): Likewise.
33380         [POSIX] (ENOSR): Likewise.
33381         [POSIX] (ENOSTR): Likewise.
33382         [POSIX] (ENOTCONN): Likewise.
33383         [POSIX] (ENOTSOCK): Likewise.
33384         [POSIX] (EOPNOTSUPP): Likewise.
33385         [POSIX] (EOVERFLOW): Likewise.
33386         [POSIX] (EPROTO): Likewise.
33387         [POSIX] (EPROTONOSUPPORT): Likewise.
33388         [POSIX] (EPROTOTYPE): Likewise.
33389         [POSIX] (ESTALE): Likewise.
33390         [POSIX] (ETIME): Likewise.
33391         [POSIX] (ETXTBSY): Likewise.
33392         [POSIX] (EWOULDBLOCK): Likewise.
33393         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33394         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33395         [POSIX] (SEEK_CUR): Likewise.
33396         [POSIX] (SEEK_END): Likewise.
33397         [POSIX || UNIX98] (mode_t): Do not require.
33398         [POSIX] (off_t): Likewise.
33399         [POSIX] (pid_t): Likewise.
33400         [POSIX] (sys/stat.h): Do not allow header.
33401         [POSIX] (unistd.h): Likewise.
33402         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33403         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33404         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33405         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33406         require.
33407         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33408         sigevent): Specify elements.
33409         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33410         entry.
33411         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33412         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33413
33414         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33415         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33416         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33417         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33418         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33419         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33420         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33421         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33422         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33423         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33424         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33425         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33426         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33427         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33428         Likewise.
33429         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33430         Likewise.
33431         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33432         Likewise.
33433         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33434         Likewise.
33435         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33436         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33437         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33438         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33439         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33440         Specify lower bound on value.
33441         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33442         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33443         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33444         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33445         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33446         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33447         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33448         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33449         value.
33450         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33451         as optional.
33452         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33453         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33454         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33455         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33456         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33457         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33458         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33464         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33465         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33467         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33468         entry.
33469         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33470         optional.
33471         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33477         Likewise.
33478         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33483         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33484         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33485         as optional.
33486         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33490         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33491         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33492         specify as optional.
33493         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33494         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33495         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33496         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33497         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33498         [XPG3] (NL_LANGMAX): Likewise.
33499         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33500         [POSIX || XPG3] (NL_NMAX): Likewise.
33501         [POSIX || XPG3] (NL_SETMAX): Likewise.
33502         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33503         [XPG3] (NZERO): Likewise.
33504         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33505         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33506         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33507         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33508         (REG_ERANGE): Expect.
33509         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33510         optional-constant.
33511         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33512         Use (void) in prototype.
33513         [POSIX] (*_t): Allow.
33514         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33515         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33516         (WRDE_BADVAL): Expect.
33517
33518         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33519         expect.
33520         [XPG3 || XPG4] (O_RSYNC): Likewise.
33521         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33522         Likewise.
33523         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33524         [XPG3 || XPG4] (sigqueue): Likewise.
33525         [XPG3 || XPG4] (sigtimedwait): Likewise.
33526         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33527         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33528         [XPG3 || XPG4] (vsnprintf): Likewise.
33529         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33530         Likewise.
33531         [XPG3 || XPG4] (blksize_t): Likewise.
33532         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33533         Likewise.
33534         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33535         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33536         [XPG3 || XPG4] (struct itimerspec): Likewise.
33537         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33538         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33539         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33540         [XPG3 || XPG4] (clockid_t): Likewise.
33541         [XPG3 || XPG4] (timer_t): Likewise.
33542         [XPG3 || XPG4] (clock_getres): Likewise.
33543         [XPG3 || XPG4] (clock_gettime): Likewise.
33544         [XPG3 || XPG4] (clock_settime): Likewise.
33545         [XPG3 || XPG4] (nanosleep): Likewise.
33546         [XPG3 || XPG4] (timer_create): Likewise.
33547         [XPG3 || XPG4] (timer_delete): Likewise.
33548         [XPG3 || XPG4] (timer_gettime): Likewise.
33549         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33550         [XPG3 || XPG4] (timer_settime): Likewise.
33551         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33552         [XPG3 || XPG4] (getlogin_r): Likewise.
33553         [XPG3 || XPG4] (pread): Likewise.
33554         [XPG3 || XPG4] (pthread_atfork): Likewise.
33555         [XPG3 || XPG4] (pwrite): Likewise.
33556
33557         [BZ #14835]
33558         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33559         <bits/siginfo.h>.
33560
33561 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33562
33563         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33564         finalizing MALLSTREAM.
33565
33566         * sysdeps/mach/hurd/syncfs.c: New file.
33567
33568 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33569
33570         [BZ #14719]
33571         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33572         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33573         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33574         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33575         (_nss_dns_gethostbyname4_r): Likewise.
33576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33577         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33578
33579 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33580
33581         [BZ #13763]
33582         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33583
33584 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33585
33586         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33587         * elf/cache.c (print_entry): Print ",AArch64" for
33588         FLAG_AARCH64_LIB64
33589
33590         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33591         * elf/cache.c (print_entry): Print ",hard-float" for
33592         FLAG_ARM_LIBHF.
33593
33594 2012-11-18  David S. Miller  <davem@davemloft.net>
33595
33596         With help from Joseph Myers.
33597         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33598         cutoff to 2**-13.
33599         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33600         cutoff to 2**-25.
33601         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33602         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33603         small.
33604         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33605         * math/libm-test.inc (y0_test): New tests.
33606         (y1_test): New tests.
33607         * sysdeps/i386/fpu/libm-test-ulps: Update.
33608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33610
33611 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33612
33613         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33614         64-bit targets.
33615         * configure: Regenerated.
33616
33617 2012-11-17  David S. Miller  <davem@davemloft.net>
33618
33619         [BZ #14811]
33620         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33621         nonzero exponents with absolute value below 0x1p-128 to +/-
33622         0x1p-128.
33623
33624 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33625
33626         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33627
33628         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33629
33630         * posix/getconf-speclist.c: New file.
33631         * posix/posix-envs.def: Likewise.
33632         * posix/confstr.c (START_ENV_GROUP): New macro.
33633         (END_ENV_GROUP): Likewise.
33634         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33635         (KNOWN_PRESENT_ENV_STRING): Likewise.
33636         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33637         (UNKNOWN_ENVIRONMENT): Likewise.
33638         (confstr): Include posix-envs.def instead of handling
33639         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33640         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33641         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33642         (END_ENV_GROUP): Likewise.
33643         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33644         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33645         (UNKNOWN_ENVIRONMENT): Likewise.
33646         (__sysconf): Include posix-envs.def instead of handling associated
33647         cases directly here.
33648         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33649         preprocessing getconf-speclist.c rather than running getconf or
33650         generating empty file.
33651
33652 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33653
33654         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33655
33656 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33657
33658         [BZ #14672]
33659         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33660
33661 2012-11-16  David S. Miller  <davem@davemloft.net>
33662
33663         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33664         smaller than LDBL_EPSILON/2.0L, just return xm1.
33665
33666 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33667
33668         * elf/tst-array1.c (init): Set constructor priority to 1000.
33669         (fini): Set destructor priority to 1000.
33670         * elf/tst-array2dep.c: Likewise.
33671
33672 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673
33674         [BZ #11741]
33675         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33676         (_IO_new_file_xsputn): Also return EOF if none of the input
33677         data was written when overflow failed.
33678         * libio/iopadn.c (_IO_padn): Likewise.
33679         * libio/iowpadn.c (_IO_wpadn): Likewise.
33680         * stdio-common/tst-put-error.c: Add copyright notice.
33681         (do_test): Add case for printing padded string.
33682         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33683         _IO_padn returned error.
33684         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33685         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33686         return EOF.
33687
33688 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33689
33690         * libio/libioP.h: Add comment note that the references to C++
33691         bits are now obsolete.
33692
33693 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33694
33695         * math/libm-test.inc (check_complex): Use asprintf.
33696
33697 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33698
33699         * debug/pcprofiledump.c (print_version): Update copyright year.
33700         * malloc/memusagestat.c (print_version): Likewise.
33701
33702 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33703
33704         [BZ #14831]
33705         * elf/Makefile (tests): Add tst-audit8.
33706         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33707         ($(objpfx)tst-audit8.out): New target.
33708         (tst-audit8-ENV): New variable.
33709         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33710         audit if l_reloc_result is NULL.
33711         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33712         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33713         * elf/tst-audit8.c: New file.
33714
33715 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33716
33717         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33718         * misc/Makefile (CFLAGS-select.c): Define.
33719         * posix/Makefile (CFLAGS-pause.c): Define.
33720
33721 2012-11-13  David S. Miller  <davem@davemloft.net>
33722
33723         * crypt/Makefile: Move test targets after toplevel Rules
33724         inclusion.  Grab any necessary sysdep routines when linking.
33725         * crypt/md5.c (md5_process_block): Remove define, we will always
33726         name it __md5_process_block.
33727         (md5_finish_ctx): Update md5_process_block call.
33728         (md5_stream): Likewise.
33729         (md5_process_bytes): Likewise.
33730         (md5_process_block): Rename to __md5_process_block and move to ...
33731         * crypt/md5-block.c: ... here.
33732         * crypt/sha256.c (sha256_process_block): Move to ...
33733         * crypt/sha256-block.c: ... here.
33734         * crypt/sha512.c (sha512_process_block): Move to ...
33735         * crypt/sha512-block.c: ... here.
33736         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33737         path.
33738         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33739         * sysdeps/sparc/sparc64/multiarch/Makefile
33740         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33741         crypt subdir.
33742         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33743         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33744         multiarch changes.
33745         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33746         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33747         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33748         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33749         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33750         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33751         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33752         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33753         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33754         file.
33755         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33756         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33757         file.
33758         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33759
33760 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33761
33762         * timezone/tzselect.ksh: Update from tzcode git revision
33763         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33764         * timezone/zdump.c: Likewise.
33765         * timezone/zic.c: Likewise.
33766         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33767         in TZVERSION setting, not $(PKGVERSION).
33768         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33769         REPORT_BUGS_TO settings.
33770
33771         [BZ #14838]
33772         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33773         macro.
33774
33775 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33776
33777         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33778         detection to immediately after _FP_ROUND().
33779         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33780         bits are 0.
33781
33782 2012-11-11  David S. Miller  <davem@davemloft.net>
33783
33784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33785         inttypes.h
33786         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33787         __close rather than their public counterparts.
33788
33789 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33790
33791         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33792         file.
33793         [UNIX98] (sem_timedwait): Do not expect.
33794         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33795         [XPG4 || UNIX98] (sockatmark): Do not expect.
33796         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33797         (clock_getcpuclockid): Do not expect.
33798         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33799         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33800         Do not expect.
33801         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33802         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33803         [UNIX98] (vwscanf): Likewise.
33804         [UNIX98] (vswscanf): Likewise.
33805
33806 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33807
33808         * timezone/version.h: Remove file.
33809         * timezone/README: Do not refer to version.h.
33810         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33811         $(objpfx)version.h.
33812         ($(objpfx)zdump.o): Likewise.
33813         ($(objpfx)version.h): New target.
33814
33815         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33816         2012i.
33817         * timezone/README: Don't mention modification to tzselect.ksh.
33818         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33819         work on unmodified tzselect.ksh.  Substitute version numbers in
33820         tzselect.ksh.
33821
33822         * Makefile (format-me): Remove.
33823         (INSTALL): Adjust indentation.  Use commands directly instead of
33824         using $(format-me).
33825
33826         * aclocal.m4 (ACX_PKGVERSION): New macro.
33827         (ACX_BUGURL): Likewise.
33828         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33829         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33830         (REPORT_BUGS_TO): Likewise.
33831         * configure: Regenerated.
33832         * config.h.in (PKGVERSION): New macro.
33833         (REPORT_BUGS_TO): Likewise.
33834         * config.make.in (PKGVERSION): New variable.
33835         (PKGVERSION_TEXI): Likewise.
33836         (REPORT_BUGS_TO): Likewise.
33837         (REPORT_BUGS_TEXI): Likewise.
33838         * Makefile (format-me): Use -I$(common-objpfx)manual.
33839         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33840         ($(common-objpfx)manual/%): New target.
33841         (manual/%): Remove target.
33842         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33843         (print_version): Use PKGVERSION.
33844         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33845         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33846         and REPORT_BUGS_TO.
33847         ($(objpfx)xtrace): Likewise.
33848         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33849         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33850         (print_version): Use PKGVERSION.
33851         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33852         (do_version): Use PKGVERSION.
33853         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33854         REPORT_BUGS_TO.
33855         (common-ldd-rewrite): Likewise.
33856         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33857         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33858         (print_version): Use PKGVERSION.
33859         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33860         * elf/pldd.c (argp_program_bug_address): Remove variable.
33861         (more_help): New function.
33862         (argp): Use more_help.
33863         (print_version): Use PKGVERSION.
33864         * elf/sln.c (main): Use PKGVERSION.
33865         (usage): Use REPORT_BUGS_TO.
33866         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33867         (top level): Use PKGVERSION.
33868         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33869         (print_version): Use PKGVERSION.
33870         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33871         (print_version): Use PKGVERSION.
33872         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33873         (print_version): Use PKGVERSION.
33874         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33875         (print_version): Use PKGVERSION.
33876         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33877         (print_version): Use PKGVERSION.
33878         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33879         (print_version): Use PKGVERSION.
33880         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33881         and BUGURL.
33882         ($(objpfx)memusage): Likewise.
33883         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33884         (do_version): Use PKGVERSION.
33885         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33886         (print_version): Use PKGVERSION.
33887         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33888         ($PKGVERSION): New variable.
33889         ($REPORT_BUGS_TO): Likewise.
33890         (usage): Use $REPORT_BUGS_TO.
33891         (top level): Use $PKGVERSION.
33892         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33893         ($(objpfx)pkgvers.texi): New rule.
33894         ($(objpfx)stamp-pkgvers): Likewise.
33895         * manual/install.texi: Include pkgvers.texi.
33896         (--with-pkgversion): Document new configure option.
33897         (--with-bugurl): Likewise.
33898         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33899         than necessarily for this particular distribution.  Use
33900         REPORT_BUGS_TO for where to report bugs.
33901         * INSTALL: Regenerated.
33902         * manual/libc.texinfo: Include pkgvers.texi.
33903         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33904         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33905         (print_version): Use PKGVERSION.
33906         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33907         (print_version): Use PKGVERSION.
33908         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33909         (print_version): Use PKGVERSION.
33910         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33911         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33912         macro.
33913         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33914         (print_version): Use PKGVERSION.
33915         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33916         (print_version): Use PKGVERSION.
33917         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33918         and PKGVERSION.
33919
33920         * timezone/checktab.awk: Update from tzcode 2012i.
33921         * timezone/ialloc.c: Likewise.
33922         * timezone/private.h: Likewise.
33923         * timezone/scheck.c: Likewise.
33924         * timezone/tzfile.h: Likewise.
33925         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33926         (TZVERSION): Hardcode tzcode version number.
33927         * timezone/zdump.c: Update from tzcode 2012i.
33928         * timezone/zic.c: Likewise.
33929         * timezone/version.h: New file.
33930         * timezone/README: Describe version.h.  Update upstream location.
33931
33932         [BZ #14824]
33933         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33934         (mktemp): Enable declaration.
33935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33936         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33938         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33939         Likewise.
33940         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33941         Likewise.
33942         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33943         Likewise.
33944         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33945         Likewise.
33946         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33947         Likewise.
33948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33949         Likewise.
33950
33951         [BZ #14821]
33952         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33953         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33954         for copies of such integer values.
33955         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33956         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33957
33958 2012-11-09  Andreas Jaeger  <aj@suse.de>
33959
33960         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33961         definitions and declarations that are provided by
33962         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33963
33964 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33965
33966         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33967         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33968         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33969         definition.
33970
33971 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33972
33973         * elf/elf.h: Update comment before AArch64 relocations.
33974
33975 2012-11-07  David S. Miller  <davem@davemloft.net>
33976
33977         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33978         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33979         (__start_context): Declare.
33980         (__makecontext_ret): Delete.
33981         (__makecontext): Hook up __start_context instead of
33982         __makecontext_ret.
33983         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33984         (sysdep_routines): Add __start_context when in stdlib.
33985
33986 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33987
33988         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33989         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33990         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33991         hardcoded "nm".
33992         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33993         (READELF): New variable.  Use it instead of hardcoded "readelf".
33994
33995 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33996
33997         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33998         * sysdeps/x86/Makefile: Here.
33999         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34000         * sysdeps/x86/tst-xmmymm.sh: This.
34001
34002 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34003
34004         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34005         expectations.
34006         [UNIX98] (pthread_barrier_t): Do not expect.
34007         [UNIX98] (pthread_barrierattr_t): Likewise.
34008         [UNIX98] (pthread_spinlock_t): Likewise.
34009         [UNIX98] (pthread_barrier_destroy): Likewise.
34010         [UNIX98] (pthread_barrier_init): Likewise.
34011         [UNIX98] (pthread_barrier_wait): Likewise.
34012         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34013         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34014         [UNIX98] (pthread_barrierattr_init): Likewise.
34015         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34016         [UNIX98] (pthread_getcpuclockid): Likewise.
34017         [UNIX98] (pthread_mutex_timedlock): Likewise.
34018         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34019         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34020         [UNIX98] (pthread_sigmask): Likewise.
34021         [UNIX98] (pthread_spin_destroy): Likewise.
34022         [UNIX98] (pthread_spin_init): Likewise.
34023         [UNIX98] (pthread_spin_lock): Likewise.
34024         [UNIX98] (pthread_spin_trylock): Likewise.
34025         [UNIX98] (pthread_spin_unlock): Likewise.
34026         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34027         Do not expect.
34028         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34029         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34030         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34031         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34032         [XPG3 || XPG4] (pthread_key_t): Likewise.
34033         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34034         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34035         [XPG3 || XPG4] (pthread_once_t): Likewise.
34036         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34037         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34038         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34039         [XPG3 || XPG4] (pthread_t): Likewise.
34040
34041         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34042         not expect.
34043         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34044
34045         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34046         Change function return type to int.
34047
34048         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34049         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34050         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34051         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34052         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34053         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34054         [!POSIX] (posix_madvise): Likewise.
34055         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34056         && !UNIX98].
34057         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34058         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34059         (mode_t): Likewise.
34060         (posix_mem_offset): Likewise.
34061         (posix_typed_mem_get_info): Likewise.
34062         (posix_typed_mem_open): Likewise.
34063
34064         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34065         Change condition to [XOPEN2K8].
34066
34067         * conform/conformtest.pl: Preprocess allow-header data with -x c
34068         instead of from stdin.
34069         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34070         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34071         [C99-based standards] (cerfc): Likewise.
34072         [C99-based standards] (cexp2): Likewise.
34073         [C99-based standards] (cexpm1): Likewise.
34074         [C99-based standards] (clog10): Likewise.
34075         [C99-based standards] (clog1p): Likewise.
34076         [C99-based standards] (clog2): Likewise.
34077         [C99-based standards] (clgamma): Likewise.
34078         [C99-based standards] (ctgamma): Likewise.
34079         [C99-based standards] (cerff): Likewise.
34080         [C99-based standards] (cerfcf): Likewise.
34081         [C99-based standards] (cexp2f): Likewise.
34082         [C99-based standards] (cexpm1f): Likewise.
34083         [C99-based standards] (clog10f): Likewise.
34084         [C99-based standards] (clog1pf): Likewise.
34085         [C99-based standards] (clog2f): Likewise.
34086         [C99-based standards] (clgammaf): Likewise.
34087         [C99-based standards] (ctgammaf): Likewise.
34088         [C99-based standards] (cerfl): Likewise.
34089         [C99-based standards] (cerfcl): Likewise.
34090         [C99-based standards] (cexp2l): Likewise.
34091         [C99-based standards] (cexpm1l): Likewise.
34092         [C99-based standards] (clog10l): Likewise.
34093         [C99-based standards] (clog1pl): Likewise.
34094         [C99-based standards] (clog2l): Likewise.
34095         [C99-based standards] (clgammal): Likewise.
34096         [C99-based standards] (ctgammal): Likewise.
34097         * conform/data/inttypes.h-data [C99-based standards]: Include
34098         stdint.h-data.  Remove all expectations for stdint.h contents.
34099         [C99-based standards] (PRI*): Do not allow.
34100         [C99-based standards] (SCN*): Likewise.
34101         [C99-based standards] (*_t): Likewise.
34102         [C99-based-standards] (PRId8): Expect macro.
34103         [C99-based-standards] (PRIi8): Likewise.
34104         [C99-based-standards] (PRIo8): Likewise.
34105         [C99-based-standards] (PRIu8): Likewise.
34106         [C99-based-standards] (PRIx8): Likewise.
34107         [C99-based-standards] (PRIX8): Likewise.
34108         [C99-based-standards] (SCNd8): Likewise.
34109         [C99-based-standards] (SCNi8): Likewise.
34110         [C99-based-standards] (SCNo8): Likewise.
34111         [C99-based-standards] (SCNu8): Likewise.
34112         [C99-based-standards] (SCNx8): Likewise.
34113         [C99-based-standards] (PRIdLEAST8): Likewise.
34114         [C99-based-standards] (PRIiLEAST8): Likewise.
34115         [C99-based-standards] (PRIoLEAST8): Likewise.
34116         [C99-based-standards] (PRIuLEAST8): Likewise.
34117         [C99-based-standards] (PRIxLEAST8): Likewise.
34118         [C99-based-standards] (PRIXLEAST8): Likewise.
34119         [C99-based-standards] (SCNdLEAST8): Likewise.
34120         [C99-based-standards] (SCNiLEAST8): Likewise.
34121         [C99-based-standards] (SCNoLEAST8): Likewise.
34122         [C99-based-standards] (SCNuLEAST8): Likewise.
34123         [C99-based-standards] (SCNxLEAST8): Likewise.
34124         [C99-based-standards] (PRIdFAST8): Likewise.
34125         [C99-based-standards] (PRIiFAST8): Likewise.
34126         [C99-based-standards] (PRIoFAST8): Likewise.
34127         [C99-based-standards] (PRIuFAST8): Likewise.
34128         [C99-based-standards] (PRIxFAST8): Likewise.
34129         [C99-based-standards] (PRIXFAST8): Likewise.
34130         [C99-based-standards] (SCNdFAST8): Likewise.
34131         [C99-based-standards] (SCNiFAST8): Likewise.
34132         [C99-based-standards] (SCNoFAST8): Likewise.
34133         [C99-based-standards] (SCNuFAST8): Likewise.
34134         [C99-based-standards] (SCNxFAST8): Likewise.
34135         [C99-based-standards] (PRId16): Likewise.
34136         [C99-based-standards] (PRIi16): Likewise.
34137         [C99-based-standards] (PRIo16): Likewise.
34138         [C99-based-standards] (PRIu16): Likewise.
34139         [C99-based-standards] (PRIx16): Likewise.
34140         [C99-based-standards] (PRIX16): Likewise.
34141         [C99-based-standards] (SCNd16): Likewise.
34142         [C99-based-standards] (SCNi16): Likewise.
34143         [C99-based-standards] (SCNo16): Likewise.
34144         [C99-based-standards] (SCNu16): Likewise.
34145         [C99-based-standards] (SCNx16): Likewise.
34146         [C99-based-standards] (PRIdLEAST16): Likewise.
34147         [C99-based-standards] (PRIiLEAST16): Likewise.
34148         [C99-based-standards] (PRIoLEAST16): Likewise.
34149         [C99-based-standards] (PRIuLEAST16): Likewise.
34150         [C99-based-standards] (PRIxLEAST16): Likewise.
34151         [C99-based-standards] (PRIXLEAST16): Likewise.
34152         [C99-based-standards] (SCNdLEAST16): Likewise.
34153         [C99-based-standards] (SCNiLEAST16): Likewise.
34154         [C99-based-standards] (SCNoLEAST16): Likewise.
34155         [C99-based-standards] (SCNuLEAST16): Likewise.
34156         [C99-based-standards] (SCNxLEAST16): Likewise.
34157         [C99-based-standards] (PRIdFAST16): Likewise.
34158         [C99-based-standards] (PRIiFAST16): Likewise.
34159         [C99-based-standards] (PRIoFAST16): Likewise.
34160         [C99-based-standards] (PRIuFAST16): Likewise.
34161         [C99-based-standards] (PRIxFAST16): Likewise.
34162         [C99-based-standards] (PRIXFAST16): Likewise.
34163         [C99-based-standards] (SCNdFAST16): Likewise.
34164         [C99-based-standards] (SCNiFAST16): Likewise.
34165         [C99-based-standards] (SCNoFAST16): Likewise.
34166         [C99-based-standards] (SCNuFAST16): Likewise.
34167         [C99-based-standards] (SCNxFAST16): Likewise.
34168         [C99-based-standards] (PRId32): Likewise.
34169         [C99-based-standards] (PRIi32): Likewise.
34170         [C99-based-standards] (PRIo32): Likewise.
34171         [C99-based-standards] (PRIu32): Likewise.
34172         [C99-based-standards] (PRIx32): Likewise.
34173         [C99-based-standards] (PRIX32): Likewise.
34174         [C99-based-standards] (SCNd32): Likewise.
34175         [C99-based-standards] (SCNi32): Likewise.
34176         [C99-based-standards] (SCNo32): Likewise.
34177         [C99-based-standards] (SCNu32): Likewise.
34178         [C99-based-standards] (SCNx32): Likewise.
34179         [C99-based-standards] (PRIdLEAST32): Likewise.
34180         [C99-based-standards] (PRIiLEAST32): Likewise.
34181         [C99-based-standards] (PRIoLEAST32): Likewise.
34182         [C99-based-standards] (PRIuLEAST32): Likewise.
34183         [C99-based-standards] (PRIxLEAST32): Likewise.
34184         [C99-based-standards] (PRIXLEAST32): Likewise.
34185         [C99-based-standards] (SCNdLEAST32): Likewise.
34186         [C99-based-standards] (SCNiLEAST32): Likewise.
34187         [C99-based-standards] (SCNoLEAST32): Likewise.
34188         [C99-based-standards] (SCNuLEAST32): Likewise.
34189         [C99-based-standards] (SCNxLEAST32): Likewise.
34190         [C99-based-standards] (PRIdFAST32): Likewise.
34191         [C99-based-standards] (PRIiFAST32): Likewise.
34192         [C99-based-standards] (PRIoFAST32): Likewise.
34193         [C99-based-standards] (PRIuFAST32): Likewise.
34194         [C99-based-standards] (PRIxFAST32): Likewise.
34195         [C99-based-standards] (PRIXFAST32): Likewise.
34196         [C99-based-standards] (SCNdFAST32): Likewise.
34197         [C99-based-standards] (SCNiFAST32): Likewise.
34198         [C99-based-standards] (SCNoFAST32): Likewise.
34199         [C99-based-standards] (SCNuFAST32): Likewise.
34200         [C99-based-standards] (SCNxFAST32): Likewise.
34201         [C99-based-standards] (PRId64): Likewise.
34202         [C99-based-standards] (PRIi64): Likewise.
34203         [C99-based-standards] (PRIo64): Likewise.
34204         [C99-based-standards] (PRIu64): Likewise.
34205         [C99-based-standards] (PRIx64): Likewise.
34206         [C99-based-standards] (PRIX64): Likewise.
34207         [C99-based-standards] (SCNd64): Likewise.
34208         [C99-based-standards] (SCNi64): Likewise.
34209         [C99-based-standards] (SCNo64): Likewise.
34210         [C99-based-standards] (SCNu64): Likewise.
34211         [C99-based-standards] (SCNx64): Likewise.
34212         [C99-based-standards] (PRIdLEAST64): Likewise.
34213         [C99-based-standards] (PRIiLEAST64): Likewise.
34214         [C99-based-standards] (PRIoLEAST64): Likewise.
34215         [C99-based-standards] (PRIuLEAST64): Likewise.
34216         [C99-based-standards] (PRIxLEAST64): Likewise.
34217         [C99-based-standards] (PRIXLEAST64): Likewise.
34218         [C99-based-standards] (SCNdLEAST64): Likewise.
34219         [C99-based-standards] (SCNiLEAST64): Likewise.
34220         [C99-based-standards] (SCNoLEAST64): Likewise.
34221         [C99-based-standards] (SCNuLEAST64): Likewise.
34222         [C99-based-standards] (SCNxLEAST64): Likewise.
34223         [C99-based-standards] (PRIdFAST64): Likewise.
34224         [C99-based-standards] (PRIiFAST64): Likewise.
34225         [C99-based-standards] (PRIoFAST64): Likewise.
34226         [C99-based-standards] (PRIuFAST64): Likewise.
34227         [C99-based-standards] (PRIxFAST64): Likewise.
34228         [C99-based-standards] (PRIXFAST64): Likewise.
34229         [C99-based-standards] (SCNdFAST64): Likewise.
34230         [C99-based-standards] (SCNiFAST64): Likewise.
34231         [C99-based-standards] (SCNoFAST64): Likewise.
34232         [C99-based-standards] (SCNuFAST64): Likewise.
34233         [C99-based-standards] (SCNxFAST64): Likewise.
34234         [C99-based-standards] (PRIdMAX): Likewise.
34235         [C99-based-standards] (PRIiMAX): Likewise.
34236         [C99-based-standards] (PRIoMAX): Likewise.
34237         [C99-based-standards] (PRIuMAX): Likewise.
34238         [C99-based-standards] (PRIxMAX): Likewise.
34239         [C99-based-standards] (PRIXMAX): Likewise.
34240         [C99-based-standards] (SCNdMAX): Likewise.
34241         [C99-based-standards] (SCNiMAX): Likewise.
34242         [C99-based-standards] (SCNoMAX): Likewise.
34243         [C99-based-standards] (SCNuMAX): Likewise.
34244         [C99-based-standards] (SCNxMAX): Likewise.
34245         [C99-based-standards] (PRIdPTR): Likewise.
34246         [C99-based-standards] (PRIiPTR): Likewise.
34247         [C99-based-standards] (PRIoPTR): Likewise.
34248         [C99-based-standards] (PRIuPTR): Likewise.
34249         [C99-based-standards] (PRIxPTR): Likewise.
34250         [C99-based-standards] (PRIXPTR): Likewise.
34251         [C99-based-standards] (SCNdPTR): Likewise.
34252         [C99-based-standards] (SCNiPTR): Likewise.
34253         [C99-based-standards] (SCNoPTR): Likewise.
34254         [C99-based-standards] (SCNuPTR): Likewise.
34255         [C99-based-standards] (SCNxPTR): Likewise.
34256         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34257         allow.
34258         * conform/data/stdint.h-data: Update comments to clarify
34259         requirements.
34260         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34261         type.
34262         [C99-based standards] (INT8_MAX): Likewise.
34263         [C99-based standards] (INT16_MIN): Likewise.
34264         [C99-based standards] (INT16_MAX): Likewise.
34265         [C99-based standards] (INT32_MIN): Likewise.
34266         [C99-based standards] (INT32_MAX): Likewise.
34267         [C99-based standards] (INT64_MIN): Likewise.
34268         [C99-based standards] (INT64_MAX): Likewise.
34269         [C99-based standards] (UINT8_MAX): Likewise.
34270         [C99-based standards] (UINT16_MAX): Likewise.
34271         [C99-based standards] (UINT32_MAX): Likewise.
34272         [C99-based standards] (UINT64_MAX): Likewise.
34273         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34274         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34275         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34276         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34277         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34278         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34279         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34280         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34281         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34282         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34283         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34284         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34285         [C99-based standards] (INT_FAST8_MIN): Likewise.
34286         [C99-based standards] (INT_FAST8_MAX): Likewise.
34287         [C99-based standards] (INT_FAST16_MIN): Likewise.
34288         [C99-based standards] (INT_FAST16_MAX): Likewise.
34289         [C99-based standards] (INT_FAST32_MIN): Likewise.
34290         [C99-based standards] (INT_FAST32_MAX): Likewise.
34291         [C99-based standards] (INT_FAST64_MIN): Likewise.
34292         [C99-based standards] (INT_FAST64_MAX): Likewise.
34293         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34294         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34295         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34296         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34297         [C99-based standards] (INTPTR_MIN): Likewise.
34298         [C99-based standards] (INTPTR_MAX): Likewise.
34299         [C99-based standards] (UINTPTR_MAX): Likewise.
34300         [C99-based standards] (INTMAX_MIN): Likewise.
34301         [C99-based standards] (INTMAX_MAX): Likewise.
34302         [C99-based standards] (UINTMAX_MAX): Likewise.
34303         [C99-based standards] (PTRDIFF_MIN): Likewise.
34304         [C99-based standards] (PTRDIFF_MAX): Likewise.
34305         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34306         [C99-based standards] (SIZE_MAX): Likewise.
34307         [C99-based standards] (WCHAR_MAX): Likewise.
34308         [C99-based standards] (WINT_MAX): Likewise.
34309         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34310         constraint on value.
34311         [C99-based standards] (WCHAR_MIN): Likewise.
34312         [C99-based standards] (WINT_MIN): Likewise.
34313         [C99-based standards] (*_t): Allow.
34314         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34315         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34316         Include math.h-data and complex.h-data.  Remove all expectations
34317         of math.h and complex.h contents.
34318         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34319         at end of line.
34320         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34321         (struct tm): Expect tag.
34322         [C99-based-standards] (wcstof): Expect function.
34323         [C99-based-standards] (wcstold): Likewise.
34324         [C99-based-standards] (wcstoll): Likewise.
34325         [C99-based-standards] (wcstoull): Likewise.
34326         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34327         macro-int-constant.  Specify type.
34328         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34329         constraint on value.
34330         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34331         Specify type.
34332         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34333         Specify value.
34334         [ISO C standards]: Do not allow headers.
34335         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34336         wcs[abcdefghijklmnopqrstuvwxyz]*.
34337         [ISO C standards] (*_t): Do not allow.
34338         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34339         Expect function.
34340         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34341         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34342         Specify type.
34343         [ISO C standards]: Do not allow headers.
34344         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34345         is[abcdefghijklmnopqrstuvwxyz]*.
34346         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34347         to[abcdefghijklmnopqrstuvwxyz]*.
34348         [ISO C standards] (*_t): Do not allow.
34349         * conform/data/stdalign.h-data: New file.
34350         * conform/data/stdbool.h-data: Likewise.
34351         * conform/data/stdnoreturn.h-data: Likewise.
34352
34353 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34354
34355         [BZ #14815]
34356         * manual/filesys.texi (Directory Entries): Typo fix.
34357         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34358
34359 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34360
34361         * elf/elf.h (EM_AARCH64): New macro.
34362         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34363         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34364         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34365         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34366         (R_AARCH64_TLSDESC): Likewise.
34367         (NT_ARM_TLS): Likewise.
34368         (NT_ARM_HW_BREAK): Likewise.
34369         (NT_ARM_HW_WATCH): Likewise.
34370
34371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34372
34373         [BZ #14811]
34374         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34375         (__ieee754_powl): Saturate nonzero exponents with absolute value
34376         below 0x1p-79 to +/- 0x1p-79.
34377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34378         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34379         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34380         nonzero exponents with absolute value below 0x1p-32 to +/-
34381         0x1p-32.
34382         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34383         (__ieee754_powl): Saturate nonzero exponents with absolute value
34384         below 0x1p-79 to +/- 0x1p-79.
34385         * math/libm-test.inc (pow_test): Add more tests.
34386
34387 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34388
34389         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34390         _dl_s390_cap_flags with kernel. Increase string length.
34391         (_dl_s390_platforms): Add z196 and zEC12.
34392
34393 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34394
34395         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34396         Change XOPEN21K to XOPEN2K.
34397
34398 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34399
34400         * string/memmove.c: Use memcpy when possible.
34401
34402 2012-11-06  Andreas Jaeger  <aj@suse.de>
34403
34404         * po/eo.po: Update from translation team.
34405
34406 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34407
34408         [BZ #14793]
34409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34410         exponent and small x and y exponents, scale x or y up.  Increase
34411         by 2 the exponent used in scaling up.
34412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34414         * math/libm-test.inc (fma_test): Add more tests.
34415         (fma_test_towardzero): Likewise.
34416         (fma_test_downward): Likewise.
34417         (fma_test_upward): Likewise.
34418
34419 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34420
34421         [BZ #14805]
34422         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34423         fenv_t *.
34424
34425         [BZ #14801]
34426         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34427         namespace for names of struct fields.
34428         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34429         fenv_t fields.
34430         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34431         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34432
34433 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34434
34435         [BZ #3665]
34436         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34437
34438 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34439
34440         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34441         PTR_DEMANGLE.
34442
34443         [BZ #5246]
34444         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34445         PTR_DEMANGLE.
34446
34447 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34448
34449         [BZ #14797]
34450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34451         definitely overflow as x * y not x * y + z.
34452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34454         * math/libm-test.inc (fma_test): Add more tests.
34455         (fma_test_towardzero): Likewise.
34456         (fma_test_downward): Likewise.
34457         (fma_test_upward): Likewise.
34458
34459 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34460
34461         [BZ #157]
34462
34463         * include/stub-tag.h: Remove file.
34464         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34465         '#include' of it.
34466         * manual/maint.texi (Porting): Don't reference it.
34467         * Makerules ($(objpfx)stubs): Likewise.
34468         * dirent/closedir.c: Don't include <stub-tag.h>.
34469         * dirent/dirfd.c: Likewise.
34470         * dirent/fdopendir.c: Likewise.
34471         * dirent/getdents.c: Likewise.
34472         * dirent/getdents64.c: Likewise.
34473         * dirent/opendir.c: Likewise.
34474         * dirent/readdir.c: Likewise.
34475         * dirent/readdir64.c: Likewise.
34476         * dirent/readdir64_r.c: Likewise.
34477         * dirent/readdir_r.c: Likewise.
34478         * dirent/rewinddir.c: Likewise.
34479         * dirent/seekdir.c: Likewise.
34480         * dirent/telldir.c: Likewise.
34481         * gmon/profil.c: Likewise.
34482         * grp/setgroups.c: Likewise.
34483         * inet/if_index.c: Likewise.
34484         * io/access.c: Likewise.
34485         * io/chdir.c: Likewise.
34486         * io/chmod.c: Likewise.
34487         * io/chown.c: Likewise.
34488         * io/close.c: Likewise.
34489         * io/dup.c: Likewise.
34490         * io/dup2.c: Likewise.
34491         * io/dup3.c: Likewise.
34492         * io/euidaccess.c: Likewise.
34493         * io/faccessat.c: Likewise.
34494         * io/fchdir.c: Likewise.
34495         * io/fchmod.c: Likewise.
34496         * io/fchmodat.c: Likewise.
34497         * io/fchown.c: Likewise.
34498         * io/fchownat.c: Likewise.
34499         * io/fcntl.c: Likewise.
34500         * io/flock.c: Likewise.
34501         * io/fstatfs.c: Likewise.
34502         * io/fstatfs64.c: Likewise.
34503         * io/fstatvfs.c: Likewise.
34504         * io/fstatvfs64.c: Likewise.
34505         * io/futimens.c: Likewise.
34506         * io/fxstat.c: Likewise.
34507         * io/fxstat64.c: Likewise.
34508         * io/fxstatat.c: Likewise.
34509         * io/fxstatat64.c: Likewise.
34510         * io/getcwd.c: Likewise.
34511         * io/isatty.c: Likewise.
34512         * io/lchmod.c: Likewise.
34513         * io/lchown.c: Likewise.
34514         * io/link.c: Likewise.
34515         * io/linkat.c: Likewise.
34516         * io/lseek.c: Likewise.
34517         * io/lseek64.c: Likewise.
34518         * io/lxstat64.c: Likewise.
34519         * io/mkdir.c: Likewise.
34520         * io/mkdirat.c: Likewise.
34521         * io/mkfifo.c: Likewise.
34522         * io/mkfifoat.c: Likewise.
34523         * io/open.c: Likewise.
34524         * io/open64.c: Likewise.
34525         * io/openat.c: Likewise.
34526         * io/openat64.c: Likewise.
34527         * io/pipe.c: Likewise.
34528         * io/pipe2.c: Likewise.
34529         * io/poll.c: Likewise.
34530         * io/posix_fadvise.c: Likewise.
34531         * io/posix_fadvise64.c: Likewise.
34532         * io/posix_fallocate.c: Likewise.
34533         * io/posix_fallocate64.c: Likewise.
34534         * io/read.c: Likewise.
34535         * io/readlink.c: Likewise.
34536         * io/readlinkat.c: Likewise.
34537         * io/rmdir.c: Likewise.
34538         * io/sendfile.c: Likewise.
34539         * io/sendfile64.c: Likewise.
34540         * io/statfs.c: Likewise.
34541         * io/statfs64.c: Likewise.
34542         * io/statvfs.c: Likewise.
34543         * io/statvfs64.c: Likewise.
34544         * io/symlink.c: Likewise.
34545         * io/symlinkat.c: Likewise.
34546         * io/ttyname.c: Likewise.
34547         * io/ttyname_r.c: Likewise.
34548         * io/umask.c: Likewise.
34549         * io/unlink.c: Likewise.
34550         * io/unlinkat.c: Likewise.
34551         * io/utime.c: Likewise.
34552         * io/utimensat.c: Likewise.
34553         * io/write.c: Likewise.
34554         * io/xmknod.c: Likewise.
34555         * io/xmknodat.c: Likewise.
34556         * io/xstat.c: Likewise.
34557         * io/xstat64.c: Likewise.
34558         * login/getpt.c: Likewise.
34559         * login/grantpt.c: Likewise.
34560         * login/unlockpt.c: Likewise.
34561         * math/e_acoshl.c: Likewise.
34562         * math/e_acosl.c: Likewise.
34563         * math/e_asinl.c: Likewise.
34564         * math/e_atan2l.c: Likewise.
34565         * math/e_atanhl.c: Likewise.
34566         * math/e_coshl.c: Likewise.
34567         * math/e_expl.c: Likewise.
34568         * math/e_fmodl.c: Likewise.
34569         * math/e_gammal_r.c: Likewise.
34570         * math/e_hypotl.c: Likewise.
34571         * math/e_j0l.c: Likewise.
34572         * math/e_j1l.c: Likewise.
34573         * math/e_jnl.c: Likewise.
34574         * math/e_lgammal_r.c: Likewise.
34575         * math/e_log10l.c: Likewise.
34576         * math/e_log2l.c: Likewise.
34577         * math/e_logl.c: Likewise.
34578         * math/e_powl.c: Likewise.
34579         * math/e_rem_pio2l.c: Likewise.
34580         * math/e_sinhl.c: Likewise.
34581         * math/e_sqrtl.c: Likewise.
34582         * math/fclrexcpt.c: Likewise.
34583         * math/fedisblxcpt.c: Likewise.
34584         * math/feenablxcpt.c: Likewise.
34585         * math/fegetenv.c: Likewise.
34586         * math/fegetexcept.c: Likewise.
34587         * math/fegetround.c: Likewise.
34588         * math/feholdexcpt.c: Likewise.
34589         * math/fesetenv.c: Likewise.
34590         * math/fesetround.c: Likewise.
34591         * math/feupdateenv.c: Likewise.
34592         * math/fgetexcptflg.c: Likewise.
34593         * math/fraiseexcpt.c: Likewise.
34594         * math/fsetexcptflg.c: Likewise.
34595         * math/ftestexcept.c: Likewise.
34596         * math/k_cosl.c: Likewise.
34597         * math/k_rem_pio2l.c: Likewise.
34598         * math/k_sinl.c: Likewise.
34599         * math/k_tanl.c: Likewise.
34600         * math/s_asinhl.c: Likewise.
34601         * math/s_atanl.c: Likewise.
34602         * math/s_cbrtl.c: Likewise.
34603         * math/s_erfl.c: Likewise.
34604         * math/s_expm1l.c: Likewise.
34605         * math/s_log1pl.c: Likewise.
34606         * math/s_tanhl.c: Likewise.
34607         * misc/acct.c: Likewise.
34608         * misc/brk.c: Likewise.
34609         * misc/chflags.c: Likewise.
34610         * misc/chroot.c: Likewise.
34611         * misc/fchflags.c: Likewise.
34612         * misc/fgetxattr.c: Likewise.
34613         * misc/flistxattr.c: Likewise.
34614         * misc/fremovexattr.c: Likewise.
34615         * misc/fsetxattr.c: Likewise.
34616         * misc/fsync.c: Likewise.
34617         * misc/ftruncate.c: Likewise.
34618         * misc/futimes.c: Likewise.
34619         * misc/futimesat.c: Likewise.
34620         * misc/getdomain.c: Likewise.
34621         * misc/getdtsz.c: Likewise.
34622         * misc/gethostid.c: Likewise.
34623         * misc/gethostname.c: Likewise.
34624         * misc/getloadavg.c: Likewise.
34625         * misc/getpagesize.c: Likewise.
34626         * misc/getsysstats.c: Likewise.
34627         * misc/getxattr.c: Likewise.
34628         * misc/gtty.c: Likewise.
34629         * misc/ioctl.c: Likewise.
34630         * misc/lgetxattr.c: Likewise.
34631         * misc/listxattr.c: Likewise.
34632         * misc/llistxattr.c: Likewise.
34633         * misc/lremovexattr.c: Likewise.
34634         * misc/lsetxattr.c: Likewise.
34635         * misc/lutimes.c: Likewise.
34636         * misc/madvise.c: Likewise.
34637         * misc/mincore.c: Likewise.
34638         * misc/mlock.c: Likewise.
34639         * misc/mlockall.c: Likewise.
34640         * misc/mmap.c: Likewise.
34641         * misc/mprotect.c: Likewise.
34642         * misc/msync.c: Likewise.
34643         * misc/munlock.c: Likewise.
34644         * misc/munlockall.c: Likewise.
34645         * misc/munmap.c: Likewise.
34646         * misc/preadv.c: Likewise.
34647         * misc/preadv64.c: Likewise.
34648         * misc/ptrace.c: Likewise.
34649         * misc/pwritev.c: Likewise.
34650         * misc/pwritev64.c: Likewise.
34651         * misc/readv.c: Likewise.
34652         * misc/reboot.c: Likewise.
34653         * misc/remap_file_pages.c: Likewise.
34654         * misc/removexattr.c: Likewise.
34655         * misc/revoke.c: Likewise.
34656         * misc/select.c: Likewise.
34657         * misc/setdomain.c: Likewise.
34658         * misc/setegid.c: Likewise.
34659         * misc/seteuid.c: Likewise.
34660         * misc/sethostid.c: Likewise.
34661         * misc/sethostname.c: Likewise.
34662         * misc/setregid.c: Likewise.
34663         * misc/setreuid.c: Likewise.
34664         * misc/setxattr.c: Likewise.
34665         * misc/sstk.c: Likewise.
34666         * misc/stty.c: Likewise.
34667         * misc/swapoff.c: Likewise.
34668         * misc/swapon.c: Likewise.
34669         * misc/sync.c: Likewise.
34670         * misc/syncfs.c: Likewise.
34671         * misc/syscall.c: Likewise.
34672         * misc/truncate.c: Likewise.
34673         * misc/ualarm.c: Likewise.
34674         * misc/usleep.c: Likewise.
34675         * misc/ustat.c: Likewise.
34676         * misc/utimes.c: Likewise.
34677         * misc/vhangup.c: Likewise.
34678         * misc/writev.c: Likewise.
34679         * posix/_exit.c: Likewise.
34680         * posix/alarm.c: Likewise.
34681         * posix/execve.c: Likewise.
34682         * posix/fexecve.c: Likewise.
34683         * posix/fork.c: Likewise.
34684         * posix/fpathconf.c: Likewise.
34685         * posix/getaddrinfo.c: Likewise.
34686         * posix/getegid.c: Likewise.
34687         * posix/geteuid.c: Likewise.
34688         * posix/getgid.c: Likewise.
34689         * posix/getgroups.c: Likewise.
34690         * posix/getlogin.c: Likewise.
34691         * posix/getlogin_r.c: Likewise.
34692         * posix/getpgid.c: Likewise.
34693         * posix/getpid.c: Likewise.
34694         * posix/getppid.c: Likewise.
34695         * posix/getresgid.c: Likewise.
34696         * posix/getresuid.c: Likewise.
34697         * posix/getsid.c: Likewise.
34698         * posix/getuid.c: Likewise.
34699         * posix/glob64.c: Likewise.
34700         * posix/nanosleep.c: Likewise.
34701         * posix/pathconf.c: Likewise.
34702         * posix/pause.c: Likewise.
34703         * posix/posix_madvise.c: Likewise.
34704         * posix/pread.c: Likewise.
34705         * posix/pread64.c: Likewise.
34706         * posix/pwrite.c: Likewise.
34707         * posix/pwrite64.c: Likewise.
34708         * posix/sched_getaffinity.c: Likewise.
34709         * posix/sched_getp.c: Likewise.
34710         * posix/sched_gets.c: Likewise.
34711         * posix/sched_primax.c: Likewise.
34712         * posix/sched_primin.c: Likewise.
34713         * posix/sched_rr_gi.c: Likewise.
34714         * posix/sched_setaffinity.c: Likewise.
34715         * posix/sched_setp.c: Likewise.
34716         * posix/sched_sets.c: Likewise.
34717         * posix/sched_yield.c: Likewise.
34718         * posix/setgid.c: Likewise.
34719         * posix/setlogin.c: Likewise.
34720         * posix/setpgid.c: Likewise.
34721         * posix/setresgid.c: Likewise.
34722         * posix/setresuid.c: Likewise.
34723         * posix/setsid.c: Likewise.
34724         * posix/setuid.c: Likewise.
34725         * posix/sleep.c: Likewise.
34726         * posix/spawni.c: Likewise.
34727         * posix/sysconf.c: Likewise.
34728         * posix/times.c: Likewise.
34729         * posix/wait.c: Likewise.
34730         * posix/wait3.c: Likewise.
34731         * posix/wait4.c: Likewise.
34732         * posix/waitpid.c: Likewise.
34733         * resolv/gai_sigqueue.c: Likewise.
34734         * resource/getpriority.c: Likewise.
34735         * resource/getrlimit.c: Likewise.
34736         * resource/getrusage.c: Likewise.
34737         * resource/nice.c: Likewise.
34738         * resource/setpriority.c: Likewise.
34739         * resource/setrlimit.c: Likewise.
34740         * resource/ulimit.c: Likewise.
34741         * rt/aio_cancel.c: Likewise.
34742         * rt/aio_fsync.c: Likewise.
34743         * rt/aio_read.c: Likewise.
34744         * rt/aio_sigqueue.c: Likewise.
34745         * rt/aio_suspend.c: Likewise.
34746         * rt/aio_write.c: Likewise.
34747         * rt/clock_getres.c: Likewise.
34748         * rt/clock_gettime.c: Likewise.
34749         * rt/clock_nanosleep.c: Likewise.
34750         * rt/clock_settime.c: Likewise.
34751         * rt/lio_listio.c: Likewise.
34752         * rt/mq_close.c: Likewise.
34753         * rt/mq_getattr.c: Likewise.
34754         * rt/mq_notify.c: Likewise.
34755         * rt/mq_open.c: Likewise.
34756         * rt/mq_receive.c: Likewise.
34757         * rt/mq_send.c: Likewise.
34758         * rt/mq_setattr.c: Likewise.
34759         * rt/mq_timedreceive.c: Likewise.
34760         * rt/mq_timedsend.c: Likewise.
34761         * rt/mq_unlink.c: Likewise.
34762         * rt/shm_open.c: Likewise.
34763         * rt/shm_unlink.c: Likewise.
34764         * rt/timer_create.c: Likewise.
34765         * rt/timer_delete.c: Likewise.
34766         * rt/timer_getoverr.c: Likewise.
34767         * rt/timer_gettime.c: Likewise.
34768         * rt/timer_settime.c: Likewise.
34769         * setjmp/__longjmp.c: Likewise.
34770         * setjmp/setjmp.c: Likewise.
34771         * signal/kill.c: Likewise.
34772         * signal/killpg.c: Likewise.
34773         * signal/raise.c: Likewise.
34774         * signal/sigaction.c: Likewise.
34775         * signal/sigaltstack.c: Likewise.
34776         * signal/sigblock.c: Likewise.
34777         * signal/sigignore.c: Likewise.
34778         * signal/sigintr.c: Likewise.
34779         * signal/signal.c: Likewise.
34780         * signal/sigpause.c: Likewise.
34781         * signal/sigpending.c: Likewise.
34782         * signal/sigqueue.c: Likewise.
34783         * signal/sigreturn.c: Likewise.
34784         * signal/sigset.c: Likewise.
34785         * signal/sigsetmask.c: Likewise.
34786         * signal/sigstack.c: Likewise.
34787         * signal/sigsuspend.c: Likewise.
34788         * signal/sigtimedwait.c: Likewise.
34789         * signal/sigvec.c: Likewise.
34790         * signal/sigwait.c: Likewise.
34791         * signal/sigwaitinfo.c: Likewise.
34792         * signal/sysv_signal.c: Likewise.
34793         * socket/accept.c: Likewise.
34794         * socket/accept4.c: Likewise.
34795         * socket/bind.c: Likewise.
34796         * socket/connect.c: Likewise.
34797         * socket/getpeername.c: Likewise.
34798         * socket/getsockname.c: Likewise.
34799         * socket/getsockopt.c: Likewise.
34800         * socket/isfdtype.c: Likewise.
34801         * socket/listen.c: Likewise.
34802         * socket/recv.c: Likewise.
34803         * socket/recvfrom.c: Likewise.
34804         * socket/recvmsg.c: Likewise.
34805         * socket/send.c: Likewise.
34806         * socket/sendmsg.c: Likewise.
34807         * socket/sendto.c: Likewise.
34808         * socket/setsockopt.c: Likewise.
34809         * socket/shutdown.c: Likewise.
34810         * socket/sockatmark.c: Likewise.
34811         * socket/socket.c: Likewise.
34812         * socket/socketpair.c: Likewise.
34813         * stdio-common/ctermid.c: Likewise.
34814         * stdio-common/cuserid.c: Likewise.
34815         * stdio-common/remove.c: Likewise.
34816         * stdio-common/rename.c: Likewise.
34817         * stdio-common/renameat.c: Likewise.
34818         * stdio-common/tempname.c: Likewise.
34819         * stdlib/getcontext.c: Likewise.
34820         * stdlib/makecontext.c: Likewise.
34821         * stdlib/setcontext.c: Likewise.
34822         * stdlib/swapcontext.c: Likewise.
34823         * stdlib/system.c: Likewise.
34824         * streams/fattach.c: Likewise.
34825         * streams/fdetach.c: Likewise.
34826         * streams/getmsg.c: Likewise.
34827         * streams/getpmsg.c: Likewise.
34828         * streams/putmsg.c: Likewise.
34829         * streams/putpmsg.c: Likewise.
34830         * sysdeps/unix/bsd/getpt.c: Likewise.
34831         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34832         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34833         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34835         Likewise.
34836         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34837         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34838         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34839         * sysvipc/msgctl.c: Likewise.
34840         * sysvipc/msgget.c: Likewise.
34841         * sysvipc/msgrcv.c: Likewise.
34842         * sysvipc/msgsnd.c: Likewise.
34843         * sysvipc/semctl.c: Likewise.
34844         * sysvipc/semget.c: Likewise.
34845         * sysvipc/semop.c: Likewise.
34846         * sysvipc/semtimedop.c: Likewise.
34847         * sysvipc/shmat.c: Likewise.
34848         * sysvipc/shmctl.c: Likewise.
34849         * sysvipc/shmdt.c: Likewise.
34850         * sysvipc/shmget.c: Likewise.
34851         * termios/tcdrain.c: Likewise.
34852         * termios/tcflow.c: Likewise.
34853         * termios/tcflush.c: Likewise.
34854         * termios/tcgetattr.c: Likewise.
34855         * termios/tcgetpgrp.c: Likewise.
34856         * termios/tcsendbrk.c: Likewise.
34857         * termios/tcsetattr.c: Likewise.
34858         * termios/tcsetpgrp.c: Likewise.
34859         * time/adjtime.c: Likewise.
34860         * time/clock.c: Likewise.
34861         * time/getitimer.c: Likewise.
34862         * time/gettimeofday.c: Likewise.
34863         * time/setitimer.c: Likewise.
34864         * time/settimeofday.c: Likewise.
34865         * time/stime.c: Likewise.
34866         * time/time.c: Likewise.
34867
34868 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34869
34870         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34871         /usr/old/bin.
34872
34873         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34874         instead of spaces.
34875         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34876
34877 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34878
34879         [BZ #14796]
34880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34881         FE_TONEAREST before applying Dekker multiplication and Knuth
34882         addition.  Clear inexact exceptions and check for exact zero
34883         results afterwards.
34884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34885         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34887         * math/libm-test.inc (fma_test): Add more tests.
34888         (fma_test_towardzero): Likewise.
34889         (fma_test_downward): Likewise.
34890         (fma_test_upward): Likewise.
34891         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34892         function.
34893         (libc_fesetround): New macro.
34894         (libc_fesetroundf): Likewise.
34895         (libc_fesetroundl): Likewise.
34896         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34897         function.
34898         (libc_fesetround_387): Likewise.
34899         (libc_fesetroundf): New macro.
34900         (libc_fesetround): Likewise.
34901         (libc_fesetroundl): Likewise.
34902         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34903         function.
34904         (libc_fesetroundf): New macro.
34905         (libc_fesetround): Likewise.
34906         (libc_fesetroundl): Likewise.
34907         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34908         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34909         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34910         libm_hidden_ver.
34911         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34912         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34913         libm_hidden_def.
34914         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34915         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34916         libm_hidden_ver.
34917         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34918         libm_hidden_def.
34919
34920         [BZ #3439]
34921         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34922         integer constant usable in #if and use that to give value to enum
34923         constant.
34924         (FE_DIVBYZERO): Likewise.
34925         (FE_UNDERFLOW): Likewise.
34926         (FE_OVERFLOW): Likewise.
34927         (FE_INVALID): Likewise.
34928         (FE_INVALID_SNAN): Likewise.
34929         (FE_INVALID_ISI): Likewise.
34930         (FE_INVALID_IDI): Likewise.
34931         (FE_INVALID_ZDZ): Likewise.
34932         (FE_INVALID_IMZ): Likewise.
34933         (FE_INVALID_COMPARE): Likewise.
34934         (FE_INVALID_SOFTWARE): Likewise.
34935         (FE_INVALID_SQRT): Likewise.
34936         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34937         (FE_TONEAREST): Likewise.
34938         (FE_TOWARDZERO): Likewise.
34939         (FE_UPWARD): Likewise.
34940         (FE_DOWNWARD): Likewise.
34941         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34942         (FE_DIVBYZERO): Likewise.
34943         (FE_OVERFLOW): Likewise.
34944         (FE_UNDERFLOW): Likewise.
34945         (FE_INEXACT): Likewise.
34946         (FE_TONEAREST): Likewise.
34947         (FE_DOWNWARD): Likewise.
34948         (FE_UPWARD): Likewise.
34949         (FE_TOWARDZERO): Likewise.
34950         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34951         (FE_UNDERFLOW): Likewise.
34952         (FE_OVERFLOW): Likewise.
34953         (FE_DIVBYZERO): Likewise.
34954         (FE_INVALID): Likewise.
34955         (FE_TONEAREST): Likewise.
34956         (FE_TOWARDZERO): Likewise.
34957         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34958         (FE_OVERFLOW): Likewise.
34959         (FE_UNDERFLOW): Likewise.
34960         (FE_DIVBYZERO): Likewise.
34961         (FE_INEXACT): Likewise.
34962         (FE_TONEAREST): Likewise.
34963         (FE_TOWARDZERO): Likewise.
34964         (FE_UPWARD): Likewise.
34965         (FE_DOWNWARD): Likewise.
34966         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34967         (FE_DIVBYZERO): Likewise.
34968         (FE_OVERFLOW): Likewise.
34969         (FE_UNDERFLOW): Likewise.
34970         (FE_INEXACT): Likewise.
34971         (FE_TONEAREST): Likewise.
34972         (FE_DOWNWARD): Likewise.
34973         (FE_UPWARD): Likewise.
34974         (FE_TOWARDZERO): Likewise.
34975
34976 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34977
34978         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34979
34980 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34981
34982         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34983         commands.  Quote $PWD.
34984         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34985         -x" by "export".
34986         (remove_newlines): Remove.
34987
34988 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34989
34990         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34991         * stdlib/stdlib.h (atof): Moved to ...
34992         * include/bits/stdlib-float.h: Here.  New file.
34993         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34994         * stdlib/bits/stdlib-float.h: New file.
34995         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34996         -mno-sse -mno-mmx.
34997         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34998         <xmmintrin.h>.
34999
35000 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35001
35002         * conform/conformtest.pl (@headers): Add fenv.h.
35003         * conform/data/fenv.h-data: New file.
35004         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35005         include of <math/fenv.h>.
35006
35007         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35008         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35009         && !UNIX98].  Enables tests for XOPEN2K8.
35010         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35011         POSIX2008]: Likewise.
35012
35013         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35014         (struct rusage): Do not expect type or its members.
35015
35016         [BZ #3439]
35017         * math/math.h (FP_NAN): Define macro to integer constant usable in
35018         #if and use that to give value to enum constant.
35019         (FP_INFINITE): Likewise.
35020         (FP_ZERO): Likewise.
35021         (FP_SUBNORMAL): Likewise.
35022         (FP_NORMAL): Likewise.
35023
35024 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35025
35026         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35027         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35028         arguments.
35029
35030 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35031
35032         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35033         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35034         autoconf-time if not.
35035         * configure.in: Remove AC_PREREQ.
35036
35037 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35038
35039         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35040         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35041         of the internal implementation.
35042
35043 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35044
35045         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35046         except include of <misc/sys/syslog.h>.
35047
35048 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35049
35050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35051         function returns with a NULL context exit with zero.
35052
35053 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35054
35055         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35056
35057 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35058
35059         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35060         (run_program_cmd): This.
35061         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35062         (tst_langinfo): New variable.  Use it.
35063
35064 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35065
35066         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35067         floating point opcodes.
35068
35069 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35070
35071         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35072         variable.
35073
35074         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35075
35076         * sysdeps/mach/hurd/powerpc: Remove directory.
35077         * sysdeps/mach/powerpc: Likewise.
35078
35079 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35080
35081         * scripts/check-local-headers.sh: Ignore c++ headers.
35082
35083 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35084
35085         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35086         __libc_cleanup_region_start argument.
35087
35088 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35089
35090         [BZ #14784]
35091         [BZ #14785]
35092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35093         x * y using scaling, not as x * y + z.
35094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35096         * math/libm-test.inc (fma_test): Add more tests.
35097         (fma_test_towardzero): Likewise.
35098         (fma_test_downward): Likewise.
35099         (fma_test_upward): Likewise.
35100
35101 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35102
35103         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35104
35105 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35106
35107         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35108         New variable.
35109
35110 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35111
35112         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35113
35114 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35115
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35117         Fix sort order.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35119         Likewise.
35120
35121 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35122
35123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35124         Fix the order of the list for glibc 2.17.
35125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35126         Likewise.
35127
35128 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35129
35130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35131
35132 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35133
35134         [BZ #14610]
35135         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35136         for low part of x being zero before using __atanl (y).
35137         * math/libm-test.inc (atan2_test): Add another test.
35138
35139         * manual/install.texi (Configuring and compiling): Document
35140         general use of test-wrapper and test-wrapper-env.
35141         * INSTALL: Regenerated.
35142
35143         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35144         (__fma): Do not extract and scale down low bits on after-rounding
35145         systems when result rounded to normal precision would have normal
35146         exponent.
35147         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35148         (__fmal): Do not extract and scale down low bits on after-rounding
35149         systems when result rounded to normal precision would have normal
35150         exponent.
35151         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35152         (__fmal): Do not extract and scale down low bits on after-rounding
35153         systems when result rounded to normal precision would have normal
35154         exponent.
35155         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35156         macro.
35157         (fma_test): Add more tests.
35158         (fma_test_towardzero): Likewise.
35159         (fma_test_downward): Likewise.
35160         (fma_test_upward): Likewise.
35161
35162 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35163
35164         * sysdeps/i386/tininess.h: Renamed to ...
35165         * sysdeps/x86/tininess.h: This.
35166         * sysdeps/x86_64/tininess.h: Removed.
35167
35168 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35169
35170         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35171         input.  Use $(build-program-cmd).
35172         ($(objpfx)tst-array1-static.out): Likewise.
35173         ($(objpfx)tst-array2.out): Likewise.
35174         ($(objpfx)tst-array3.out): Likewise.
35175         ($(objpfx)tst-array4.out): Likewise.
35176         ($(objpfx)tst-array5.out): Likewise.
35177         ($(objpfx)tst-array5-static.out): Likewise.
35178
35179 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35180
35181         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35182         if defined.
35183
35184         * nss/nsswitch.h (nss_interface_function): Provide new
35185         macro for use with NSS functions.
35186         * grp/initgroups.c: Use new macro.
35187         * nss/getXXbyYY.c: Likewise.
35188         * nss/getXXbyYY_r.c: Likewise.
35189         * nss/getXXent.c: Likewise.
35190         * nss/getXXent_r.c: Likewise.
35191         * sysdeps/posix/getaddrinfo.c: Likewise.
35192
35193 2012-10-30  Andreas Jaeger  <aj@suse.de>
35194
35195         * po/ru.po: Update Russion translation from translation project.
35196
35197 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35198
35199         [BZ #14152]
35200         [BZ #14783]
35201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35202         result and shift together with sticky bit instead of replicating
35203         round-to-nearest rounding.
35204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35206         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35207         missing underflow exceptions.
35208         (fma_test_towardzero): Add more tests.
35209         (fma_test_downward): Likewise.
35210         (fma_test_upward): Likewise.
35211
35212         [BZ #14047]
35213         * sysdeps/generic/tininess.h: New file.
35214         * sysdeps/i386/tininess.h: Likewise.
35215         * sysdeps/sh/tininess.h: Likewise.
35216         * sysdeps/x86_64/tininess.h: Likewise.
35217         * stdlib/tst-strtod-underflow.c: Likewise.
35218         * stdlib/tst-tininess.c: Likewise.
35219         * stdlib/strtod_l.c: Include <tininess.h>.
35220         (round_and_return): Do not set errno for exact underflow cases.
35221         Force an underflow exception when setting errno for underflow.
35222         Determine underflow based on rounding to normal precision if
35223         TININESS_AFTER_ROUNDING.
35224         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35225         ERANGE for exact underflow cases.
35226         * stdlib/Makefile (tests): Add tst-tininess and
35227         tst-strtod-underflow.
35228         ($(objpfx)tst-tininess): Use $(link-libm).
35229         ($(objpfx)tst-strtod-underflow): Likewise.
35230
35231 2012-10-30  Andreas Jaeger  <aj@suse.de>
35232
35233         [BZ#14767]
35234         * elf/Makefile (tests): Remove conditional for have-initfini-array
35235         since this is now always required and the variable does not exist
35236         anymore.
35237         (tests-static): Likewise.
35238         (modules-names): Likewise.
35239
35240         * po/eo.po: Add Esperanto translation from translation project.
35241
35242         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35243         merged with constructor/destructor.
35244         (init_array): Likewise.
35245         * elf/tst-array2dep.c (fini_array): Likewise.
35246         (init_array): Likewise.
35247
35248 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35249
35250         * manual/message.texi: Delete @cartouche tags.
35251
35252 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35253
35254         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35255         EOPNOTSUPP.
35256         * sysdeps/mach/hurd/fsync.c: Likewise.
35257
35258         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35259         [_POSIX_REALTIME_SIGNALS]: Change condition to
35260         [_POSIX_REALTIME_SIGNALS > 0].
35261
35262 2012-10-27  Andreas Jaeger  <aj@suse.de>
35263
35264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35265         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35267         [__WORDSIZE != 64]: Likewise.
35268
35269 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35270
35271         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35272         *  iconvdata/tst-tables.sh: Likewise.
35273
35274 2012-10-25  David S. Miller  <davem@davemloft.net>
35275
35276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35277         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35278         of strtoull.
35279
35280         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35281         ifunc-impl-list.c
35282         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35283         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35284         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35285         file.
35286
35287 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35288
35289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35290         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35291         __getdirentries.
35292
35293 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35294             Jim Blandy  <jimb@codesourcery.com>
35295
35296         * scripts/cross-test-ssh.sh: New file.
35297         * manual/install.texi (Configuring and compiling): Document use of
35298         cross-test-ssh.sh.
35299         * INSTALL: Regenerated.
35300
35301 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35302
35303         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35304         EOPNOTSUPP.
35305
35306 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35307
35308         * Makeconfig (run-program-prefix): Fix comment.
35309
35310 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35311             Jim Blandy  <jimb@codesourcery.com>
35312
35313         * Makeconfig (test-wrapper): New variable,
35314         (test-wrapper-env): Likewise.
35315         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35316         (run-built-tests): Define to yes.
35317         (run-program-prefix): Use $(test-wrapper).
35318         (built-program-cmd): Likewise.
35319         * Rules (make-test-out): Use $(test-wrapper-env) and
35320         $(host-built-program-cmd).
35321         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35322         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35323         tst-pathopt.sh.
35324         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35325         $(test-wrapper-env) to tst-rtld-load-self.sh.
35326         ($(objpfx)order2.out): Use $(test-wrapper).
35327         ($(objpfx)tst-initorder.out): Likewise.
35328         ($(objpfx)tst-initorder2.out): Likewise.
35329         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35330         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35331         (test_wrapper_env): New variable.  Use it to run ld.so.
35332         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35333         Use it to run ld.so.
35334         (test_wrapper_env): Likewise.
35335         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35336         $(test-wrapper) to run-iconv-test.sh.
35337         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35338         (ICONV): Use $test_wrapper.
35339         * posix/Makefile ($(objpfx)globtest.out): Pass
35340         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35341         globtest.sh, not $(run-program-prefix).
35342         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35343         (test_wrapper): Likewise.
35344         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35345         set together with run_via_rtld_prefix.
35346         (run_program_prefix): Define in terms of test_wrapper and
35347         run_via_rtld_prefix.
35348
35349 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35350
35351         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35352         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35353         Targets removed.
35354
35355         [BZ #14743]
35356         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35357         Declare __clock_getres, __clock_gettime, __clock_settime,
35358         __clock_nanosleep, and __clock_getcpuclockid.
35359         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35360         Remove librt_hidden_def (clock_gettime).
35361         * sysdeps/unix/clock_gettime.c: Likewise.
35362         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35363         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35364         * rt/clock_getres.c: Define __clock_getres as an alias.
35365         * sysdeps/posix/clock_getres.c: Likewise.
35366         * rt/clock_settime.c: Define __clock_settime as an alias.
35367         * sysdeps/unix/clock_settime.c: Likewise.
35368         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35369         * sysdeps/unix/clock_nanosleep.c: Likewise.
35370         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35371         * rt/clock-compat.c: New file.
35372         * rt/Makefile (librt-routines): Add clock-compat and move
35373         $(clock-routines) to ...
35374         (routines): ... here, new variable.
35375         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35376         Don't add get_clockfreq here.
35377         * rt/Versions (libc: GLIBC_2.17): New version set.
35378         Add clock_* symbols here.
35379         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35380         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35381         (GLIBC_2.17): Add clock_* symbols.
35382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35384         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35386         Likewise.
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35388         Likewise.
35389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35393         * NEWS: Mention the move.
35394
35395         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35396         Use __open, __read, __close rather than their public counterparts.
35397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35398         (__get_clockfreq_via_cpuinfo): Likewise.
35399         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35400         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35401
35402         * config.h.in (HAVE_IFUNC): New #undef.
35403         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35404         was successful.
35405         * configure: Regenerated.
35406
35407 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35408
35409         * configure.in: Move READELF check to start of file.
35410         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35411         libc_cv_asm_gnu_indirect_function in the process.
35412         * configure: Regenerated.
35413
35414 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35415
35416         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35417         send the output to /dev/null.
35418         (libc_cv_cc_with_libunwind): Likewise.
35419         (libc_cv_as_noexecstack): Likewise.
35420         * configure: Regenerate.
35421
35422 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35423
35424         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35425
35426         * posix/globtest.sh (TMPDIR): Do not set.
35427         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35428         (testout): Likewise.
35429
35430 2012-10-24  Andreas Jaeger  <aj@suse.de>
35431
35432         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35433         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35434         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35435         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35436         posix_fadvise64, posix_fallocate64.
35437
35438         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35439         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35440         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35441         Likewise.
35442         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35443         Likewise.
35444         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35445
35446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35447         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35448         <bits/fcntl-linux.h>.
35449         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35450
35451         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35452         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35453         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35454         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35455         [__WORDSIZE != 64]: Likewise.
35456
35457 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35458
35459         * Makeconfig (run-built-tests): New variable.
35460         * Rules [$(cross-compiling) = yes]: Change condition to
35461         [$(run-built-tests) = no].
35462         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35463         to [$(run-built-tests) = yes].
35464         * elf/Makefile [$(cross-compiling) = no]: Likewise
35465         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35466         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35467         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35468         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35469         * io/Makefile [$(cross-compiling) = no]: Likewise.
35470         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35471         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35472         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35473         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35474         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35475         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35476         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35477         * string/Makefile [$(cross-compiling) = no]: Likewise.
35478
35479         * posix/Makefile ($(objpfx)globtest.out): Pass
35480         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35481         $(rtld-installed-name).
35482         * posix/globtest.sh (elf_objpfx): Remove variable.
35483         (rtld_installed_name): Likewise.
35484         (library_path): Likewise.
35485         (run_program_prefix): New variable.  Use for running globtest
35486         binary.
35487
35488 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35489             Joseph Myers  <joseph@codesourcery.com>
35490
35491         * Makeconfig (host-built-program-cmd): New variable.
35492         * elf/Makefile (tst-stackguard1-ARGS): Use
35493         $(host-built-program-cmd).
35494         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35495         (tst-spawn-ARGS): Likewise.
35496         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35497
35498 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35499             Jim Blandy  <jimb@codesourcery.com>
35500
35501         * Makeconfig (run-via-rtld-prefix): New variable.
35502         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35503         (built-program-cmd): Likewise.
35504
35505 2012-10-22  Andreas Jaeger  <aj@suse.de>
35506
35507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35508         __O_RSYNC if it exists, otherwise to O_SYNC.
35509
35510 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35511             Joseph Myers  <joseph@codesourcery.com>
35512
35513         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35514         /dev/null.
35515         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35516         from /dev/null
35517         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35518         /dev/null.
35519
35520 2012-10-22  Andreas Jaeger  <aj@suse.de>
35521
35522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35523         Define always.
35524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35525
35526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35527         bits/fcntl-linux.h.
35528
35529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35530         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35531
35532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35533         to __O_LARGEFILE.
35534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35535         to __O_LARGEFILE.
35536
35537 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35538             Joseph Myers  <joseph@codesourcery.com>
35539
35540         * config.make.in (NM): New variable.
35541
35542 2012-10-21  Andreas Jaeger  <aj@suse.de>
35543
35544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35545         definitions and declarations that are provided by
35546         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35547
35548 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35549
35550         [BZ #14683]
35551         * elf/Makefile (tests-static): Add tst-leaks1-static.
35552         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35553         ($(objpfx)tst-leaks1-static): New rule.
35554         ($(objpfx)tst-leaks1-static-mem): Likewise.
35555         (tst-leaks1-static-ENV): New macro.
35556         * elf/dl-open.c (dl_open_worker): Check the main application
35557         only if SHARED is defined.
35558         * elf/tst-leaks1-static.c: New file.
35559
35560 2012-10-20  Andreas Jaeger  <aj@suse.de>
35561
35562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35563         generic values for Linux.
35564         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35565         and declarations that are provided by <bits/fcntl-linux.h> and
35566         include <bits/fcntl-linux.h>.
35567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35569
35570 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35571
35572         * io/fcntl.h: Move include of <bits/types.h> to the top and
35573         include it unconditionally.
35574
35575 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35576
35577         * wcsmbs/Makefile (tests-ifunc): New variable.
35578         (tests): Add $(tests-ifunc).
35579         * wcsmbs/test-wcschr-ifunc.c: New file.
35580         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35581         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35582         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35583         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35584         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35585
35586         * string/Makefile (tests-ifunc): New variable.
35587         (tests): Add $(tests-ifunc).
35588         * string/test-memccpy.c (TEST_NAME): New macro.
35589         * string/test-memchr.c (TEST_NAME): Likewise.
35590         * string/test-memcmp.c (TEST_NAME): Likewise.
35591         * string/test-memcpy.c (TEST_NAME): Likewise.
35592         * string/test-memmem.c (TEST_NAME): Likewise.
35593         * string/test-memmove.c (TEST_NAME): Likewise.
35594         * string/test-memset.c (TEST_NAME): Likewise.
35595         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35596         * string/test-stpcpy.c (TEST_NAME): Likewise.
35597         * string/test-stpncpy.c (TEST_NAME): Likewise.
35598         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35599         * string/test-strcasestr.c (TEST_NAME): Likewise.
35600         * string/test-strcat.c (TEST_NAME): Likewise.
35601         * string/test-strchr.c (TEST_NAME): Likewise.
35602         * string/test-strcmp.c(TEST_NAME): Likewise.
35603         * string/test-strcpy.c (TEST_NAME): Likewise.
35604         * string/test-strcspn.c (TEST_NAME): Likewise.
35605         * string/test-strlen.c (TEST_NAME): Likewise.
35606         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35607         * string/test-strncmp.c (TEST_NAME): Likewise.
35608         * string/test-strncpy.c (TEST_NAME): Likewise.
35609         * string/test-strnlen.c (TEST_NAME): Likewise.
35610         * string/test-strpbrk.c (TEST_NAME): Likewise.
35611         * string/test-strrchr.c (TEST_NAME): Likewise.
35612         * string/test-strspn.c (TEST_NAME): Likewise.
35613         * string/test-strstr.c (TEST_NAME): Likewise.
35614         * string/test-bcopy-ifunc.c: New file.
35615         * string/test-bzero-ifunc.c: Likewise.
35616         * string/test-memccpy-ifunc.c: Likewise.
35617         * string/test-memchr-ifunc.c: Likewise.
35618         * string/test-memcmp-ifunc.c: Likewise.
35619         * string/test-memcpy-ifunc.c: Likewise.
35620         * string/test-memmem-ifunc.c: Likewise.
35621         * string/test-memmove-ifunc.c: Likewise.
35622         * string/test-mempcpy-ifunc.c: Likewise.
35623         * string/test-memset-ifunc.c: Likewise.
35624         * string/test-rawmemchr-ifunc.c: Likewise.
35625         * string/test-stpcpy-ifunc.c: Likewise.
35626         * string/test-stpncpy-ifunc.c: Likewise.
35627         * string/test-strcasecmp-ifunc.c: Likewise.
35628         * string/test-strcasestr-ifunc.c: Likewise.
35629         * string/test-strcat-ifunc.c: Likewise.
35630         * string/test-strchr-ifunc.c: Likewise.
35631         * string/test-strchrnul-ifunc.c: Likewise.
35632         * string/test-strcmp-ifunc.c: Likewise.
35633         * string/test-strcpy-ifunc.c: Likewise.
35634         * string/test-strcspn-ifunc.c: Likewise.
35635         * string/test-strlen-ifunc.c: Likewise.
35636         * string/test-strncasecmp-ifunc.c: Likewise.
35637         * string/test-strncat-ifunc.c: Likewise.
35638         * string/test-strncmp-ifunc.c: Likewise.
35639         * string/test-strncpy-ifunc.c: Likewise.
35640         * string/test-strnlen-ifunc.c: Likewise.
35641         * string/test-strpbrk-ifunc.c: Likewise.
35642         * string/test-strrchr-ifunc.c: Likewise.
35643         * string/test-strspn-ifunc.c: Likewise.
35644         * string/test-strstr-ifunc.c: Likewise.
35645
35646         * debug/Makefile (tests-ifunc): New variable.
35647         (tests): Add $(tests-ifunc).
35648         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35649         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35650         * debug/test-stpcpy_chk-ifunc.c: New file.
35651         * debug/test-strcpy_chk-ifunc.c: Likewise.
35652
35653 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35654
35655         [BZ #13601]
35656         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35657         header is not read in.
35658
35659 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35660
35661         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35662         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35663         directly.  Pass built executable to script as
35664         $(built-program-cmd).
35665         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35666         $testprogram without using LD_LIBRARY_PATH and $ldso.
35667
35668         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35669         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35670         $(rtld-installed-name).
35671         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35672         (rtld_installed_name): Likewise.
35673         (library_path): Likewise.
35674         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35675         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35676         $(run-program-prefix) to tst-tables.sh.
35677         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35678         it to run tst-table-from and tst-table-to.
35679         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35680         Pass it to tst-table.sh.
35681         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35682         $(run-program-prefix) to tst-gettext.sh.
35683         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35684         tst-translit.sh.
35685         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35686         tst-gettext2.sh.
35687         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35688         to run tst-gettext.
35689         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35690         to run tst-gettext2.
35691         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35692         to run tst-translit.
35693         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35694         $(run-program-prefix) to tst-mtrace.sh.
35695         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35696         to run tst-mtrace.
35697         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35698         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35699         $(rtld-installed-name).
35700         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35701         (rtld_installed_name): Likewise.
35702         (run_program_prefix): New variable.  Use it to run wordexp-test.
35703
35704         * Makeconfig (ARCH): Remove all definitions.
35705         (machine): Likewise.
35706         [ARCH]: Remove conditional code.
35707         [!objdir]: Give error.
35708         [!objdir] (objpfx): Remove.
35709         [!objdir] (common-objpfx): Likewise.
35710         [!objdir] (common-objdir): Likewise.
35711         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35712         AC_CONFIG_FILES call.
35713         * configure: Regenerated.
35714
35715         [BZ #13888]
35716         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35717         or TMPDIR.
35718         (testout): Likewise.
35719
35720         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35721         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35722         $(rtld-installed-name).
35723         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35724         (rtld_installed_name): Likwise.
35725         (runit): Remove function.
35726         (run_getconf): New variable,  Use it for running getconf binary.
35727
35728 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35729
35730         [BZ #14716]
35731         * string/test-memmem.c (check_result): New function.
35732         (do_one_test): Use it.
35733         (check1): New function.
35734         (test_main): Use it.
35735
35736 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35737
35738         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35739
35740 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35741
35742         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35743         (_G_LSEEK64): Likewise.
35744         (_G_MMAP64): Likewise.
35745         (_G_FSTAT64): Likewise.
35746         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35747         (_G_LSEEK64): Likewise.
35748         (_G_MMAP64): Likewise.
35749         (_G_FSTAT64): Likewise.
35750         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35751         unconditional.  Call __mmap64 directly.
35752         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35753         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35754         __lseek64 directly.
35755         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35756         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35757         __mmap64 directly.
35758         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35759         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35760         __lseek64 directly.
35761         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35762         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35763         __lseek64 directly.
35764         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35765         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35766         __lseek64 directly.
35767         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35768         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35769         __fxstat64 directly.
35770         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35771         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35772         unconditional.
35773         (freopen64) [!_G_OPEN64]: Remove conditional code.
35774         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35775         unconditional.
35776         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35777         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35778         unconditional.
35779         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35780         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35781         unconditional.
35782         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35783         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35784         unconditional.
35785         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35786         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35787         unconditional.
35788         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35789         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35790         unconditional.
35791         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35792         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35793         unconditional.
35794         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35795
35796 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35797
35798         [BZ #12140]
35799         * manual/memory.texi (Malloc Tunable Parameters): Add note
35800         about free list pointers overwriting some perturb bytes.
35801         Wording suggested by Roland McGrath.
35802
35803 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35804
35805         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35806         (lgamma_test): Likewise.
35807         (tgamma_test): Likewise.
35808
35809 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35810
35811         [BZ #14700]
35812         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35813         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35814
35815 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35816
35817         * NEWS: Mention BZ #14716.
35818         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35819         when removing AVAILABLE1_USES_J macro.
35820
35821 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35822
35823         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35824         (__bswap_64): __uint64_t for unsigned 64-bit int.
35825
35826 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35827
35828         * include/string.h (memmem): Declare libc hidden alias.
35829         * string/memmem.c (memmem): Define libc hidden alias.
35830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35831         __read, __close instead of open, read, close.
35832
35833 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35834
35835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35836         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35837         global and hidden.
35838         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35839         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35840         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35841         Likewise.
35842         (__rawmemchr_sse2): Likewise.
35843         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35844         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35845         (__strchr_sse2): Likewise.
35846         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35847         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35848         (__strcasecmp_sse2): Likewise.
35849         (__strncasecmp_sse2): Likewise.
35850         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35851         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35852         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35853         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35854         (__strrchr_sse2): Likewise.
35855         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35856         ifunc-impl-list.c.
35857         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35858         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35859         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35860         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35861         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35865         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35866         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35867         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35868         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35869         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35870         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35871         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35872         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35873         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35874         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35875         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35876         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35877         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35878         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35879         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35880         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35881         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35882         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35883         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35884         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35885         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35886         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35887
35888         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35889         global and hidden.
35890         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35891         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35892         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35893         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35894         Likewise.
35895         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35896         Likewise.
35897         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35898         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35899         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35900         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35901         ifunc-impl-list.c.
35902         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35903         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35904         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35906         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35907         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35908         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35909         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35910         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35911         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35912         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35913         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35914         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35915         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35916         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35917         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35918         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35919         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35920         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35921         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35922         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35923         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35924         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35927         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35930         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35931         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35932         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35933         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35934         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35935         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35936         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35937         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35938         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35939         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35940         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35941         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35942         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35943
35944         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35945         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35946         * include/ifunc-impl-list.h: New file.
35947         * misc/ifunc-impl-list.c: Likewise.
35948         * misc/Makefile (routines): Add ifunc-impl-list.
35949         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35950         * string/test-string.h: Include <ifunc-impl-list.h>.
35951         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35952         TEST_NAME]: New variables.
35953         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35954         are defined.
35955         (test_init): Call __libc_ifunc_impl_list to initialize
35956         func_list if TEST_IFUNC and TEST_NAME are defined.
35957
35958         * string/Makefile (strop-tests): Add bcopy and bzero.
35959         * string/test-bcopy.c: New file.
35960         * string/test-bzero.c: Likewise.
35961         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35962         defined.
35963         * string/test-memset.c: Support bzero test if TEST_BZERO is
35964         defined.
35965         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35966         __libc_memmove.
35967         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35968         __libc_memset.
35969         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35970         of memset.
35971
35972 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35973
35974         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35975         * configure: Regenerated.
35976
35977         * Makeconfig (+link-static-before-libc): Don't include
35978         $(link-static-libc).
35979
35980         * libio/libio.h (_IO_pos_t): Remove.
35981
35982 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35983
35984         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35985         McGrath.
35986
35987 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35988
35989         * crypt/crypt-entry.c: Include fips-private.h.
35990         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35991         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35992         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35993         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35994
35995 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35996
35997         * crypt/crypt-private.h: Include stdbool.h.
35998         (_ufc_setup_salt_r): Return bool.
35999         * crypt/crypt-entry.c: Include errno.h.
36000         (__crypt_r): Return NULL with EINVAL for bad salt.
36001         * crypt/crypt_util.c (bad_for_salt): New.
36002         (_ufc_setup_salt_r): Check that salt is long enough and within
36003         the specified alphabet.
36004         * crypt/badsalttest.c: New file.
36005         * crypt/Makefile (tests): Add it.
36006         ($(objpfx)badsalttest): New.
36007
36008 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36009
36010         * NEWS: Add entry for BZ #14602.
36011
36012 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36013
36014         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36015         type-generic.
36016         * math/libm-test.inc: Update comment listing what functions and
36017         macros are tested.
36018         (isgreater_test): New function.
36019         (isgreaterequal_test): Likewise.
36020         (isless_test): Likewise.
36021         (islessequal_test): Likewise.
36022         (islessgreater_test): Likewise.
36023         (isunordered_test): Likewise.
36024         (main): Call the new functions.
36025
36026 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36027
36028         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36029         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36030         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36031         * sysdeps/i386/configure: Regenerated.
36032         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36033         * sysdeps/mach/configure: Regenerated.
36034         * sysdeps/mach/hurd/configure: Regenerated.
36035         * sysdeps/powerpc/configure: Regenerated.
36036         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36037         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36038         * sysdeps/s390/s390-32/configure: Regenerated.
36039         * sysdeps/s390/s390-64/configure: Regenerated.
36040         * sysdeps/sh/configure: Regenerated.
36041         * sysdeps/sparc/configure: Regenerated.
36042         * sysdeps/unix/sysv/linux/configure: Regenerated.
36043         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36044         * sysdeps/x86_64/configure: Regenerated.
36045
36046         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36047         defined.  Don't check if MAP is NULL.
36048
36049 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36050
36051         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36052         (_G_stat64): Likewise.
36053         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36054         (_G_stat64): Likewise.
36055         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36056         instead of struct _G_stat64.
36057         * libio/fileops.c (mmap_remap_check): Likewise.
36058         (decide_maybe_mmap): Likewise.
36059         (_IO_new_file_seekoff): Likewise.
36060         (_IO_file_stat): Likewise.
36061         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36062         _G_off64_t.
36063         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36064         instead of struct _G_stat64.
36065         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36066
36067 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36068
36069         [BZ #14602]
36070         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36071         Replace with ...
36072         (CHECK_EOL): New macro.
36073         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36074         CHECK_EOL.
36075         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36076         Replace with CHECK_EOL.
36077         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36078         Replace with CHECK_EOL.
36079
36080 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36081
36082         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36083         type-generic.
36084         * math/libm-test.inc: Update comment listing what functions and
36085         macros are tested.
36086         (finite_test): New function.
36087         (isinf_test): Likewise.
36088         (isnan_test): Likewise.
36089         (fpclassify_test): Test subnormal input.
36090         (isfinite_test): Likewise.
36091         (isnormal_test): Likewise.
36092         (main): Call the new functions.
36093
36094 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36095
36096         [BZ #14660]
36097         * Makerules (%.dynsym): Force C locale when running
36098         $(OBJDUMP) --dynamic-syms.
36099
36100 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36101
36102         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36103         <stdint.h>.
36104
36105 2012-10-06  David S. Miller  <davem@davemloft.net>
36106
36107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36108         upper 32-bits of the length value in %o2 since we use branch-on-register
36109         tests which consider the entire 64-bit register.
36110
36111 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36112
36113         * string/test-strstr.c (check2): Add a test for page boundary.
36114
36115 2012-10-05  David S. Miller  <davem@davemloft.net>
36116
36117         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36118         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36119         file.
36120         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36121         sysdep_routines.
36122         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36123         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36124         and bzero when HWCAP_SPARC_CRYPTO is present.
36125
36126 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36127
36128         [BZ #14602]
36129         * string/test-strstr.c (check2): New function.
36130         (test_main): Call check2.
36131
36132         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36133         and bug-strchr1.
36134         * string/bug-strcasestr1.c (do_test): Moved to ...
36135         * string/test-strcasestr.c (check1): Here.  New function.
36136         (do_one_test): Break out result checking code into ...
36137         (check_result): This.  New function.
36138         (do_one_test): Call check_result.
36139         (test_main): Call check1.
36140         * string/bug-strchr1.c (do_test): Moved to ...
36141         * string/test-strchr.c (check1): Here.  New function.
36142         (do_one_test): Break out result checking code into ...
36143         (check_result): This.  New function.
36144         (do_one_test): Call check_result.
36145         (test_main): Call check1.
36146         * string/bug-strstr1.c (main): Moved to ...
36147         * string/test-strstr.c (check1): Here.  New function.
36148         (do_one_test): Break out result checking code into ...
36149         (check_result): This.  New function.
36150         (do_one_test): Call check_result.
36151         (test_main): Call check1.
36152         * string/bug-strcasestr1.c: Removed.
36153         * string/bug-strchr1.c: Likewise.
36154         * string/bug-strstr1.c: Likewise.
36155
36156         * elf/Makefile (dl-routines): Add hwcaps.
36157         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36158         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36159         (_dl_important_hwcaps): Moved to ...
36160         * elf/dl-hwcaps.c: Here.  New file.
36161         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36162
36163         [BZ #14557]
36164         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36165         if IS_IN_rtld isn't defined.
36166
36167         * elf/dl-support.c (_dl_sysinfo_map): New.
36168         Include "get-dynamic-info.h" and "setup-vdso.h".
36169         (_dl_non_dynamic_init): Call setup_vdso.
36170         * elf/dynamic-link.h: Don't include <assert.h>.
36171         (elf_get_dynamic_info): Moved to ...
36172         * elf/get-dynamic-info.h: Here.  New file.
36173         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36174         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36175         * elf/setup-vdso.h: Here.  New file.
36176         * elf/rtld.c: Include "setup-vdso.h".
36177         (dl_main): Call setup_vdso.
36178
36179 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36180
36181         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36182         creal in comment listing functions tested.  List finite, isinf,
36183         isnan, isless, islessequal, isgreater, isgreaterequal,
36184         islessgreater, isunordered, lgamma_r and pow10 as functions and
36185         macros not tested.  Mention which functions not tested are aliases
36186         for other functions.  Fix typo.  Note that signs of NaNs are not
36187         tested.
36188
36189         * scripts/config.guess: Update from config.git.
36190         * scripts/config.sub: Likewise.
36191
36192 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36193
36194         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36195         * misc/madvise.c (madvise): Renamed to __madvise.
36196         Make madvise a weak alias.
36197         * include/sys/mman.h: Declare __madvise.
36198         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36199         * sysdeps/unix/syscalls.list
36200         (madvise): Make __madvise the strong name, and madvise a weak alias.
36201         * sysdeps/unix/sysv/linux/syscalls.list
36202         (madvise, mmap): Remove redundant entries.
36203         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36204         * malloc/malloc.c (mtrim): Likewise.
36205         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36206
36207 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36208
36209         * sysdeps/mach/hurd/dl-cache.c: File removed.
36210         * config.h.in (USE_LDCONFIG): New #undef.
36211         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36212         * configure: Regenerated.
36213         * elf/Makefile (dl-routines): Add dl-cache only under
36214         [$(use-ldconfig) = yes].
36215         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36216         cache on [USE_LDCONFIG].
36217         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36218         [USE_LDCONFIG].
36219         * elf/rtld.c (dl_main): Likewise.
36220
36221 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36222
36223         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36224         _SC_LEVEL4_CACHE_LINESIZE.
36225
36226 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36227
36228         * sysdeps/unix/bsd/confstr.h: File removed.
36229
36230 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36231
36232         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36233         sys/sdt-config.h.
36234
36235 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36236
36237         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36238         Make 'mapoff' field ElfW(Off) rather than off_t.
36239
36240 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36241
36242         * nscd/Makefile: Remove nscd-cflags and all its users.
36243         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36244         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36245
36246         [BZ #10631]
36247         * malloc.c (malloc_printerr): Clarify error message.
36248
36249 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36250
36251         [BZ #14648]
36252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36253         Set bit_FMA_Usable if FMA is supported.
36254         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36255         macro.
36256         (bit_FMA4_Usable): Updated.
36257         (index_FMA_Usable): New macro.
36258         (CPUID_FMA): Likewise
36259         (HAS_FMA): Defined with bit_FMA_Usable.
36260
36261 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36262
36263         * bits/types.h (__swblk_t): Type removed.
36264         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36265         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36267         (__SWBLK_T_TYPE): Likewise.
36268         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36269         (__SWBLK_T_TYPE): Likewise.
36270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36271         (__SWBLK_T_TYPE): Likewise.
36272         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36273         (__SWBLK_T_TYPE): Likewise.
36274
36275 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36276             Honza Horak <hhorak@redhat.com>
36277
36278         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36279         (xdr_mapname): Use YPMAXMAP as maxsize.
36280         (xdr_peername): Use YPMAXPEER as maxsize.
36281         (xdr_keydat): Use YPAXRECORD as maxsize.
36282         (xdr_valdat): Use YPMAXRECORD as maxsize.
36283
36284 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36285
36286         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36287
36288         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36289         * csu/init-first.c: ... here.
36290         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36291         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36292         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36293         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36294         * sysdeps/i386/init-first.c: File removed.
36295         * sysdeps/sh/init-first.c: File removed.
36296
36297 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36298
36299         [BZ #14645]
36300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36301         if x * y might underflow to zero and z is zero.
36302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36304         * math/libm-test.inc (min_subnorm_value): New variable.
36305         (fma_test): Add more tests.
36306         (fma_test_towardzero): Likewise.
36307         (fma_test_downward): Likewise
36308         (fma_test_upward): Likewise.
36309         (initialize): Set min_subnorm_value.
36310
36311 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36312
36313         [BZ #14638]
36314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36315         0 + 0.
36316         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36317         mode for addition resulting in exact zero.
36318         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36320         exact 0 + 0.
36321         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36323         * math/libm-test.inc (fma_test): Add more tests.
36324         (fma_test_towardzero): New function.
36325         (fma_test_downward): Likewise.
36326         (fma_test_upward): Likewise.
36327         (main): Call the new functions.
36328
36329 2012-09-28  David S. Miller  <davem@davemloft.net>
36330
36331         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36332
36333 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36334
36335         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36336         instead of SIGALRM.
36337
36338         * sysdeps/gnu/_G_config.h: Moved to ...
36339         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36340         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36341         * sysdeps/generic/_G_config.h: ... here.
36342
36343         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36344
36345         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36346
36347         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36348         Conditionalize target on [libnss_test1.so-version].
36349
36350         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36351
36352         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36353         (elfobjdir): Move out of conditionals.
36354
36355         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36356         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36357         (__nss_lookup_function): Conditionalize label remove_from_tree on
36358         [!DO_STATIC_NSS || SHARED], matching its only use.
36359
36360 2012-09-28  David S. Miller  <davem@davemloft.net>
36361
36362         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36363         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36364         file.
36365         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36366         sysdep_routines.
36367         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36369         when HWCAP_SPARC_CRYPTO is present.
36370
36371 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36372
36373         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36374
36375 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36376
36377         [BZ #6530]
36378         * stdio-common/vfprintf.c (process_string_arg): Revert
36379         2000-07-22 change.
36380
36381 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36382
36383         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36384         for testcase.
36385         * stdio-common/tst-sprintf.c: Include <locale.h>
36386         (main): Test sprintf's handling of incomplete multibyte
36387         characters.
36388
36389 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36390
36391         * elf/dl-runtime.c (VERSYMIDX): Removed.
36392         * elf/dl-version.c (VERSYMIDX): Likewise.
36393         * elf/do-rel.h (VERSYMIDX): Likewise.
36394         (VALIDX): Likewise.
36395         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36396         * elf/rtld.c (VALIDX): Likewise.
36397         (ADDRIDX): Likewise.
36398         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36399         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36400         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36401         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36402         (VALIDX): Likewise.
36403         (ADDRIDX): Likewise.
36404
36405 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36406
36407         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36408
36409 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36410
36411         [BZ #11438]
36412         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36413         to global scope.
36414         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36415         addresses are in the same scope as 192.0.2/24.
36416         * posix/gai.conf: Document new scope table defaults.
36417
36418 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36419
36420         [BZ #5298]
36421         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36422         for ftell.  Compute offsets from write pointers instead.
36423         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36424
36425 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36426
36427         [BZ #14543]
36428         * libio/Makefile (tests): New test case tst-fseek.
36429         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36430         combination works in wide mode.
36431         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36432         state when the external buffer state changes.
36433
36434 2012-09-27  David S. Miller  <davem@davemloft.net>
36435
36436         [BZ #14376]
36437         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36438         pass reloc->r_addend in as the 'high' argument to
36439         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36440
36441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36442
36443 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36444
36445         * rt/tst-aio2.c: Include <pthread.h>.
36446         * rt/tst-aio3.c: Likewise.
36447
36448 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36449
36450         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36451
36452 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36453
36454         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36455         contents on [SHARED].
36456
36457 2012-09-26  Marek Polacek  <polacek@redhat.com>
36458
36459         [BZ #14530]
36460         [BZ #13741]
36461         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36462         for C++ and GCC <4.3 as well as for non GCC compilers.
36463
36464 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36465
36466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36467
36468 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36469
36470         * Makefile.in (all, install): Declare with .PHONY.
36471         Reported by Michael Hope <michael.hope@linaro.org>.
36472
36473 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36474
36475         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36476         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36477         system header.
36478         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36479         Likewise.
36480         (sydep_routines): Add the new and the internal functions.
36481         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36482         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36484         (GLIBC_2.17): Add the new function.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36486         (GLIBC_2.17): Likewise.
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36488         (GLIBC_2.17): Likewise.
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36490         (GLIBC_2.17): Likewise.
36491         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36492
36493 2012-09-25  Alan Modra  <amodra@gmail.com>
36494
36495         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36496         Add release barrier before setting once_control to say
36497         initialisation is done.  Add hints on lwarx.  Use macro in
36498         place of isync.
36499         (clear_once_control): Add release barrier.
36500
36501 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36502
36503         [BZ #13629]
36504         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36505         specially.
36506         * math/s_clog10.c (__clog10): Likewise.
36507         * math/s_clog10f.c (__clog10f): Likewise.
36508         * math/s_clog10l.c (__clog10l): Likewise.
36509         * math/s_clogf.c (__clogf): Likewise.
36510         * math/s_clogl.c (__clogl): Likewise.
36511         * math/Makefile (libm-calls): Add x2y2m1.
36512         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36513         (__x2y2m1): Likewise.
36514         (__x2y2m1l): Likewise.
36515         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36516         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36517         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36518         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36519         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36520         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36521         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36522         * sysdeps/i386/fpu/libm-test-ulps: Update.
36523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524
36525         [BZ #14621]
36526         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36527         int as type of variable DEPTH.
36528         (glob): Use size_t instead of int as type of variables NEWCOUNT
36529         and OLD_PATHC.
36530
36531 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36532
36533         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36534         Add s_sincosf-sse2.
36535         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36536         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36537         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36538         macros for using routine as __sincosf_ia32.
36539         Use macro for function declaration and weak_alias.
36540         * sysdeps/i386/fpu/libm-test-ulps: Update.
36541
36542         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36544
36545         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36546         subnormal argument.
36547         * math/s_cexpf.c (__cexpf): Likewise.
36548         * math/s_csinf.c (__csinf): Likewise.
36549         * math/s_csinhf.c (__csinhf): Likewise.
36550         * math/s_ctanf.c (__ctanf): Likewise.
36551         * math/s_ctanhf.c (__ctanhf): Likewise.
36552         * math/s_ccosh.c (__ccoshf): Likewise.
36553         * math/s_cexp.c (__cexpl): Likewise.
36554         * math/s_csin.c (__csin): Likewise.
36555         * math/s_csinh.c (__csinh): Likewise.
36556         * math/s_ctan.c (__ctan): Likewise.
36557         * math/s_ctanh.c (ctanh): Likewise.
36558         * math/s_ccoshl.c (__ccoshl): Likewise.
36559         * math/s_cexpl.c (__cexpl): Likewise.
36560         * math/s_csinl.c (__csinl): Likewise.
36561         * math/s_csinhl.c (__csinhl): Likewise.
36562         * math/s_ctanl.c (__ctanl): Likewise.
36563         * math/s_ctanhl.c (__ctanhl): Likewise.
36564
36565 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36566
36567         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36568         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36569         (_IO_off_t): Define to __off_t, not _G_off_t.
36570         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36571         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36572         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36573         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36574         type of __dummy and __dummy2 fields.
36575         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36576         (_G_ssize_t): Likewise.
36577         (_G_off_t): Likewise.
36578         (_G_pid_t): Likewise.
36579         (_G_uid_t): Likewise.
36580         (_G_wchar_t): Likewise.
36581         (_G_wint_t): Likewise.
36582         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36583         (_G_ssize_t): Likewise.
36584         (_G_off_t): Likewise.
36585         (_G_pid_t): Likewise.
36586         (_G_uid_t): Likewise.
36587         (_G_wchar_t): Likewise.
36588         (_G_wint_t): Likewise.
36589         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36590         (_G_ssize_t): Likewise.
36591         (_G_off_t): Likewise.
36592         (_G_pid_t): Likewise.
36593         (_G_uid_t): Likewise.
36594         (_G_wchar_t): Likewise.
36595         (_G_wint_t): Likewise.
36596
36597 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36598
36599         * malloc/arena.c: Include malloc-sysdep.h.
36600         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36601         is sufficient to shrink the heap or an unmap is needed.
36602         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36603         new function check_may_shrink_heap.
36604         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36605         new function check_may_shrink_heap.
36606
36607 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36608
36609         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36610         comments.
36611
36612 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36613
36614         * catgets/test-gencat.sh: Add "set -e".
36615         * elf/tst-pathopt.sh: Likewise.
36616         * grp/tst_fgetgrent.sh: Likewise.
36617         * iconvdata/run-iconv-test.sh: Likewise.
36618         * intl/tst-gettext.sh: Likewise.
36619         * intl/tst-gettext2.sh: Likewise.
36620         * intl/tst-gettext4.sh: Likewise.
36621         * intl/tst-gettext6.sh: Likewise.
36622         * intl/tst-translit.sh: Likewise.
36623         * io/ftwtest-sh: Likewise.
36624         * libio/test-freopen.sh: Likewise.
36625         * malloc/tst-mtrace.sh: Likewise.
36626         * posix/globtest.sh: Likewise.
36627         * posix/tst-getconf.sh: Likewise.
36628         * posix/wordexp-tst.sh: Likewise.
36629         * stdio-common/tst-printf.sh: Likewise.
36630         * stdio-common/tst-unbputc.sh: Likewise.
36631         * stdlib/tst-fmtmsg.sh: Likewise.
36632         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36633         * catgets/Makefile: Do not specify -e option when running
36634         testsuite shell scripts.
36635         * elf/Makefile: Likewise.
36636         * grp/Makefile: Likewise.
36637         * iconvdata/Makefile: Likewise.
36638         * intl/Makefile: Likewise.
36639         * io/Makefile: Likewise.
36640         * libio/Makefile: Likewise.
36641         * malloc/Makefile: Likewise.
36642         * posix/Makefile: Likewise.
36643         * stdio-common/Makefile: Likewise.
36644         * stdlib/Makefile: Likewise.
36645         * sysdeps/x86_64/Makefile: Likewise.
36646
36647         * io/ftwtest-sh: Add copyright header.
36648         * posix/globtest.sh: Likewise.
36649         * posix/tst-getconf.sh: Likewise.
36650         * posix/wordexp-tst.sh: Likewise.
36651         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36652
36653 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36654
36655         [BZ #13679]
36656         * Makeconfig (+link): Defined as $(+link-static) if
36657         $(build-shared) isn't yes.
36658         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36659         isn't yes.
36660         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36661
36662         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36663
36664         [BZ #14562]
36665         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36666         new chunk size with MALLOC_ALIGN_MASK.
36667
36668 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36669
36670         [BZ #5044]
36671         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36672         <rounding-mode.h>.
36673         (__printf_fphex): Determine rounding using get_rounding_mode and
36674         round_away.
36675         * stdio-common/tst-printf-round.c (struct hex_test): New
36676         structure.
36677         (hex_tests): New variable.
36678         (test_hex_in_one_mode): New function.
36679         (do_test): Also run tests for hex float output.
36680
36681 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36682
36683         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36684         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36685         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36686         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36687         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36688         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36689         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36690         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36691
36692 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36693
36694         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36695         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36696         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36697         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36698
36699 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36700
36701         [BZ #14579]
36702         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36703         mode only.
36704         * elf/tst-rtld-load-self.sh: New test.
36705         * elf/Makefile: Run it.
36706
36707 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36708
36709         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36710         (tst-writev-ENV): Remove.
36711         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36712
36713 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36714
36715         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36716
36717 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36718
36719         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36720         unconditional.
36721         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36722         Likewise.
36723         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36724         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36725         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36726         Likewise.
36727
36728 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36729
36730         [BZ #14587]
36731         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36732         * config.make.in (have-cpp-asm-debuginfo): Removed.
36733         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36734         * configure: Regenerated.
36735
36736 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36737
36738         [BZ #5044]
36739         * stdio-common/printf_fp.c: Include <stdbool.h> and
36740         <rounding-mode.h>.
36741         (___printf_fp): Determine rounding using get_rounding_mode and
36742         round_away.
36743         * stdio-common/tst-printf-round.c: New file.
36744         * stdio-common/Makefile (tests): Add tst-printf-round.
36745         (link-libm): New variable.
36746         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36747
36748 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36749
36750         [BZ #14576]
36751         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36752         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36753         Likewise.
36754         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36755         Likewise.
36756
36757 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36758
36759         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36760         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36761         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36762         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36763
36764 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36765
36766         [BZ #14518]
36767         * include/rounding-mode.h: New file.
36768         * sysdeps/generic/get-rounding-mode.h: Likewise.
36769         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36770         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36771         (MAX_VALUE): New macro.
36772         (MIN_VALUE): Likewise.
36773         (overflow_value): New function.
36774         (underflow_value): Likewise.
36775         (round_and_return): Use overflow_value and underflow_value to
36776         determine return values in overflow and underflow cases.  Use
36777         round_away to determine rounding depending on rounding mode.
36778         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36779         determine return values in overflow and underflow cases.
36780         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36781         (struct test_results): New structure.
36782         (struct test): Use struct test_results to store expected results
36783         for all rounding modes.
36784         (TEST): Include expected results for all rounding modes.
36785         (test_in_one_mode): New function.
36786         (do_test): Use test_in_one_mode to compute and check results.
36787         Check results for all rounding modes.
36788         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36789         $(link-libm).
36790
36791 2012-12-09  Allan McRae  <allan@archlinux.org>
36792
36793         * sysdeps/i386/fpu/libm-test-ulps: Update
36794
36795 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36796
36797         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36798         (_G_int32_t): Likewise.
36799         (_G_uint16_t): Likewise.
36800         (_G_uint32_t): Likewise.
36801         (_G_HAVE_BOOL): Likewise.
36802         (_G_HAVE_ATEXIT): Likewise.
36803         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36804         (_G_HAVE_IO_FILE_OPEN): Likewise.
36805         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36806         (_G_int32_t): Likewise.
36807         (_G_uint16_t): Likewise.
36808         (_G_uint32_t): Likewise.
36809         (_G_HAVE_BOOL): Likewise.
36810         (_G_HAVE_ATEXIT): Likewise.
36811         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36812         (_G_HAVE_IO_FILE_OPEN): Likewise.
36813         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36814         (_G_int32_t): Likewise.
36815         (_G_uint16_t): Likewise.
36816         (_G_uint32_t): Likewise.
36817         (_G_HAVE_BOOL): Likewise.
36818         (_G_HAVE_ATEXIT): Likewise.
36819         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36820         (_G_HAVE_IO_FILE_OPEN): Likewise.
36821
36822 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36823
36824         * csu/libc-tls.c: Update copyright years.
36825
36826 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36827
36828         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36829         [!_G_USING_THUNKS]: Remove conditional code.
36830         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36831         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36832
36833         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36834         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36835         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36836         (_G_VTABLE_LABEL_PREFIX): Likewise.
36837         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36838         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36839         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36840         (_G_VTABLE_LABEL_PREFIX): Likewise.
36841         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36842         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36843         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36844         (_G_VTABLE_LABEL_PREFIX): Likewise.
36845         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36846
36847 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36848
36849         * libio/Makefile: Include ../Makeconfig before tests.
36850         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36851         only if $(build-shared) is yes.
36852
36853         * iconv/gconv_db.c: Update copyright years.
36854
36855 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36856
36857         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36858         unwind info if defined PIC. Fix special cases description.
36859         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36860
36861         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36862         DP_HI_MASK entry.
36863         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36864
36865 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36866
36867         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36868
36869         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36870         is NULL.
36871
36872         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36873         (LDLIBS-tst-chk4): This.
36874         (LDFLAGS-tst-chk5): Renamed to ...
36875         (LDLIBS-tst-chk5): This.
36876         (LDFLAGS-tst-chk6): Renamed to ...
36877         (LDLIBS-tst-chk6): This.
36878         (LDFLAGS-tst-lfschk4): Renamed to ...
36879         (LDLIBS-tst-lfschk4): This.
36880         (LDFLAGS-tst-lfschk5): Renamed to ...
36881         (LDLIBS-tst-lfschk5): This.
36882         (LDFLAGS-tst-lfschk6): Renamed to ...
36883         (LDLIBS-tst-lfschk6): This.
36884
36885         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36886         on $(common-objpfx)soversions.mk.
36887
36888 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36889
36890         [BZ #10014]
36891         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36892         example host name.
36893
36894 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36895
36896         * malloc/arena.c (arena_get_retry): New function that gets
36897         another arena for the caller to try its request on.
36898         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36899         current arena cannot fulfill the request.
36900         (__libc_memalign): Likewise.
36901         (__libc_memalign): Likewise.
36902         (__libc_pvalloc): Likewise.
36903         (__libc_calloc): Likewise.
36904
36905 2012-09-05  John Tobey  <john.tobey@gmail.com>
36906
36907         [BZ #13542]
36908         * manual/arith.texi (Operations on Complex): Fix description
36909         of carg branch cut.
36910
36911 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36912
36913         [BZ #10014]
36914         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36915         host name.
36916
36917         [BZ #10038]
36918         * manual/memory.texi (Memory): Make order of menu items match
36919         order of sections.
36920
36921 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36922
36923         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36924         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36925         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36926
36927 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36928
36929         * csu/libc-tls.c (static_dtv): Renamed to ...
36930         (_dl_static_dtv): This.  Make it global.
36931         (_dl_initial_dtv): Removed.
36932         (__libc_setup_tls): Updated.
36933         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36934         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36935         DL_INITIAL_DTV.
36936
36937 2012-09-06  Petr Machata  <pmachata@redhat.com>
36938
36939         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36940         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36941         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36942         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36943
36944 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36945
36946         [BZ #14545]
36947         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36948         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36949         freeing dtv[-1].
36950
36951 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36952
36953         [BZ #14544]
36954         * Makeconfig (link-static-before-libc): Replace $(+prector)
36955         with $(+prectorT).
36956         (link-static-after-libc): Replace $(+postctor) with
36957         $(+postctorT).
36958         (link-bounded): Replace $(+prector)/$(+postctor) with
36959         $(+prectorT)/$(+postctorT).
36960         (+prectorT): New macro.
36961         (+postctorT): Likewise.
36962
36963 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36964
36965         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36966         (round_str): Handle values above the maximum for IBM long double
36967         as inexact.
36968         * stdlib/tst-strtod-round.c (tests): Regenerated.
36969
36970 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36971
36972         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36973         assembler flag.
36974         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36975         zarch_nohighgprs around the zarch optimized routines.
36976         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36977         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36978         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36979         for zarch.
36980
36981 2012-09-05  David S. Miller  <davem@davemloft.net>
36982
36983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36984
36985         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36986         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36987         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36988         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36989         entries.
36990
36991 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36992
36993         * malloc/arena.c: Fold copyright years.
36994         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36995
36996 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36997
36998         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36999
37000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37001
37002         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37003
37004 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37005
37006         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37007         change internal state upon failure.
37008
37009 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37010
37011         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37012         * malloc/memusage.c (mmap): Likewise.
37013         (mmap64, mremap): Likewise.  Adjust name in comment.
37014
37015 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37016
37017         * libio/fileops.c: Fix typos in comments.
37018         * libio/oldfileops.c: Likewise.
37019         * libio/wfileops.c: Likewise.
37020
37021 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022
37023         [BZ #1349]
37024         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37025         (tst-malloc-usable-ENV): Set environment for test case.
37026         * malloc/hooks.c (malloc_check_get_size): New function to get
37027         requested size.
37028         * malloc/malloc.c (musable): Use malloc_check_get_size.
37029         * malloc/tst-malloc-usable.c: New test case.
37030
37031 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37032
37033         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37034
37035 2012-09-05  Allan McRae  <allan@archlinux.org>
37036
37037         [BZ #13966]
37038         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37039         determine header location.
37040         * configure: Regenerated.
37041
37042 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37043
37044         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37045         float format.
37046         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37047         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37048         format.
37049         (test): Regenerate.
37050
37051 2012-09-04  David S. Miller  <davem@davemloft.net>
37052
37053         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37054         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37055         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37056
37057 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37058
37059         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37060         failures.
37061
37062         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37063
37064 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37065
37066         [BZ #9914]
37067         * libio/iogetdelim.c: Include <limits.h>.
37068         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37069         + len + 1 would overflow.
37070
37071 2012-09-03  Andreas Jaeger  <aj@suse.de>
37072
37073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37074         * sysdeps/i386/fpu/libm-test-ulps: Update.
37075
37076 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37077
37078         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37079         Add s_sinf-sse2, s_conf-sse2.
37080
37081         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37082         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37083         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37084         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37085
37086         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37087         for using routine as __sinf_ia32.
37088         Use macro for function declaration and weak_alias.
37089         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37090         for using routine as __cosf_ia32.
37091         Use macro for function declaration and weak_alias.
37092
37093         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37094         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37095
37096         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37097         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37099
37100         * math/libm-test.inc (cos_test): Add more test cases.
37101         (sin_test): Likewise.
37102         (sincos_test): Likewise.
37103
37104 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37105
37106         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37107         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37108         hidden.
37109         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37110
37111 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37112
37113         [BZ #14538]
37114         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37115         first element of the GOT.
37116         (elf_machine_load_address): Return the difference between
37117         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37118
37119 2012-09-01  Allan McRae  <allan@archlinux.org>
37120
37121         [BZ #13412]
37122         * configure.in (AWK): Require gawk version 3.0 or later.
37123         * configure: Regenerated.
37124
37125 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37126
37127         * sysdeps/unix/sysv/linux/kernel-features.h
37128         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37129         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37130         [__NR_clock_getres]: Make code unconditional.
37131         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37132         (clock_getcpuclockid): Remove code left unreachable by removal of
37133         conditionals.
37134         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37135         code unconditional.
37136         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37137         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37138         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37139         Make code unconditional.
37140         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37141         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37142         * sysdeps/unix/sysv/linux/clock_settime.c
37143         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37144         conditional code.
37145         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37146         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37147
37148 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37149
37150         [BZ #14476]
37151         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37152         scripts/test-installation.pl.
37153
37154         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37155         and $ld_so_version if it is set.
37156
37157 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37158
37159         [BZ #14516]
37160         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37161         failure if reading from procfs failed.
37162         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37163
37164 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37165
37166         * sysdeps/unix/sysv/linux/kernel-features.h
37167         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37168         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37169         Remove conditional code.
37170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37171         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37172         Remove conditional code.
37173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37174         * sysdeps/unix/sysv/linux/i386/fxstat.c
37175         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37177         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37178         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37180         * sysdeps/unix/sysv/linux/i386/lxstat.c
37181         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37182         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37183         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37184         Remove conditional code.
37185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37186         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37187         Remove conditional code.
37188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37189         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37190         <kernel-features.h>.
37191         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37192         Remove.
37193         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37194         Remove conditional code.
37195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37196         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37197         Remove conditional.
37198
37199 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37200
37201         [BZ #5400]
37202         * NEWS: Add fixed bug number.
37203
37204 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37205
37206         [BZ #14519]
37207         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37208         underflowing exponent in case of negative sign.
37209         * stdlib/tst-strtod-round-data: Add more tests.
37210         * stdlib/tst-strtod-round.c (tests): Regenerated.
37211
37212         [BZ #3479]
37213         * stdlib/strtod_l.c (NDIG): Remove.
37214         (HEXNDIG): Likewise.
37215         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37216         smallest representable value.
37217         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37218         lie within an exact representation of 1/2 ulp of the result.
37219         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37220         unconditionally.
37221         (TENS_P9_IDX): Define unconditionally.
37222         (TENS_P9_SIZE): Likewise.
37223         (TENS_P10_IDX): Likewise.
37224         (TENS_P10_SIZE): Likewise.
37225         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37226         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37227         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37228         entries for 10^2^13 and 10^2^14.
37229         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37230         (TENS_P13_IDX): Define.
37231         (TENS_P13_SIZE): Likewise.
37232         (TENS_P14_IDX): Likewise.
37233         (TENS_P14_SIZE): Likewise.
37234         (_fpioconst_pow10): Change array size to
37235         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37236         unconditional.
37237         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37238         1024]: Add entries for 10^2^13 and 10^2^14.
37239         [LAST_POW10 > _LAST_POW10]: Remove #error.
37240         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37241         (_fpioconst_pow10): Change array size to
37242         FPIOCONST_POW10_ARRAY_SIZE.
37243         * stdlib/gen-fpioconst.c: New file.
37244         * stdlib/gen-tst-strtod-round.c: Likewise.
37245         * stdlib/tst-strtod-round-data: Likewise.
37246         * stdlib/tst-strtod-round.c: Likewise.
37247         * stdlib/Makefile (tests): Add tst-strtod-round.
37248
37249         [BZ #14459]
37250         * stdlib/strtod_l.c: Include <stdint.h>.
37251         (NDEBUG): Do not define.
37252         (round_and_return): Change EXPONENT parameter to type intmax_t.
37253         Rearrange calculations to avoid internal overflow possibilities.
37254         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37255         Rearrange calculations to avoid internal overflow possibilities.
37256         Assert that number fits inside MPNSIZE limbs.
37257         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37258         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37259         calculations and add assertions to avoid internal overflow
37260         possibilities.  Add casts to avoid signed/unsigned operations.
37261         * stdlib/tst-strtod-overflow.c: New file.
37262         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37263
37264 2012-08-25  Marek Polacek  <polacek@redhat.com>
37265
37266         * time/time.h: Fix some typos in comments.
37267
37268 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37269
37270         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37271         * posix/tst-rfc3484-2.c: Likewise.
37272         * posix/tst-rfc3484-3.c: Likewise.
37273
37274 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37275
37276         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37277         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37278
37279 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37280
37281         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37282         #include of fxstatat64.c.
37283
37284 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37285
37286         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37287         * shadow/getspent_r.c: Likewise.
37288         * shadow/getspnam.c: Likewise.
37289         * shadow/getspnam_r.c: Likewise.
37290         * gshadow/getsgent.c: Likewise.
37291         * gshadow/getsgent_r.c: Likewise.
37292         * gshadow/getsgnam.c: Likewise.
37293         * gshadow/getsgnam_r.c: Likewise.
37294         * inet/getnetbyad.c: Likewise.
37295         * inet/getnetbyad_r.c: Likewise.
37296         * inet/getnetbynm.c: Likewise.
37297         * inet/getnetbynm_r.c: Likewise.
37298         * inet/getnetent.c: Likewise.
37299         * inet/getnetent_r.c: Likewise.
37300         * inet/getproto.c: Likewise.
37301         * inet/getproto_r.c: Likewise.
37302         * inet/getprtent.c: Likewise.
37303         * inet/getprtent_r.c: Likewise.
37304         * inet/getprtname.c: Likewise.
37305         * inet/getprtname_r.c: Likewise.
37306         * inet/getrpcbyname.c: Likewise.
37307         * inet/getrpcbyname_r.c: Likewise.
37308         * inet/getrpcbynumber.c: Likewise.
37309         * inet/getrpcbynumber_r.c: Likewise.
37310         * inet/getrpcent.c: Likewise.
37311         * inet/getrpcent_r.c: Likewise.
37312         * inet/getaliasent.c: Likewise.
37313         * inet/getaliasent_r.c: Likewise.
37314         * inet/getaliasname.c: Likewise.
37315         * inet/getaliasname_r.c: Likewise.
37316         * nscd/getgrgid_r.c: Likewise.
37317         * nscd/getgrnam_r.c: Likewise.
37318         * nscd/gethstbyad_r.c: Likewise.
37319         * nscd/gethstbynm3_r.c: Likewise.
37320         * nscd/getpwnam_r.c: Likewise.
37321         * nscd/getpwuid_r.c: Likewise.
37322         * nscd/getsrvbynm_r.c: Likewise.
37323         * nscd/getsrvbypt_r.c: Likewise.
37324         * nscd/gai.c: Likewise.
37325
37326         * configure.in (build_nscd): New substituted variable, set
37327         by --disable-build-nscd and defaults to $use_nscd.
37328         * configure: Regenerated.
37329         * config.make.in (build-nscd): New substituted variable.
37330         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37331         Change conditional to require [$(build-nscd) = yes] as well.
37332         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37333
37334         [BZ# 13696]
37335         * configure.in (use_nscd): New substituted variable, set by
37336         --disable-nscd.  If enabled, define USE_NSCD.
37337         * configure: Regenerated.
37338         * config.h.in: Add USE_NSCD.
37339         * config.make.in (use-nscd): New substituted variable.
37340         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37341         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37342         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37343         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37344         (CFLAGS-getgrnam_r.c): Likewise.
37345         (CFLAGS-initgroups.c): Likewise.
37346         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37347         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37348         Variables removed.
37349         * inet/getnetgrent_r.c
37350         (nscd_setnetgrent): New function, broken out of ...
37351         (setnetgrent): ... here.  Call it.
37352         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37353         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37354         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37355         * nscd/Makefile (routines, aux): Move definitions after include of
37356         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37357         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37358         Conditionalize on [USE_NSCD].
37359         (is_nscd, nscd_init_cb): Likewise.
37360         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37361         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37362         * nss/nss_db/db-init.c: Likewise.
37363         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37364         [USE_NSCD].
37365         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37366         (make_request): Use it.
37367         (cache_valid_p): New function.
37368         (__check_pf): Use it.
37369         * NEWS: Add item for --disable-nscd.
37370
37371 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37372
37373         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37374         to support sed >= 4.2.1-20-ga9bf076.
37375         * configure: Regenerated.
37376
37377 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37378
37379         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37380         Conditionalize whole body on [IREL].
37381
37382 2012-08-22  Jeff Law <law@redhat.com>
37383
37384         [BZ #14505]
37385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37386         if the family is PF_UNSPEC.
37387
37388 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37389
37390         * Makerules (lib-version): Rename from V.
37391         (install-lib-nosubdir): Change V to lib-version.
37392
37393 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37394
37395         [BZ #14252]
37396         * powerpc32/power6/wcschr.c: New file.
37397         * powerpc32/power6/wcscpy.c: New file.
37398         * powerpc32/power6/wcsrchr.c: New file.
37399         * powerpc64/power6/wcschr.c: New file.
37400         * powerpc64/power6/wcscpy.c: New file.
37401         * powerpc64/power6/wcsrchr.c: New file.
37402
37403 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37404
37405         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37406         (two_way_short_needle): Use it.
37407         * string/strstr.c (AVAILABLE1_USES_J): Define.
37408         * string/strcasestr.c: Likewise.
37409
37410         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37411         array references.
37412         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37413
37414         [BZ #11607]
37415         * NEWS: Add an entry.
37416         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37417         define their defaults.
37418         (two_way_short_needle): Detect end-of-string on-the-fly.
37419         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37420         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37421         * string/bug-strcasestr1.c: New test.
37422         * string/Makefile: Run it.
37423
37424 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37425
37426         [BZ #11607]
37427         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37428         the first character.
37429
37430 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37431
37432         * csu/elf-init.c (__libc_csu_irel): Function removed.
37433         * csu/libc-start.c (apply_irel): New function.
37434         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37435
37436 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37437
37438         * sysdeps/unix/sysv/linux/kernel-features.h
37439         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37440         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37441         <kernel-features.h>.
37442         [__NR_fadvise64_64]: Make code unconditional.
37443         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37444         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37445         !__NR_fadvise64_64)]: Likewise.
37446         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37447         !__NR_fadvise64_64))]: Likewise.
37448         [__NR_fadvise64]: Make code unconditional.
37449         [!__NR_fadvise64]: Remove conditional code.
37450         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37451         <kernel-features.h>.
37452         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37453         unconditional.
37454         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37455         conditional code.
37456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37457         not include <kernel-features.h>.
37458         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37459         unconditional.
37460         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37461         conditional code.
37462         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37463         include <kernel-features.h>.
37464         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37465         unconditional.
37466         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37467         conditional code.
37468
37469 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37470
37471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37472         slight instruction rearrangements per scrollpipe analysis.
37473         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37474
37475 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37476
37477         * manual/syslog.texi (syslog; vsyslog, closelog):
37478         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37479         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37480
37481         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37482         DSOCAPS to match condition on defining it.
37483
37484 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37485
37486         * sysdeps/unix/sysv/linux/kernel-features.h
37487         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37489         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37490         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37492         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37493         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37495         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37496         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37497
37498         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37499         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37500
37501         * sysdeps/unix/sysv/linux/kernel-features.h
37502         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37503         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37504         unconditional.
37505         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37506         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37507         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37508         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37509         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37510         Make code unconditional.
37511         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37512         (__mmap64) [!__NR_mmap2]: Likewise.
37513         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37514         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37515         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37516         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37517         [__NR_mmap2]: Make code unconditional.
37518         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37519         (__mmap64) [!__NR_mmap2]: Likewise.
37520
37521 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37522
37523         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37524
37525 2012-08-18  Andreas Jaeger  <aj@suse.de>
37526
37527         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37528
37529 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37530
37531         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37532         * include/unistd.h (__have_sock_cloexec): Likewise.
37533         (__have_pipe2): Likewise.
37534         (__have_dup3): Likewise.
37535
37536 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37537
37538         [BZ #9685]
37539         * include/unistd.h (__have_pipe2): Change define into an extern int.
37540         (__have_dup3): Likewise.
37541         * socket/have_sock_cloexec.c: Include fcntl.h.
37542         (__have_pipe2): New variable.
37543         (__have_dup3): Likewise.
37544
37545 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37546
37547         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37548
37549 2012-08-17  Marek Polacek  <polacek@redhat.com>
37550
37551         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37552         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37553
37554 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37555
37556         * configure.in: Add AC_SUBST for sysheaders.
37557         * configure: Regenerated.
37558         * config.make.in (sysheaders): New substituted variable.
37559
37560         * sysdeps/unix/mkfifo.c: Moved ...
37561         * sysdeps/posix/mkfifo.c: ... here.
37562         * sysdeps/unix/mkfifoat.c: Moved ...
37563         * sysdeps/posix/mkfifoat.c: ... here.
37564
37565         * sysdeps/unix/utime.c: Moved ...
37566         * sysdeps/posix/utime.c: ... here.
37567
37568         * sysdeps/unix/time.c: Moved ...
37569         * sysdeps/posix/time.c: ... here.
37570         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37571         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37572
37573         * sysdeps/unix/nice.c: Moved ...
37574         * sysdeps/posix/nice.c: ... here.
37575
37576         * sysdeps/unix/alarm.c: Moved ...
37577         * sysdeps/posix/alarm.c: ... here.
37578
37579         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37580
37581 2012-08-17  Jeff Law <law@redhat.com>
37582
37583         * intl/Makefile (codeset_mo): New variable.
37584         ($(codeset_mo)): New target.
37585         (tst-codeset.out): Depend on that.  Remove explicit rule.
37586         (tst-gettext3.out, tst-gettext5.out): Likewise.
37587         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37588         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37589         * intl/tst-codeset.sh: Remove.
37590         * intl/tst-gettext3.sh: Likewise.
37591         * intl/tst-gettext5.sh: Likewise.
37592
37593 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37594
37595         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37596         * sysdeps/unix/syscalls.list: ... here.
37597
37598         * sysdeps/posix/getaddrinfo.c
37599         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37600         (gaiconf_init, gaiconf_reload): Use them.
37601         [!_STATBUF_ST_NSEC]
37602         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37603         Define using time_t rather than struct timespec.
37604
37605         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37606         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37607         Macros removed.
37608         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37609         [!NO_THREADS].
37610         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37611         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37612         Likewise.
37613
37614         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37615         __libc_cleanup_push argument.
37616
37617         * bits/param.h: New file.
37618         * misc/sys/param.h: New file.
37619         * include/sys/param.h: New file.
37620         * misc/Makefile (headers): Add bits/param.h.
37621         * sysdeps/generic/sys/param.h: File removed.
37622         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37623         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37624         * sysdeps/mach/hurd/bits/param.h: New file.
37625         * sysdeps/mach/hurd/sys/param.h: File removed.
37626
37627         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37628         last change.
37629
37630         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37631         [_IO_MTSAFE_IO].
37632         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37633         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37634         New macros.
37635
37636         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37637         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37638         rather than -D_IO_MTSAFE_IO conditionally.
37639         * stdio-common/Makefile (CPPFLAGS): Likewise.
37640         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37641         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37642         Use $(libio-mtsafe).
37643         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37644         of -D_IO_MTSAFE_IO.
37645         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37646         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37647         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37648         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37649         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37650         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37651         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37652         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37653         (CFLAGS-fread_u_chk.c): Likewise.
37654         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37655         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37656         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37657         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37658         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37659         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37660         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37661         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37662         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37663
37664         * libio/Makefile: Test [$(libc-reentrant) = yes]
37665         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37666
37667         * Makeconfig
37668         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37669         * sysdeps/pthread/configure: File removed.
37670         * sysdeps/pthread/Makeconfig: New file.
37671         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37672         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37673
37674 2012-08-16  Gary Benson  <gbenson@redhat.com>
37675
37676         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37677         unmapping the first object in a namespace.
37678
37679 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37680
37681         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37682         (__internal_setnetgrent): ... this.  Add internal_function to
37683         definition.  Add libc_hidden_def.
37684         (setnetgrent): Update caller.
37685         (internal_endnetgrent): Renamed to ...
37686         (__internal_endnetgrent): ... this.  Add internal_function to
37687         definition.  Add libc_hidden_def.
37688         (endnetgrent): Update caller.
37689         (internal_getnetgrent_r): Renamed to ...
37690         (__internal_getnetgrent_r): ... this.  Add internal_function to
37691         definition.  Add libc_hidden_def.
37692         (__getnetgrent_r): Update caller.
37693         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37694
37695 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37696
37697         * stdlib/longlong.h: Update from GCC.
37698
37699 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37700
37701         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37702         on _QL, which is set by umul_ppmm but never used.
37703         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37704         variables, which are set by GMP macros but never used.
37705         * stdio-common/_itowa.c (_itowa): Likewise.
37706         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37707         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37708
37709 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37710
37711         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37712         struct La_sh_regs is not constant.
37713         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37714         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37715         and struct La_sparc64_regs are not constant.
37716
37717 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37718
37719         * sysdeps/unix/sysv/linux/kernel-features.h
37720         (__ASSUME_POSIX_TIMERS): Remove.
37721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37723         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37724         Make code unconditional.
37725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37726         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37727         Make code unconditional.
37728         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37729         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37730         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37731         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37732         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37733         Make code unconditional.
37734         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37735         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37736         (__libc_missing_posix_timers): Remove.
37737
37738 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37739
37740         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37741         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37742
37743         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37744
37745         * elf/dl-sym.c: Include <stdlib.h>.
37746
37747         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37748         constants, which avoids warnings in 32-bit builds.
37749
37750         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37751         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37752
37753         * misc/lseek.c: File moved to ...
37754         * io/lseek.c: ... here.
37755
37756         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37757
37758         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37759         shifting LEN more than 31 bits at once.
37760
37761 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37762
37763         [BZ #14195]
37764         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37765         segmentation fault for a case of two empty input strings.
37766         * string/test-strncasecmp.c (check1): Renamed to...
37767         (bz12205): ...this.
37768         (bz14195): Add new testcase for two empty input strings and N > 0.
37769         (test_main): Call new testcase, adapt for renamed function.
37770
37771 2012-08-15  Andreas Jaeger  <aj@suse.de>
37772
37773         [BZ #14090]
37774         * crypt/md5test2.c: New test, based on test supplied by Serge
37775         Belyshev <belyshev@depni.sinp.msu.ru>.
37776         * crypt/Makefile (xtests): Add md5test-giant..
37777         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37778
37779 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37780
37781         [BZ #14090]
37782         * crypt/md5.c (md5_process_block): Don't assume the buffer
37783         length is less than 2**32.
37784         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37785         length is less than 2**64.
37786
37787 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37788
37789         * string/str-two-way.h: Include <sys/param.h>.
37790         (MAX): Macro removed.
37791
37792         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37793         Move #define and #undef of memmove to just before and after
37794         including <string.h>.
37795
37796         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37797         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37798         and after including <string.h>.  Move declarations of
37799         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37800         to before #include "string/memmove.c".
37801
37802         * include/dirent.h: Declare __getdirentries.
37803
37804         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37805         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37806
37807 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37808
37809         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37810         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37811         * sysdeps/i386/configure: Regenerated.
37812         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37813         STABS_CURRENT_FILE, and STABS_FUN.
37814         (END): Remove call to STABS_FUN_END.
37815         (STABS_CURRENT_FILE1): Delete.
37816         (STABS_CURRENT_FILE): Likewise.
37817         (STABS_FUN): Likewise.
37818         (STABS_FUN_END): Likewise.
37819         (STABS_FUN2): Likewise.
37820         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37821         * sysdeps/x86_64/configure: Regenerated.
37822
37823 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37824
37825         * elf/dl-open.c: Include <atomic.h>.
37826         * elf/dl-lookup.c: Likewise.
37827
37828 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37829
37830         * sysdeps/unix/sysv/linux/kernel-features.h
37831         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37832         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37833         unconditionally.
37834         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37835         unconditionally.
37836         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37837         condition on __ASSUME_CLONE_THREAD_FLAGS.
37838
37839 2012-08-14  Andreas Jaeger  <aj@suse.de>
37840
37841         * sysdeps/i386/fpu/libm-test-ulps: Update.
37842
37843 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37844
37845         * include/atomic.h (atomic_exchange_and_add): Split into ...
37846         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37847         New atomic macros.
37848
37849 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37850
37851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37852
37853 2012-08-13  Jeff Law <law@redhat.com>
37854
37855         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37856         null byte in the output string.
37857
37858 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37859
37860         * sysdeps/unix/sysv/linux/kernel-features.h
37861         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37862         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37863         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37864         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37865         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37866         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37867         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37868
37869 2012-08-09  Jeff Law <law@redhat.com>
37870
37871         [BZ #13939]
37872         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37873         When avoid_arena is set, don't retry in the that arena.  Pick the
37874         next one, whatever it might be.
37875         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37876         (arena_lock): Pass in new parameter to arena_get2.
37877         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37878         arena_get2.
37879         (__libc_malloc): Unify retrying after main arena failure with
37880         __libc_memalign version.
37881         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37882
37883 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37884
37885         [BZ #14166]
37886         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37887         to __redirect_strstr.
37888         (__strstr_sse42): Use typeof __redirect_strstr.
37889         (__strstr_ia32): Likewise.
37890         (__libc_strstr): New prototype.
37891         (strstr): Renamed to ...
37892         (__libc_strstr): This.
37893         (strstr): New strong alias of __libc_strstr.
37894         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37895         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37896         __redirect_time.
37897         Include <time.h>.
37898         (__libc_time): New prototype.
37899         (time_ifunc): Replace time with __libc_time.
37900         (time): New strong alias and hidden definition of __libc_time.
37901         (__GI_time): Remove strong alias.
37902         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37903         Include <stddef.h>.
37904         (memmove): Redefined to __redirect_memmove.
37905         (__memmove_sse2): Use typeof __redirect_memmove.
37906         (__memmove_ssse3): Likewise.
37907         (__memmove_ssse3_back): Likewise.
37908         (__libc_memmove): New prototype.
37909         (memmove): Renamed to ...
37910         (__libc_memmove): This.
37911         (memmove): New strong alias of __libc_memmove.
37912
37913 2012-08-08  Mark Salter  <msalter@redhat.com>
37914
37915         * elf/elf.h
37916         (R_MN10300_TLS_GD): Define.
37917         (R_MN10300_TLS_LD): Likewise.
37918         (R_MN10300_TLS_LDO): Likewise.
37919         (R_MN10300_TLS_GOTIE): Likewise.
37920         (R_MN10300_TLS_IE): Likewise.
37921         (R_MN10300_TLS_LE): Likewise.
37922         (R_MN10300_TLS_DTPMOD): Likewise.
37923         (R_MN10300_TLS_DTPOFF): Likewise.
37924         (R_MN10300_TLS_TPOFF): Likewise.
37925         (R_MN10300_SYM_DIFF): Likewise.
37926         (R_MN10300_ALIGN): Likewise.
37927         (R_MN10300_NUM): Update.
37928
37929 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37930
37931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37932         Remove.
37933
37934 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37935
37936         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37937
37938         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37939         sysdeps/unix -> sysdeps/posix move.
37940         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37941
37942 2012-08-07      Allan McRae     <allan@archlinux.org>
37943
37944         [BZ #14303]
37945         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37946         (SUNOS_CPP): Likewise.
37947         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37948         not found.
37949         (open_input): Call CPP using execvp.
37950
37951 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37952
37953         * sysdeps/unix/sysv/linux/kernel-features.h
37954         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37955         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37956         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37957         (__ASSUME_WAITID_SYSCALL): Likewise.
37958         * sysdeps/unix/sysv/linux/dl-execstack.c
37959         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37960         code unconditional.
37961         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37962         conditional code.
37963         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37964         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37965         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37966         code.
37967         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37968         unconditional.
37969         [__ASSUME_WAITID_SYSCALL]: Likewise.
37970         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37971
37972 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37973
37974         * sysdeps/unix/closedir.c: Renamed to ...
37975         * sysdeps/posix/closedir.c: ... here.
37976         * sysdeps/unix/dirfd.c: Renamed to ...
37977         * sysdeps/posix/dirfd.c: ... here.
37978         * sysdeps/unix/dirstream.h: Renamed to ...
37979         * sysdeps/posix/dirstream.h: ... here.
37980         * sysdeps/unix/fdopendir.c: Renamed to ...
37981         * sysdeps/posix/fdopendir.c: ... here.
37982         * sysdeps/unix/opendir.c: Renamed to ...
37983         * sysdeps/posix/opendir.c: ... here.
37984         * sysdeps/unix/readdir.c: Renamed to ...
37985         * sysdeps/posix/readdir.c: ... here.
37986         * sysdeps/unix/readdir_r.c: Renamed to ...
37987         * sysdeps/posix/readdir_r.c: ... here.
37988         * sysdeps/unix/rewinddir.c: Renamed to ...
37989         * sysdeps/posix/rewinddir.c: ... here.
37990         * sysdeps/unix/seekdir.c: Renamed to ...
37991         * sysdeps/posix/seekdir.c: ... here.
37992         * sysdeps/unix/telldir.c: Renamed to ...
37993         * sysdeps/posix/telldir.c: ... here.
37994         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37995         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37996         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37997         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37998
37999         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38000         * bits/fcntl.h: ... here.
38001
38002         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38003         not 0.
38004         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38005         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38006         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38007         (struct flock): Move l_start, l_len to the beginning.
38008         Use __pid_t for l_pid.
38009         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38010         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38011         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38012         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38013         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38014         [__USE_LARGEFILE64] (struct flock64): New type.
38015         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38016
38017         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38018         * bits/dirent.h: ... here.
38019
38020         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38021         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38022
38023 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38024
38025         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38026         Change from 2.6.0 to 2.6.16.
38027         * sysdeps/unix/sysv/linux/configure: Regenerated.
38028         * sysdeps/unix/sysv/linux/kernel-features.h
38029         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38030         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38031         version.
38032         (__ASSUME_UTIMES): Likewise.
38033         (__ASSUME_CLONE_STOPPED): Remove.
38034         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38035         architectures, not kernel version.
38036         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38037         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38038         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38039         (__ASSUME_WAITID_SYSCALL): Likewise.
38040         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38041         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38042         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38043         refer to older versions.
38044
38045 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38046
38047         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38048         Define alphasort64 as an alias.
38049         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38050         Define versionsort64 as an alias.
38051         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38052         Define scandir64 as an alias.
38053         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38054         Define scandirat64 as an alias.
38055         * dirent/alphasort64.c (alphasort64):
38056         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38057         * dirent/versionsort64.c: Likewise.
38058         * dirent/scandir64.c: Likewise.
38059         * dirent/scandirat64.c: Likewise.
38060         * sysdeps/wordsize-64/alphasort.c: File removed.
38061         * sysdeps/wordsize-64/alphasort64.c: File removed.
38062         * sysdeps/wordsize-64/scandir.c: File removed.
38063         * sysdeps/wordsize-64/scandir64.c: File removed.
38064         * sysdeps/wordsize-64/scandirat.c: File removed.
38065         * sysdeps/wordsize-64/scandirat64.c: File removed.
38066         * sysdeps/wordsize-64/versionsort.c: File removed.
38067         * sysdeps/wordsize-64/versionsort64.c: File removed.
38068         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38069         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38070         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38071         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38072         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38073         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38074         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38075         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38076
38077         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38079         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38080         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38081         [defined __arch64__ || defined __sparcv9]
38082         (__INO_T_MATCHES_INO64_T): New macro.
38083         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38084         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38085         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38086         * sysdeps/unix/sysv/linux/bits/dirent.h
38087         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38088         (_DIRENT_MATCHES_DIRENT64): New macro.
38089
38090         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38091         Define lockf64 as an alias.
38092         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38093         Define fseeko64 as an alias.
38094         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38095         Define ftello64 as an alias.
38096         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38097         Define _IO_fgetpos64 and fgetpos64 as aliases.
38098         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38099         Define _IO_fsetpos64 and fsetpos64 as aliases.
38100         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38101         Conditionalize body on this.
38102         * libio/fseeko64.c: Likewise.
38103         * libio/ftello64.c: Likewise.
38104         * libio/iofgetpos64.c: Likewise.
38105         * libio/iofsetpos64.c: Likewise.
38106         * sysdeps/wordsize-64/lockf.c: File removed.
38107         * sysdeps/wordsize-64/lockf64.c: File removed.
38108         * sysdeps/wordsize-64/fseeko.c: File removed.
38109         * sysdeps/wordsize-64/fseeko64.c: File removed.
38110         * sysdeps/wordsize-64/ftello.c: File removed.
38111         * sysdeps/wordsize-64/ftello64.c: File removed.
38112         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38113         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38114         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38115         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38116         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38117         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38118         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38119         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38120         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38121         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38122         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38123         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38124         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38125         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38126
38127         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38128         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38129         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38130         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38131         [defined __arch64__ || defined __sparcv9]
38132         (__OFF_T_MATCHES_OFF64_T): New macro.
38133         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38134         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38135         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38136         (__OFF_T_MATCHES_OFF64_T): New macro.
38137
38138 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38139
38140         * stdlib/secure-getenv.c (__secure_getenv): Replace
38141         GLIBC_2_16 with GLIBC_2_17.
38142
38143 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38144
38145         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38146         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38147
38148 2012-08-03  David S. Miller  <davem@davemloft.net>
38149
38150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38151
38152 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38153
38154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38155         Remove.
38156         (__ASSUME_CORRECT_SI_PID): Likewise.
38157         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38158         (__ASSUME_TMPFS_NAME): Likewise.
38159         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38160         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38161         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38162         (HAVE_AUX_SECURE): Make definition unconditional.
38163         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38164         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38165
38166 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38167
38168         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38169         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38170         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38171         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38172         __eloop_threshold instead of SYMLOOP_MAX.
38173
38174         * sysdeps/generic/eloop-threshold.h: New file.
38175         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38176         of MAXSYMLINKS.
38177         * elf/chroot_canon.c (chroot_canon): Likewise.
38178
38179 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38180
38181         [BZ #13717]
38182         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38183         Change to 2.6.0 everywhere.
38184         * sysdeps/unix/sysv/linux/configure: Regenerated.
38185         * sysdeps/unix/sysv/linux/kernel-features.h
38186         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38187         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38188         kernel versions.
38189         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38190         (__ASSUME_FUTEX_REQUEUE): Remove.
38191         (__ASSUME_STATFS64): Define unconditionally.
38192         (__ASSUME_AT_SECURE): Likewise.
38193         (__ASSUME_CORRECT_SI_PID): Likewise.
38194         (__ASSUME_TGKILL): Define without depending on kernel version for
38195         i386.
38196         (__ASSUME_UTIMES): Likewise.
38197         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38198         kernel version.
38199         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38200         (__ASSUME_TMPFS_NAME): Likewise.
38201         * README: Update reference to Linux kernel versions.
38202
38203 2012-08-02  Marek Polacek  <polacek@redhat.com>
38204
38205         [BZ# 14150]
38206         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38207         libc_cv_asm_type_prefix with %.
38208         * configure: Regenerated.
38209         * include/libc-symbols.h: Remove comment about
38210         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38211         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38212         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38213         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38214         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38215         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38216         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38217         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38218         * elf/tst-unique2mod1.c: Likewise.
38219         * elf/tst-unique1mod2.c: Likewise.
38220         * elf/tst-unique1mod1.c: Likewise.
38221         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38222         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38223         Replace ASM_TYPE_DIRECTIVE with .type.
38224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38225         * sysdeps/i386/sysdep.h: Likewise.
38226         * sysdeps/x86_64/sysdep.h: Likewise.
38227         * sysdeps/sh/sysdep.h: Likewise.
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38229         Do not define ASM_TYPE_DIRECTIVE.
38230         * sysdeps/powerpc/sysdep.h: Likewise.
38231         * sysdeps/powerpc/powerpc32/sysdep.h:
38232         Replace ASM_TYPE_DIRECTIVE with .type.
38233         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38234         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38235         * sysdeps/i386/fpu/e_powf.S: Likewise.
38236         * sysdeps/i386/fpu/e_expl.S: Likewise.
38237         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38238         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38239         * sysdeps/i386/fpu/e_pow.S: Likewise.
38240         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38241         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38242         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38243         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38244         * sysdeps/i386/fpu/e_log2.S: Likewise.
38245         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38246         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38247         * sysdeps/i386/fpu/e_powl.S: Likewise.
38248         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38249         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38250         * sysdeps/i386/fpu/e_logl.S: Likewise.
38251         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38252         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38253         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38254         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38255         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38256         * sysdeps/i386/fpu/e_log.S: Likewise.
38257         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38258         * sysdeps/i386/fpu/e_logf.S: Likewise.
38259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38261         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38262         * sysdeps/i386/fpu/e_log10.S: Likewise.
38263         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38264         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38265         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38266         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38267         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38268         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38269         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38270         * sysdeps/i386/i686/strtok.S: Likewise.
38271         * sysdeps/i386/i386-mcount.S: Likewise.
38272         * sysdeps/i386/strtok.S: Likewise.
38273         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38275         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38276         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38277         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38278         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38279         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38280         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38281         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38282         * sysdeps/x86_64/_mcount.S: Likewise.
38283         * sysdeps/x86_64/strtok.S: Likewise.
38284         * sysdeps/sh/_mcount.S: Likewise.
38285
38286 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38287
38288         * libio/iofopen.c: Include <fcntl.h>.
38289         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38290         (_IO_fopen64, fopen64): Define as aliases.
38291         * libio/iofopen64.c: Include <fcntl.h>.
38292         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38293         Conditionalize body on this.
38294         * sysdeps/wordsize-64/iofopen.c: File removed.
38295         * sysdeps/wordsize-64/iofopen64.c: File removed.
38296
38297 2012-08-01  Marek Polacek  <polacek@redhat.com>
38298
38299         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38300         Use dlfcn directly instead of a variable.
38301         (binfmt-subdir): Do not define.
38302         (dlfcn): Likewise.
38303
38304 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38305
38306         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38307         Remove all definitions.
38308         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38309         <kernel-features.h>.
38310         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38311         (miss_F_GETOWN_EX): Remove all definitions.
38312         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38313         macro definition.
38314         [!__ASSUME_FCNTL64]: Remove conditional code.
38315         [__ASSUME_FCNTL64]: Make code unconditional.
38316         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38317         <kernel-features.h>.
38318         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38319         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38320         (lockf64) [__NR_fcntl64]: Make code unconditional.
38321         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38322
38323         * sysdeps/unix/sysv/linux/kernel-features.h
38324         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38325         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38326         Make code unconditional.
38327         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38328         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38330         [__NR_vfork]: Make code unconditional.
38331         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38332         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38334         [__NR_vfork]: Make code unconditional.
38335         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38336         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38337
38338 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38339
38340         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38341         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38342
38343         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38344         Define mkstemp64 as an alias.
38345         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38346         Define mkstemps64 as an alias.
38347         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38348         Define mkostemp64 as an alias.
38349         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38350         Define mkostemps64 as an alias.
38351         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38352         Conditionalize body on this.
38353         * misc/mkostemp64.c: Likewise.
38354         * misc/mkostemps64.c: Likewise.
38355         * misc/mkstemps64.c: Likewise.
38356         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38357         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38358         * sysdeps/wordsize-64/mkostemp.c: File removed.
38359         * sysdeps/wordsize-64/mkstemp.c: File removed.
38360         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38361         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38362         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38363         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38364
38365         [BZ #14138]
38366         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38367         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38368         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38369         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38370
38371         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38372         compat_symbol macros from <shlib-compat.h> rather than the underlying
38373         default_symbol_version and symbol_version macros, so that DEFAULT
38374         lines in shlib-versions are respected.
38375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38376
38377 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38378
38379         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38380         Declare with warn_unused_result.
38381         (setgid, setregid, setegid, setresgid): Likewise.
38382         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38383         Likewise.
38384         * WUR-REPORT: Remove set*id functions.
38385
38386 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38387
38388         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38389
38390 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38391
38392         [BZ #10191]
38393         * include/sys/socket.h (__libc_accept, __libc_accept4):
38394         Add attribute_hidden.
38395         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38396
38397         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38398         use of PTR_MANGLE.
38399         * inet/getnetgrent_r.c (setup): Likewise.
38400
38401         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38402
38403 2012-07-31  David S. Miller  <davem@davemloft.net>
38404
38405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38406
38407 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38408
38409         [BZ #13629]
38410         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38411         value between 1.0 and 2.0 and smaller part has absolute value less
38412         than 1.0.
38413         * math/s_clog10.c (__clog10): Likewise.
38414         * math/s_clog10f.c (__clog10f): Likewise.
38415         * math/s_clog10l.c (__clog10l): Likewise.
38416         * math/s_clogf.c (__clogf): Likewise.
38417         * math/s_clogl.c (__clogl): Likewise.
38418         * math/libm-test.inc (clog_test): Add more tests.
38419         (clog10_test): Likewise.
38420         * sysdeps/i386/fpu/libm-test-ulps: Update.
38421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38422
38423 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38424
38425         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38426         Exit with zero in case no suitable GID is found, and write a
38427         message to standard error.
38428
38429 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38430
38431         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38432         rather than to 1.
38433         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38434         (MAXPATHLEN): Removed.
38435         (NOGROUP, NODEV): New macros.
38436         (setbit, clrbit, isset, isclr): New macros.
38437         (howmany, roundup, powerof2): New macros.
38438         (DEV_BSIZE): New macro.
38439
38440         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38441         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38442
38443         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38444         definition on [!__NO_LONG_DOUBLE_MATH].
38445
38446         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38447         PTR_MANGLE and PTR_DEMANGLE.
38448
38449         * socket/accept4.c (accept4): Rename to __libc_accept4.
38450         Define accept4 as a weak alias.
38451
38452         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38453         on [_DIRENT_HAVE_D_TYPE].
38454         * io/ftw.c (ftw_dir): Likewise.
38455
38456         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38457
38458         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38459
38460         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38461         Use the BSD numbers rather than the arbitrary ones we had.
38462         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38463         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38464         (SIGXCPU, SIGXFSZ): New macros.
38465         (_NSIG): Now 32.
38466
38467         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38468         initializer on [_LIBC_REENTRANT].
38469
38470         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38471         definitions inside [_POSIX_MAPPED_FILES].
38472
38473         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38474
38475         * dirent/opendir.c: Include <fcntl.h>.
38476
38477         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38478         (__libc_getspecific): Likewise.
38479         (__libc_key_create): Likewise.
38480
38481         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38482         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38483         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38484         (tmpfile64): Define as alias.
38485         * sysdeps/wordsize-64/tmpfile.c: File removed.
38486         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38487         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38489
38490         * stdio-common/vfscanf.c: Include <stdbool.h>.
38491         * nss/makedb.c: Likewise.
38492         * stdio-common/_i18n_number.h: Likewise.
38493         * argp/argp-help.c: Likewise.
38494         * posix/wordexp.c: Likewise.
38495         * sysdeps/posix/spawni.c: Likewise.
38496         * nss/nss_files/files-initgroups.c: Likewise.
38497         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38498         * nss/nss_files/files-initgroups.c: Likewise.
38499         * nss/nss_db/db-netgrp.c: Likewise.
38500         * nss/nss_db/db-initgroups.c: Likewise.
38501         * io/fchmodat.c: Include <sys/stat.h>.
38502
38503         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38504         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38505
38506         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38507         [HAVE_MMAP].
38508
38509         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38510         Add multiple inclusion protection.
38511
38512 2012-07-27  David S. Miller  <davem@davemloft.net>
38513
38514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38515
38516 2012-07-27  Gary Benson  <gbenson@redhat.com>
38517
38518         [BZ #14298]
38519         * elf/rtld.c: Include <stap-probe.h>.
38520         (dl_main): Added static probes "init_start" and "init_complete".
38521         * elf/dl-load.c: Include <stap-probe.h>.
38522         (lose): Take new parameter "nsid".
38523         Added static probe "map_failed".
38524         (_dl_map_object_from_fd): Pass namespace id to lose.
38525         Added static probe "map_start".
38526         (open_verify): Pass namespace id to lose.
38527         * elf/dl-open.c: Include <stap-probe.h>.
38528         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38529         and "reloc_complete".
38530         * elf/dl-close.c: Include <stap-probe.h>.
38531         (_dl_close_worker): Added static probes "unmap_start" and
38532         "unmap_complete".
38533         * elf/rtld-debugger-interface.txt: New file documenting the above.
38534
38535 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38536
38537         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38538         rather than a string variable.
38539         * sunrpc/rpc_main.c (h_output): Likewise.
38540         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38541
38542 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38543
38544         * inet/check_native.c: New file.
38545
38546 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38547
38548         [BZ #13629]
38549         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38550         if larger part has absolute value 1.0.
38551         * math/s_clog10.c (__clog10): Likewise.
38552         * math/s_clog10f.c (__clog10f): Likewise.
38553         * math/s_clog10l.c (__clog10l): Likewise.
38554         * math/s_clogf.c (__clogf): Likewise.
38555         * math/s_clogl.c (__clogl): Likewise.
38556         * math/libm-test.inc (clog_test): Add more tests.
38557         (clog10_test): Likewise.
38558         * sysdeps/i386/fpu/libm-test-ulps: Update.
38559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38560
38561         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38562         (pltexit): Likewise.
38563         (La_regs): Likewise.
38564         (La_retval): Likewise.
38565         (int_retval): Likewise.
38566         Update #error for removed macros to refer only to definitions in
38567         tst-audit.h.
38568         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38569         macro.
38570         (pltexit): Likewise.
38571         (La_regs): Likewise.
38572         (La_retval): Likewise.
38573         (int_retval): Likewise.
38574         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38575         macro.
38576         (pltexit): Likewise.
38577         (La_regs): Likewise.
38578         (La_retval): Likewise.
38579         (int_retval): Likewise.
38580         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38581         macro.
38582         (pltexit): Likewise.
38583         (La_regs): Likewise.
38584         (La_retval): Likewise.
38585         (int_retval): Likewise.
38586         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38587         macro.
38588         (pltexit): Likewise.
38589         (La_regs): Likewise.
38590         (La_retval): Likewise.
38591         (int_retval): Likewise.
38592         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38593         macro.
38594         (pltexit): Likewise.
38595         (La_regs): Likewise.
38596         (La_retval): Likewise.
38597         (int_retval): Likewise.
38598         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38599         macro.
38600         (pltexit): Likewise.
38601         (La_regs): Likewise.
38602         (La_retval): Likewise.
38603         (int_retval): Likewise.
38604         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38605         macro definitions in tst-audit.h.
38606         * sysdeps/i386/tst-audit.h: New file.
38607         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38608         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38609         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38610         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38611         * sysdeps/sh/tst-audit.h: Likewise.
38612         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38613         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38614         * sysdeps/x86_64/tst-audit.h: Likewise.
38615
38616 2012-07-26  Andreas Jaeger  <aj@suse.de>
38617
38618         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38619         ptrace.
38620
38621         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38622         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38623         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38624         PTRACE_O_MASK.
38625         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38626         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38627         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38628
38629         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38630         value.
38631
38632         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38633         _sigsys.
38634         (si_call_addr, si_syscall, si_arch): Define new macro.
38635         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38636         _sigsys.
38637         (si_call_addr, si_syscall, si_arch): Define new marcro.
38638         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38639         _sigsys.
38640         (si_call_addr, si_syscall, si_arch): Define new macro.
38641         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38642         _sigsys.
38643         (si_call_addr, si_syscall, si_arch): Define new macro.
38644
38645 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38646
38647         [BZ #13717]
38648         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38649         Change to 2.4.21 where previously 2.4.1.
38650         * sysdeps/unix/sysv/linux/configure: Regenerated.
38651         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38652         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38653         Linux kernel version.
38654         (__ASSUME_STD_AUXV): Remove.
38655         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38656         kernel version.
38657         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38658         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38659         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38660         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38661         (__ASSUME_NETLINK_SUPPORT): Likewise.
38662         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38663         (__no_netlink_support): Remove conditional definition.
38664         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38665         Remove.
38666         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38667         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38668         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38669         (if_nameindex_ioctl): Remove.
38670         (if_nameindex_netlink): Do not handle __no_netlink_support.
38671         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38672         code.
38673         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38674         Remove conditional code.
38675         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38676         code.
38677         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38678         unconditional.
38679         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38680         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38681         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38682         Remove.
38683         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38684         [!__ASSUME_STD_AUXV]: Remove conditional code.
38685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38686         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38687         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38689         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38690         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38691         code.
38692         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38694         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38695         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38696         conditional code.
38697         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38699         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38700         code.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38702         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38703         conditional code.
38704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38705         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38706         code unconditional.
38707         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38708         conditional code.
38709         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38710         unconditional.
38711         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38712         conditional code.
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38714         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38715         unconditional.
38716         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38717         conditional code.
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38719         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38720         code unconditional.
38721         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38722         conditional code.
38723         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38724         unconditional.
38725         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38726         conditional code.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38728         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38729         code unconditional.
38730         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38731         conditional code.
38732         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38733         unconditional.
38734         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38735         conditional code.
38736
38737 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38738
38739         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38740         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38741         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38742         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38743         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38744         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38745         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38746         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38747         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38748         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38749         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38750         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38751         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38752         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38753         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38754         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38755         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38756         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38757         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38759         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38760         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38761         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38762
38763 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38764
38765         * Versions.def: Add GLIBC_2.17.
38766         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38767         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38768         Introduce __libc_secure_getenv.
38769         * stdlib/Versions (2.17): Add secure_getenv
38770         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38771         * stdlib/secure-getenv.c: Rename __secure_getenv to
38772         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38773         symbol __secure_getenv for GLIBC_2.0.
38774         * stdlib/tst-secure-getenv.c: New.
38775         * stdlib/Makefile (tests): Add testcase.
38776         * manual/startup.texi (Environment Access): Document
38777         secure_getenv.
38778         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38779         __libc_secure_getenv.
38780         * inet/ruserpass.c (ruserpass): Likewise.
38781         * malloc/mtrace.c (mtrace): Likewise.
38782         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38783         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38784         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38785         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38786         HAVE_SECURE_GETENV.
38787         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38788         __secure_getenv to __libc_secure_getenv.
38789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38791         Likewise.
38792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38793         Likewise.
38794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38796         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38801
38802 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38803
38804         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38805         (struct La_i86_retval): Likewise.
38806         (struct La_x86_64_regs): Likewise.
38807         (struct La_x86_64_retval): Likewise.
38808         (struct La_x32_regs): Likewise.
38809         (struct La_x32_retval): Likewise.
38810         (struct La_ppc32_regs): Likewise.
38811         (struct La_ppc32_retval): Likewise.
38812         (struct La_ppc64_regs): Likewise.
38813         (struct La_ppc64_retval): Likewise.
38814         (struct La_sh_regs): Likewise.
38815         (struct La_sh_retval): Likewise.
38816         (struct La_s390_32_regs): Likewise.
38817         (struct La_s390_32_retval): Likewise.
38818         (struct La_s390_64_regs): Likewise.
38819         (struct La_s390_64_retval): Likewise.
38820         (struct La_sparc32_regs): Likewise.
38821         (struct La_sparc32_retval): Likewise.
38822         (struct La_sparc64_regs): Likewise.
38823         (struct La_sparc64_retval): Likewise.
38824         (struct audit_ifaces): Remove architecture-specific pltenter and
38825         pltexit members.
38826         * sysdeps/i386/ldsodefs.h: New file.
38827         * sysdeps/powerpc/ldsodefs.h: Likewise.
38828         * sysdeps/s390/ldsodefs.h: Likewise.
38829         * sysdeps/sh/ldsodefs.h: Likewise.
38830         * sysdeps/sparc/ldsodefs.h: Likewise.
38831         * sysdeps/x86_64/ldsodefs.h: Likewise.
38832
38833 2012-07-25  Marek Polacek  <polacek@redhat.com>
38834
38835         [BZ #6808]
38836         * math/libm-test.inc (yn_test): Add another test.
38837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38838         to ERANGE when the result is +-Inf.
38839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38840         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38841         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38842         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38843
38844 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38845
38846         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38847         equal to 0.
38848         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38849         clock_t.
38850         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38851
38852 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38853
38854         * configure.in <sysdeps resolving>: Correct printing
38855         Implies_before.
38856         * configure: Regenerate.
38857
38858 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38859
38860         * math/w_ilogb.c: Include <limits.h>.
38861         * math/w_ilogbl.c: Likewise.
38862
38863 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38864
38865         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38866         va_copy.  Document allowing for unavailable va_copy only as
38867         pre-C99 compatibility.
38868         * manual/string.texi (Copying and Concatenation): Use va_copy
38869         instead of __va_copy in concat example.
38870
38871 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38872
38873         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38874         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38875         it if not null.
38876
38877         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38878         with O_NOLINK passed to __file_name_lookup.
38879
38880         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38881         with O_NOLINK passed to __file_name_lookup.
38882
38883         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38884         negative N or less than NGIDS.
38885
38886         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38887         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38888         enough.  Use memcpy instead of strncpy.
38889
38890 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38891
38892         * elf/Makefile (check-data): Remove.
38893         (localplt.data): New vpath directive.
38894         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38895         instead of $(check-data).
38896         * scripts/data/localplt-generic.data: Move to ...
38897         * sysdeps/generic/localplt.data: ... here.
38898         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38899         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38900         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38902         ... here.
38903         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38905         ... here.
38906         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38908         ... here.
38909         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38911         ... here.
38912         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38914         ... here.
38915         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38917         ... here.
38918
38919 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38920
38921         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38922         PPC32 and PPC64 files.
38923         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38924         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38925
38926 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38927
38928         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38929         __makecontext_ret to ...
38930         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38931         ... here and call exit if uc_link is NULL.  New file.
38932         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38933         __makecontext_ret.S.
38934         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38935         __makecontext_ret to ...
38936         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38937         ... here and call exit if uc_link is NULL.  New file.
38938         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38939         __makecontext_ret.S.
38940
38941 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38942
38943         * elf/elf.h (R_390_IRELATIVE): New definition.
38944         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38945         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38946         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38947         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38948         (elf_machine_lazy_rel): Likewise.
38949         * sysdeps/s390/dl-irel.h: New file.
38950         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38951         * sysdeps/s390/s390-64/memset.S: New asm code.
38952         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38953         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38954         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38955         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38956         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38957         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38959         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38960         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38961         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38962         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38963         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38964         * sysdeps/s390/s390-32/memset.S: New asm code.
38965         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38966
38967 2012-07-17  Marek Polacek  <polacek@redhat.com>
38968
38969         [BZ #14349]
38970         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38971         * sysdeps/s390/s390-64/configure.in: Likewise.
38972         * sysdeps/sparc/configure.in: Likewise.
38973         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38974         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38975         * sysdeps/i386/configure.in: Likewise.
38976         * sysdeps/x86_64/configure.in: Likewise.
38977         * sysdeps/sh/configure.in: Likewise.
38978         * sysdeps/s390/s390-32/configure: Regenerated.
38979         * sysdeps/s390/s390-64/configure: Likewise.
38980         * sysdeps/x86_64/configure: Likewise.
38981         * sysdeps/sh/configure: Likewise.
38982         * sysdeps/powerpc/powerpc64/configure: Likewise.
38983         * sysdeps/powerpc/powerpc32/configure: Likewise.
38984         * sysdeps/sparc/configure: Likwise.
38985         * sysdeps/i386/configure: Likewise.
38986
38987         * elf/dl-open.c: Comment fixes.
38988
38989 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38990
38991         * Makefile [CXX] (check-data): Remove.
38992         [CXX] (c++-types.data): New vpath directive.
38993         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38994         vpath.  Do not allow for C++ type data being missing.
38995         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38996         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38997         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38998         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38999         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39000         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39001         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39003         ... here.
39004         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39006         ... here.
39007         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39009         ... here.
39010         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39012         ... here.
39013         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39015         ... here.
39016         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39018         ... here.
39019         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39021         ... here.
39022         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39024
39025         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39026         definitions to architecture-specific files.
39027         (TLS_IE): Likewise.
39028         (TLS_LD): Likewise.
39029         (TLS_GD): Likewise.
39030         * sysdeps/i386/tls-macros.h: New file.
39031         * sysdeps/powerpc/tls-macros.h: Likewise.
39032         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39033         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39034         * sysdeps/sh/tls-macros.h: Likewise.
39035         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39036         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39037         * sysdeps/x86_64/tls-macros.h: Likewise.
39038
39039 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39040
39041         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39042         zero value for regular exit case.
39043
39044         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39045         (__start_context): Preserve zero value for regular exit case.
39046
39047 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39048             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39049
39050         * manual/setjmp.texi (setcontext): Clarify normal process
39051         termination when uc_link is the null pointer.
39052         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39053         exit call.
39054
39055 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39056
39057         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39058         preprocessor.  Test for each exception mask separately.
39059
39060 2012-07-16  Andreas Jaeger  <aj@suse.de>
39061
39062         * po/ru.po: Update from translation team.
39063
39064 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39065
39066         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39067         equal to 0.
39068         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39069         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39070         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39071         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39072         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39073
39074 2012-07-13  Andreas Jaeger  <aj@suse.de>
39075
39076         * po/fr.po: Update from translation team.
39077
39078 2012-07-12  Marek Polacek  <polacek@redhat.com>
39079
39080         [BZ #14173]
39081         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39082         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39083         loop condition.
39084
39085 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39086
39087         [BZ #13717]
39088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39089         Change to 2.4.1 where previously 2.4.0.
39090         * sysdeps/unix/sysv/linux/configure: Regenerated.
39091         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39092         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39093         version.
39094         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39095         (__ASSUME_AT_CLKTCK): Remove.
39096         (__ASSUME_AT_PAGESIZE): Likewise.
39097         (__ASSUME_AT_XID): Likewise.
39098         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39099         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39100         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39101         unconditionally.
39102         (HAVE_AUX_PAGESIZE): Likewise.
39103         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39104         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39105         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39106
39107 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39108
39109         [BZ #14307]
39110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39111         the temporary buffer used to invoke __gethostbyname2_r,
39112         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39113         host_data / struct gaih_addrtuple.
39114         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39115         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39116         header file nss/nsswitch.h.
39117         * nss/nsswitch.h (global scope): Add definition of implementation
39118         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39119         resolv/nss_dns/dns-host.c).
39120
39121 2012-07-11  Andreas Jaeger  <aj@suse.de>
39122
39123         * po/fr.po: Update from translation team.
39124
39125         * po/sv.po: Update from translation team
39126         * po/fr.po: Another update from translation team.
39127
39128 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39129
39130         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39131         for subnormals or multiply small sinh result by itself.
39132         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39134
39135 2012-07-11  David S. Miller  <davem@davemloft.net>
39136
39137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39138
39139 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39140
39141         [BZ #14347]
39142         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39143         (INTERNAL_MARK): Shift it here.
39144
39145 2012-07-10  Marek Polacek  <polacek@redhat.com>
39146
39147         [BZ #14151]
39148         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39149         libc_cv_asm_global_directive with .globl.
39150         * configure: Regenerated.
39151         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39152         with .globl.
39153         * sysdeps/i386/configure: Regenerated.
39154         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39155         with .globl.
39156         * sysdeps/x86_64/configure: Regenerated.
39157         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39158         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39159         * elf/tst-unique2mod2.c: Likewise.
39160         * elf/tst-unique2mod1.c: Likewise.
39161         * elf/tst-unique1mod2.c: Likewise.
39162         * elf/tst-unique1mod1.c: Likewise.
39163         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39164         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39165         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39166         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39167         * sysdeps/mach/sysdep.h: Likewise.
39168         * sysdeps/i386/sysdep.h: Likewise.
39169         * sysdeps/i386/i386-mcount.S: Likewise.
39170         * sysdeps/x86_64/_mcount.S: Likewise.
39171         * sysdeps/x86_64/sysdep.h: Likewise.
39172         * sysdeps/sh/_mcount.S: Likewise.
39173         * sysdeps/sh/sysdep.h: Likewise.
39174         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39175         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39176         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39177         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39178         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39179         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39180         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39181         * locale/localeinfo.h: Likewise.
39182         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39183         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39184
39185 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39186
39187         [BZ #14336]
39188         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39189         system".
39190         * manual/message.texi (The Uniforum approach): Likewise.
39191         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39192         (glibc iconv Implementation): Likewise.
39193
39194 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39195
39196         [BZ #14337]
39197         * math/s_clog.c (__clog): Avoid scaling a value down where that
39198         could result in underflow.
39199         * math/s_clog10.c (__clog10): Likewise.
39200         * math/s_clog10f.c (__clog10f): Likewise.
39201         * math/s_clog10l.c (__clog10l): Likewise.
39202         * math/s_clogf.c (__clogf): Likewise.
39203         * math/s_clogl.c (__clogl): Likewise.
39204         * math/libm-test.inc (clog_test): Add more tests.
39205         (clog10_test): Likewise.
39206         * sysdeps/i386/fpu/libm-test-ulps: Update.
39207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39208
39209 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39210
39211         [BZ #14283]
39212         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39213         by 7 not 8 to examine high bit of fractional part.
39214
39215         [BZ #14042]
39216         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39217         for call to __mcount_internal.
39218         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39219         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39220         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39221
39222 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39223
39224         [BZ #14154]
39225         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39226         approximation for values within 0x1p-13f of an odd multiple of
39227         pi/4.
39228         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39229         exception.  Add more tests.
39230         * sysdeps/i386/fpu/libm-test-ulps: Update.
39231
39232         [BZ #6778]
39233         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39234         inputs and return -1 for them.  Do not check for +Inf in case not
39235         reachable for +Inf.
39236         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39237         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39238         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39239         and return -1 for them.  Do not check for +Inf in case not
39240         reachable for +Inf.
39241         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39242         define.
39243         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39244         and return -1 for them.  Do not check for +Inf in case not
39245         reachable for +Inf.
39246         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39247         spurious underflow.
39248         * sysdeps/i386/fpu/libm-test-ulps: Update.
39249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39250
39251 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39252
39253         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39254
39255 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39256
39257         [BZ #14157]
39258         [BZ #14331]
39259         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39260         could result in spurious underflow.  Scale down values above
39261         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39262         * math/s_csqrtf.c (__csqrtf): Likewise.
39263         * math/s_csqrtl.c (__csqrtl): Likewise.
39264         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39265         spurious underflow.
39266         * sysdeps/i386/fpu/libm-test-ulps: Update.
39267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39268
39269 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39270
39271         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39272         xopen-msg.sed.
39273         * catgets/xopen-msg.awk: New file.
39274         * catgets/xopen-msg.sed: Removed.
39275
39276         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39277         po2text.sed.
39278         * intl/po2test.awk: New file.
39279         * intl/po2test.sed: Removed.
39280
39281 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39282
39283         [BZ #14328]
39284         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39285         or multiply small sinh result by itself.
39286         * math/s_ctanf.c (__ctanf): Likewise.
39287         * math/s_ctanh.c (__ctanh): Likewise.
39288         * math/s_ctanhf.c (__ctanhf): Likewise.
39289         * math/s_ctanhl.c (__ctanhl): Likewise.
39290         * math/s_ctanl.c (__ctanl): Likewise.
39291         * math/libm-test.inc (ctan_test_tonearest): New function.
39292         (ctan_test_towardzero): Likewise.
39293         (ctan_test_downward): Likewise.
39294         (ctan_test_upward): Likewise.
39295         (ctanh_test_tonearest): Likewise.
39296         (ctanh_test_towardzero): Likewise.
39297         (ctanh_test_downward): Likewise.
39298         (ctanh_test_upward): Likewise.
39299         (main): Call these new functions.
39300         * sysdeps/i386/fpu/libm-test-ulps: Update.
39301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39302
39303 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39304
39305         * .gitignore: Delete /ports entry.
39306
39307 2012-07-03  Andreas Jaeger  <aj@suse.de>
39308
39309         * po/bg.po: Update from translation team.
39310         * po/cs.po: Likewise.
39311         * po/de.po: Likewise.
39312         * po/hr.po: Likewise.
39313         * po/nl.pl: Likewise.
39314         * po/pl.po: Likewise.
39315         * po/vi.po: Likewise.
39316
39317 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39318
39319         * Makeconfig [!+link] (+link-before-libc): New variable.
39320         [!+link] (+link-after-libc): Likewise.
39321         [!+link] (+link-tests): Likewise.
39322         [!+link] (+link): Define in terms of $(+link-before-libc) and
39323         $(+link-after-libc).
39324         [!+link-static] (+link-static-before-libc): New variable.
39325         [!+link-static] (+link-static-after-libc): Likewise.
39326         [!+link-static] (+link-static-tests): Likewise.
39327         [!+link-static] (+link-static): Define in terms of
39328         $(+link-static-before-libc) and $(+link-static-after-libc).
39329         [build-shared] (link-libc-before-gnulib): New variable.
39330         [build-shared] (link-libc-tests): Likewise.
39331         [build-shared] (link-libc): Define in terms of
39332         $(link-libc-before-gnulib).
39333         [!build-shared] (link-libc-tests): New variable.
39334         (link-libc-static-tests): New variable.
39335         [!gnulib] (gnulib-arch): New variable.
39336         [!gnulib] (gnulib-tests): Likewise.
39337         [!gnulib] (static-gnulib-arch): Likewise.
39338         [!gnulib] (static-gnulib-tests): Likewise.
39339         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39340         Define with "=" instead of ":=".
39341         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39342         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39343         * Rules (binaries-all-notests): New variable.
39344         (binaries-all-tests): Likewise.
39345         (binaries-static-notests): Likewise.
39346         (binaries-static-tests): Likewise.
39347         (binaries-all): Define using $(binaries-all-notests) and
39348         $(binaries-all-tests).
39349         (binaries-static): Define using $(binaries-static-notests) and
39350         $(binaries-static-tests).
39351         (binaries-shared-tests): New variable.
39352         (binaries-shared-notests): Likewise.
39353         (binaries-shared): Remove variable.
39354         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39355         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39356         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39357         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39358         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39359         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39360         * elf/Makefile (sln-modules): New variable.
39361         (extra-objs): Add $(sln-modules:=.o).
39362         (ldconfig-modules): Add static-stubs.
39363         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39364         * elf/static-stubs.c: New file.
39365
39366         [BZ #14283]
39367         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39368         by 7 not 8 to examine high bit of fractional part.  Use volatile
39369         variables when splitting into final array of floats if
39370         __FLT_EVAL_METHOD__ != 0.
39371         * math/libm-test.inc (cos_test): Add another test.
39372         (sin_test): Likewise.
39373         * sysdeps/i386/fpu/libm-test-ulps: Update.
39374
39375         [BZ #14273]
39376         * math/libm-test.inc (cosh_test): Add more tests.
39377
39378         * version.h (RELEASE): Set to "development".
39379         (VERSION): Set to "2.16.90".
39380
39381 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39382
39383         * NEWS: Update copyright. Remove last-updated date.
39384         Mention math library bug fixes and timezone data changes.
39385         * README: Mention GNU/Hurd, x32, and HPPA support status.
39386
39387 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39388
39389         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39390
39391 2012-06-27  Andreas Jaeger  <aj@suse.de>
39392
39393         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39394
39395 2012-06-25  Andreas Jaeger  <aj@suse.de>
39396
39397         * sysdeps/s390/fpu/libm-test-ulps: Update.
39398
39399 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39400             Thomas Schwinge  <thomas@codesourcery.com>
39401
39402         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39403         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39405         fanotify_mark.
39406
39407 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39408
39409         * sysdeps/mach/start.c: Remove file.
39410         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39411         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39412         * sysdeps/sh/init-first.c: Likewise.
39413
39414         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39415         registers for frame unwinding purposes, add CFI directives.
39416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39417         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39418         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39419         Likewise.
39420
39421         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39422         __fortify_fail returning.
39423         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39424
39425         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39426         sysdeps/sh/____longjmp_chk.S.
39427         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39428         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39429         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39430         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39431
39432         * sysdeps/sh/abort-instr.h: New file.
39433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39434         process in case exit returns.
39435
39436         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39437         initialize the GOT register before use.
39438
39439         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39440         calculation of ARGC > 4.
39441
39442         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39443         meaningful names to some local labels.
39444
39445 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39446             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39447
39448         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39449         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39450         (__arch_compare_and_exchange_val_16_acq): Likewise.
39451         (__arch_compare_and_exchange_val_32_acq): Likewise.
39452         (atomic_exchange_and_add): Fix gUSA sequence.
39453         (atomic_add): Likewise.
39454         (atomic_add_negative): Likewise.
39455         (atomic_add_zero): Likewise.
39456         (atomic_bit_test_set): Likewise.
39457
39458 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39459
39460         [BZ #13579]
39461         * include/link.h (struct link_map): Add l_free_initfini.
39462         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39463         l_initfini.
39464         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39465         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39466         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39467         set.
39468
39469 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39470
39471         * configure.in: Use AC_LANG_SOURCE.
39472         * configure: Regenerate.
39473
39474 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39475
39476         * configure.in (libc_cv_localstatedir): New substituted variable.
39477         * configure: Regenerated.
39478         * config.make.in (localstatedir): New variable, substituted from
39479         libc_cv_localstatedir.
39480         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39481         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39482         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39483         * sysdeps/gnu/configure: Regenerated.
39484
39485 2012-06-21  Jeff Law  <law@redhat.com>
39486
39487         [BZ #14277]
39488         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39489         free.  Simplify list management for _LIBC case.
39490
39491 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39492
39493         [BZ #14273]
39494         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39495         Clear sign bit of 64-bit integer value before comparing against
39496         overflow value.
39497
39498         * sysdeps/mach/configure: Regenerated.
39499
39500 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39501
39502         [BZ #14278]
39503         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39504
39505 2012-06-21  Jeff Law  <law@redhat.com>
39506
39507         [BZ #13882]
39508         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39509         uint16_t for elements in the "seen" array to avoid char overflows.
39510         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39511         * elf/dl-open.c (dl_open_worker): Likewise.
39512
39513 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39514
39515         * scripts/list-sources.sh: Scan PORTS for translations.
39516         * po/libc.pot: Regenerated.
39517
39518 2012-06-21  Andreas Jaeger  <aj@suse.de>
39519
39520         [BZ #12194]
39521         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39522         warning.
39523         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39524         * bits/byteswap-16.h (__bswap_16): Likewise.
39525         * bits/byteswap.h (__bswap_constant_16): Likewise.
39526
39527 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39528
39529         [BZ #14117]
39530         * sysdeps/i386/fpu_control.h: Removed.
39531         * sysdeps/x86_64/fpu_control.h: Moved to ...
39532         * sysdeps/x86/fpu_control.h: Here.
39533
39534         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39535         (_FPU_SETCW): Likewise.
39536
39537 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39538
39539         [BZ #14117]
39540         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39541         * sysdeps/x86/fpu/bits/mathinline.h: This.
39542         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39543
39544         [BZ #14050]
39545         [BZ #14117]
39546         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39547         functions if __x86_64__ is defined.
39548
39549 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39550
39551         * string/endian.h: Add !__ASSEMBLER__ condition for including
39552         conversion interfaces.
39553
39554 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39555
39556         [BZ #14241]
39557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39558         of ABS(x) in calculating zero to negative powers other than odd
39559         integers.
39560         * math/libm-test.inc (pow_test): Add more tests.
39561
39562 2012-06-15  Andreas Jaeger  <aj@suse.de>
39563
39564         * manual/contrib.texi (Contributors): Update entry of Liubov
39565         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39566         Machado Filho.
39567
39568 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39569
39570         * string/string.h: Add __wur to GNU version of strerror_r.
39571
39572 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39573
39574         [BZ #14229]
39575         * string/Makefile (tests): Add tst-strtok_r.
39576         * string/tst-strtok_r.c: New file.
39577         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39578         RAX_LP/RDX_LP on SAVE_PTR.
39579
39580 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39581
39582         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39583
39584 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39585
39586         * libm_test.inc (csqrt_test): Allow more spurious underflow
39587         exceptions.
39588         (j0_test): Likewise.
39589         (j1_test): Likewise.
39590         (y0_test): Likewise.
39591         (y1_test): Likewise.
39592
39593 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39594
39595         * po/Makefile (libc.pot): Use UTF-8 charset.
39596
39597 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39598
39599         [BZ #14210]
39600         Suppress sign-conversion warning from FD_SET.
39601         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39602         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39603         not unsigned long int.
39604         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39605
39606 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39607
39608         [BZ #14050]
39609         [BZ #14117]
39610         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39611         __extern_always_inline instead of __extern_inline.
39612         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39613         (__signbit): Likewise.
39614         (__signbitl): Support C++ namespace.
39615         (lrintf): New inline function.
39616         (lrint): Likewise.
39617         (llrintf): Likewise.
39618         (llrint): Likewise.
39619         (fmaxf): Likewise.
39620         (fmax): Likewise.
39621         (fminf): Likewise.
39622         (fmin): Likewise.
39623         (rint): Likewise.
39624         (rintf): Likewise.
39625         (ceil): Likewise.
39626         (ceilf): Likewise.
39627         (floor): Likewise.
39628         (floorf): Likewise.
39629         (nearbyint): Likewise.
39630         (nearbyintf): Likewise.
39631
39632 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39633
39634         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39635         non-default versions.
39636
39637 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39638
39639         [BZ #14218]
39640         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39641
39642 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39643
39644         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39645         (FE_UPWARD, FE_DOWNWARD): Don't define.
39646         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39647         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39648
39649         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39650         reading it.
39651         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39652         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39653
39654 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39655
39656         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39658         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39659         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39660
39661 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39662
39663         [BZ #14117]
39664         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39665         * sysdeps/i386/fpu/Implies: New file.
39666         * sysdeps/x86_64/fpu/Implies: Likewise.
39667         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39668         * sysdeps/x86/fpu/bits/fenv.h: This.
39669
39670         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39671         __SSE_MATH__.
39672
39673 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39674
39675         [BZ #14134]
39676         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39677         character 0xffff that matches the last element of the
39678         conversion table.
39679
39680 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39681
39682         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39683         fmodl commit.
39684
39685 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39686
39687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39688         values higher than 25.6283.
39689
39690 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39691
39692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39693         subnormal exponent extraction and add some __builtin_expect.
39694         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39695         Fix for subnormal mantissa calculation.
39696
39697 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39698
39699         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39700         cpu2 is -1 and errno is not ENOSYS.
39701
39702 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39703
39704         [BZ #14117]
39705         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39706         * sysdeps/x86/bits/string.h: This.
39707         * sysdeps/x86_64/bits/string.h: Removed.
39708
39709         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39710         if not compiling for x86-64, but compiling for >= i486.
39711
39712         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39713         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39714
39715         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39716         New macro from Linux kernel 3.4.0.
39717         (FP_XSTATE_MAGIC2): Likewise.
39718         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39719         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39720         (struct _fpx_sw_bytes): New struct.
39721         (struct _xsave_hdr): Likewise.
39722         (struct _ymmh_state): Likewise.
39723         (struct _xstate): Likewise.
39724
39725         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39726         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39727         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39728         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39729         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39730         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39731
39732         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39733         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39734         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39735         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39736         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39737         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39738
39739 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39740
39741         [BZ #13743]
39742         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39743         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39744         (sysdep_headers): Include sys/platform/ppc.h.
39745         * sysdeps/powerpc/test-gettimebase.c: Test for
39746         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39747         * manual/Makefile (appendices): Include platform.texi.
39748         * manual/contrib.texi (Contributors): Update @node pointers.
39749         * manual/maint.texi (Maintenance): Likewise.
39750         (Platform): New node.
39751         * manual/platform.texi: New file.  Document the new features.
39752
39753 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39754             Jakub Jelinek  <jakub@redhat.com>
39755
39756         [BZ #14188]
39757         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39758         where __builtin_expect is unavailable.
39759
39760 2012-06-03  David S. Miller  <davem@davemloft.net>
39761
39762         * stdlib/longlong.h: Updated from GCC.
39763
39764 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39765
39766         [BZ #14042]
39767         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39768         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39769         __mcount_internal.
39770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39771         (GLIBC_2.16): Likewise.
39772
39773 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39774
39775         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39776
39777 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39778
39779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39780         (default-abi): New variable.
39781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39782         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39783         variable.
39784         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39785         Likewise.
39786         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39787         Likewise.
39788         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39789         Likewise.
39790
39791         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39792         definition.  Document in comment.
39793
39794 2012-06-01  David S. Miller  <davem@davemloft.net>
39795
39796         * stdlib/longlong.h: Updated from GCC.
39797
39798 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39799
39800         [BZ #14117]
39801         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39802         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39803         sys/debugreg.h sys/io.h here.
39804         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39805         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39806         sys/io.h.
39807         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39808         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39809         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39810         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39811         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39812         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39813
39814         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39815         Define only if __x86_64__ is defined.
39816
39817 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39818
39819         [BZ #14048]
39820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39821         Use int64_t for variable i.
39822         * math/libm-test.inc (fmod_test): Add more tests.
39823
39824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39825         z computation is not scheduled after fetestexcept.
39826         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39827         Use math_force_eval instead of asm to ensure calculation scheduled
39828         before exception test.
39829         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39830         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39831
39832 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39833
39834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39835         computation is not scheduled after fetestexcept.
39836
39837 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39838
39839         [BZ #14117]
39840         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39841         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39842
39843 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39844
39845         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39846         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39847
39848 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39849
39850         [BZ #14117]
39851         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39852         <bits/wordsize.h>.
39853         (__WCHAR_MIN): Support __WORDSIZE == 64.
39854         (__WCHAR_MAX): Likewise.
39855
39856         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39857         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39858
39859         [BZ #14183]
39860         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39861         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39862
39863         [BZ #14117]
39864         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39865         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39866
39867         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39868         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39869
39870         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39871         Defined to 1 if __x86_64__ isn't defined.
39872         (_STAT_VER_LINUX_OLD): New.
39873         (st_atime): Remove duplicate.
39874         (st_mtime): Likewise.
39875         (st_ctime): Likewise.
39876
39877 2012-05-31  David S. Miller  <davem@davemloft.net>
39878
39879         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39880         entries.
39881
39882 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39883
39884         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39885         gen-libm-test.pl.
39886
39887         [BZ #14132]
39888         * elf/dl-reloc.c: Include <_itoa.h>.
39889         (_dl_reloc_bad_type): Remove use of INTUSE.
39890         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39891         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39892         * stdio-common/psiginfo.c (psiginfo): Likewise.
39893         * stdio-common/psignal.c (psignal): Likewise.
39894         * string/strsignal.c (strsignal): Likewise.
39895         * include/signal.h (_sys_siglist): Declare hidden proto.
39896         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39897         INTVARDEF with libc_hidden_data_def.
39898         * stdio-common/itoa-udigits.c: Likewise.
39899         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39900         (_itoa_lower_digits_internal): Remove declaration.
39901         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39902         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39903         (_sys_sigabbrev_internal): Remove aliases.
39904         (_sys_siglist): Define hidden alias.
39905
39906 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39907
39908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39909         bits/sysctl.h.
39910
39911 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39912
39913         [BZ #14117]
39914         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39915         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39916
39917         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39918         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39919         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39920         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39921         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39922         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39923
39924         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39925         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39926         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39927
39928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39929         with __addr.
39930         (insw): Likewise.
39931         (insl): Likewise.
39932         (outsb): Likewise.
39933         (outsw): Likewise.
39934         (outsl): Likewise.
39935
39936         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39937         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39938         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39939
39940         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39941         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39942         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39943         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39944         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39945         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39946
39947         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39948         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39949
39950         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39951         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39952
39953         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39954         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39955         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39956
39957         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39958         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39959         to ...
39960         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39961
39962         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39963         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39964         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39965
39966         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39967         for x86-64.
39968         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39969
39970 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39971
39972         * math/math.h (M_El): Use two more decimal places.
39973         (M_LOG2El): Likewise.
39974         (M_LOG10El): Likewise.
39975         (M_LN2l): Likewise.
39976         (M_LN10l): Likewise.
39977         (M_PIl): Likewise.
39978         (M_PI_2l): Likewise.
39979         (M_PI_4l): Likewise.
39980         (M_1_PIl): Likewise.
39981         (M_2_PIl): Likewise.
39982         (M_2_SQRTPIl): Likewise.
39983         (M_SQRT2l): Likewise.
39984         (M_SQRT1_2l): Likewise.
39985
39986 2012-05-31  David S. Miller  <davem@davemloft.net>
39987
39988         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39989         values between float registers.
39990         * sysdeps/sparc/sparc64/memset.S: Likewise.
39991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39992
39993 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39994
39995         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39996         -D_FORTIFY_SOURCE=1.
39997         (CPPFLAGS-tst-longjmp_chk.c): Define.
39998         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39999         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40000         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40001         CFLAGS-tst-wchar-h.c.
40002
40003 2012-05-31  Marek Polacek  <polacek@redhat.com>
40004
40005         [BZ #14132]
40006         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40007         __endmntent_internal): Remove declaration.
40008         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40009         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40010         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40011
40012 2012-05-30  David S. Miller  <davem@davemloft.net>
40013
40014         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40015         (___Q_simulate_exceptions): Use real FP ops rather than writing
40016         into the %fsr.
40017         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40018         Likewise.
40019
40020 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40021
40022         [BZ #14117]
40023         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40024         * sysdeps/x86/bits/xtitypes.h: This.
40025
40026         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40027         * sysdeps/x86/bits/wordsize.h: This.
40028
40029         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40030         * sysdeps/x86/bits/huge_vall.h: This.
40031
40032         * sysdeps/i386/bits/select.h: Removed.
40033         * sysdeps/x86_64/bits/select.h: Renamed to ...
40034         * sysdeps/x86/bits/select.h: This.
40035
40036         * sysdeps/i386/bits/setjmp.h: Removed.
40037         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40038         * sysdeps/x86/bits/setjmp.h: This.
40039
40040         * sysdeps/i386/bits/mathdef.h: Removed.
40041         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40042         * sysdeps/x86/bits/mathdef.h: This.
40043
40044 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40045
40046         [BZ #14132]
40047         * include/sys/socket.h (__connect_internal)
40048         (__libc_sa_len_internal): Remove declaration.
40049         (__connect, __libc_sa_len): Declare hidden_proto.
40050         (SA_LEN): Remove use of INTUSE.
40051         * socket/connect.c: Add libc_hidden_def.
40052         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40053         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40054         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40055         alias.
40056         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40057         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40058         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40059         of adding _internal alias.
40060
40061 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40062
40063         [BZ #14117]
40064         * sysdeps/i386/bits/link.h: Removed.
40065         * sysdeps/i386/bits/linkmap.h: Likewise.
40066         * sysdeps/x86_64/bits/link.h: Renamed to ...
40067         * sysdeps/x86/bits/link.h: This.
40068         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40069         * sysdeps/x86/bits/linkmap.h: This.
40070
40071         * sysdeps/i386/bits/endian.h: Removed.
40072         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40073         * sysdeps/x86/bits/endian.h: This.
40074
40075         * sysdeps/i386/bits/byteswap.h: Removed.
40076         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40077         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40078         * sysdeps/x86/bits/byteswap.h: This.
40079         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40080         * sysdeps/x86/bits/byteswap-16.h: This.
40081         * sysdeps/i386/Implies: Add x86.
40082         * sysdeps/x86_64/Implies: Likewise.
40083
40084 2012-05-30  David S. Miller  <davem@davemloft.net>
40085
40086         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40087         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40088         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40089         (FP_TRAPPING_EXCEPTIONS): Define.
40090         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40091         (FP_TRAPPING_EXCEPTIONS): Define.
40092         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40093         subnormals only when inexact has been signalled or underflow
40094         exceptions are enabled.
40095         (_FP_PACK_CANONICAL): Likewise.
40096
40097 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40098
40099         [BZ #14183]
40100         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40101         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40102
40103 2012-05-30  Richard Henderson  <rth@twiddle.net>
40104
40105         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40106         with #ifndef NOT_IN_libc.
40107
40108         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40109         marked to avoid plt entry.
40110
40111 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40112
40113         [BZ #14112]
40114         * Makeconfig (default-abi): New macro.
40115         (abi-includes): Likewise.
40116         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40117         $(abi-$(default-abi)-lib-soname) for soname if defined.
40118         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40119         abi-variants.
40120         * Makefile (installed-stubs): Likewise.
40121         * include/stubs-biarch.h: Removed.
40122         * scripts/lib-names.awk: Only handle one library at a time.
40123         * scripts/soversions.awk: Remove WORDSIZE support.
40124         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40125         entries.
40126         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40127         Removed.
40128         (syscall-list-default-condition): Likewise.
40129         (syscall-list-default-condition): Likewise.
40130         (syscall-list-includes): Likewise.
40131         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40132         syscall-list-* with abi-*.  Handle undefined abi-variants.
40133         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40134         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40135         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40136         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40137         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40138         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40139         Removed.
40140         (syscall-list-32-options): Likewise.
40141         (syscall-list-32-condition): Likewise.
40142         (syscall-list-64-options): Likewise.
40143         (syscall-list-64-condition): Likewise.
40144         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40145         macro.
40146         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40147         Renamed to ...
40148         (abi-*): This.
40149         (abi-64-ld-soname): New macro.
40150         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40151         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40152         Renamed to ...
40153         (abi-*): This.
40154         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40155         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40156
40157 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40158
40159         * sysdeps/unix/sysv/linux/kernel-features.h
40160         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40161         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40162         include <kernel-features.h>.
40163         [!__NR_ftruncate64]: Remove conditional code.
40164         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40165         [__NR_ftruncate64]: Make code unconditional.
40166         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40167         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40168         include <kernel-features.h>.
40169         [!__NR_ftruncate64]: Remove conditional code.
40170         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40171         [__NR_ftruncate64]: Make code unconditional.
40172         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40174         include <kernel-features.h>.
40175         [!__NR_ftruncate64]: Remove conditional code.
40176         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40177         [__NR_ftruncate64]: Make code unconditional.
40178         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40180         include <kernel-features.h>.
40181         [!__NR_ftruncate64]: Remove conditional code.
40182         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40183         [__NR_ftruncate64]: Make code unconditional.
40184         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40185
40186         * configure.in (libc_cv_fpie): Weaken to a compile test using
40187         LIBC_TRY_CC_OPTION.
40188         * configure: Regenerated.
40189
40190 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40191
40192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40196         Refreshed.
40197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40203         Refreshed.
40204
40205 2012-05-27  David S. Miller  <davem@davemloft.net>
40206
40207         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40208         (___Q_zero): New.
40209         (__Q_simulate_exceptions): Return void.  Change to simulate
40210         exceptions by writing into the %fsr.
40211         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40212         (__Qp_handle_exceptions): Likewise.
40213         (numbers): Delete.
40214         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40215         __Qp_handle_exceptions.
40216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40217         __Qp_handle_exceptions.
40218         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40219         as unused and give dummy FP_RND_NEAREST initializer.
40220         (FP_INHIBIT_RESULTS): Define.
40221         (___Q_simulate_exceptions): Update declaration.
40222         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40223         formatting.
40224         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40225         as unused and give dummy FP_RND_NEAREST initializer.
40226         (__Qp_handle_exceptions): Update declaration.
40227         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40228         formatting.
40229
40230 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40231
40232         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40233         the temporary FPU control word.
40234         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40235         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40236         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40237         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40238         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40239         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40240         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40241         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40242         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40243         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40244         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40245
40246 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40247
40248         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40249         fields.
40250
40251 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40252
40253         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40254         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40255         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40256         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40257         Likewise.
40258         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40259         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40260         Likewise.
40261
40262 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40263
40264         * po/h.po: Update from translation team.
40265
40266 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40267
40268         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40269
40270         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40271         handling of denormals.
40272         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40273         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40274         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40275         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40279         Likewise.
40280
40281 2012-05-26  Marek Polacek  <polacek@redhat.com>
40282
40283         [BZ #14152]
40284         * math/libm-test.inc (fma_test): Don't always expect underflow
40285         exception.
40286
40287 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40288
40289         [BZ #12416]
40290         * elf/tst-execstack.c: Include stackinfo.h.
40291         (do_test): Adjust test case to ensure that pthread_getattr_np
40292         behaviour remains the same after marking stack executable.
40293
40294 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40295
40296         * sysdeps/unix/sysv/linux/kernel-features.h
40297         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40298         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40299         kernel-features.h.
40300         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40301         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40302         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40303         kernel-features.h.
40304         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40305         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40306
40307 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40308
40309         * configure.in: Define the default includes to being none.
40310         * configure: Regenerated.
40311
40312 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40313
40314         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40315         * sysdeps/x86_64/setjmp.S: Likewise.
40316         * sysdeps/i386/bsd-setjmp.S: Likewise.
40317         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40318         * sysdeps/i386/setjmp.S: Likewise.
40319         * sysdeps/i386/__longjmp.S: Likewise.
40320         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40321         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40322
40323         * include/stap-probe.h: New file.
40324         * configure.in: Handle --enable-systemtap.
40325         * configure: Regenerated.
40326         * config.h.in (USE_STAP_PROBE): New #undef.
40327         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40328         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40329         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40330
40331 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40332
40333         [BZ #13717]
40334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40335         to 2.4.0 where earlier.
40336         * sysdeps/unix/sysv/linux/configure: Regenerated.
40337         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40338         <kernel-features.h>.
40339         [__ASSUME_32BITUIDS]: Make code unconditional.
40340         [!__ASSUME_32BITUIDS]: Remove conditional code.
40341         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40342         <kernel-features.h>.
40343         [__ASSUME_32BITUIDS]: Make code unconditional.
40344         [!__ASSUME_32BITUIDS]: Remove conditional code.
40345         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40346         [__ASSUME_32BITUIDS]: Make code unconditional.
40347         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40348         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40349         <kernel-features.h>.
40350         [__ASSUME_32BITUIDS]: Make code unconditional.
40351         [!__ASSUME_32BITUIDS]: Remove conditional code.
40352         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40353         <kernel-features.h>.
40354         [__ASSUME_32BITUIDS]: Make code unconditional.
40355         [!__ASSUME_32BITUIDS]: Remove conditional code.
40356         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40357         <kernel-features.h>.
40358         [__ASSUME_32BITUIDS]: Make code unconditional.
40359         [!__ASSUME_32BITUIDS]: Remove conditional code.
40360         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40361         <kernel-features.h>.
40362         [__ASSUME_32BITUIDS]: Make code unconditional.
40363         [!__ASSUME_32BITUIDS]: Remove conditional code.
40364         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40365         <kernel-features.h>.
40366         [__ASSUME_32BITUIDS]: Make code unconditional.
40367         [!__ASSUME_32BITUIDS]: Remove conditional code.
40368         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40369         <kernel-features.h>.
40370         [__ASSUME_32BITUIDS]: Make code unconditional.
40371         [!__ASSUME_32BITUIDS]: Remove conditional code.
40372         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40373         <kernel-features.h>.
40374         [__ASSUME_32BITUIDS]: Make code unconditional.
40375         [!__ASSUME_32BITUIDS]: Remove conditional code.
40376         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40377         <kernel-features.h>.
40378         [__ASSUME_32BITUIDS]: Make code unconditional.
40379         [!__ASSUME_32BITUIDS]: Remove conditional code.
40380         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40381         <kernel-features.h>.
40382         [__ASSUME_32BITUIDS]: Make code unconditional.
40383         [!__ASSUME_32BITUIDS]: Remove conditional code.
40384         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40385         <kernel-features.h>.
40386         [__ASSUME_32BITUIDS]: Make code unconditional.
40387         [!__ASSUME_32BITUIDS]: Remove conditional code.
40388         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40389         <kernel-features.h>.
40390         [__NR_setresgid] (__setresgid): Do not declare.
40391         [__ASSUME_32BITUIDS]: Make code unconditional.
40392         [!__ASSUME_32BITUIDS]: Remove conditional code.
40393         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40394         <kernel-features.h>.
40395         [__NR_setresuid] (__setresuid): Do not declare.
40396         [__ASSUME_32BITUIDS]: Make code unconditional.
40397         [!__ASSUME_32BITUIDS]: Remove conditional code.
40398         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40399         <kernel-features.h>.
40400         [__ASSUME_32BITUIDS]: Make code unconditional.
40401         [!__ASSUME_32BITUIDS]: Remove conditional code.
40402         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40403         <kernel-features.h>.
40404         [__ASSUME_32BITUIDS]: Make code unconditional.
40405         [!__ASSUME_32BITUIDS]: Remove conditional code.
40406         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40407         <kernel-features.h>.
40408         [__ASSUME_32BITUIDS]: Make code unconditional.
40409         [!__ASSUME_32BITUIDS]: Remove conditional code.
40410         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40411         <kernel-features.h>.
40412         [__ASSUME_32BITUIDS]: Make code unconditional.
40413         [!__ASSUME_32BITUIDS]: Remove conditional code.
40414         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40415         <kernel-features.h>.
40416         [__ASSUME_32BITUIDS]: Make code unconditional.
40417         [!__ASSUME_32BITUIDS]: Remove conditional code.
40418         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40419         <kernel-features.h>.
40420         [__ASSUME_32BITUIDS]: Make code unconditional.
40421         [!__ASSUME_32BITUIDS]: Remove conditional code.
40422         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40423         <kernel-features.h>.
40424         [__ASSUME_32BITUIDS]: Make code unconditional.
40425         [!__ASSUME_32BITUIDS]: Remove conditional code.
40426         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40427         <kernel-features.h>.
40428         [__ASSUME_32BITUIDS]: Make code unconditional.
40429         [!__ASSUME_32BITUIDS]: Remove conditional code.
40430         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40431         <kernel-features.h>.
40432         [__ASSUME_32BITUIDS]: Make code unconditional.
40433         [!__ASSUME_32BITUIDS]: Remove conditional code.
40434         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40435         <kernel-features.h>.
40436         [__ASSUME_32BITUIDS]: Make code unconditional.
40437         [!__ASSUME_32BITUIDS]: Remove conditional code.
40438         * sysdeps/unix/sysv/linux/kernel-features.h
40439         (__ASSUME_SETRESUID_SYSCALL): Remove.
40440         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40441         (__ASSUME_32BITUIDS): Likewise.
40442         (__ASSUME_LDT_WORKS): Likewise.
40443         (__ASSUME_O_DIRECTORY): Likewise.
40444         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40445         architecture but not kernel version.
40446         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40447         (__ASSUME_MMAP2_SYSCALL): Likewise.
40448         (__ASSUME_STAT64_SYSCALL): Likewise.
40449         (__ASSUME_IPC64): Likewise.
40450         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40451         <kernel-features.h>.
40452         [__ASSUME_32BITUIDS]: Make code unconditional.
40453         [!__ASSUME_32BITUIDS]: Remove conditional code.
40454         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40455         <kernel-features.h>.
40456         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40457         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40458         132096]: Remove conditional code.
40459         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40460         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40461         <kernel-features.h>.
40462         [__ASSUME_32BITUIDS]: Make code unconditional.
40463         [!__ASSUME_32BITUIDS]: Remove conditional code.
40464         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40465         <kernel-features.h>.
40466         [__ASSUME_32BITUIDS]: Make code unconditional.
40467         [!__ASSUME_32BITUIDS]: Remove conditional code.
40468         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40469         <kernel-features.h>.
40470         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40471         unconditional.
40472         (__setresgid): Do not declare.
40473         [__ASSUME_32BITUIDS]: Make code unconditional.
40474         [!__ASSUME_32BITUIDS]: Remove conditional code.
40475         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40476         <kernel-features.h>.
40477         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40478         unconditional.
40479         (__setresuid): Do not declare.
40480         [__ASSUME_32BITUIDS]: Make code unconditional.
40481         [!__ASSUME_32BITUIDS]: Remove conditional code.
40482         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40483         <kernel-features.h>.
40484         [__ASSUME_32BITUIDS]: Make code unconditional.
40485         [!__ASSUME_32BITUIDS]: Remove conditional code.
40486         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40487         <kernel-features.h>.
40488         [__ASSUME_32BITUIDS]: Make code unconditional.
40489         [!__ASSUME_32BITUIDS]: Remove conditional code.
40490
40491 2012-05-25  Richard Henderson  <rth@twiddle.net>
40492
40493         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40494         dl_hwcap to ifunc resolver.
40495         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40496         elf_ifunc_invoke.
40497         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40498         dl_hwcap to ifunc resolver.
40499         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40500
40501 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40502
40503         [BZ #14153]
40504         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40505         for |x| <= 2**-26, not 2**-57.
40506         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40507         exception.
40508
40509 2012-05-24  Jeff Law  <law@redhat.com>
40510
40511         * stdio-common/Makefile (tests): Add bug25.
40512         * stdio-common/bug25.c: New test.
40513
40514 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40515
40516         [BZ #13576]
40517         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40518         multiple of MALLOC_ALIGNMENT in size.
40519         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40520
40521 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40522
40523         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40524         Require >= 256.
40525         (FILENAME_MAX): Use macro-int-constant.
40526         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40527         (_IOFBF): Use macro-int-constant.
40528         (_IOLBF): Likewise.
40529         (_IONBF): Likewise.
40530         (SEEK_CUR): Likewise.
40531         (SEEK_END): Likewise.
40532         (SEEK_SET): Likewise.
40533         (TMP_MAX): Likewise.
40534         (EOF): Use macro-int-constant.  Require < 0.
40535         (NULL): Use macro-constant.  Require == 0.
40536         (stdin): Require type to be FILE *.
40537         (stdout): Likewise.
40538         (stderr): Likewise.
40539         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40540         macro-int-constant.
40541         (EXIT_SUCCESS): Likewise.
40542         (NULL): Use macro-constant.  Require == 0.
40543         (RAND_MAX): Use macro-int-constant.
40544         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40545         [C99-based standards] (strtof): Require function.
40546         [C99-based standards] (strtold): Likewise.
40547         [C99-based standards] (strtoll): Likewise.
40548         [C99-based standards] (strtoull): Likewise.
40549         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40550         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40551         [ISO || ISO99 || ISO11] (math.h): Likewise.
40552         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40553         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40555
40556 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40557
40558         [BZ #14132]
40559         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40560         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40561         * intl/dgettext.c (DCGETTEXT): Likewise.
40562         * intl/gettext.c (DCGETTEXT): Likewise.
40563         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40564         * posix/regex_internal.h (gettext): Likewise.
40565         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40566         Remove declaration.
40567         * include/argz.h (__argz_count_internal)
40568         (__argz_stringify_internal): Remove declaration.
40569         (__argz_count, __argz_stringify): Declare hidden proto.
40570         * intl/dcgettext.c: Remove use of INTDEF.
40571         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40572         * string/argz-stringify.c: Likewise.
40573         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40574         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40575         Declare hidden proto.
40576         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40577         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40578         Declare hidden proto.
40579         * include/stdio.h (__asprintf_internal): Don't declare.
40580         (__asprintf): Don't define as macro.  Declare hidden proto.
40581         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40582         (__fsetlocking): Declare hidden proto.
40583         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40584         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40585         hidden proto.
40586         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40587         (_IO_setlinebuf): Remove use of INTUSE.
40588         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40589         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40590         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40591         Remove declaration.
40592         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40593         (_IO_do_flush): Remove use of INTUSE.
40594         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40595         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40596         (_IO_adjust_column, _IO_least_wmarker)
40597         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40598         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40599         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40600         (_IO_default_doallocate, _IO_wdefault_doallocate)
40601         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40602         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40603         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40604         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40605         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40606         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40607         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40608         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40609         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40610         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40611         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40612         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40613         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40614         proto.
40615         (_IO_flush_all_internal, _IO_adjust_column_internal)
40616         (_IO_default_uflow_internal, _IO_default_finish_internal)
40617         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40618         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40619         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40620         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40621         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40622         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40623         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40624         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40625         (_IO_file_close_internal, _IO_file_close_it_internal)
40626         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40627         (_IO_file_init_internal, _IO_file_attach_internal)
40628         (_IO_file_fopen_internal, _IO_file_read_internal)
40629         (_IO_file_sync_internal, _IO_file_seek_internal)
40630         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40631         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40632         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40633         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40634         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40635         (_IO_list_all_internal, _IO_link_in_internal)
40636         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40637         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40638         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40639         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40640         (_IO_do_write_internal, _IO_padn_internal)
40641         (_IO_getline_info_internal, _IO_getline_internal)
40642         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40643         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40644         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40645         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40646         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40647         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40648         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40649         with libc_hidden_ver, remove use of INTUSE.
40650         * libio/genops.c: Likewise.
40651         * libio/freopen.c: Likewise.
40652         * libio/freopen64.c: Likewise.
40653         * libio/iofclose.c: Likewise.
40654         * libio/iofdopen.c: Likewise.
40655         * libio/iofflush.c: Likewise.
40656         * libio/iofflush_u.c: Likewise.
40657         * libio/iofgets.c: Likewise.
40658         * libio/iofgets_u.c: Likewise.
40659         * libio/iofopen.c: Likewise.
40660         * libio/iofopncook.c: Likewise.
40661         * libio/iofread.c: Likewise.
40662         * libio/iofread_u.c: Likewise.
40663         * libio/ioftell.c: Likewise.
40664         * libio/iofwrite.c: Likewise.
40665         * libio/iogetline.c: Likewise.
40666         * libio/iogets.c: Likewise.
40667         * libio/iogetwline.c: Likewise.
40668         * libio/iopadn.c: Likewise.
40669         * libio/iopopen.c: Likewise.
40670         * libio/ioseekoff.c: Likewise.
40671         * libio/ioseekpos.c: Likewise.
40672         * libio/iosetbuffer.c: Likewise.
40673         * libio/iosetvbuf.c: Likewise.
40674         * libio/ioungetc.c: Likewise.
40675         * libio/ioungetwc.c: Likewise.
40676         * libio/iovdprintf.c: Likewise.
40677         * libio/iovsprintf.c: Likewise.
40678         * libio/iovsscanf.c: Likewise.
40679         * libio/memstream.c: Likewise.
40680         * libio/obprintf.c: Likewise.
40681         * libio/oldfileops.c: Likewise.
40682         * libio/oldiofclose.c: Likewise.
40683         * libio/oldiofdopen.c: Likewise.
40684         * libio/oldiofopen.c: Likewise.
40685         * libio/oldiopopen.c: Likewise.
40686         * libio/oldstdfiles.c: Likewise.
40687         * libio/putc.c: Likewise.
40688         * libio/setbuf.c: Likewise.
40689         * libio/setlinebuf.c: Likewise.
40690         * libio/stdfiles.c: Likewise.
40691         * libio/strops.c: Likewise.
40692         * libio/vasprintf.c: Likewise.
40693         * libio/vscanf.c: Likewise.
40694         * libio/vsnprintf.c: Likewise.
40695         * libio/vswprintf.c: Likewise.
40696         * libio/wfiledoalloc.c: Likewise.
40697         * libio/wfileops.c: Likewise.
40698         * libio/wgenops.c: Likewise.
40699         * libio/wmemstream.c: Likewise.
40700         * libio/wstrops.c: Likewise.
40701         * libio/__fpurge.c: Likewise.
40702         * libio/__fsetlocking.c: Likewise.
40703         * assert/assert.c: Likewise.
40704         * debug/fgets_chk.c: Likewise.
40705         * debug/fgets_u_chk.c: Likewise.
40706         * debug/fread_chk.c: Likewise.
40707         * debug/fread_u_chk.c: Likewise.
40708         * debug/gets_chk.c: Likewise.
40709         * debug/obprintf_chk.c: Likewise.
40710         * debug/vasprintf_chk.c: Likewise.
40711         * debug/vdprintf_chk.c: Likewise.
40712         * debug/vsnprintf_chk.c: Likewise.
40713         * debug/vsprintf_chk.c: Likewise.
40714         * malloc/mtrace.c: Likewise.
40715         * misc/error.c: Likewise.
40716         * misc/syslog.c: Likewise.
40717         * stdio-common/asprintf.c: Likewise.
40718         * stdio-common/fxprintf.c: Likewise.
40719         * stdio-common/getw.c: Likewise.
40720         * stdio-common/isoc99_fscanf.c: Likewise.
40721         * stdio-common/isoc99_scanf.c: Likewise.
40722         * stdio-common/isoc99_vfscanf.c: Likewise.
40723         * stdio-common/isoc99_vscanf.c: Likewise.
40724         * stdio-common/isoc99_vsscanf.c: Likewise.
40725         * stdio-common/printf-prs.c: Likewise.
40726         * stdio-common/printf_fp.c: Likewise.
40727         * stdio-common/printf_fphex.c: Likewise.
40728         * stdio-common/printf_size.c: Likewise.
40729         * stdio-common/putw.c: Likewise.
40730         * stdio-common/scanf.c: Likewise.
40731         * stdio-common/sprintf.c: Likewise.
40732         * stdio-common/tmpfile.c: Likewise.
40733         * stdio-common/vfprintf.c: Likewise.
40734         * stdio-common/vfscanf.c: Likewise.
40735         * stdlib/strfmon_l.c: Likewise.
40736         * sunrpc/openchild.c: Likewise.
40737         * sunrpc/xdr_stdio.c: Likewise.
40738         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40739         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40740
40741 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40742
40743         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40744
40745         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40746         in the third column, to generate for the shared library an IFUNC
40747         that uses _dl_vdso_vsym.
40748         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40749         * Makeconfig (object-suffixes-noshared): New variable.
40750
40751         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40752         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40753         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40754         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40755
40756         [BZ #14132]
40757         * include/sys/time.h (__gettimeofday): Remove macro.
40758         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40759         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40760         Remove INTDEF.
40761         (__gettimeofday): Add libc_hidden_def.
40762         (gettimeofday): Add libc_hidden_weak.
40763         * sysdeps/mach/gettimeofday.c: Likewise.
40764         * sysdeps/posix/gettimeofday.c: Likewise.
40765         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40766         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40767         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40768         (__gettimeofday_internal): Remove strong_alias.
40769         (__gettimeofday): Add libc_hidden_def.
40770         (gettimeofday): Add libc_hidden_weak.
40771         * sysdeps/unix/syscalls.list (gettimeofday):
40772         Remove __gettimeofday_internal alias.
40773
40774 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40775             H.J. Lu  <hongjiu.lu@intel.com>
40776
40777         [BZ #12495]
40778         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40779         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40780         (largebin_index_32_big): New.
40781         (largebin_index): Use it for 16-byte alignment.
40782         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40783         correction with front_misalign.
40784
40785 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40786
40787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40789         Likewise.
40790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40791         Likewise.
40792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40793         Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40795         Likewise.
40796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40797         Likewise.
40798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40799         Likewise.
40800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40801         Likewise.
40802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40803         Likewise.
40804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40805         Likewise.
40806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40807         Likewise.
40808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40809         Likewise.
40810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40811         Likewise.
40812
40813         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40814         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40815
40816 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40817
40818         [BZ #10846]
40819         [BZ #14036]
40820         * math/libm-test.inc (exp_test): Add test from bug 14036.
40821         (pow_test): Add test from bug 10846.
40822
40823         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40824         and other flags.
40825         (special_function): Do not include flags in test name.
40826         (parse_args): Likewise.
40827         * sysdeps/i386/fpu/libm-test-ulps: Update.
40828         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40830         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40832
40833         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40834         exceptions.
40835         * math/libm-test.inc ("Philosophy"): Update comment about
40836         exception testing.
40837         (UNDERFLOW_EXCEPTION): New macro.
40838         (UNDERFLOW_EXCEPTION_OK): Likewise.
40839         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40840         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40841         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40842         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40843         (INVALID_EXCEPTION_OK): Update value.
40844         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40845         (OVERFLOW_EXCEPTION_OK): Likewise.
40846         (IGNORE_ZERO_INF_SIGN): Likewise.
40847         (test_exceptions): Handle underflow exceptions.
40848         (acos_test): Update for underflow exception expectations.
40849         (cexp_test): Likewise.
40850         (clog_test): Likewise.
40851         (clog10_test): Likewise.
40852         (csqrt_test): Likewise.
40853         (ctan_test): Likewise.
40854         (ctanh_test): Likewise.
40855         (exp_test): Likewise.
40856         (exp10_test): Likewise.
40857         (exp2_test): Likewise.
40858         (expm1_test): Likewise.
40859         (fma_test): Likewise.
40860         (j0_test): Likewise.
40861         (jn_test): Likewise.
40862         (nexttoward_test): Likewise.
40863         (pow_test): Likewise.
40864         (scalbn_test): Likewise.
40865         (scalbln_test): Likewise.
40866         (tan_test): Likewise.
40867         (y1_test): Likewise.
40868         * sysdeps/i386/fpu/libm-test-ulps: Update.
40869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870
40871 2012-05-23  David S. Miller  <davem@davemloft.net>
40872
40873         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40874         (__libc_sigaction): Remove unused local variables.
40875
40876 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40877
40878         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40879
40880 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40881
40882         mktime: avoid signed integer overflow
40883         * time/mktime.c (__mktime_internal): Do not mishandle the case
40884         where diff == INT_MIN.
40885
40886         mktime: simplify computation of average
40887         * time/mktime.c (ranged_convert): Use new time_t_avg function
40888         instead of rolling our own (probably-slower) code.
40889
40890         mktime: do not assume signed right shift propagates sign bit
40891         * time/mktime.c (isdst_differ): New static function.
40892         (__mktime_internal): No need to normalize tm_isdst now.
40893         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40894         tm_isdst values.
40895
40896         mktime: merge another wrapv change from gnulib
40897         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40898         from some compilers.
40899
40900         mktime: remove incorrect attempt at unusual arithmetics
40901         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40902         The code didn't really work on such machines anyway.
40903         (TYPE_MINIMUM): Assume two's complement.
40904         (twos_complement_arithmetic): Verify that long_int and time_t
40905         are two's complement (or unsigned, in the latter case).
40906
40907         mktime: check signed shifts on long_int and time_t, too
40908         * time/mktime.c (SHR): Check that shifts work as desired
40909         on the types long_int and time_t too, as SHR is used on
40910         such types.
40911
40912         mktime: do not assume 'long' is wide enough
40913         * time/mktime.c (verify): Move decl up.
40914         (long_int): New type.
40915         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40916         to remove assumption in the code that 'long' is wide enough to
40917         store year values.  This assumption is not true on x32 and on
40918         some non-glibc platforms.
40919
40920         mktime: merge wrapv change from gnulib
40921         * time/mktime.c (WRAPV): New macro.
40922         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40923         (guess_time_tm, __mktime_internal): Do not assume that signed
40924         integer overflow wraps around; modern compilers generate code
40925         where this assumption is no longer valid.
40926
40927 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40928
40929         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40930         Replace "jmp L(pseudo_end)" with "ret".
40931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40932         Likewise.
40933
40934 2012-05-23  Andreas Jaeger  <aj@suse.de>
40935
40936         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40937         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40938
40939 2012-05-23  Andreas Jaeger  <aj@suse.de>
40940             Maximilian Attems  <max@stro.at>
40941
40942         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40943         New macros.
40944
40945 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40946
40947         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40948         code so that pseudo_end is just ret and the stack pointer is
40949         correct also for static library in error case.
40950
40951 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40952
40953         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40954         move to syscalls.list.
40955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40959
40960         * manual/install.texi (Running make install): Do not mention Linux
40961         kernel version for which pt_chown is not needed.
40962         (Linux): Do not mention problems with nscd with 2.0 kernels.
40963         * INSTALL: Regenerated.
40964
40965 2012-05-23  Andreas Jaeger  <aj@suse.de>
40966
40967         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40968         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40969         macro.
40970         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40971         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40972         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40973         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40974         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40975         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40977         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40978         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40979         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40980         * sysdeps/unix/sysv/linux/bits/in.h
40981         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40982
40983 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40984
40985         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40986         (PREPARE_VERSION): Just use assert instead, it will be elided
40987         under [NDEBUG] anyway.
40988
40989 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40990
40991         * sysdeps/unix/sysv/linux/Makefile: Include
40992         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40993         (sysdep_routines): Remove sysctl.
40994         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40995         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40996         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40997         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40998         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40999
41000 2012-05-22  Andreas Jaeger  <aj@suse.de>
41001
41002         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41003         that pseudo_end is just ret and the stack pointer is correct also
41004         for static library in error case.
41005
41006 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41007
41008         [BZ #14122]
41009         * nss/nsswitch.c (defconfig_entries): New variable.
41010         (__nss_database_lookup): Don't leak defconfig entries.
41011         (nss_parse_service_list): Don't leak on error paths.
41012         (free_database_entries): New function.
41013         (free_defconfig): New function.
41014         (free_mem): Move common code to free_database_entries.
41015
41016 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41017
41018         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41019         Add arch_prctl.
41020         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41021
41022         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41023         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41025         New macro.
41026         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41027         (INTERNAL_SYSCALL_TYPES): Likewise.
41028         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41029         (LOAD_REGS_TYPES_[1-6]): Likewise.
41030         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41031         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41032
41033 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41034
41035         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41036         copysignl for GLIBC_2_0.
41037         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41038         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41039         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41040         logbl for GLIBC_2_0.
41041         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41042         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41043
41044 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41045
41046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41047         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41048
41049         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41050         Use "neg %eax".
41051
41052         * time/mktime.c: Update copyright years.
41053
41054 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41055
41056         mktime: merge comment-quoting-style change from gnulib
41057         * time/mktime.c: Quote 'like this' in comments.
41058         The GNU coding standards suggest that we no longer quote `like this',
41059         as "`" and "'" are typically rendered asymmetrically nowadays.
41060         The typical gnulib style is to quote 'like this' when quoting
41061         code, and "like this" when quoting English.
41062
41063         * time/mktime.c (compile-command): Add "-I.".
41064
41065         mktime: merge mktime-internal.h change from gnulib
41066         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41067
41068         mktime: merge time_r change from gnulib
41069         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41070
41071         mktime: merge DEBUG change from gnulib
41072         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41073         case system <time.h> has a #define.
41074
41075         mktime: merge <sys/types.h> change from gnulib
41076         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41077         since <time.t> is now guaranteed to define time_t.
41078
41079         mktime: merge HAVE_CONFIG_H change from gnulib
41080         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41081
41082 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41083
41084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41085         Use "neg %eax".
41086
41087         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41088         __rlim_t cast.
41089         (struct rusage): Use anonymous union to pad each field to
41090         __syscall_slong_t.
41091
41092 2012-05-21  David S. Miller  <davem@davemloft.net>
41093
41094         * Makefules (o-iterator): Remove .s cases.
41095         (compile-command.s): Delete.
41096         (COMPILE.s): Delete.
41097         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41098
41099 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41100
41101         * configure.in (libc_cv_predef_stack_protector): Only consider
41102         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41103         * configure: Regenerated.
41104
41105 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41106
41107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41108         New macro.  Use R*LP on int and pointer.
41109         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41110         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41111         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41112         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41113
41114         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41115         [__WORDSIZE_TIME64_COMPAT32] instead of
41116         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41117         (struct utmp): Likewise.
41118         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41119         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41120         Renamed to ...
41121         (__WORDSIZE_TIME64_COMPAT32): This.
41122         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41123         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41124         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41125         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41126         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41127         (__WORDSIZE_TIME64_COMPAT32): New macro.
41128
41129 2012-05-21  Andreas Jaeger  <aj@suse.de>
41130
41131         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41132         only if [SHARED]. Add prototype for __wcschr_ia32.
41133
41134 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41135
41136         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41137         of %rbp unmolested in the jmp_buf while mangling the low bits.
41138         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41139         unmolested high bits of %rbp while demangling the low bits.
41140         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41141
41142 2012-05-21  Andreas Jaeger  <aj@suse.de>
41143
41144         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41145         * sunrpc/svc_simple.c: Use it for registerrpc.
41146         * sunrpc/xcrypt.c: Use it for passwd2des.
41147
41148         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41149
41150 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41151
41152         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41153         Don't define if [__SYSCALL_WORDSIZE != 32].
41154         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41155         New macro.
41156
41157 2012-05-21  Bruno Haible  <bruno@clisp.org>
41158             Andreas Jaeger  <aj@suse.de>
41159
41160         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41161         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41162         inptr and inend for must_buffer_ch.
41163         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41164         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41165         * stdio-common/Makefile (tests): Remove bug15.
41166         (bug15-ENV): Remove macro.
41167         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41168         anymore.
41169
41170 2012-05-19  Andreas Jaeger  <aj@suse.de>
41171             Roland McGrath  <roland@hack.frob.com>
41172
41173         * manual/contrib.texi: Completely rewritten. It contains now an
41174         alphabetical list of contributors and their contributions.
41175
41176 2012-05-21  Richard Henderson  <rth@twiddle.net>
41177
41178         * misc/getauxval.c (__getauxval): Use unsigned long int.
41179         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41180         (getauxval): Use unsigned long int.
41181
41182 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41183
41184         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41185
41186 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41187
41188         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41189         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41190         __alignof__ (long double).
41191
41192 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41193
41194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41195
41196 2012-05-20  Richard Henderson  <rth@twiddle.net>
41197
41198         * misc/getauxval.c: New file.
41199         * misc/sys/auxv.h: New file.
41200         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41201         (routines): Add getauxval.
41202         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41203         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41204         * elf/dl-sysdep.c (_dl_auxv): Remove.
41205         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41206         * elf/dl-support.c (_dl_auxv): New variable.
41207         (_dl_aux_init): Initialize it.
41208         * manual/startup.texi (Auxiliary Vector): New node.
41209         * sysdeps/generic/bits/hwcap.h: New file.
41210         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41211         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41212         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41213         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41214         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41215         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41217         Update.
41218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41226
41227 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41228
41229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41230
41231 2012-05-19  David S. Miller  <davem@davemloft.net>
41232
41233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41234
41235 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41236
41237         [BZ #14123]
41238         * math/s_ccosh.c: Include <float.h>
41239         (__ccosh): Avoid internal overflow calculating sinh and cosh
41240         values before multiplying by sin and cos values.
41241         * math/s_ccoshf.c: Likewise.
41242         * math/s_ccoshl.c: Likewise.
41243         * math/s_csin.c: Likewise.
41244         * math/s_csinf.c: Likewise.
41245         * math/s_csinl.c: Likewise.
41246         * math/s_csinh.c: Likewise.
41247         * math/s_csinhf.c: Likewise.
41248         * math/s_csinhl.c: Likewise.
41249         * math/libm-test.inc (ccos_test): Add more tests.
41250         (ccosh_test): Likewise.
41251         (csin_test): Likewise.
41252         (csinh_test): Likewise.
41253         * sysdeps/i386/fpu/libm-test-ulps: Update.
41254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41255
41256 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41257
41258         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41259         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41260
41261         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41262
41263 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41264
41265         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41266         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41267         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41268         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41269         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41270         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41271         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41272         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41273         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41274         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41275         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41276         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41277         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41278         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41279         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41280         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41281         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41282         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41283         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41284         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41285         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41286         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41287         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41288         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41289         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41290         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41291         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41292         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41293         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41294         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41295         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41296
41297 2012-05-18  Andreas Jaeger  <aj@suse.de>
41298
41299         * csu/.gitignore: Delete.
41300
41301 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41302
41303         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41304         (timex): Use __syscall_slong_t.
41305
41306 2012-05-18  Andreas Jaeger  <aj@suse.de>
41307             Carlos O'Donell  <carlos_odonell@mentor.com>
41308
41309         * manual/install.texi (Configuring and compiling): Update
41310         description about files modified in the source directory.
41311         * INSTALL: Regenerated.
41312
41313 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41314
41315         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41316         value.  Use "or" to set return value to -1.
41317         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41318         negate return value.
41319
41320 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41321
41322         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41323         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41324         failure if the compiler has Graphite support disabled.
41325         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41326         Likewise.
41327         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41328         (CFLAGS-memmove.c): Likewise.
41329         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41330         Likewise.
41331
41332 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41333
41334         * sysdeps/x86_64/x32/_itoa.h: New file.
41335
41336         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41337         getdents system call only if kernel and user dirents have the
41338         same d_ino and d_off.
41339
41340         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41341         LLONG_MAX != LONG_MAX.
41342         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41343         (_fitoa_word): Likewise.
41344
41345         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41346         years.
41347         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41348         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41349         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41350
41351         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41352         include <bits/wordsize.h>.  Check __x86_64__ instead of
41353         __WORDSIZE.
41354         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41355         if __x86_64__ is defined.  Use anonymous union on fpstate.
41356
41357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41358         anonymous union.
41359
41360 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41361
41362         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41363         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41364         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41365         Refer to _rtld_local_ro instead of _rtld_global_ro.
41366         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41367         Likewise.
41368         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41369         Likewise.
41370         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41371         Likewise.
41372         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41373         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41374         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41375
41376         * sysdeps/powerpc/powerpc32/dl-machine.c
41377         (__elf_machine_runtime_setup) [PROF]: Don't reference
41378         _dl_prof_resolve.
41379
41380 2012-05-18  Andreas Jaeger  <aj@suse.de>
41381
41382         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41383         function only available for GCCs before 3.4 since GCC 3.4
41384         introduced a builtin.
41385         (lrint): Likewise.
41386         (llrintf): Likewise.
41387         (llrint): Likewise.
41388         (fmaxf): Likewise.
41389         (fmax): Likewise.
41390         (fminf): Likewise.
41391         (fmin): Likewise.
41392         (rint): Likewise.
41393         (rintf): Likewise.
41394         (nearbyint): Likewise.
41395         (nearbyintf): Likewise.
41396         (ceil): Likewise.
41397         (ceilf): Likewise.
41398         (floor): Likewise.
41399         (floorf): Likewise.
41400
41401 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41402
41403         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41404         on both fields and cast pointer to __syscall_ulong_t.
41405
41406         * bits/types.h (__fsword_t): New type.
41407         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41408         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41410         (__FSWORD_T_TYPE): Likewise.
41411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41412         (__FSWORD_T_TYPE): Likewise.
41413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41414         (__FSWORD_T_TYPE): Likewise.
41415         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41416         (__FSWORD_T_TYPE): Likewise.
41417         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41418         __SWORD_TYPE with __fsword_t.
41419         (statfs64): Likewise.
41420
41421 2012-05-17  David S. Miller  <davem@davemloft.net>
41422
41423         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41424
41425 2012-05-17  Andreas Jaeger  <aj@suse.de>
41426
41427         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41428         warning.
41429
41430 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41431
41432         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41433
41434 2012-05-17  Andreas Jaeger  <aj@suse.de>
41435
41436         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41437         when it is used.
41438
41439 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41440
41441         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41442
41443 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41444
41445         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41446         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41447
41448 2012-05-17  Andreas Jaeger  <aj@suse.de>
41449             Carlos O'Donell  <carlos_odonell@mentor.com>
41450
41451         [BZ #14059]
41452         * sysdeps/x86_64/multiarch/init-arch.h
41453         (bit_YMM_Usable): Rename to...
41454         (bit_AVX_Usable): ... this.
41455         (bit_FMA4_Usable): New macro.
41456         (bit_XMM_state): New macro.
41457         (bit_YMM_state): New macro.
41458         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41459         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41460         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41461         (CPUID_OSXSAVE): New macro.
41462         (CPUID_AVX): New macro.
41463         (CPUID_FMA4): New macro.
41464         (index_YMM_Usable): Rename to...
41465         (index_AVX_Usable): ... this.
41466         (HAS_AVX): Use HAS_ARCH_FEATURE.
41467         (HAS_FMA4): Likewise.
41468         (HAS_YMM_USABLE): Remove.
41469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41470         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41471         are present.
41472         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41473         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41474         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41475         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41476         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41477
41478 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41479
41480         * math/libm-test.c: Support platforms without multiple rounding modes.
41481         * math/bug-nextafter.c: Support platforms without FP exceptions.
41482         * math/bug-nexttoward.c: Likewise.
41483         * math/test-fenv.c: Likewise.
41484         * math/test-misc.c: Likewise.
41485         * stdlib/bug-getcontext.c: Likewise.
41486
41487 2012-05-17  Andreas Jaeger  <aj@suse.de>
41488
41489         * manual/examples/search.c (critter_cmp): Change signature to
41490         avoid warnings.
41491         * manual/string.texi (Collation Functions): Likewise.
41492
41493 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41494
41495         * bits/types.h: Fold copyright years.
41496         * bits/typesizes.h: Likewise.
41497         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41500         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41501         * time/time.h: Likewise.
41502
41503 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41504
41505         [BZ #208]
41506         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41507         in instead of returning them.  Return void.
41508         (__libc_mallinfo): Accumulate over all arenas.
41509         (__malloc_stats): Adjust for change in int_mallinfo interface.
41510
41511 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41512
41513         [BZ #10375]
41514         * configure.in (NM): Add AC_CHECK_TOOL for it.
41515         (libc_extra_cflags): New substituted variable.
41516         Check for -fstack-protector being used implicitly.
41517         * configure: Regenerated.
41518         * config.make.in (config-extra-cflags): New variable,
41519         gets @libc_extra_cflags@.
41520         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41521
41522         [BZ #10375]
41523         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41524         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41525         * configure: Regenerated.
41526         * config.make.in (CPPUNDEFS): New substituted variable.
41527         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41528         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41529         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41530
41531 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41532
41533         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41534         (mq_attr): Use __syscall_slong_t.
41535
41536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41537
41538         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41539         Check __x86_64__ instead of __WORDSIZE.
41540         (_STAT_VER_LINUX): Likewise.
41541         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41542         __syscall_ulong_t and __syscall_slong_t.
41543         (stat64): Likewise.
41544
41545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41546
41547         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41548
41549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41550
41551         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41552
41553 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41554
41555         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41556         __syscall_ulong_t.
41557
41558         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41559         include <bits/wordsize.h>.  Check __x86_64__ instead of
41560         __WORDSIZE.
41561         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41562         defined.
41563         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41564
41565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41566         include <bits/wordsize.h>.  Check __x86_64__ instead of
41567         __WORDSIZE.
41568         (user_regs_struct): Use "__extension__ unsigned long long"
41569         instead of "unsigned long" if __x86_64__ is defined.
41570         (user): Likewise.  Pad after pointer field if __ILP32__ is
41571         defined.
41572
41573 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41574
41575         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41576         versions 5 to 9.
41577         * configure: Regenerated.
41578         * manual/install.texi (texinfo): Increase version requirement to
41579         4.5 or later.
41580         * INSTALL: Regenerated.
41581
41582         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41583
41584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41585
41586         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41587
41588         * sysdeps/x86_64/x32/ffs.c: New file.
41589
41590         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41591         __syscall_ulong_t.
41592         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41593         defined.  Use __syscall_ulong_t.
41594         (shminfo): Use __syscall_ulong_t.
41595         (shm_info): Likewise.
41596
41597         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41598         __syscall_ulong_t.
41599
41600         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41601         <bits/wordsize.h>.
41602         (msgqnum_t): Use __syscall_ulong_t.
41603         (msglen_t): Likewise.
41604         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41605         __syscall_ulong_t.
41606
41607         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41608         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41609
41610         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41611
41612         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41613         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41614
41615         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41616         __syscall_slong_t.
41617
41618         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41619         include <bits/wordsize.h>.  Check __x86_64__ instead of
41620         __WORDSIZE.
41621
41622         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41623         "unsigned long long int" if __x86_64__ is defined.
41624         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41625
41626         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41627         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41628         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41629
41630         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41631         <stdint.h>.
41632         (GET_PC): Cast to uintptr_t first.
41633         (GET_FRAME): Likewise.
41634         (GET_STACK): Likewise.
41635
41636         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41637         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41638         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41639         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41640         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41641         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41642         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41643         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41644         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41645         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41646         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41647         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41648         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41649         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41650         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41651         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41652         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41653         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41654         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41655         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41656         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41657         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41658         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41659         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41660         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41661         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41662         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41663         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41664         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41665
41666 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41667
41668         * Makerules (+depfiles): Also collect depfiles from .oS in
41669         $(extra-objs).
41670         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41671         .oS, $(libnldbl-routines)).
41672
41673         * Makerules (native-compile-mkdep-flags): Define.
41674         * sunrpc/Makefile (extra-objs): Add $(addprefix
41675         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41676         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41677         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41678         calling $(make-target-directory).
41679
41680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41681
41682         * bits/types.h (__snseconds_t): Removed.
41683         * time/time.h (struct timespec): Replace __snseconds_t with
41684         __syscall_slong_t.
41685         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41686         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41687         Likewise.
41688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41689         (__SNSECONDS_T_TYPE): Likewise.
41690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41691         (__SNSECONDS_T_TYPE): Likewise.
41692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41693         (__SNSECONDS_T_TYPE): Likewise.
41694
41695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41696
41697         * sysdeps/mach/hurd/bits/typesizes.h
41698         (__SYSCALL_SLONG_TYPE): New macro.
41699         (__SYSCALL_ULONG_TYPE): Likewise.
41700
41701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41702
41703         * bits/types.h (__syscall_slong_t): New type.
41704         (__syscall_ulong_t): Likewise.
41705
41706         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41707         (__SYSCALL_ULONG_TYPE): Likewise.
41708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41709         (__SYSCALL_SLONG_TYPE): Likewise.
41710         (__SYSCALL_ULONG_TYPE): Likewise.
41711         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41712         (__SYSCALL_SLONG_TYPE): Likewise.
41713         (__SYSCALL_ULONG_TYPE): Likewise.
41714         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41715         (__SYSCALL_SLONG_TYPE): Likewise.
41716         (__SYSCALL_ULONG_TYPE): Likewise.
41717
41718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41719
41720         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41721         Add sigaltstack-offsets.sym.
41722         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41723         <sigaltstack-offsets.h>.
41724         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41725         longjmp_msg pointer.
41726         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41727         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41728         signal stack.
41729         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41730
41731 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41732
41733         * elf/stackguard-macros.h: Remove file.
41734         * sysdeps/generic/stackguard-macros.h: New file.
41735         * sysdeps/i386/stackguard-macros.h: Likewise.
41736         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41737         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41738         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41739         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41740         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41741         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41742         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41743         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41744         <elf/stackguard-macros.h>.
41745
41746         [BZ #14109]
41747         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41748         __aligned__ in attribute.
41749         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41750         (gregset_t): Likewise.
41751
41752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41753
41754         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41755         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41756         * sysdeps/x86_64/x32/Implies-after: New file.
41757
41758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41759
41760         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41761         and access return value for _dl_profile_fixup.  Use R10_LP to
41762         load frame size.
41763
41764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41765
41766         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41767
41768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41769
41770         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41771         * sysdeps/x86_64/x32/sysdep.h: New file.
41772
41773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41774
41775         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41776         * sysdeps/x86_64/setjmp.S: Likewise.
41777
41778 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41779
41780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41781         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41782         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41783         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41784         remove unused global constant.
41785
41786 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41787
41788         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41789         include of <not-cancel.h>.
41790
41791 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41792
41793         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41794
41795 2012-05-15  Jeff Law  <law@redhat.com>
41796             Andreas Jaeger  <aj@suse.de>
41797
41798         [BZ #13594]
41799         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41800         out from...
41801         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41802         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41803         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41804         code changing __hst_map_handle.map.
41805
41806 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41807
41808         * configure.in (sysnames): Look for Implies-before and Implies-after
41809         files.
41810         * configure: Regenerated.
41811
41812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41813
41814         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41815         8-byte data alignment with LP_SIZE alignment.
41816
41817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41818
41819         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41820         into R10_LP.
41821
41822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41823
41824         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41825
41826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41827
41828         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41829         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41830         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41831         Likewise.
41832         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41833
41834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41835
41836         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41837         (stackinfo_sub_sp): Likewise.
41838
41839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41840
41841         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41842         RAX_LP.
41843
41844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41845
41846         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41847         into R*_LP.
41848
41849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41850
41851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41852         sizes into R*_LP.
41853
41854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41855
41856         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41857
41858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41859
41860         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41861         into R11_LP and load __x86_64_shared_cache_size_half into
41862         R8_LP.
41863
41864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41865
41866         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41867         R8_LP.
41868
41869 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41870
41871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41872         logb for POWER7.
41873         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41874         logbf for POWER7.
41875         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41876         logbl for POWER7.
41877         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41878         powerpc32/power7/fpu/s_logb.c via #include.
41879         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41880         powerpc32/power7/fpu/s_logbf.c via #include.
41881         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41882         powerpc32/power7/fpu/s_logbl.c via #include.
41883
41884 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41885
41886         * README.libm: Remove file.
41887
41888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41889
41890         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41891         count for x32.  Use R*_LP and omit operand-size suffix.
41892
41893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41894
41895         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41896         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41897         * sysdeps/x86_64/x32/shlib-versions: New file.
41898
41899 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41900
41901         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41902         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41903         Use _dl_fatal_printf instead.
41904
41905 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41906
41907         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41908         set if not set by the user.  Do not allow for being unset.
41909         * sysdeps/unix/sysv/linux/configure: Regenerated.
41910
41911 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41912
41913         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41914         the `q' suffix from lea and replace .quad with ASM_ADDR.
41915
41916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41917
41918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41919         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41920         instead of $17.
41921         (PTR_DEMANGLE): Likewise.
41922
41923 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41924
41925         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41926         (LP_OP): Likewise.
41927         (ASM_ADDR): Likewise.
41928         (RAX_LP): Likewise.
41929         (RBP_LP): Likewise.
41930         (RBX_LP): Likewise.
41931         (RCX_LP): Likewise.
41932         (RDI_LP): Likewise.
41933         (RSI_LP): Likewise.
41934         (RSP_LP): Likewise.
41935         (R8_LP): Likewise.
41936         (R9_LP): Likewise.
41937         (R10_LP): Likewise.
41938         (R10_LP): Likewise.
41939         (R11_LP): Likewise.
41940         (R12_LP): Likewise.
41941         (R13_LP): Likewise.
41942         (R14_LP): Likewise.
41943         (R15_LP): Likewise.
41944
41945 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41946
41947         * sysdeps/x86_64/x32/dl-machine.h: New file.
41948
41949 2012-05-14  Andreas Jaeger  <aj@suse.de>
41950
41951         * manual/Makefile (subdir): Remove export of subdir.
41952         (all): Remove target.
41953         (.PHONY): Remove all from list.
41954         (mkinstalldirs): Remove.
41955         (.PHONY): Remove installdirs from list.
41956         ($(inst_infodir)/libc.info): Use make-target-directory.
41957         (installdirs): Remove.
41958         (subdir_%): Remove.
41959         (glibc-targets): Remove.
41960         (lib): Remove.
41961         (stubs): Remove.
41962         ($(objpfx)stubs ../po/manual.pot): Remove.
41963         ($(objpfx)stamp%): Remove.
41964         (make-target-directory): Remove.
41965         (subdir_install): Remove.
41966         (routines): Remove.
41967         (aux): Remove.
41968         (sources): Remove.
41969         (objects): Remove.
41970         (headers): Remove.
41971
41972         [BZ #13750]
41973         * manual/.gitignore: Remove, it's not needed anymore.
41974         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41975         all files in it.
41976         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41977         directory.
41978         (texis): Renamed to $(objpfx)texis.
41979         (texis-path): New, contains path to generated files.
41980         (chapters.%): Use texis-path for complete path, add extra argument
41981         libc-texinfo.sh.
41982         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41983         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41984         (summary,texi, stamp-summary): Use complete path of
41985         files. Generate files in build dir.
41986         (dir-add.texi): Build in build dir.
41987         (libm-err.texi,stamp-libm-err): Likewise.
41988         (version.texi, stamp-version): Likewise.
41989         (.%c.texi): Likewise.
41990         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41991         (mostlyclean): Remove target.
41992         (realclean): Remove target.
41993         (generated): Add new variable with contents from mostlyclean and
41994         realclean, remove entries duplicated in common-mostlyclean, add
41995         stamp-libm-err and stamp-version.
41996         (generated-dirs): Add libc directory.
41997         ($(inst_infodir)/libc.info): Install files from build dir.
41998
41999         * manual/install.texi (Configuring and compiling): Adjust since
42000         the info files are not part of the tar ball anymore.
42001
42002 2012-05-14  Andreas Jaeger  <aj@suse.de>
42003
42004         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42005         variable.
42006
42007 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42008
42009         [BZ #13717]
42010         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42011         to 2.2.0 where earlier.
42012         * sysdeps/unix/sysv/linux/configure: Regenerated.
42013         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42014         Remove conditional code.
42015         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42016         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42017         Remove conditional code.
42018         [!__NR_lchown]: Likewise.
42019         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42020         [__NR_lchown]: Likewise.
42021         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42022         comment referencing __ASSUME_LCHOWN_SYSCALL.
42023         * sysdeps/unix/sysv/linux/i386/sigaction.c
42024         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42025         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42026         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42027         Remove conditional code.
42028         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42029         (__protocol_available): Remove #if 0 code.
42030         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42031         conditional code.
42032         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42033         * sysdeps/unix/sysv/linux/kernel-features.h
42034         (__ASSUME_GETCWD_SYSCALL): Don't define.
42035         (__ASSUME_REALTIME_SIGNALS): Likewise.
42036         (__ASSUME_PREAD_SYSCALL): Likewise.
42037         (__ASSUME_PWRITE_SYSCALL): Likewise.
42038         (__ASSUME_POLL_SYSCALL): Likewise.
42039         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42040         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42041         non-SPARC.
42042         (__ASSUME_SIOCGIFNAME): Don't define.
42043         (__ASSUME_MSG_NOSIGNAL): Likewise.
42044         (__ASSUME_SENDFILE): Define unconditionally.
42045         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42046         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42047         conditional code.
42048         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42049         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42050         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42051         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42052         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42053         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42054         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42056         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42057         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42059         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42062         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42063         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42065         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42068         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42069         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42071         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42074         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42075         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42077         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42078         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42079         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42080         Remove conditional code.
42081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42082         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42083         Remove conditional code.
42084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42085         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42086         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42087         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42088         Remove conditional code.
42089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42090         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42091         Remove conditional code.
42092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42093         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42094         Remove conditional code.
42095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42096         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42097         Remove conditional code.
42098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42099         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42100         Remove conditional code.
42101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42102         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42103         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42105         * sysdeps/unix/sysv/linux/sigaction.c
42106         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42107         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42108         * sysdeps/unix/sysv/linux/sigpending.c
42109         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42110         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42111         * sysdeps/unix/sysv/linux/sigprocmask.c
42112         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42113         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42114         * sysdeps/unix/sysv/linux/sigsuspend.c
42115         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42116         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42117         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42118         (__libc_missing_rt_sigs): Remove.
42119         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42120         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42121         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42122         Remove conditional code.
42123         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42124         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42125         return 1.
42126         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42127         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42128         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42129         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42130
42131 2012-05-14  Andreas Jaeger  <aj@suse.de>
42132
42133         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42134         it's not used in glibc.
42135         (__coshm1): Likewise.
42136         (__acosh1p): Likewise.
42137         (__sgn): Likewise.
42138
42139         * manual/string.texi (Copying and Concatenation): Add missing
42140         variable in concat example.
42141         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42142
42143 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42144
42145         [BZ #14103]
42146         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42147         __builtin_clzl with __builtin_clzll.
42148
42149 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42150
42151         [BZ #14104]
42152         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42153         libc_freeres_ptr.
42154
42155 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42156
42157         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42158         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42159         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42160         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42161
42162 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42163
42164         * NEWS: Update ia64 info.
42165
42166 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42167
42168         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42169         used as bcopy.
42170
42171 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42172
42173         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42174         * sysdeps/unix/syscalls.list (dup3): Likewise.
42175         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42176         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42177
42178 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42179
42180         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42181         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42182
42183 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42184
42185         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42186         thread pointer.
42187         (TLS_IE): Use mov/add instead of movq/addq to load thread
42188         pointer.
42189         (TLS_GD_PREFIX): New.
42190         (TLS_GD): Use it.
42191
42192 2012-05-11  David S. Miller  <davem@davemloft.net>
42193
42194         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42195         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42196         (_FPU_SETCW): Likewise.
42197
42198 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42199
42200         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42201         is 32-byte aligned.
42202
42203 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42204
42205         [BZ #11837]
42206         * iconvdata/gb18030.c: Update tables.
42207         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42208         characters specially.
42209         (BODY for TO_LOOP): Add encoding of missing ranges.
42210
42211 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42212
42213         [BZ #13673]
42214         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42215         * sysdeps/mach/hurd/dup3.c: Likewise.
42216         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42217         * sysdeps/powerpc/memmove.c:: Likewise.
42218
42219 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42220
42221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42222         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42223
42224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42225
42226         * elf/elf.h (R_X86_64_RELATIVE64): New.
42227         (R_X86_64_NUM): Updated.
42228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42229         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42230         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42231         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42232         tst-quad1pie tst-quad2pie
42233         (modules-names): Add tst-quadmod1 tst-quadmod2.
42234         ($(objpfx)tst-quad1): New dependency.
42235         ($(objpfx)tst-quad2): Likewise.
42236         ($(objpfx)tst-quad1pie): Likewise.
42237         ($(objpfx)tst-quad2pie): Likewise.
42238         * sysdeps/x86_64/tst-quad1.c: New file.
42239         * sysdeps/x86_64/tst-quad1pie.c: New file.
42240         * sysdeps/x86_64/tst-quad2.c: Likewise.
42241         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42242         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42243         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42244         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42245         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42246
42247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42248
42249         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42250         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42251         * streams/stropts.h (t_scalar_t): Define type.
42252
42253         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42254         (_PATH_PRESERVE): Set to "/var/lib".
42255         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42256
42257         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42258         instead of int.
42259
42260         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42261         if __dir_mkfile succeeded.
42262
42263         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42264         checking for _hurd_dtablesize.  Unlock it right after having
42265         finished _hurd_dtable allocation.
42266
42267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42268
42269         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42270         * sysdeps/mach/hurd/configure: Regenerated.
42271         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42272         special-casing to...
42273         * sysdeps/gnu/configure.in: ... this new file.
42274         * sysdeps/unix/sysv/linux/configure: Regenerated.
42275         * sysdeps/gnu/configure: New generated file.
42276
42277         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42278         for Linux: use nsec instead of usec, as well as:
42279         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42280         members of type struct timespec.
42281         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42282         New macros.
42283         (struct stat64): Likewise.
42284         (_STATBUF_ST_NSEC): New macro.
42285         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42286
42287         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42288         __strtoul_internal rather than strtoul.
42289
42290 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42291
42292         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42293         and reject them.
42294
42295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42296
42297         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42298         which preserves existing values.
42299         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42300
42301 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42302
42303         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42304         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42305         greater than FD_SETSIZE.
42306
42307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42308
42309         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42310         allocated, call __vm_protect to finish enabling the existing space, and
42311         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42312         allocate the remainder.
42313
42314 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42315
42316         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42317         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42318
42319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42320
42321         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42322         sysdeps/mach/hurd/readlink.c.
42323
42324         * posix/tst-sysconf.c (posix_options): Only use
42325         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42326         _POSIX_SYNCHRONIZED_IO when they are defined
42327         * sysdeps/mach/hurd/bits/posix_opt.h:
42328         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42329         (_XOPEN_REALTIME): Undefine macro.
42330         (_XOPEN_REALTIME_THREADS): Undefine macro.
42331         (_XOPEN_SHM): Undefine macro.
42332         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42333         macro to -1.
42334         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42335         macro to -1.
42336         (_POSIX_ASYNC_IO): Undefine macro.
42337         (_POSIX_PRIORITIZED_IO): Undefine macro.
42338         (_POSIX_SPIN_LOCKS): Define macro to -1.
42339
42340         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42341         SA_NODEFER, SA_RESETHAND.
42342         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42343         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42344         F_DUPFD_CLOEXEC.
42345
42346 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42347
42348         * elf/Makefile (pldd-modules): Define unconditionally.
42349
42350 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42351
42352         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42353
42354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42355
42356         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42357         Return ENOENT when name is empty.
42358         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42359
42360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42361
42362         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42363
42364         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42365
42366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42367
42368         Fix mlock in all cases except non-readable pages.
42369         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42370         instead of VM_PROT_ALL as parameter to __vm_wire function.
42371
42372         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42373         (__mkdir): When path is `/', just fail with EEXIST.
42374         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42375
42376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42377
42378         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42379         <sys/uio.h> (for writev).
42380         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42381         and <sys/param.h> (for MIN).
42382
42383 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42384
42385         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42386         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42387         if interrupted.
42388
42389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42390
42391         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42392         Depend on against $(link-rpcuserlibs).
42393
42394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42395
42396         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42397         (__libc_stack_end): Do not use attribute_relro.
42398         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42399         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42400         to libthread-provided value.
42401         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42402         attribute_relro.
42403
42404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42405
42406         [BZ #3748]
42407         * bits/libc-lock.h (__libc_once_get): New macro.
42408         * sysdeps/mach/bits/libc-lock.h: Likewise.
42409         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42410         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42411         instead of using implementation details.
42412
42413         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42414         * libio/freopen.c: Likewise.
42415         * libio/freopen64.c: Likewise.
42416         * misc/syslog.c: Likewise.
42417         * nscd/connections.c: Likewise.
42418         * nscd/netgroupcache.c: Likewise.
42419         * sysdeps/posix/getcwd.c: Likewise.
42420
42421 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42422
42423         * math/w_ilogbf.c: Add #include <limits.h>.
42424
42425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42426
42427         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42428         path instead of returning without unlocking.
42429
42430         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42431         immediate-write ioctls.
42432         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42433
42434 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42435
42436         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42437         __builtin_frame_address instead of making assumptions about the
42438         location of the return address relative to DATA.  Force early load of
42439         the return address.
42440         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42441         __builtin_frame_address.
42442
42443         dup3 for GNU Hurd.
42444         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42445         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42446         implement dup3 and do some further code clean-ups.
42447         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42448         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42449
42450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42451
42452         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42453
42454         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42455         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42456         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42457         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42458         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42459         d->port.lock.
42460
42461         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42462         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42463         when handler == SIG_ERR, not when handler != SIG_ERR.
42464
42465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42466
42467         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42468         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42469         definitions.
42470
42471         accept4 for GNU Hurd.
42472         * include/sys/socket.h (__libc_accept4): New prototype.
42473         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42474         to implement __libc_accept4.
42475         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42476         __libc_accept4.
42477         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42478
42479         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42480         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42481         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42482         signal-defines.sym.
42483
42484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42485
42486         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42487
42488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42489
42490         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42491         assertion on O_CLOEXEC flag.
42492         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42493         * hurd/intern-fd.c: Likewise.
42494         * hurd/port2fd.c: Likewise.
42495
42496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42497
42498         [BZ #3906]
42499         * bits/in.h (IPV6_PKTINFO): Define new macro.
42500         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42501
42502 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42503
42504         [BZ #13954]
42505         [BZ #13955]
42506         [BZ #13956]
42507         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42508         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42509         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42510         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42511         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42512         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42513         * math/libm-test.inc (logb_test) : Additional logb tests.
42514
42515 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42516             Andreas Jaeger  <aj@suse.de>
42517
42518         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42519         * configure: Regenerated.
42520         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42521         * config.make.in (link-obsolete-rpc): New substituted variable.
42522         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42523         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42524         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42525         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42526         so that libc.a contains the symbols.
42527         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42528         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42529         * sunrpc/auth_none.c: Likewise.
42530         * sunrpc/auth_unix.c: Likewise.
42531         * sunrpc/authdes_prot.c: Likewise.
42532         * sunrpc/authuxprot.c: Likewise.
42533         * sunrpc/clnt_gen.c: Likewise.
42534         * sunrpc/clnt_perr.c: Likewise.
42535         * sunrpc/clnt_raw.c: Likewise.
42536         * sunrpc/clnt_simp.c: Likewise.
42537         * sunrpc/clnt_tcp.c: Likewise.
42538         * sunrpc/clnt_udp.c: Likewise.
42539         * sunrpc/clnt_unix.c: Likewise.
42540         * sunrpc/des_crypt.c: Likewise.
42541         * sunrpc/des_soft.c: Likewise.
42542         * sunrpc/get_myaddr.c: Likewise.
42543         * sunrpc/key_call.c: Likewise.
42544         * sunrpc/key_prot.c: Likewise.
42545         * sunrpc/netname.c: Likewise.
42546         * sunrpc/pm_getmaps.c: Likewise.
42547         * sunrpc/pm_getport.c: Likewise.
42548         * sunrpc/pmap_clnt.c: Likewise.
42549         * sunrpc/pmap_prot.c: Likewise.
42550         * sunrpc/pmap_prot2.c: Likewise.
42551         * sunrpc/pmap_rmt.c: Likewise.
42552         * sunrpc/publickey.c: Likewise.
42553         * sunrpc/rpc_cmsg.c: Likewise.
42554         * sunrpc/rpc_common.c: Likewise.
42555         * sunrpc/rpc_dtable.c: Likewise.
42556         * sunrpc/rpc_prot.c: Likewise.
42557         * sunrpc/rpc_thread.c: Likewise.
42558         * sunrpc/rtime.c: Likewise.
42559         * sunrpc/svc.c: Likewise.
42560         * sunrpc/svc_auth.c: Likewise.
42561         * sunrpc/svc_raw.c: Likewise.
42562         * sunrpc/svc_run.c: Likewise.
42563         * sunrpc/svc_tcp.c: Likewise.
42564         * sunrpc/svc_udp.c: Likewise.
42565         * sunrpc/svc_unix.c: Likewise.
42566         * sunrpc/svcauth_des.c: Likewise.
42567         * sunrpc/xcrypt.c: Likewise.
42568         * sunrpc/xdr.c: Likewise.
42569         * sunrpc/xdr_array.c: Likewise.
42570         * sunrpc/xdr_float.c: Likewise.
42571         * sunrpc/xdr_intXX_t.c: Likewise.
42572         * sunrpc/xdr_mem.c: Likewise.
42573         * sunrpc/xdr_rec.c: Likewise.
42574         * sunrpc/xdr_ref.c: Likewise.
42575         * sunrpc/xdr_sizeof.c: Likewise.
42576         * sunrpc/xdr_stdio.c: Likewise.
42577
42578 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42579
42580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42581         change.  Update copyright years.
42582
42583 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42584
42585         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42586
42587 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42588             Joseph Myers  <joseph@codesourcery.com>
42589             Paul Pluzhnikov  <ppluzhnikov@google.com>
42590
42591         [BZ #14012]
42592         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42593         requiring rpcgen.
42594         [cross-compiling] (extra-libs): Likewise.
42595         [cross-compiling] (extra-libs-others): Likewise.
42596         [cross-compiling] (librpcsvc-routines): Likewise.
42597         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42598         [cross-compiling] (omit-deps): Likewise.
42599         (sunrpc-CPPFLAGS): New variable.
42600         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42601         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42602         (cross-rpcgen-objs): New variable.
42603         (extra-objs): Append $(cross-rpcgen-objs).
42604         ($(cross-rpcgen-objs)): New rule.
42605         ($(objpfx)cross-rpcgen): Likewise.
42606         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42607         comment.
42608         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42609         ($(objpfx)x%.stmp): Likewise.
42610         * sunrpc/proto.h [IS_IN_build] (_): Define.
42611         [IS_IN_build] (_libc_intl_domainname): Likewise.
42612
42613 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42614
42615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42616         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42617         and R_X86_64_TPOFF64.
42618
42619 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42620
42621         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42622         sysdeps/unix/sysv/syscalls.list.
42623         (stime): Likewise.
42624         (utime): Likewise.
42625         * sysdeps/unix/sysv/syscalls.list: Remove file.
42626
42627 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42628
42629         [BZ #3440]
42630         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42631         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42632         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42633         (__LC_IDENTIFICATION): Make these macros useful in #if
42634         expressions, as required by C99.
42635
42636 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42637
42638         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42639         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42640         after this.
42641
42642 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42643
42644         * stdlib/longlong.h: Updated from GCC.
42645
42646 2012-05-09  Andreas Jaeger  <aj@suse.de>
42647
42648         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42649         default is first entry.
42650         (run_mode): Set type.
42651         (main): Remove informal message about syslog.
42652         (options): Fix typo.
42653
42654         [BZ #14053]
42655         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42656         to asm.
42657         (lrint): Likewise.
42658         (llrintf): Likewise.
42659         (llrint): Likewise.
42660         (rint): Likewise.
42661         (rintf): Likewise.
42662         (nearbyint): Likewise.
42663         (nearbyintf): Likewise.
42664
42665 2012-05-09  Andreas Jaeger  <aj@suse.de>
42666             Pedro Alves  <palves@redhat.com>
42667
42668         * nscd/nscd.c (run_mode): Use enum.
42669         (main): Cleanup coding style issue.
42670
42671 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42672             Andreas Jaeger  <aj@suse.de>
42673
42674         * nscd/nscd.c (go_background): Replaced with...
42675         (run_mode): ... this.
42676         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42677         (options): Add -F --foreground.
42678         (main): Implement it.
42679         (parse_opt): Parse it.
42680
42681 2012-05-09  Andreas Jaeger  <aj@suse.de>
42682
42683         [BZ #14083]
42684         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42685         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42686         -Wconversion warning.
42687         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42688         Likewise.
42689
42690 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42691
42692         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42693         == 0.
42694         (LC_ALL): Use macro-int-constant.
42695         (LC_COLLATE): Likewise.
42696         (LC_CTYPE): Likewise.
42697         (LC_MESSAGES): Likewise.
42698         (LC_MONETARY): Likewise.
42699         (LC_NUMERIC): Likewise.
42700         (LC_TIME): Likewise.
42701         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42702         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42703         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42704         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42705         Specify type.
42706         [C99-based standards] (float_t): Expect type.
42707         [C99-based standards] (double_t): Expect type.
42708         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42709         type.
42710         [C99-based standards] (HUGE_VALL): Likewise.
42711         [C99-based standards] (INFINITY): Likewise.
42712         [C99-based standards] (NAN): Likewise.
42713         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42714         [C99-based standards] (FP_NAN): Likewise.
42715         [C99-based standards] (FP_NORMAL): Likewise.
42716         [C99-based standards] (FP_SUBNORMAL): Likewise.
42717         [C99-based standards] (FP_ZERO): Likewise.
42718         [C99-based standards] (FP_FAST_FMA): Use
42719         optional-macro-int-constant.  Specify type.  Require == 1.
42720         [C99-based standards] (FP_FAST_FMAF): Likewise.
42721         [C99-based standards] (FP_FAST_FMAL): Likewise.
42722         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42723         [C99-based standards] (FP_ILOGBNAN): Likewise.
42724         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42725         Specify type.
42726         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42727         [C99-based standards] (math_errhandling): Specify type.
42728         [ISO99 || ISO11] (signgam): Do not allow.
42729         [non-C99-based standards] (copysignf): Do not allow.
42730         [non-C99-based standards] (exp2f): Likewise.
42731         [non-C99-based standards] (log2f): Likewise.
42732         [non-C99-based standards] (modff): Allow.
42733         [non-C99-based standards] (erff): Do not allow.
42734         [non-C99-based standards] (erfcf): Likewise.
42735         [non-C99-based standards] (gammaf): Likewise.
42736         [non-C99-based standards] (hypotf): Likewise.
42737         [non-C99-based standards] (j0f): Likewise.
42738         [non-C99-based standards] (j1f): Likewise.
42739         [non-C99-based standards] (jnf): Likewise.
42740         [non-C99-based standards] (lgammaf): Likewise.
42741         [non-C99-based standards] (tgammaf): Likewise.
42742         [non-C99-based standards] (y0f): Likewise.
42743         [non-C99-based standards] (y1f): Likewise.
42744         [non-C99-based standards] (ynf): Likewise.
42745         [non-C99-based standards] (isnanf): Likewise.
42746         [non-C99-based standards] (acoshf): Likewise.
42747         [non-C99-based standards] (asinhf): Likewise.
42748         [non-C99-based standards] (atanhf): Likewise.
42749         [non-C99-based standards] (cbrtf): Likewise.
42750         [non-C99-based standards] (expm1f): Likewise.
42751         [non-C99-based standards] (ilogbf): Likewise.
42752         [non-C99-based standards] (log1pf): Likewise.
42753         [non-C99-based standards] (logbf): Likewise.
42754         [non-C99-based standards] (nextafterf): Likewise.
42755         [non-C99-based standards] (remainderf): Likewise.
42756         [non-C99-based standards] (rintf): Likewise.
42757         [non-C99-based standards] (scalbf): Likewise.
42758         [non-C99-based standards] (copysignl): Likewise.
42759         [non-C99-based standards] (exp2l): Likewise.
42760         [non-C99-based standards] (log2l): Likewise.
42761         [non-C99-based standards] (modfl): Allow.
42762         [non-C99-based standards] (erfl): Do not allow.
42763         [non-C99-based standards] (erfcl): Likewise.
42764         [non-C99-based standards] (gammal): Likewise.
42765         [non-C99-based standards] (hypotl): Likewise.
42766         [non-C99-based standards] (j0l): Likewise.
42767         [non-C99-based standards] (j1l): Likewise.
42768         [non-C99-based standards] (jnl): Likewise.
42769         [non-C99-based standards] (lgammal): Likewise.
42770         [non-C99-based standards] (tgammal): Likewise.
42771         [non-C99-based standards] (y0l): Likewise.
42772         [non-C99-based standards] (y1l): Likewise.
42773         [non-C99-based standards] (ynl): Likewise.
42774         [non-C99-based standards] (isnanl): Likewise.
42775         [non-C99-based standards] (acoshl): Likewise.
42776         [non-C99-based standards] (asinhl): Likewise.
42777         [non-C99-based standards] (atanhl): Likewise.
42778         [non-C99-based standards] (cbrtl): Likewise.
42779         [non-C99-based standards] (expm1l): Likewise.
42780         [non-C99-based standards] (ilogbl): Likewise.
42781         [non-C99-based standards] (log1pl): Likewise.
42782         [non-C99-based standards] (logbl): Likewise.
42783         [non-C99-based standards] (nextafterl): Likewise.
42784         [non-C99-based standards] (remainderl): Likewise.
42785         [non-C99-based standards] (rintl): Likewise.
42786         [non-C99-based standards] (scalbl): Likewise.
42787         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42788         [non-C99-based standards] (FP_*): Do not allow.
42789         [C99-based standards] (FP_*): Change to
42790         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42791         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42792         allow.
42793         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42794         (SIG_ERR): Likewise.
42795         [X/Open-based standards] (SIG_HOLD): Likewise.
42796         (SIG_IGN): Likewise.
42797         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42798         positive value.
42799         (SIGFPE): Likewise.
42800         (SIGILL): Likewise.
42801         (SIGINT): Likewise.
42802         (SIGSEGV): Likewise.
42803         (SIGTER): Likewise.
42804         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42805         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42806         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42807         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42808         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42809         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42810         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42811         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42812         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42813         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42814         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42815         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42816         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42817         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42818         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42819         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42820         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42821         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42822         [X/Open-based standards] (SIGTRAP): Likewise.
42823         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42824         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42825         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42826         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42827         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42828         allow.
42829
42830 2012-05-08  Ian Wienand  <ianw@vmware.com>
42831
42832         [BZ #14080]
42833         * time/tzset.c (__tzset_parse_tz): Update default rules for
42834         daylight time changes in the Energy Policy Act of 2005.
42835
42836 2012-05-09  Andreas Jaeger  <aj@suse.de>
42837
42838         [BZ #13983]
42839         * elf/ldconfig.c (parse_conf): Change string to make clear that
42840         ldconfig only issued a warning if ld.so.conf does not exist.
42841
42842 2012-05-08  David S. Miller  <davem@davemloft.net>
42843
42844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42845         movxtod instead of popping the value on the stack.
42846
42847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42848
42849 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42850
42851         * config.h.in: Add HAVE_ARM_PCS_VFP.
42852
42853 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42854
42855         [BZ #13979]
42856         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42857         checking but the checks are disabled for any reason.
42858
42859 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42860
42861         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42862         and ELF64_R_TYPE with ELFW(R_TYPE).
42863
42864 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42865
42866         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42867         (ulimit): Likewise.
42868
42869         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42870         (settimeofday): Likewise.
42871
42872 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42873
42874         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42875         a struct th_u2 inside the union, and move tu_block/tu_code into
42876         a new th_u3 union of tu_block/tu_code inside of that.  Move
42877         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42878         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42879         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42880         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42881         (th_stuff): Change to th_u1.tu_stuff.
42882         (th_data): Define.
42883         (th_msg): Change to th_u1.th_u2.tu_data.
42884
42885 2012-05-07  David S. Miller  <davem@davemloft.net>
42886
42887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42888
42889         [BZ #14074]
42890         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42891         (SETUP_PIC_REG): Use it.
42892         (SETUP_PIC_REG_LEAF): Use it.
42893
42894 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42895
42896         [BZ #13885]
42897         [BZ #13923]
42898         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42899         USE_AS_EXPM1L.
42900         (EXPL_FINITE): Likewise.
42901         (FLDLOG): Likewise.
42902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42903         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42904         e_expl.S.
42905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42906         USE_AS_EXPM1L.
42907         (EXPL_FINITE): Likewise.
42908         (FLDLOG): Likewise.
42909         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42910         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42911         e_expl.S.
42912         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42913         test of -max_value argument for long double.
42914         * sysdeps/i386/fpu/libm-test-ulps: Update.
42915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42916
42917 2012-05-06  David S. Miller  <davem@davemloft.net>
42918
42919         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42920         quad soft-float symbols whose references which are compiler
42921         generated.
42922         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42923
42924 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42925
42926         [BZ #13884]
42927         [BZ #13914]
42928         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42929         USE_AS_EXP10L.
42930         (EXPL_FINITE): Likewise.
42931         (FLDLOG): Likewise.
42932         (c0): Likewise.
42933         (c1): Likewise.
42934         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42935         Adjust comments for base varying.
42936         (__expl_finite): Change alias to EXPL_FINITE.
42937         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42938         e_expl.S.
42939         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42940         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42942         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42943         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42944         USE_AS_EXP10L.
42945         (EXPL_FINITE): Likewise.
42946         (FLDLOG): Likewise.
42947         (c0): Likewise.
42948         (c1): Likewise.
42949         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42950         Adjust comments for base varying.
42951         (__expl_finite): Change alias to EXPL_FINITE.
42952         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42953         tests for bugs.
42954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42955
42956         [BZ #14064]
42957         * math/libm-test.inc (check_float_internal): Correct ulp
42958         calculation for subnormal expected results.
42959
42960 2012-05-06  Andreas Jaeger  <aj@suse.de>
42961
42962         * Makeconfig (+math-flags): New, set to -frounding-math.
42963         (+cflags): Add +math-flags so that all of glibc gets compiled with
42964         it.
42965
42966         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42967
42968 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42969
42970         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42971         Disable one test.
42972
42973         [BZ #13787]
42974         [BZ #13922]
42975         [BZ #14036]
42976         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42977         (__ieee754_expl): Allow for and saturate large arguments.
42978         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42979         (u_threshold): Likewise.
42980         (__exp): Call __ieee754_exp before checking for overflow and
42981         underflow.
42982         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42983         (u_threshold): Likewise.
42984         (__expf): Call __ieee754_expf before checking for overflow and
42985         underflow.
42986         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42987         (u_threshold): Likewise.
42988         (__expl): Call __ieee754_expl before checking for overflow and
42989         underflow.
42990         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42991         (__ieee754_expl): Allow for and saturate large arguments.
42992         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42993         missing overflow exception on overflow.
42994         (expm1_test): Do not allow missing overflow exception on overflow.
42995
42996         * sysdeps/i386/fpu/e_expl.c: Move to ...
42997         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42998         rather than using inline asm.
42999         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43000         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43001         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43002
43003         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43004         (nice): Likewise.
43005         (poll): Likewise.
43006         (signal): Likewise.
43007         (time): Likewise.
43008         (times): Likewise.
43009
43010 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43011
43012         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43013         sysdeps/unix/common/syscalls.list.
43014         (fchmod): Likewise.
43015         (fchown): Likewise.
43016         (ftruncate): Likewise.
43017         (getrusage): Likewise.
43018         (gettimeofday): Likewise.
43019         (setpgid): Likewise.
43020         (setregid): Likewise.
43021         (setreuid): Likewise.
43022         (sigaction): Likewise.
43023         (truncate): Likewise.
43024         (vhangup): Likewise.
43025         * sysdeps/unix/common/syscalls.list: Remove file.
43026         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43027         * sysdeps/unix/sysv/linux/Implies: Likewise.
43028
43029 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43030
43031         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43033         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43034         Moved to ...
43035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43036         Here.
43037         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43038         to ...
43039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43040         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43041         to ...
43042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43043         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43044         to ...
43045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43046         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43047         to ...
43048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43049         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43050         to ...
43051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43052         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43053         to ...
43054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43055         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43056         to ...
43057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43058         Here.
43059         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43060         to ...
43061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43062         Here.
43063         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43064         to ...
43065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43066         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43067         Moved to ...
43068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43069         Here.
43070         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43071         to ...
43072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43073
43074 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43075
43076         * sysdeps/unix/common/bits/dirent.h: Remove file.
43077         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43078
43079         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43080         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43081         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43082         * sysdeps/unix/bsd/isatty.c: Likewise.
43083         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43084         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43085         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43086
43087 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43088
43089         [BZ #13563]
43090         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43091         long double comparison inaccuracies.
43092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43094
43095 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43096
43097         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43098         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43099
43100 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43101
43102         [BZ #14049]
43103         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43104         nonzero digits before rounding a hex value.
43105         * stdlib/tst-strtod.c (tests): Add another test.
43106
43107 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43108
43109         * sysdeps/s390/fpu/libm-test-ulps: Update.
43110
43111 2012-05-03  Andreas Jaeger  <aj@suse.de>
43112
43113         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43114         does not get optimized out.
43115         (malloc_opt_barrier): New.
43116
43117 2012-05-03  Andreas Jaeger  <aj@suse.de>
43118             Roland McGrath  <roland@hack.frob.com>
43119
43120         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43121         intermediate file deletion.
43122         (generated): Add .symlist files.
43123
43124 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43125
43126         [BZ #13775]
43127         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43128         Redirect under this condition.
43129         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43130         [__USE_GNU] (__dprintf_chk): Not under this condition.
43131         [__USE_GNU] (__vdprintf_chk): Likewise.
43132         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43133         under this condition.
43134         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43135         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43136         [__USE_XOPEN2K8] (vdprintf): Likewise.
43137         [__USE_GNU] (__dprintf_chk): Not under this condition.
43138         [__USE_GNU] (__vdprintf_chk): Likewise.
43139         [__USE_GNU] (dprintf): Likewise.
43140         [__USE_GNU] (vdprintf): Likewise.
43141
43142 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43143
43144         * elf/Makefile (common-generated): Set this instead of generated for
43145         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43146         $(all-built-dso)-derived lists.
43147
43148 2012-05-03  Andreas Jaeger  <aj@suse.de>
43149
43150         * sysdeps/i386/fpu/libm-test-ulps: Update.
43151
43152         * FAQ: Removed.
43153         * FAQ.in: Likewise.
43154         * scripts/gen-FAQ.pl: Likewise.
43155         * manual/install.texi (Installation): Point to online location of
43156         FAQ.
43157         * Makefile (files-for-dist): Remove FAQ.
43158         (FAQ): Remove.
43159
43160 2012-05-02  Allan McRae  <allan@archlinux.org>
43161
43162         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43163         (LDFLAGS-reldepmod5.so): Likewise.
43164         (LDFLAGS-reldep6mod1.so): Likewise.
43165         (LDFLAGS-reldep6mod4.so): Likewise.
43166         (LDFLAGS-reldep8mod3.so): Likewise.
43167         (LDFLAGS-unload4mod1.so): Likewise.
43168         (LDFLAGS-unload4mod2.so): Likewise.
43169         (LDFLAGS-tst-initorder): Likewise.
43170         (LDFLAGS-tst-initordera2.so): Likewise.
43171         (LDFLAGS-tst-initordera3.so): Likewise.
43172         (LDFLAGS-tst-initordera4.so): Likewise.
43173         (LDFLAGS-tst-initorderb2.so): Likewise.
43174         (LDFLAGS-noload): Likewise.
43175         (LDFLAGS-next): Likewise.
43176         (LDFLAGS-order2mod1.so): Likewise.
43177         (LDFLAGS-order2mod2.so): Likewise.
43178         (LDFLAGS-tst-initorder2): Likewise.
43179         (LDFLAGS-tst-initorder2a.so): Likewise.
43180         (LDFLAGS-tst-initorder2b.so): Likewise.
43181         (LDFLAGS-tst-initorder2c.so): Likewise.
43182         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43183
43184 2012-05-02  David S. Miller  <davem@davemloft.net>
43185
43186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43187
43188 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43189
43190         [BZ #14055]
43191         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43192
43193 2012-05-02  Andreas Jaeger  <aj@suse.de>
43194
43195         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43196         since we manipulate rounding mode.
43197         (CPPFLAGS-test-idouble.c): Likewise.
43198         (CPPFLAGS-test-ifloat.c): Likewise.
43199         (CFLAGS-test-ldouble.c): Likewise.
43200         (CFLAGS-test-double.c): Likewise.
43201         (CFLAGS-test-float.c): Likewise.
43202         (CFLAGS-test-misc.c): Likewise.
43203         (CFLAGS-test-test-fenv.c): Likewise.
43204
43205 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206
43207         [BZ #2550]
43208         [BZ #2570]
43209         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43210         comparisons to determine direction to adjust input.
43211
43212 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43213
43214         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43215         output to the target.
43216
43217         * scripts/localplt.awk: New file.
43218         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43219         (check-localplt-CFLAGS): Variable removed.
43220         ($(all-built-dso:=.jmprel)): New static pattern rule.
43221         (generated): Add those targets.
43222         (localplt-built-dso): New variable.
43223         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43224
43225         * elf/check-localplt.c: File removed.
43226
43227         * scripts/check-execstack.awk: New file.
43228         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43229         (check-execstack-CFLAGS): Variable removed.
43230         ($(objpfx)check-execstack.h): Target removed.
43231         ($(objpfx)execstack-default): New target.
43232         (generated): Add that instead of check-execstack.h.
43233         ($(all-built-dso:=.phdr)): New static pattern rule.
43234         (generated): Add those targets.
43235         * elf/check-execstack.c: File removed.
43236
43237         * scripts/check-textrel.awk: New file.
43238         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43239         (check-textrel-CFLAGS): Variable removed.
43240         (all-built-dso): Use := to define.o
43241         ($(all-built-dso:=.dyn)): New static pattern rule.
43242         (generated): Add those targets.
43243         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43244         * config.make.in (READELF): New substituted variable.
43245         * elf/check-textrel.c: File removed.
43246
43247 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43248
43249         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43250         allow.
43251         * conform/data/ctype.h-data [C99-based standards] (isblank):
43252         Expect function.
43253         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43254         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43256         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43257         Specify type.  Require positive value.
43258         (EILSEQ): Likewise.
43259         (ERANGE): Likewise.
43260         [ISO || POSIX] (EILSEQ): Do not expect.
43261         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43262         Specify type.  Require positive value.
43263         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43264         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43265         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43266         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43267         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43268         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43269         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43270         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43271         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43272         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43273         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43274         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43275         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43276         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43277         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43278         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43279         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43280         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43281         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43282         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43283         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43284         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43285         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43286         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43287         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43288         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43289         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43290         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43291         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43292         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43293         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43294         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43295         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43296         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43297         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43298         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43299         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43300         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43301         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43302         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43303         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43304         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43305         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43306         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43307         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43308         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43309         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43310         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43311         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43312         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43313         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43314         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43315         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43316         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43317         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43318         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43319         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43320         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43321         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43322         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43323         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43324         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43325         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43326         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43327         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43328         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43329         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43330         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43331         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43332         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43333         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43334         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43335         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43336         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43337         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43338         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43339         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43340         Require >= 2.
43341         (FLT_ROUNDS): Expect as macro, not constant.
43342         (FLT_MANT_DIG): Use macro-int-constant.
43343         (DBL_MANT_DIG): Likewise.
43344         (LDBL_MANT_DIG): Likewise.
43345         (FLT_DIG): Likewise.
43346         (DBL_DIG): Likewise.
43347         (LDBL_DIG): Likewise.
43348         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43349         (DBL_MIN_EXP): Likewise.
43350         (LDBL_MIN_EXP): Likewise.
43351         (FLT_MAX_EXP): Use macro-int-constant.
43352         (DBL_MAX_EXP): Likewise.
43353         (LDBL_MAX_EXP): Likewise.
43354         (FLT_MAX_10_EXP): Likewise.
43355         (DBL_MAX_10_EXP): Likewise.
43356         (LDBL_MAX_10_EXP): Likewise.
43357         (FLT_MAX): Use macro-constant.
43358         (DBL_MAX): Likewise.
43359         (LDBL_MAX): Likewise.
43360         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43361         (DBL_EPSILON): Likewise.
43362         (LDBL_EPSILON): Likewise.
43363         (FLT_MIN): Likewise.
43364         (DBL_MIN): Likewise.
43365         (LDBL_MIN): Likewise.
43366         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43367         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43368         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43369         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43370         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43371         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43372         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43373         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43374         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43375         [ISO11] (FLT_TRUE_MIN): Likewise.
43376         [ISO11] (LDBL_TRUE_MIN): Likewise.
43377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43378         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43379         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43380         (SCHAR_MAX): Likewise.
43381         (UCHAR_MAX): Likewise.
43382         (CHAR_MIN): Likewise.
43383         (CHAR_MAX): Likewise.
43384         (MB_LEN_MAX): Use macro-int-constant.
43385         (SHRT_MIN): Use macro-int-constant.  Specify type.
43386         (SHRT_MAX): Likewise.
43387         (USHRT_MAX): Likewise.
43388         (INT_MAX): Likewise.
43389         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43390         bound negative.
43391         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43392         bound with "U".
43393         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43394         bound with "L".
43395         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43396         bound negative.  Suffix upper bound with "L".
43397         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43398         bound with "UL".
43399         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43400         Specify type.
43401         [C99-based standards] (LLONG_MAX): Likewise.
43402         [C99-based standards] (ULLONG_MAX): Likewise.
43403         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43404         == 0.
43405         [ISO11] (max_align_t): Require type.
43406         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43407
43408         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43409         from $CFLAGS, without defining away __attribute__ calls.
43410         (checknamespace): Use $CFLAGS_namespace.
43411
43412         * conform/conformtest.pl (@keywords): Only include C99 keywords
43413         for standards based on C99 or C11.
43414
43415         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43416         Disable tests.
43417         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43418         UNIX98]: Likewise.
43419
43420         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43421         usability of symbols in #if.
43422
43423         * conform/conformtest.pl: If macro or constant types start
43424         "promoted:", expect the symbol to be of the following type
43425         promoted by the integer promotions.
43426
43427         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43428         in one place.  Also handle "macro-constant".
43429
43430         * conform/conformtest.pl: Only accept expected macro values with
43431         "==".  Parse all "macro" lines in one place.
43432         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43433
43434         * conform/conformtest.pl: Handle braced types on "constant" lines
43435         instead of handling "typed-constant".
43436         * conform/data/signal.h-data: Use "constant" instead of
43437         "typed-constant".
43438
43439         * conform/conformtest.pl: Handle "optional-" at start of lines in
43440         one place rather than duplicating several cases.  Handle each
43441         format of "macro" line with initial "optional-".
43442
43443         * conform/conformtest.pl: Only accept expected constant or
43444         optional-constant values with "==".  Parse all "constant" lines in
43445         one place.  Parse all "optional-constant" lines in one place.
43446         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43447         * conform/data/fmtmsg.h-data: Likewise.
43448         * conform/data/netinet/in.h-data: Likewise.
43449         * conform/data/tar.h-data: Likewise.
43450         * conform/data/limits.h-data: Use "==" form on "constant" and
43451         "optional-constant" lines.
43452
43453         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43454         Use -std=c99 for XOPEN2K.
43455         (@knownproblems): Remove.
43456         (newtoken): Don't check %isknown.
43457
43458         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43459         Do not expect macro.
43460         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43461         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43462         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43463         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43464         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43465         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43466         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43467         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43468         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43469         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43470         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43471         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43472         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43473         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43474         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43475         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43476         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43477         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43478         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43479         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43480         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43481         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43482         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43483         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43484         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43485         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43486         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43487         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43488         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43489         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43490         [XPG3] (acosh): Likewise.
43491         [XPG3] (asinh): Likewise.
43492         [XPG3] (atanh): Likewise.
43493         [XPG3] (cbrt): Likewise.
43494         [XPG3] (expm1): Likewise.
43495         [XPG3] (ilogb): Likewise.
43496         [XPG3] (log1p): Likewise.
43497         [XPG3] (logb): Likewise.
43498         [XPG3] (nextafter): Likewise.
43499         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43500         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43501         [XPG3] (remainder): Likewise.
43502         [XPG3] (rint): Likewise.
43503         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43504         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43505         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43506         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43507         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43508         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43509         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43510         [UNIX98 || XOPEN2K] (scalb): Expect.
43511         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43512         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43513         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43514         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43515         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43516         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43517         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43518         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43519         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43520         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43521         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43522         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43523         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43524         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43525         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43526         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43527         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43528         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43529         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43530         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43531         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43532         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43533         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43534         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43535         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43536         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43537         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43538         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43539         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43540         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43541         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43542         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43543         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43544         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43545         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43546         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43547         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43548         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43549         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43550         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43551         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43552         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43553         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43554         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43555         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43556         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43557         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43558         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43559         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43560         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43561         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43562         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43563         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43564         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43565         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43566         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43567         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43568         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43569         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43570         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43571         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43572         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43573         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43574         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43575         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43576         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43577         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43578         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43579         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43580         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43581         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43582         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43583         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43584         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43585         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43586         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43587         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43588         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43589         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43590         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43591         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43592         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43593         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43594         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43595         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43596         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43597         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43598         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43599         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43600         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43601         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43602         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43603         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43604         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43605         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43606         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43607         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43608         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43609         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43610         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43611         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43612         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43613         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43614         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43615         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43616         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43617         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43618         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43619         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43620         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43621         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43622         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43623         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43624         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43625         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43626         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43627         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43628         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43629         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43630         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43631         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43632         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43633         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43634         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43635         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43636         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43637         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43638         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43639         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43640         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43641         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43642         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43643         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43644         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43645         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43646         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43647         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43648
43649         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43650         _XOPEN_SOURCE_EXTENDED for XPG4.
43651
43652         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43653
43654         * Makeconfig (localtime): Remove variable.
43655         (inst_localtime-file): Likewise.
43656
43657 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43658
43659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43660         Update.
43661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43662         Update.
43663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43664         Update.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43666         Update.
43667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43668         Update.
43669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43670         Update.
43671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43672         Update.
43673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43674         Update.
43675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43676         Update.
43677
43678 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43679
43680         [BZ #2550]
43681         [BZ #2570]
43682         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43683         comparisons to determine direction to adjust input.
43684         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43685         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43686         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43687         Likewise.
43688         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43689         Likewise.
43690         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43691         Likewise.
43692         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43693         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43694         Likewise.
43695         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43696         Likewise.
43697         * math/libm-test.inc (nexttoward_test): Add more tests.
43698
43699 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43700
43701         [BZ #14040]
43702         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43703         in version GLIBC_2.1, not GLIBC_2.0.
43704         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43705         Likewise.
43706
43707 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43708
43709         [BZ #13942]
43710         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43711         (1 - x) * (1 + x).
43712         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43713         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43714         * math/libm-test.inc (acos_test): Add more tests.
43715         (asin_test): Likewise.
43716         * sysdeps/i386/fpu/libm-test-ulps: Update.
43717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43718
43719         [BZ #14034]
43720         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43721         of square root.
43722         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43723         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43724         * math/libm-test.inc (acos_test_tonearest): New function.
43725         (acos_test_towardzero): Likewise.
43726         (acos_test_downward): Likewise.
43727         (acos_test_upward): Likewise.
43728         (asin_test_tonearest): Likewise.
43729         (asin_test_towardzero): Likewise.
43730         (asin_test_downward): Likewise.
43731         (asin_test_upward): Likewise.
43732         (main): Call the new functions.
43733         * sysdeps/i386/fpu/libm-test-ulps: Update.
43734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43735
43736         [BZ #13884]
43737         [BZ #13924]
43738         * math/e_exp10.c: Include <float.h>.
43739         (__ieee754_exp10): Handle underflow here rather than multiplying
43740         large negative argument by M_LN10.
43741         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43742         of __ieee754_expf.
43743         * math/e_exp10l.c: Include <float.h>.
43744         (__ieee754_exp10l): Handle underflow here rather than multiplying
43745         large negative argument by M_LN10l.
43746         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43747         spurious overflow exception on underflow.
43748
43749 2012-04-29  Marek Polacek  <polacek@redhat.com>
43750
43751         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43752         (__fortify_function): New macro.
43753         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43754         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43755         __extern_always_inline.
43756         * libio/bits/stdio2.h: Likewise.
43757         * libio/bits/stdio.h: Likewise.
43758         * string/string.h: Likewise.
43759         * string/bits/string3.h: Likewise.
43760         * include/stdio.h: Likewise.
43761         * stdlib/bits/stdlib.h: Likewise.
43762         * stdlib/stdlib.h: Likewise.
43763         * rt/bits/mqueue2.h: Likewise.
43764         * rt/mqueue.h: Likewise.
43765         * posix/bits/unistd.h: Likewise.
43766         * posix/unistd.h: Likewise.
43767         * io/bits/poll2.h: Likewise.
43768         * io/bits/fcntl2.h: Likewise.
43769         * io/fcntl.h: Likewise.
43770         * io/sys/poll.h: Likewise.
43771         * misc/bits/syslog.h: Likewise.
43772         * misc/bits/syslog-ldbl.h: Likewise.
43773         * misc/sys/syslog.h: Likewise.
43774         * socket/bits/socket2.h: Likewise.
43775         * socket/sys/socket.h: Likewise.
43776         * debug/tst-chk1.c: Likewise.
43777         * wcsmbs/bits/wchar2.h: Likewise.
43778         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43779         * wcsmbs/wchar.h: Likewise.
43780
43781 2012-04-29  Andreas Jaeger  <aj@suse.de>
43782
43783         * Makerules (tests): Remove enable-check-abi protection.
43784         (check-abi-warn): Remove.
43785         (check-abi-%): Remove check-abi-warn usage.
43786
43787         * configure.in: Remove check-abi configure option.
43788         * configure: Regenerated.
43789         * config.make.in (enable-check-abi): Remove.
43790
43791 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43792
43793         [BZ #14033]
43794         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43795         double functions to double *_finite functions.
43796
43797         [BZ #13941]
43798         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43799         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43800         LDBL_MIN_EXP.
43801         * stdio-common/Makefile (tests): Add tst-sprintf3.
43802         * stdio-common/tst-sprintf3.c: New file.
43803
43804         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43805         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43806
43807 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43808
43809         * conform/conformtest.pl: Remove duplicate typed-constant
43810         handling.
43811
43812 2012-04-28  David S. Miller  <davem@davemloft.net>
43813
43814         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43815         (check-abi-%): Remove AWK script prerequisite and explicit
43816         abilist directory.
43817         (check-abi): Rewrite to just diff the symlist with the abilist.
43818         (config-tls, config-abi-config): Delete, no longer used.
43819         (update-abi-%): Remove AWK script and explicit abilist directory.
43820         (update-abi): Rewrite to simply compare and conditionally copy the
43821         symlist and the sysdep abilist file.  Remove update-abi-config
43822         checks.
43823         * abilist/ld.abilist: Remove.
43824         * abilist/libBrokenLocale.abilist: Remove.
43825         * abilist/libanl.abilist: Remove.
43826         * abilist/libcrypt.abilist: Remove.
43827         * abilist/libdl.abilist: Remove.
43828         * abilist/librt.abilist: Remove.
43829         * abilist/libthread_db.abilist: Remove.
43830         * abilist/libutil.abilist: Remove.
43831         * scripts/extract-abilist.awk: Remove.
43832         * scripts/merge-abilist.awk: Remove.
43833         * sysdeps/generic/libcidn.abilist: New file.
43834         * sysdeps/generic/libnss_compat.abilist: New file.
43835         * sysdeps/generic/libnss_db.abilist: New file.
43836         * sysdeps/generic/libnss_dns.abilist: New file.
43837         * sysdeps/generic/libnss_files.abilist: New file.
43838         * sysdeps/generic/libnss_hesiod.abilist: New file.
43839         * sysdeps/generic/libnss_nis.abilist: New file.
43840         * sysdeps/generic/libnss_nisplus.abilist: New file.
43841         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43842         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43843         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43844         file.
43845         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43846         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43847         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43848         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43849         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43850         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43851         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43852         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43853         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43854         file.
43855         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43856         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43857         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43858         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43859         file.
43860         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43861         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43862         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43863         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43864         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43865         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43866         file.
43867         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43868         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43869         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43870         file.
43871         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43873         New file.
43874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43875         New file.
43876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43877         New file.
43878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43879         New file.
43880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43881         New file.
43882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43883         New file.
43884         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43885         New file.
43886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43887         New file.
43888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43889         New file.
43890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43891         New file.
43892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43893         New file.
43894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43895         New file.
43896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43897         New file.
43898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43899         file.
43900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43901         New file.
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43903         New file.
43904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43905         file.
43906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43907         New file.
43908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43909         New file.
43910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43911         file.
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43913         New file.
43914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43915         New file.
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43917         New file.
43918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43919         New file.
43920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43921         New file.
43922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43923         New file.
43924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43926         file.
43927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43928         New file.
43929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43930         file.
43931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43932         file.
43933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43934         file.
43935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43936         file.
43937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43938         file.
43939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43940         New file.
43941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43942         file.
43943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43944         file.
43945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43946         New file.
43947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43948         file.
43949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43951         file.
43952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43953         New file.
43954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43955         file.
43956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43957         file.
43958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43959         file.
43960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43961         file.
43962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43963         file.
43964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43965         New file.
43966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43967         file.
43968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43969         file.
43970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43971         New file.
43972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43973         file.
43974         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43975         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43976         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43977         file.
43978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43979         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43980         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43981         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43982         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43984         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43985         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43986         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43987         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43990         file.
43991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43992         New file.
43993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43994         file.
43995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43996         file.
43997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43998         file.
43999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44000         file.
44001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44002         file.
44003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44004         New file.
44005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44006         New file.
44007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44008         file.
44009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44010         New file.
44011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44012         file.
44013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44015         file.
44016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44017         New file.
44018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44019         file.
44020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44021         file.
44022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44023         file.
44024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44025         file.
44026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44027         file.
44028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44029         New file.
44030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44031         New file.
44032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44033         file.
44034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44035         New file.
44036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44037         file.
44038
44039 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44040
44041         * conform/conformtest.pl: Fix typo in handling typed-constant from
44042         allow-header.
44043
44044 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44045
44046         * README: Cut down references to pre-2.6 Linux kernels and
44047         Linuxthreads.  Update lists of configurations in libc and ports
44048         and sort alphabetically.  Say "or newer" with Linux kernel version
44049         requirements.
44050
44051         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44052
44053 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44054
44055         [BZ #887]
44056         * math/libm-test.inc (logb_test_downward): New test to expose
44057         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44058         rounding mode.
44059
44060 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44061
44062         [BZ #14027]
44063         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44064         to be done.
44065         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44066         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44067
44068 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44069
44070         * sysdeps/unix/i386/brk.S: Remove file.
44071         * sysdeps/unix/i386/dl-brk.S: Likewise.
44072         * sysdeps/unix/i386/pipe.S: Likewise.
44073         * sysdeps/unix/i386/sigreturn.S: Likewise.
44074         * sysdeps/unix/i386/syscall.S: Likewise.
44075         * sysdeps/unix/i386/vfork.S: Likewise.
44076         * sysdeps/unix/i386/wait.S: Likewise.
44077
44078         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44079         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44080
44081         * configure.in (arm*-none*): Do not allow without
44082         --enable-hacker-mode.
44083         (netbsd*): Remove case setting base_os.
44084         (386bsd*): Likewise.
44085         (freebsd*): Likewise.
44086         (bsdi*): Likewise.
44087         (osf*): Likewise.
44088         (sunos*): Likewise.
44089         (ultrix*): Likewise.
44090         (newsos*): Likewise.
44091         (dynix*): Likewise.
44092         (*bsd*): Likewise.
44093         (sysv*): Likewise.
44094         (isc*): Likewise.
44095         (esix*): Likewise.
44096         (sco*): Likewise.
44097         (minix*): Likewise.
44098         (irix4*): Likewise.
44099         (irix6*): Likewise.
44100         (solaris[2-9]*): Likewise.
44101         (none): Likewise.
44102         * configure: Regenerated.
44103
44104 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44105
44106         [BZ #11521]
44107         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44108         overflow or cancellation in calculating denominator.
44109         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44111         down expression to avoid unexpected rounding in newer GCCs.
44112         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44113
44114 2012-04-26  David S. Miller  <davem@davemloft.net>
44115
44116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44117         long-double compat symbols.
44118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44131
44132 2012-04-25  David S. Miller  <davem@davemloft.net>
44133
44134         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44135         HWCAP_* values only after the memory barriers have been defined.
44136         (atomic_full_barrier): Define.
44137         (atomic_read_barrier): Define.
44138         (atomic_write_barrier): Define.
44139
44140 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44141
44142         * shlib-versions: Add libgcc_s version information.
44143         * sysdeps/generic/libgcc_s.h: Remove.
44144         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44145         libgcc_s.h.
44146         * sysdeps/gnu/unwind-resume.c: Likewise.
44147         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44148
44149 2012-04-25  David S. Miller  <davem@davemloft.net>
44150
44151         * sysdeps/unix/sparc/brk.S: Delete.
44152         * sysdeps/unix/sparc/dl-brk.S: Delete.
44153         * sysdeps/unix/sparc/pipe.S: Delete.
44154         * sysdeps/unix/sparc/sysdep.S: Delete.
44155         * sysdeps/unix/sparc/sysdep.h: Delete.
44156         * sysdeps/unix/sparc/vfork.S: Delete.
44157         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44158         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44159         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44160         (ret_ERRVAL, r0, r1, MOVE): Define.
44161         (JUMPTARGET): Remove.
44162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44163         sysdeps/unix/sparc/sysdep.h
44164         (ENTRY, END): Remove.
44165         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44166
44167 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44168
44169         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44170         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44171         -DIS_IN_build.
44172
44173         * timezone/README: Update upstream location and email address for
44174         tzcode and tzdata.
44175         * timezone/zdump.c: Update from tzcode 2012b.
44176         * timezone/zic.c: Likewise.
44177
44178         * configure.in (libc_cv_as_needed): Remove test.
44179         * configure: Regenerated.
44180         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44181         conditional definition.
44182         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44183         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44184         * config.make.in (have-as-needed): Remove variable.
44185
44186 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44187             Paul Pluzhnikov  <ppluzhnikov@google.com>
44188
44189         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44190         strings correctly.
44191
44192 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44193
44194         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44195         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44196         * sysdeps/sh/strlen.S: Likewise.
44197
44198 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44199
44200         * sysdeps/unix/fork.S: Remove file.
44201         * sysdeps/unix/i386/fork.S: Likewise.
44202         * sysdeps/unix/sparc/fork.S: Likewise.
44203
44204         * sysdeps/unix/system.c: Remove file.
44205         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44206
44207         * sysdeps/unix/getegid.S: Remove file.
44208         * sysdeps/unix/geteuid.S: Likewise.
44209
44210 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44211
44212         * scripts/check-localplt.awk: New file.
44213         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44214         of diff.
44215         * scripts/data/localplt-generic.data: Add a comment.
44216
44217         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44218         NODE when __dir_mkfile failed.
44219         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44220         Reported by Ludovic Courtès <ludo@gnu.org>.
44221
44222 2012-04-24  Andreas Jaeger  <aj@suse.de>
44223
44224         * Makerules (common-clean): Also remove gen-as-const-headers
44225         files.
44226
44227 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44228
44229         * Makerules (native-compile): Do not change working directory for
44230         build.  Use $(OUTPUT_OPTION) in command.
44231         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44232
44233 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44234
44235         [BZ #13886]
44236         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44237         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44238         * math/libm-test.inc (floor_test): Add more tests.
44239         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44240
44241 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44242
44243         * sysdeps/unix/getdents.c: Remove file.
44244         * sysdeps/unix/sysv/getdents.c: Likewise.
44245         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44246
44247         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44248         sysdeps/unix/mman/syscalls.list.
44249         (mmap): Likewise.
44250         (mprotect): Likewise.
44251         (msync): Likewise.
44252         (munmap): Likewise.
44253         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44254         * sysdeps/unix/mman/syscalls.list: Remove.
44255         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44256
44257         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44258         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44259         * configure: Regenerated.
44260         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44261         $(libgcc_s_suffix).
44262         * config.make.in (libgcc_s_suffix): Remove variable.
44263
44264 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44265
44266         * sysdeps/unix/sysv/gethostname.c: Move to ...
44267         * sysdeps/posix/gethostname.c: ... here.
44268
44269         * sysdeps/unix/execve.S: Remove file.
44270
44271         * sysdeps/unix/_exit.S: Remove file.
44272
44273 2012-04-23  Andreas Jaeger  <aj@suse.de>
44274
44275         [BZ #13739]
44276         * manual/Makefile: Remove make dist support, there's no
44277         need for a stand-alone documentation tar ball.
44278         (TEXI2DVI): Define always, it's not in Makeconfig.
44279         (dist): Removed.
44280         (tar-it): Removed.
44281         (edition): Removed.
44282         (glibc-doc-$(edition).tar): Removed
44283         (%.Z): Removed.
44284         (%.gz): Removed.
44285         (%.uu): Removed.
44286         (ETAGS): Remove, it's in Makeconfig.
44287         (move-if-change): Remove, it's in Makeconfig.
44288
44289 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44290
44291         [BZ #13970]
44292         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44293         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44294         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44295         (strtod_l, strtof_l, strtold_l): Remove __wur.
44296         It is not necessarily an error to ignore strtol's return value.
44297         One can reliably look at the stored endptr to decide whether
44298         the number had valid syntax.
44299
44300 2012-04-21  Andreas Jaeger  <aj@suse.de>
44301
44302         [BZ #13739]
44303         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44304
44305 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44306
44307         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44308         * sysdeps/unix/sysv/Versions: Remove file.
44309
44310 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44311
44312         [BZ #13927]
44313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44314
44315 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44316
44317         [BZ #7064]
44318         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44319         version from __vm86.
44320
44321 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44322
44323         * sysdeps/unix/common/lxstat.c: Remove file.
44324         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44325
44326         * sysdeps/unix/sysv/Makefile: Remove file.
44327
44328         * sysdeps/unix/sysv/direct.h: Remove file.
44329
44330         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44331         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44332         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44333         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44334         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44335         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44336         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44337
44338         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44339
44340         * sysdeps/unix/xmknod.c: Remove file.
44341         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44342
44343         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44344
44345         * sysdeps/unix/sysv/i386/time.S: Remove file.
44346
44347         * sysdeps/unix/fxstat.c: Remove file.
44348         * sysdeps/unix/xstat.c: Likewise.
44349         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44350
44351         * sysdeps/unix/sysv/sigaction.c: Remove file.
44352
44353         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44354         (sysdep_headers): Remove variable.
44355         [termio.h not in sysdep_headers] (generated): Likewise.
44356         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44357         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44358         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44359         * sysdeps/unix/sysv/tcflow.c: Likewise.
44360         * sysdeps/unix/sysv/tcflush.c: Likewise.
44361         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44362         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44363         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44364         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44365         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44366
44367         * sysdeps/unix/siglist.c: Remove file.
44368
44369         * sysdeps/unix/getppid.S: Remove file.
44370
44371         * sysdeps/unix/mkdir.c: Remove file.
44372         * sysdeps/unix/rmdir.c: Likewise.
44373
44374 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44375
44376         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44377         ERR_MAX value.
44378         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44379         errlist-compat value.
44380
44381 2012-04-18  David S. Miller  <davem@davemloft.net>
44382
44383         * sysdeps/generic/memcopy.h (reg_char): Delete.
44384         * debug/strcat_chk.c: Use char, not reg_char.
44385         * debug/strcpy_chk.c: Likewise.
44386         * debug/strncat_chk.c: Likewise.
44387         * debug/strncpy_chk.c: Likewise.
44388         * string/memchr.c: Likewise.
44389         * string/memrchr.c: Likewise.
44390         * string/rawmemchr.c: Likewise.
44391         * string/strcat.c: Likewise.
44392         * string/strchr.c: Likewise.
44393         * string/strchrnul.c: Likewise.
44394         * string/strcmp.c: Likewise.
44395         * string/strcpy.c: Likewise.
44396         * string/strncat.c: Likewise.
44397         * string/strncmp.c: Likewise.
44398         * string/strncpy.c: Likewise.
44399
44400 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44401
44402         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44403         __builtin_memcopy is called when src and dest ranges are known to not
44404         overlap.
44405
44406 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44407
44408         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44409         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44410         fwd_align_merge macro call.
44411         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44412         bwd_align_merge macro call.
44413         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44414
44415 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44416
44417         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44418         bwd_align_merge macros.
44419         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44420         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44421         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44422
44423 2012-04-18  David S. Miller  <davem@davemloft.net>
44424
44425         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44426
44427 2012-04-18  Andreas Jaeger  <aj@suse.de>
44428
44429         [BZ# 6794]
44430         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44431         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44432         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44433
44434         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44435         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44436         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44437
44438         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44439         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44440         Adjust for changed ldbl-128 files.
44441
44442         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44443         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44444         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44445
44446 2012-04-17  David S. Miller  <davem@davemloft.net>
44447
44448         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44449
44450 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44451
44452         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44453         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44454         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44455         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44456         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44457         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44458
44459 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44460
44461         [BZ #6794]
44462         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44463         * math/libm-test.inc: Add ilogb errno and exception tests.
44464         * math/w_ilogb.c: New file: ilogb wrapper.
44465         * math/w_ilogbf.c: New file: ilogbf wrapper.
44466         * math/w_ilogbl.c: New file: ilogbl wrapper.
44467         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44468         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44469         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44470         exception being thrown with 0.0 as argument.
44471         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44472         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44473         exception being thrown with 0.0 as argument.
44474         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44475         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44476         exception being thrown with 0.0 as argument.
44477         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44478         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44479         exception being thrown with 0.0 as argument.
44480         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44481         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44482         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44483         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44484         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44485         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44486         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44487         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44488         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44489
44490 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44491
44492         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44493         with altivec.
44494
44495 2012-04-16  Marek Polacek  <polacek@redhat.com>
44496
44497         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44498
44499 2012-04-16  Marek Polacek  <polacek@redhat.com>
44500
44501         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44502         operands of fdivp instruction.
44503
44504 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44505
44506         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44507         * elf/tst-auditmod3b.c: Likewise.
44508         * elf/tst-auditmod4b.c: Likewise.
44509         * elf/tst-auditmod5b.c: Likewise.
44510         * elf/tst-auditmod6b.c: Likewise.
44511         * elf/tst-auditmod6c.c: Likewise.
44512         * elf/tst-auditmod7b.c: Likewise.
44513         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44514         * sysdeps/x86_64/preconfigure.in: Likewise.
44515         * sysdeps/x86_64/preconfigure: Regenerated.
44516
44517 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44518
44519         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44520         __ILP32__.
44521
44522 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44523
44524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44525         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44526
44527 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44528
44529         [BZ #13973]
44530         * locale/iso-639.def: Fix gl language name. Spotted by
44531         Yaron Shahrabani.
44532
44533 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44534
44535         [BZ #2074]
44536         * libio/libio.h (__io_write_fn): Update comment.
44537
44538 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44539
44540         [BZ #2074]
44541         * stdio.texi (Hook Functions): The user provided writer function
44542         is not allowed to return -1.
44543
44544 2012-04-11  David S. Miller  <davem@davemloft.net>
44545
44546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44547
44548 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44549
44550         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44551         Add a leading slash to rtkaio.
44552
44553 2012-04-11  Jim Meyering  <meyering@redhat.com>
44554
44555         [BZ #11959]
44556         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44557         It is not necessarily an error to ignore fwrite's return
44558         value.  One can reliably use ferror to test for errors after
44559         the fact.
44560
44561 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44562
44563         * bits/types.h (__snseconds_t): New type.
44564         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44565
44566         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44568         (__SNSECONDS_T_TYPE): Likewise.
44569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44570         (__SNSECONDS_T_TYPE): Likewise.
44571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44572         (__SNSECONDS_T_TYPE): Likewise.
44573
44574 2012-04-10  Andreas Jaeger  <aj@suse.de>
44575
44576         [BZ #2636]
44577         * manual/time.texi (Processor Time): Return type of times is
44578         elapsed real time since an arbitrary point in the past.
44579         (CPU Time): Move CLK_TCK from here...
44580         (Processor Time): ...to here.  Correct description.
44581         * manual/conf.texi (Constants for Sysconf): Correct description of
44582         _SC_CLK_TCK.
44583
44584 2012-04-10  David S. Miller  <davem@davemloft.net>
44585
44586         [BZ #13967]
44587         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44588         where the is a gap between DT_REL(A) and DT_JMPREL.
44589
44590 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44591
44592         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44593         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44594         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44595
44596 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44597
44598         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44599         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44600         (dl_main): Handle --inhibit-cache.
44601         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44602         _dl_inhibit_cache.
44603         * elf/dl-load.c (_dl_map_object): Use it.
44604         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44605
44606 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44607
44608         [BZ #13872]
44609         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44610         (__ieee754_powl): Saturate large exponents rather than testing for
44611         overflow of y*log2(x).
44612         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44613         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44614         exceptions.
44615
44616         [BZ #11521]
44617         * math/s_ctan.c: Include <float.h>.
44618         (__ctan): Avoid internal overflow or cancellation in calculating
44619         denominator.
44620         * math/s_ctanf.c: Likewise.
44621         * math/s_ctanl.c: Likewise.
44622         * math/s_ctanh.c: Likewise.
44623         * math/s_ctanhf.c: Likewise.
44624         * math/s_ctanhl.c: Likewise.
44625         * math/libm-test.inc (ctan_test): Add more tests.
44626         (ctanh_test): Likewise.
44627         * sysdeps/i386/fpu/libm-test-ulps: Update.
44628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44629
44630 2012-04-09  Andreas Jaeger  <aj@suse.de>
44631
44632         [BZ #6894]
44633         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44634         is an optional BSD extension.
44635
44636         [BZ #10254]
44637         * manual/stdio.texi (Opening Streams): Document additional fopen
44638         parameters.
44639
44640 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44641
44642         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44643         %eax without telling the compiler.
44644
44645 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44646
44647         [BZ # 13963]
44648         * manual/install.texi: Use sourceware.org.
44649
44650 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44651
44652         [BZ #13873]
44653         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44654         (__ieee754_pow): Generate overflow and underflow using huge*huge
44655         and tiny*tiny rather than just returning constant infinity or zero
44656         for large exponents.
44657         * math/libm-test.inc (pow_test): Require overflow exceptions for
44658         applicable cases of large exponents.
44659
44660         [BZ #706]
44661         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44662         (__ieee754_pow): Use iterative multiplication algorithm only for
44663         integer exponents with absolute value below 1024.  Check for odd
44664         integer exponents when using algorithm for real exponents.
44665         * math/libm-test.inc (pow_test): Add more tests.
44666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44667
44668 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44669
44670         [BZ #13705]
44671         * math/libm-test.inc (exp_test): Do not allow overflow exception
44672         on underflow test.
44673
44674 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44675
44676         [BZ #13705]
44677         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44678         instead of __kernel_standard_f.
44679
44680 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44681
44682         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44683         * sysdeps/x86_64/memset_chk.S: Likewise.
44684
44685 2012-04-08  Andreas Jaeger  <aj@suse.de>
44686
44687         [BZ #10153]
44688         * manual/startup.texi (Environment Access): Describe return value
44689         for putenv and setenv.
44690
44691         [BZ #6895]
44692         * manual/filesys.texi (Directory Entries): Add description for
44693         DT_LNK.
44694
44695         [BZ #6890]
44696         * manual/filesys.texi (Directory Entries): Clarify that it's file
44697         system not operating system in the description of DT_UNKNOWN.
44698
44699         [BZ #6578]
44700         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44701
44702 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44703
44704         [BZ #6649]
44705         * manual/llio.texi (Opening and Closing Files): Add cross
44706         reference to explain mode argument.
44707
44708 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44709
44710         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44711         * sysdeps/x86_64/memset_chk.S: Likewise.
44712
44713 2012-04-07  David S. Miller  <davem@davemloft.net>
44714
44715         * elf/elf.h (R_SPARC_WDISP10): Define.
44716         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44717         R_SPARC_SIZE32.
44718         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44719         R_SPARC_SIZE64 and R_SPARC_H34.
44720
44721 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44722
44723         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44724         conditions and remove no longer applicable assertion.
44725
44726 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44727
44728         * bits/byteswap.h: Include <features.h>.
44729         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44730         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44731
44732 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44733
44734         * bits/byteswap.h (__bswap_16): Removed.
44735         Include <bits/byteswap-16.h> to get __bswap_16.
44736         * sysdeps/i386/bits/byteswap.h: Likewise.
44737         * sysdeps/s390/bits/byteswap.h: Likewise.
44738         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44739         * bits/byteswap-16.h: New file.
44740         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44741         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44742         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44743         * string/Makefile (headers): Add bits/byteswap-16.h.
44744
44745 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44746
44747         [BZ #13895]
44748         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44749         extra indirection.
44750         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44751         * nss/tst-nss-static.c: New.
44752
44753 2012-04-06  Robert Millan  <rmh@gnu.org>
44754
44755         [BZ #6486]
44756         * manual/llio.texi (File Position Primitive): lseek
44757         refers to WHENCE when it really means OFFSET.
44758
44759 2012-04-06  Andreas Jaeger  <aj@suse.de>
44760
44761         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44762         strncmp declarations.
44763
44764         * abilist/libc.abilist: Add __poll and __ppoll.
44765
44766 2012-04-05  David S. Miller  <davem@davemloft.net>
44767
44768         * scripts/check-local-headers.sh: Accept a host triplet in the
44769         path matched by the exclude regexp.
44770
44771         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44772         definition.
44773         * sysdeps/powerpc/powerpc32/dl-machine.h
44774         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44775         * sysdeps/s390/s390-32/dl-machine.h
44776         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44777         * sysdeps/sparc/sparc32/dl-machine.h
44778         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44779         * sysdeps/sparc/sparc64/dl-machine.h
44780         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44781
44782         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44783         lazy binding.
44784         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44785         undefined symbol errors.
44786
44787         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44788         DT_NEEDED entries.
44789
44790 2012-04-05  Michael Matz  <matz@suse.de>
44791
44792         [BZ #13592]
44793         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44794
44795 2012-04-05  Andreas Jaeger  <aj@suse.de>
44796
44797         [BZ #13908]
44798         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44799         comment.
44800
44801 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44802
44803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44804         which ROUND is no valid rounding mode.
44805
44806 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44807
44808         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44809         read again.
44810         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44811
44812 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44813
44814         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44815         an exception using FPU order intentionally.
44816
44817 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44818
44819         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44820         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44821         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44822         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44823
44824 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44825
44826         [BZ #12340]
44827         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44828         EINVAL when BUFLEN is too smal.
44829
44830 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44831
44832         [BZ #13553]
44833         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44834         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44835
44836 2012-04-03  Andreas Jaeger  <aj@suse.de>
44837
44838         [BZ #13938]
44839         * manual/setjmp.texi (System V contexts): Fix sentence.
44840
44841         [BZ #13926]
44842         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44843         New macro for this case.
44844         [!__GNUC__] (__bswap_64): New inline function for this case.
44845         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44846         * bits/byteswap.h: Likewise.
44847         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44848         ull, guard with __GLIBC_HAVE_LONG_LONG.
44849
44850         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44851         __GLIBC_HAVE_LONG_LONG.
44852
44853         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44854         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44855
44856 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44857
44858         [BZ #13691]
44859         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44860         inptr and inend, rather than using last_ch.
44861
44862 2012-04-02  David S. Miller  <davem@davemloft.net>
44863
44864         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44865         * stdio-common/printf-parse.h (read_int): Change return type to
44866         'int', return -1 on INT_MAX overflow.
44867         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44868         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44869         overflows INT_MAX.  Check for overflow of in-format-string precision
44870         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44871         SIZE_MAX not INT_MAX for integer overflow test.
44872         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44873         skip the construct in the format string but do not record anything.
44874         * stdio-common/bug22.c: Adjust to test both width/prevision
44875         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44876         explicitly for proper errno values.
44877
44878 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44879
44880         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44881         CHAR_MAX.
44882         * string/test-strcmp.c [! WIDE]: Likewise.
44883         * time/tst-mktime2.c: Likewise for INT_MAX.
44884         * string/test-string.h: #include <sys/param.h> for MIN.
44885
44886         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44887         * sysdeps/i386/init-first.c (init): Likewise.
44888         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44889         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44890         * sysdeps/sh/init-first.c (init): Likewise.
44891
44892 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44893
44894         * po/ru.po: Update from translation team.
44895         * po/vi.po: Likewise.
44896
44897 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44898
44899         * resolv/nss_dns/dns-host.c: Merge copyright years.
44900
44901 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44902
44903         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44904         Optimize memcpy with prefetch if
44905         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44906         src, dst pointers have unequal 16 byte alignments.
44907
44908 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44909
44910         [BZ #13928]
44911         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44912         from a CNAME entry and return the minimum ttl for the query.
44913         (gaih_getanswer_slice): Likewise.
44914
44915 2012-03-30  Jeff Law  <law@redhat.com>
44916
44917         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44918         due to long keys.
44919         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44920         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44921
44922         * resolv/nss_dns/dns-host.c: Update copyright year.
44923
44924 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44925
44926         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44927         requests to save a system call.  Fix check that all bytes are sent.
44928
44929         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44930         comments for sendmmsg.
44931
44932 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44933
44934         [BZ #13691]
44935         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44936         with only 1 character between 0x0041 and 0x01b0.
44937         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44938         * wcsmbs/tst-mbsnrtowcs.c: New file.
44939
44940 2012-03-29  David S. Miller  <davem@davemloft.net>
44941
44942         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44943         small copies by hand.
44944
44945 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44946
44947         [BZ #13761]
44948         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44949         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44950         group memberships.
44951
44952 2012-03-28  David S. Miller  <davem@davemloft.net>
44953
44954         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44955         that branches into memcpy.
44956         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44957         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44959         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44960         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44961         bits.
44962         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44963         implementation too.
44964         * sysdeps/sparc/mempcpy.S: New file.
44965
44966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44967         the IFUNC routine in the libc case.
44968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44969
44970         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44971         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44972         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44973         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44974         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44975         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44976         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44977         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44978
44979         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44980         loop to 256 bytes instead of 64 bytes and fix test signedness.
44981
44982         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44983         * sysdeps/sparc/sparc32/Makefile: rather than here...
44984         * sysdeps/sparc/sparc64/Makefile: and here.
44985
44986 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44987
44988         * malloc/mallocbug.c: Avoid warnings about unused variables.
44989
44990 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44991
44992         [BZ #13760]
44993         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44994         in the right place. Discard and retry query if response is
44995         larger than input buffer size.
44996
44997 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44998
44999         [BZ #369]
45000         [BZ #2678]
45001         [BZ #3866]
45002         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45003         x for large integer exponent.
45004         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45005         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45006         sign of result as needed afterwards.
45007         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45008         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45009         result for underflowing pow the same as for overflow.
45010         (__kernel_standard_l): Handle powl overflow and underflow here
45011         rather than calling __kernel_standard.
45012         * math/libm-test.inc (pow_test): Add more tests.
45013
45014         [BZ #3868]
45015         [BZ #13879]
45016         [BZ #13910]
45017         [BZ #13911]
45018         [BZ #13912]
45019         [BZ #13913]
45020         [BZ #13915]
45021         [BZ #13916]
45022         [BZ #13917]
45023         [BZ #13918]
45024         [BZ #13919]
45025         [BZ #13920]
45026         [BZ #13921]
45027         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45028         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45029         (__kernel_standard_l): New function.
45030         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45031         __kernel_standard.
45032         * math/w_acosl.c (__acosl): Likewise.
45033         * math/w_asinl.c (__asinl): Likewise.
45034         * math/w_atan2l.c (__atan2l): Likewise.
45035         * math/w_atanhl.c (__atanhl): Likewise.
45036         * math/w_coshl.c (__coshl): Likewise.
45037         * math/w_exp10l.c (__exp10l): Likewise.
45038         * math/w_exp2l.c (__exp2l): Likewise.
45039         * math/w_fmodl.c (__fmodl): Likewise.
45040         * math/w_hypotl.c (__hypotl): Likewise.
45041         * math/w_j0l.c (__j0l, __y0l): Likewise.
45042         * math/w_j1l.c (__j1l, __y1l): Likewise.
45043         * math/w_jnl.c (__jnl, __ynl): Likewise.
45044         * math/w_lgammal.c (__lgammal): Likewise.
45045         * math/w_log10l.c (__log10l): Likewise.
45046         * math/w_log2l.c (__log2l): Likewise.
45047         * math/w_logl.c (__logl): Likewise.
45048         * math/w_powl.c (__powl): Likewise.
45049         * math/w_remainderl.c (__remainderl): Likewise.
45050         * math/w_scalbl.c (sysv_scalbl): Likewise.
45051         * math/w_sinhl.c (__sinhl): Likewise.
45052         * math/w_sqrtl.c (__sqrtl): Likewise.
45053         * math/w_tgammal.c (__tgammal): Likewise.
45054         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45055         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45056         * math/libm-test.inc (acos_test): Add more tests.
45057         (acosh_test): Likewise.
45058         (asin_test): Likewise.
45059         (atanh_test): Likewise.
45060         (exp_test): Likewise.
45061         (exp10_test): Likewise.
45062         (exp2_test): Likewise.
45063         (expm1_test): Likewise.
45064         (lgamma_test): Likewise.
45065         (log_test): Likewise.
45066         (log10_test): Likewise.
45067         (log1p_test): Likewise.
45068         (log2_test): Likewise.
45069         (pow_test): Do not allow some spurious overflow exceptions.
45070         (sqrt_test): Add more tests.
45071         (tgamma_test): Likewise.
45072         (y0_test): Likewise.
45073         (y1_test): Likewise.
45074         (yn_test): Likewise.
45075
45076 2012-03-27  Anton Blanchard  <anton@samba.org>
45077
45078         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45079         MAP_HUGETLB.
45080         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45081         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45083
45084 2012-03-27  David S. Miller  <davem@davemloft.net>
45085
45086         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45087
45088         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45089         have-as-vis3 check.
45090
45091 2012-03-27  Andreas Jaeger  <aj@suse.de>
45092
45093         * sysdeps/x86_64/elf/configure.in: Moved to ...
45094         * sysdeps/x86_64/configure.in: ... here.
45095         * sysdeps/x86_64/elf/start.S: Moved to ...
45096         * sysdeps/x86_64/start.S: ... here.
45097         * sysdeps/x86_64/elf/configure: Delete.
45098
45099         * sysdeps/x86_64/configure.in: Merge contents from
45100         sysdeps/i386/configure.in (without i686 check).
45101
45102         * sysdeps/i386/elf/Versions: Merge into ...
45103         * sysdeps/i386/Versions: ... this.
45104         * sysdeps/i386/elf/Versions: Delete file.
45105         * sysdeps/i386/elf/start.S: Moved to ...
45106         * sysdeps/i386/start.S: ...here.
45107         * sysdeps/i386/elf/configure.in: Merge into...
45108         * sysdeps/i386/configure.in: ...here.
45109         * sysdeps/i386/elf/configure.in: Delete file.
45110         * sysdeps/i386/elf/configure: Delete file.
45111
45112         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45113         * debug/backtracesyms.c: ... here.
45114         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45115         * debug/backtracesymsfd.c: ... here.
45116         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45117         * sysdeps/generic/ifunc-sel.h: ... here.
45118
45119         * sysdeps/unix/i386/start.c: Delete file.
45120         * sysdeps/unix/sparc/start.c: Delete file.
45121         * sysdeps/unix/start.c: Delete file.
45122
45123         * sysdeps/sh/elf/configure.in: Moved to ...
45124         * sysdeps/sh/configure.in: ... here.
45125         * sysdeps/sh/elf/start.S: Moved to ...
45126         * sysdeps/sh/start.S: ... here.
45127         * sysdeps/sh/elf/configure: Delete file.
45128
45129         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45130         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45131         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45132         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45133         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45134         * sysdeps/powerpc/powerpc64/start.S: here.
45135         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45136         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45137         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45138         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45139         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45140
45141         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45142         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45143         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45144         * sysdeps/powerpc/powerpc32/start.S: ... here.
45145         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45146         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45147         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45148
45149         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45150         * sysdeps/powerpc/ifunc-sel.h: ... here.
45151         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45152         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45153
45154         * sysdeps/sparc/elf/configure.in: Moved to ...
45155         * sysdeps/sparc/configure.in: ... here.
45156         * sysdeps/sparc/elf/configure: Delete file.
45157         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45158         * sysdeps/sparc/sparc32/start.S: ... here.
45159         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45160         * sysdeps/sparc/sparc64/start.S: ... here.
45161         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45162         * sysdeps/sparc/sparc32/Makefile: ... this.
45163         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45164         * sysdeps/sparc/sparc64/Makefile: ... this.
45165
45166         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45167         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45168         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45169         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45170         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45171         * sysdeps/s390/s390-32/setjmp.S: ... here.
45172         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45173         * sysdeps/s390/s390-32/configure.in: ... here.
45174         * sysdeps/s390/s390-32/elf/configure: Delete file.
45175         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45176         * sysdeps/s390/s390-32/start.S: ... here.
45177
45178         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45179         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45180         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45181         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45182         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45183         * sysdeps/s390/s390-64/setjmp.S: ... here.
45184         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45185         * sysdeps/s390/s390-64/configure.in: ... here
45186         * sysdeps/s390/s390-64/elf/configure: Delete file.
45187         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45188         * sysdeps/s390/s390-64/start.S: ... here.
45189         * sysdeps/s390/s390-64/elf/configure: Delete.
45190
45191         * configure.in: Remove support for elf directories in sysdeps.
45192
45193         * configure: Regenerated.
45194         * sysdeps/i386/configure: Regenerated.
45195         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45196         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45197         * sysdeps/s390/s390-32/configure: Regenerated.
45198         * sysdeps/s390/s390-64/configure: Regenerated.
45199         * sysdeps/sh/configure: Regenerated.
45200         * sysdeps/sparc/configure: Regenerated.
45201         * sysdeps/x86_64/configure: Regenerated.
45202
45203 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45204
45205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45206
45207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45208         denormal result into account.
45209
45210 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45211
45212         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45213         Reported by Allan McRae <allan@archlinux.org>.
45214
45215 2012-03-23  Jeff Law  <law@redhat.com>
45216
45217         * nss/getnssent.c (__nss_getent): Fix typo.
45218
45219 2012-03-23  David S. Miller  <davem@davemloft.net>
45220
45221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45222
45223 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45224
45225         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45226         to pad to uint64_t for each field.
45227         (dl_tls_index): Replace unsigned long with uint64_t.
45228
45229 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45230         Paul Pluzhnikov  <ppluzhnikov@google.com>
45231
45232         [BZ #6528]
45233         * grp/Makefile (otherlibs): Don't set it.
45234         * inet/Makefile (otherlibs): Likewise.
45235         * login/Makefile (otherlibs): Likewise.
45236         * nscd/Makefile (otherlibs): Likewise.
45237         * posix/Makefile (otherlibs): Likewise.
45238         * pwd/Makefile (otherlibs): Likewise.
45239         * rt/Makefile (otherlibs): Likewise.
45240         * sunrpc/Makefile (otherlibs): Likewise.
45241         * nss/Makefile (otherlibs): Likewise.
45242         Add libnss_files to routines and static-only-routines.
45243         ($(objpfx)getent): Remove rule.
45244         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45245         static-only-routines.
45246
45247 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45248
45249         [BZ #13892]
45250         * math/s_cexp.c: Include <float.h>.
45251         (__cexp): Handle exp result overflowing not necessarily
45252         overflowing both real and imaginary parts of result.
45253         * math/s_cexpf.c: Likewise.
45254         * math/s_cexpl.c: Likewise.
45255         * math/libm-test.inc (cexp_test): Add more tests.
45256         * sysdeps/i386/fpu/libm-test-ulps: Update.
45257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45258
45259 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45260
45261         * include/link.h (ELFW): New macro.
45262         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45263         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45264
45265 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45266
45267         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45268         with uint64_t.
45269
45270 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45271
45272         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45273         declaration.
45274         (struct La_x32_retval): Likewise.
45275
45276 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45277
45278         * sysdeps/x86_64/preconfigure.in: New file.
45279         * sysdeps/x86_64/preconfigure: New generated file.
45280
45281 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45282
45283         [BZ #13824]
45284         * math/e_exp2l.c: Include <float.h>.
45285         (__ieee754_exp2l): Handle overflow and underflow cases
45286         separately.  Only pass fractional part of argument to
45287         __ieee754_expl.
45288         * math/libm-test.inc (exp2_test): Add more tests.
45289
45290         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45291         negating x to take absolute value.
45292         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45293         Likewise.
45294         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45295         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45296         Likewise.
45297         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45298         computing low part if x was negated.
45299         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45300
45301 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45302
45303         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45304         la_x32_gnu_pltexit.
45305         (pltexit): Cast int_retval to ptrdiff_t.
45306         * elf/tst-auditmod3b.c: Likewise.
45307         * elf/tst-auditmod4b.c: Likewise.
45308         * elf/tst-auditmod5b.c: Likewise.
45309         * elf/tst-auditmod6b.c: Likewise.
45310         * elf/tst-auditmod6c.c: Likewise.
45311         * elf/tst-auditmod7b.c: Likewise.
45312
45313         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45314         and x32_gnu_pltexit.
45315
45316         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45317         __ELF_NATIVE_CLASS.
45318         (La_x32_regs): New macro.
45319         (La_x32_retval): Likewise.
45320         (la_x32_gnu_pltenter): New function prototype.
45321         (la_x32_gnu_pltexit): Likewise.
45322
45323 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45324
45325         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45326         exponent.
45327
45328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45329
45330         * configure.in (libc_cv_cc_nofma): Check for option to disable
45331         generation of FMA instructions.
45332         * configure: Regenerate.
45333         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45334         * sysdeps/ieee754/dbl-64/Makefile: New file.
45335         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45336         Remove brandred-fma4.
45337         (CFLAGS-brandred-fma4.c): Remove.
45338         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45339         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45340         define.
45341         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45342         define.
45343
45344 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45345
45346         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45347         LLONG_MAX != LONG_MAX.
45348         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45349         (_fitoa_word): Likewise.
45350         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45351         LLONG_MAX != LONG_MAX.
45352         * stdio-common/_itowa.h: Include <_itoa.h>.
45353         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45354         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45355         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45356         only if not defined.
45357         (_ITOA_WORD_TYPE): Likewise.
45358         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45359         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45360
45361 2012-03-21  David S. Miller  <davem@davemloft.net>
45362
45363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45364
45365 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45366
45367         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45368         of x86_64 when setting libc_cv_slibdir, libdir and
45369         libc_cv_localedir.
45370         * sysdeps/unix/sysv/linux/configure: Regenerated.
45371
45372 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45373
45374         * manual/lang.texi (Old Varargs): Remove section.
45375         (How Variadic): Update menu.
45376         (va_start): Do not mention varargs.h.
45377
45378 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45379             Joseph Myers  <joseph@codesourcery.com>
45380
45381         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45382         link test.
45383         * configure: Regenerated.
45384
45385 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45386
45387         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45388         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45389         conformtest.pl
45390
45391 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45392
45393         * NOTES: Remove.
45394         * Makefile (files-for-dist): Remove NOTES.
45395         (NOTES): Remove rule.
45396         * README: Don't refer to NOTES.
45397         * manual/creature.texi: Don't include macros.texi.
45398         * manual/intro.texi (creature.texi): Remove comment referring to
45399         NOTES.
45400
45401         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45402         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45403         * configure: Regenerated.
45404         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45405         LIBC_TRY_CC_OPTION.
45406         (libc_cv_as_i686): Likewise.
45407         (libc_cv_cc_avx): Likewise.
45408         (libc_cv_cc_sse2avx): Likewise.
45409         (libc_cv_cc_fma4): Likewise.
45410         (libc_cv_cc_novzeroupper): Likewise.
45411         * sysdeps/i386/configure: Regenerated.
45412
45413         [BZ #13883]
45414         * sysdeps/i386/fpu/s_cexp.S: Remove.
45415         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45416         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45417         * math/libm-test.inc (cexp_test): Add more tests.
45418         * sysdeps/i386/fpu/libm-test-ulps: Update.
45419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45420
45421 2012-03-21  Allan McRae  <allan@archlinux.org>
45422
45423         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45424
45425 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45426
45427         [BZ #13871]
45428         * math/w_exp2.c: Do not include <float.h>.
45429         (o_threshold, u_threshold): Remove.
45430         (__exp2): Calculate result before checking finiteness and calling
45431         __kernel_standard.
45432         * math/w_exp2f.c: Likewise.
45433         * math/w_exp2l.c: Likewise.
45434         * math/libm-test.inc (exp2_test): Require overflow exception for
45435         1e6 input.
45436
45437         [BZ #3866]
45438         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45439         range of signed 64-bit integers before using fistpll.  Remove
45440         checks for whether integers fit in mantissa bits.
45441         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45442         the range of signed 32-bit integers before using fistpl.  Remove
45443         checks for whether integers fit in mantissa bits.
45444         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45445         (__ieee754_powl): Test for y outside the range of signed 64-bit
45446         integers before using fistpll.  Reduce 64-bit values to 63-bit
45447         ones as needed.
45448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45449         divide-by-zero is raised for zero to large negative powers.
45450         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45451         (__ieee754_powl): Test for y outside the range of signed 64-bit
45452         integers before using fistpll.  Reduce 64-bit values to 63-bit
45453         ones as needed.
45454         * math/libm-test.inc (pow_test): Add more tests.
45455
45456 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45457
45458         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45459         <stdio-common/_itoa.h>.
45460         * debug/segfault.c: Likewise.
45461         * elf/dl-cache.c: Likewise.
45462         * elf/dl-minimal.c: Likewise.
45463         * elf/dl-misc.c: Likewise.
45464         * elf/dl-sysdep.c: Likewise.
45465         * elf/dl-version.c: Likewise.
45466         * elf/rtld.c: Likewise.
45467         * hurd/hurdsock.c: Likewise.
45468         * hurd/lookup-retry.c: Likewise.
45469         * malloc/malloc.c: Likewise.
45470         * malloc/mtrace.c: Likewise.
45471         * nscd/nscd_getgr_r.c: Likewise.
45472         * nscd/nscd_getpw_r.c: Likewise.
45473         * nscd/nscd_getserv_r.c: Likewise.
45474         * posix/getopt_init.c: Likewise.
45475         * posix/wordexp.c: Likewise.
45476         * stdio-common/_itoa.c: Likewise.
45477         * stdio-common/printf_fphex.c: Likewise.
45478         * stdio-common/vfprintf.c: Likewise.
45479         * string/_strerror.c: Likewise.
45480         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45481         * sysdeps/i386/i686/hp-timing.h: Likewise.
45482         * sysdeps/mach/_strerror.c: Likewise.
45483         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45484         * sysdeps/mach/hurd/sethostid.c: Likewise.
45485         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45486         * sysdeps/mach/xpg-strerror.c: Likewise.
45487         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45488         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45489         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45490         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45491         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45492         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45493         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45494         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45495         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45496         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45497         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45498         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45499         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45500         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45501         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45502         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45503         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45504         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45505         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45506         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45507         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45508
45509         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45510
45511         * stdio-common/_itoa.h: Moved to ...
45512         * sysdeps/generic/_itoa.h: Here.
45513
45514         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45515
45516         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45517         instead of "_itoa.h" and "_itowa.h".
45518         * stdio-common/vfprintf.: Likewise.
45519
45520 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45521
45522         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45523         <bits/wordsize.h>.
45524         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45525         (__signbit): Likwise.
45526         (llrintf): Likwise.
45527         (llrint): Likwise.
45528
45529 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45530
45531         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45532         __WORDSIZE != 64.
45533
45534 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45535
45536         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45537         OVERFLOW_EXCEPTION_OK.
45538         * math/libm-test.inc ("Philosophy"): Update comment about
45539         exception testing.
45540         (OVERFLOW_EXCEPTION): Define.
45541         (OVERFLOW_EXCEPTION_OK): Likewise.
45542         (INVALID_EXCEPTION_OK): Renumber.
45543         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45544         (IGNORE_ZERO_INF_SIGN): Likewise.
45545         (test_exceptions): Handle FE_OVERFLOW.
45546         (exp10_test): Expect overflow exceptions.
45547         (exp2_test): Likewise.
45548         (expm1_test): Likewise.
45549         (nextafter_test): Likewise.
45550         (pow_test): Likewise.
45551         (scalbn_test): Likewise.
45552         (scalbln_test): Likewise.
45553
45554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45555
45556         * sysdeps/x86_64/bits/atomic.h
45557         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45558         64bit integer.
45559         (atomic_exchange_acq): Likewise.
45560         (__arch_exchange_and_add_body): Likewise.
45561         (__arch_add_body): Likewise.
45562         (atomic_add_negative): Likewise.
45563         (atomic_add_zero): Likewise.
45564
45565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45566
45567         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45568         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45569
45570 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45571
45572         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45573         Check __x86_64__ instead of __WORDSIZE.
45574
45575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45576
45577         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45578
45579 2012-03-19  David S. Miller  <davem@davemloft.net>
45580
45581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45582
45583         * sysdeps/sparc/fpu/fenv_private.h: New file.
45584         * sysdeps/sparc/fpu/math_private.h: Use it.
45585         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45586         Remove.
45587         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45588         (libc_feholdexcept_setroundl): Remove.
45589         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45590         Remove.
45591         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45592         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45593
45594 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45595
45596         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45597         int64_t instead of long int.
45598         (INSERT_WORDS64): Likwise.
45599
45600 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45601
45602         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45603         _Unwind_GetCFA return to _Unwind_Ptr first.
45604
45605 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45606
45607         [BZ #13629]
45608         * math/s_clog.c: Include <float.h>.
45609         (__clog): Scale large or subnormal inputs.
45610         * math/s_clogf.c: Likewise.
45611         * math/s_clogl.c: Likewise.
45612         * math/s_clog10.c: Include <float.h>.
45613         (M_LOG10_2): Define.
45614         (__clog10): Scale large or subnormal inputs.
45615         * math/s_clog10f.c: Likewise.
45616         * math/s_clog10l.c: Likewise.
45617         * math/libm-test.inc (clog_test): Add more tests.
45618         (clog10_test): Likewise.
45619         * sysdeps/i386/fpu/libm-test-ulps: Update.
45620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45621
45622         [BZ #11451]
45623         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45624         x and y.
45625         * math/libm-test.inc (atan2_test): Add another test.
45626
45627         * Makerules (common-objdir-compile): Remove.
45628         * sysdeps/unix/Makefile (config-generated): Do not add
45629         $(unix-generated) to variable.
45630         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45631         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45632         Remove rule.
45633         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45634         Likewise.
45635         [generic bits/local_lim.h] (before-compile): Do not append to
45636         variable.
45637         [generic bits/local_lim.h] (common-generated): Likewise.
45638         [generic sys/param.h] (before-compile): Do not append to variable.
45639         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45640         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45641         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45642         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45643         include.
45644         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45645         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45646         [generic sys/param.h] ($(addprefix
45647         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45648         [generic sys/param.h] (common-generated): Do not append to
45649         variable.
45650         [generic sys/param.h] (sysdep_headers): Likewise.
45651         [generic bits/errno.h] (before-compile): Do not append to
45652         variable.
45653         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45654         rule.
45655         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45656         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45657         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45658         [generic bits/errno.h] (common-generated): Do not append to
45659         variable.
45660         [generic bits/ioctls.h] (before-compile): Do not append to
45661         variable.
45662         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45663         rule.
45664         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45665         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45666         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45667         rule.
45668         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45669         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45670         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45671         [generic bits/ioctls.h] (common-generated): Do not append to
45672         variable.
45673         [generic sys/syscall.h] (syscall.h): Remove variable.
45674         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45675         rule.
45676         [generic sys/syscall.h] (before-compile): Do not append to
45677         variable.
45678         [generic sys/syscall.h] (common-generated): Likewise.
45679         * sysdeps/unix/errnos-tmpl.c: Remove file.
45680         * sysdeps/unix/errnos.awk: Likewise.
45681         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45682         * sysdeps/unix/ioctls.awk: Likewise.
45683         * sysdeps/unix/mk-local_lim.c: Likewise.
45684         * sysdeps/unix/snarf-ioctls: Likewise.
45685
45686 2012-03-19  Richard Henderson  <rth@twiddle.net>
45687
45688         * sysdeps/i386/fpu/fenv_private.h: New file.
45689         * sysdeps/i386/fpu/math_private.h: Use it.
45690         (math_opt_barrier, math_force_eval): Remove.
45691         (libc_feholdexcept_setround_53bit): Remove.
45692         (libc_feupdateenv_53bit): Remove.
45693         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45694         (math_opt_barrier, math_force_eval): Remove.
45695         (libc_feholdexcept): Remove.
45696         (libc_feholdexcept_setround): Remove.
45697         (libc_fetestexcept, libc_fesetenv): Remove.
45698         (libc_feupdateenv_test): Remove.
45699         (libc_feupdateenv, libc_feholdsetround): Remove.
45700         (libc_feresetround): Remove.
45701
45702         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45703         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45704
45705         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45706         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45707         (libc_feupdateenv_testl): New.
45708         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45709         (libc_feupdateenv_testf): New.
45710         (libc_feupdateenv): Use libc_feupdateenv_test.
45711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45712         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45713
45714         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45715         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45716         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45717         (libc_feresetround_noex): New.
45718         (libc_feresetround_noexf): New.
45719         (libc_feresetround_noexl): New.
45720         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45721         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45722         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45723         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45724         SET_RESTORE_ROUND.
45725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45726         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45727         (__cos): Likewise.
45728         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45729         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45730         SET_RESTORE_ROUND_NOEX.
45731         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45732         SET_RESTORE_ROUND_NOEXF.
45733         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45734         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45735         (libc_feholdsetroundf): New.
45736         (libc_feresetround, libc_feresetroundf): New.
45737
45738         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45739         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45740         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45741
45742         * sysdeps/generic/math_private.h: Include <fenv.h>.
45743         (default_libc_feholdexcept): New.
45744         (default_libc_feholdexcept_setround): New.
45745         (default_libc_fesetenv, default_libc_feupdateenv): New.
45746         (libc_feholdexcept): Only define if undefined.
45747         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45748         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45749         (libc_feholdexcept_setroundl): Likewise.
45750         (libc_feholdexcept_setround_53bit): Likewise.
45751         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45752         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45753         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45754         (libc_feupdateenv_53bit): Likewise.
45755         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45756         (libc_feholdexcept): Convert from macro to inline function.
45757         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45758         (libc_fesetenv, libc_feupdateenv): Likewise.
45759
45760         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45761         not previously defined.
45762         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45763         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45764         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45765         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45766         * sysdeps/ieee754/flt-32/math_private.h: New file.
45767         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45768         math_private.h below SET_FLOAT_WORD.
45769         (__isnan, __isinf_ns, __finite): Remove.
45770         (__isnanf, __isinf_nsf, __finitef): Remove.
45771
45772 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45773
45774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45775
45776 2012-03-17  David S. Miller  <davem@davemloft.net>
45777
45778         [BZ #6471]
45779         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45780         for 2.16.
45781
45782 2012-03-16  David S. Miller  <davem@davemloft.net>
45783
45784         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45785         warnings.
45786
45787         [BZ #6471]
45788         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45789         properly.
45790         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45791         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45792         sysdep_routines when subdir is sysvipc.
45793         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45794         __getshmlba helper.
45795
45796         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45797
45798 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45799
45800         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45801         [__LP64__].
45802
45803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45804
45805         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45806         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45807         (__lround): Renamed to ...
45808         (__llround): This.  Replace long int with long long int.
45809         Define lround functions as aliases of llround functions.
45810         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45811
45812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45813
45814         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45815         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45816         adresses to uintptr_t.  Replace "long int" and "unsigned long
45817         int" with "greg_t" on va_arg.
45818
45819 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45820
45821         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45822         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45823
45824         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45825         Move e_machine check before EI_CLASS check.  Handle x32
45826         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45827         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45828         SKIP_EM_IA_64 and include
45829         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45830
45831         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45832         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45833         (add_system_dir): New macro.
45834
45835         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45836         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45837
45838 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45839
45840         [BZ #2551]
45841         [BZ #2552]
45842         [BZ #2553]
45843         [BZ #2554]
45844         [BZ #2562]
45845         [BZ #2563]
45846         [BZ #2565]
45847         [BZ #2566]
45848         [BZ #2576]
45849         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45850         (y0): Likewise.
45851         * math/w_j0f.c (j0f): Likewise.
45852         (y0f): Likewise.
45853         * math/w_j0l.c (__j0l): Likewise.
45854         (__y0l): Likewise.
45855         * math/w_j1.c (j1): Likewise.
45856         (y1): Likewise.
45857         * math/w_j1f.c (j1f): Likewise.
45858         (y1f): Likewise.
45859         * math/w_j1l.c (__j1l): Likewise.
45860         (__y1l): Likewise.
45861         * math/w_jn.c (jn): Likewise.
45862         (yn): Likewise.
45863         * math/w_jnf.c (jnf): Likewise.
45864         (ynf): Likewise.
45865         * math/w_jnl.c (__jnl): Likewise.
45866         (__ynl): Likewise.
45867         * math/libm-test.inc (j0_test): Add more tests.
45868         (j1_test): Likewise.
45869         (jn_test): Likewise.  Add trailing semicolon to existing test.
45870         (y0_test): Likewise.
45871         (y1_test): Likewise.
45872         * sysdeps/i386/fpu/libm-test-ulps: Update.
45873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45874
45875         [BZ #13851]
45876         [BZ #13854]
45877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45878         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45879         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45880         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45881         (__tanl): Set errno for infinite argument.
45882         * sysdeps/i386/fpu/mptan.c: Remove.
45883         * sysdeps/i386/fpu/s_tan.S: Likewise.
45884         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45885         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45886         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45887         * math/libm-test.inc (tan_test): Add more tests and enable more
45888         tests for double and long double.
45889         * sysdeps/i386/fpu/libm-test-ulps: Update.
45890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45891
45892 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45893
45894         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45895         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45896
45897 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45898
45899         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45900         * configure.in: Use it for both main tree and add-ons.
45901         * configure: Regenerated.
45902
45903 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45904
45905         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45906
45907 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45908
45909         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45910         in comment.
45911
45912         [BZ #13851]
45913         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45914         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45915         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45916         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45917         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45918         infinite argument.
45919         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45921         != 0 for prec == 2.
45922         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45923         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45924         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45925         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45926         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45927         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45928         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45929         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45930         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45931         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45932         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45933         * math/libm-test.inc (cos_test): Add more tests and enable more
45934         tests for long double.
45935         (sin_test): Likewise.
45936         (sincos_test): Likewise.
45937         * sysdeps/i386/fpu/libm-test-ulps: Update.
45938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45939
45940 2012-03-16  David S. Miller  <davem@davemloft.net>
45941
45942         * sysdeps/sparc/fpu/math_private.h: New file.
45943
45944 2012-03-15  David S. Miller  <davem@davemloft.net>
45945
45946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45947         file.
45948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45950         file.
45951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45957         sysdep routines.
45958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45959
45960         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45961         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45962
45963         * sysdeps/sparc/sparc-ifunc.h: New file.
45964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45965         sparc-ifunc.h
45966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45968         Likewise.
45969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45970         Likewise.
45971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45975         Likewise.
45976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45981         Likewise.
45982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45983         Likewise.
45984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45990         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45991         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46002         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46003         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46004         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46005         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46008
46009 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46010
46011         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46012         scaling.
46013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46014
46015 2012-03-15  Andreas Jaeger  <aj@suse.de>
46016
46017         [BZ #13852]
46018         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46019         ieee754/flt-32 implementation for sin, cos and sincos.
46020         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46021         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46022         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46023         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46024         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46025         ieee754/flt-32 implementation for tan.
46026
46027         * math/libm-test.inc (cos_test): Enable some large input tests for
46028         float as well
46029         (sin_test): Likewise.
46030         (sincos_test): Likewise.
46031         (tan_test): Add tests for large input.
46032
46033         * sysdeps/i386/fpu/libm-test-ulps: Update.
46034
46035 2012-03-15  Andreas Jaeger  <aj@suse.de>
46036
46037         [BZ #13658]
46038         * math/libm-test.inc (cos_test): Add more test cases.
46039         (sin_test): Likewise.
46040         (sincos_test): Likewise.
46041
46042 2012-03-15  Andreas Jaeger  <aj@suse.de>
46043
46044         [BZ #13837]
46045         * math/libm-test.inc (cos_test): Add a test case for large input
46046         value.
46047         (sin_test): Likewise.
46048         (sincos_test): Likewise.
46049
46050 2012-03-15  Andreas Jaeger  <aj@suse.de>
46051             Joseph Myers  <joseph@codesourcery.com>
46052
46053         [BZ #13658]
46054         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46055         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46056         * sysdeps/i386/fpu/branred.c: Likewise.
46057         * sysdeps/i386/fpu/dosincos.c: Likewise.
46058         * sysdeps/i386/fpu/mpa.c: Likewise.
46059         * sysdeps/i386/fpu/s_cos.S: Likewise.
46060         * sysdeps/i386/fpu/s_sin.S: Likewise.
46061         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46062         * sysdeps/i386/fpu/sincos32.c: Likewise.
46063
46064         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46065         Define.
46066         (libc_feupdateenv_53bit): Define.
46067         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46068         Define.
46069         (libc_feupdateenv_53bit): Define.
46070
46071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46072         53 bit (without extend i386 double precision).
46073
46074         * math/libm-test.inc (sincos_test): Add tests for large input.
46075         (sin): Likewise.
46076         (cos): Likewise.
46077
46078         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46079
46080 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46081
46082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46083
46084 2012-03-15  David S. Miller  <davem@davemloft.net>
46085
46086         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46087         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46088         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46089         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46102         file.
46103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46105         file.
46106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46108         file.
46109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46111         file.
46112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46113         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46114         fmin/fmax sysdep routines.
46115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46116
46117 2012-03-14  David S. Miller  <davem@davemloft.net>
46118
46119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46141         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46142         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46145         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46146         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46148         routines.
46149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46150         file.
46151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46153         file.
46154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46156         file.
46157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46159         file.
46160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46162         file.
46163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46165         file.
46166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46167         file.
46168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46169         file.
46170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46171         file.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46173         New file.
46174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46175         file.
46176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46177         file.
46178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46180         file.
46181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46183         file.
46184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46186         file.
46187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46189         VIS3 routines.
46190
46191         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46192         New file.
46193
46194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46195
46196         * sysdeps/sparc/configure.in: New file.
46197         * sysdeps/sparc/configure: Generate.
46198         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46199         * configure: Regenerate.
46200         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46201         * config.make.in (have-as-vis3): New.
46202         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46203         available use -Av9d instead of -Av9a.
46204         * sysdeps/sparc/sparc64/Makefile: Likewise.
46205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46207         New file.
46208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46209         file.
46210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46211         New file.
46212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46213         file.
46214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46217         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46218         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46219
46220         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46221         fzeros/fnegs to load 0x80000000 into a float register instead of
46222         using the stack.
46223         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46224
46225 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46226
46227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46228         bits/syscall.h.
46229         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46230         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46231         ($(inst_includedir)/bits/syscall.h): Remove rule.
46232         ($(objpfx)bits/syscall.d): Include instead of
46233         $(objpfx)syscall-list.d.
46234         (generated): Change syscall-list.h and syscall-list.d to
46235         bits/syscall.h and bits/syscall.d.
46236
46237 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46238
46239         [BZ #13846]
46240         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46241
46242 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46243
46244         [BZ #13841]
46245         * math/s_csqrt.c: Include <float.h>.
46246         (__csqrt): Scale large or subnormal inputs.
46247         * math/s_csqrtf.c: Likewise.
46248         * math/s_csqrtl.c: Likewise.
46249         * math/libm-test.inc (csqrt_test): Add more tests.
46250         * sysdeps/i386/fpu/libm-test-ulps: Update.
46251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46252
46253         [BZ #13840]
46254         * math/libm-test.inc (hypot_test): Add more tests.
46255
46256 2012-03-13  David S. Miller  <davem@davemloft.net>
46257
46258         [BZ #13840]
46259         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46260         double-precision for the calculation instead of scaling.
46261
46262 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46263
46264         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46265         manipulate bits before adding and subtracting TWO52[sx].
46266         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46267         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46268         Likewise.
46269         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46270
46271 2012-03-13  David S. Miller  <davem@davemloft.net>
46272
46273         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46274         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46275         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46276         rtld-global-offsets.h
46277         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46278
46279         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46280         large parameters.
46281
46282         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46283
46284         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46285         'err' in the ifdef scope in which it is actually used.
46286
46287         * nss/nss_db/db-init.c: Include string.h
46288
46289 2012-03-12  David S. Miller  <davem@davemloft.net>
46290
46291         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46292         masking out of the most significant byte of random value used.
46293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46294         Fix coding style in previous change.
46295
46296         * sysdeps/unix/sysv/linux/kernel-features.h
46297         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46298         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46299         expression.
46300         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46301         later.
46302
46303 2012-03-11  David S. Miller  <davem@davemloft.net>
46304
46305         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46306         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46307         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46308         for 'resultvar' otherwise things get truncated on 64-bit.
46309
46310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46311         Fix masking out of the most significant byte of random value used.
46312
46313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46314
46315 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46316
46317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46318
46319 2012-03-09  David S. Miller  <davem@davemloft.net>
46320
46321         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46322         variables with appropriate CPP guards.
46323         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46324         from the frame pointer, not the stack pointer.  Correct layout
46325         comments.  Fix test on resulting framesize and the management of
46326         the outregs buffer for pltexit.  Preserve floating point return
46327         values across _dl_call_pltexit call.
46328         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46329         framesize and the management of the outregs buffer for pltexit.
46330         Preserve floating point return values across _dl_call_pltexit
46331         call.
46332         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46333         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46334         (la_sparc64_gnu_pltexit): New functions.
46335         (print_exit): Fix format string for return register value.
46336
46337 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46338
46339         * sunrpc/Makefile (others): Add rpcgen.
46340         ($(objpfx)rpcgen): Remove special build rule and dependency on
46341         libc.
46342         * sunrpc/rpcgen.c: New file.
46343
46344 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46345
46346         [BZ #13673]
46347         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46348         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46349         * sysdeps/i386/crti.S: Likewise.
46350         * sysdeps/i386/crtn.S: Likewise.
46351         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46352         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46353         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46354         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46355         * sysdeps/sh/crti.S: Likewise.
46356         * sysdeps/sh/crtn.S: Likewise.
46357         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46358
46359         [BZ #13673]
46360         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46361         with URL.
46362         * locale/programs/locfile-kw.gperf: Likewise.
46363         * locale/programs/charmap-kw.h: Regenerated.
46364         * locale/programs/locfile-kw.h: Likewise.
46365
46366         [BZ #13673]
46367         * intl/plural.y: Replace FSF snail mail address with URL.
46368         * intl/plural.c: Regenerated.
46369
46370 2012-03-09  Richard Henderson  <rth@twiddle.net>
46371
46372         * include/math_private.h: Remove file.
46373         * math/math_private.h: Move file ...
46374         * sysdeps/generic/math_private.h: ... here.
46375
46376         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46377         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46378         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46379
46380         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46381         and <math_private.h>.
46382         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46383         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46384         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46385         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46386         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46387         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46388         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46390         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46391         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46393         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46394         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46395         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46396         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46397         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46398         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46399         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46400         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46401         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46403         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46408         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46411         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46412         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46413         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46414         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46415         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46416         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46417         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46418         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46419         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46420         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46421         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46422         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46423         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46424         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46425         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46429         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46433         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46434         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46435         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46436         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46437         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46438         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46440         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46441         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46442         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46443         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46445         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46446         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46447         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46448         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46449         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46450         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46451         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46452         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46453         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46454         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46455         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46456         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46457         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46458         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46462         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46463         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46464         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46465         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46466         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46467         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46469         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46470         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46471         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46472         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46473         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46474         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46475         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46476         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46477         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46478         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46479         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46480         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46482         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46483         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46484         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46485         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46486         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46487         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46488         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46489         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46490         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46491         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46492         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46493         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46494         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46495         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46496         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46497         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46498         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46499         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46500         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46501         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46502         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46503         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46504         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46505         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46506         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46507         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46508         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46509         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46510         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46511         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46512         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46513         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46514         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46515         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46516         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46517         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46518         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46519         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46520         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46521         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46522         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46523         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46524         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46525         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46526         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46527         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46528         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46529         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46530         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46531         * sysdeps/ieee754/k_standard.c: Likewise.
46532         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46533         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46534         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46535         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46536         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46537         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46538         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46539         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46540         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46541         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46542         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46543         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46544         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46545         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46546         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46547         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46548         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46549         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46550         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46551         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46552         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46553         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46554         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46556         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46557         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46558         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46559         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46560         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46561         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46562         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46563         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46564         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46565         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46566         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46567         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46568         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46569         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46570         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46571         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46572         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46573         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46574         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46575         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46576         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46578         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46582         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46583         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46584         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46585         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46590         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46591         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46592         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46593         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46594         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46598         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46599         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46602         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46603         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46604         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46605         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46606         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46607         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46609         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46610         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46611         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46612         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46613         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46614         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46615         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46616         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46617         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46618         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46619         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46620         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46622         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46624         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46625         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46626         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46627         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46628         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46629         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46630         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46631         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46632         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46633         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46634         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46635         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46636         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46639         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46640         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46641         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46642         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46643         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46644         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46645         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46647         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46648         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46649         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46650         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46651         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46652         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46653         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46654         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46655         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46656         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46657         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46658         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46659         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46660         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46661         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46662         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46663         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46664         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46665         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46666         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46667         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46668         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46669         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46670         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46671         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46672         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46673         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46674         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46675         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46676         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46677         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46678         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46679         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46680         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46681         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46682         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46683         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46684         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46685         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46686         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46687         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46688         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46689         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46690         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46691         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46692         * sysdeps/ieee754/s_lib_version.c: Likewise.
46693         * sysdeps/ieee754/s_matherr.c: Likewise.
46694         * sysdeps/ieee754/s_signgam.c: Likewise.
46695         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46696         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46697         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46698         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46699         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46700         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46701         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46702         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46703         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46704         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46705         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46706         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46707         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46708         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46709         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46710         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46712         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46713         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46715         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46716
46717 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46718
46719         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46720         * sunrpc/rpc_main.c: Likewise.
46721         * sunrpc/rpc_svcout.c: Likewise.
46722
46723 2012-03-09  David S. Miller  <davem@davemloft.net>
46724
46725         * include/math_private.h: New file.
46726
46727 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46728
46729         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46730         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46731         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46732         from <bits/socket_type.h>.
46733         (enum __socket_type): Don't define here.
46734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46736         bits/socket_type.h.
46737
46738         [BZ #13566]
46739         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46740         checking __USE_GNU.
46741
46742         * Makerules ($(inst_includedir)/%.h): New rule.
46743         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46744         (install-others): Remove variable setting.
46745         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46746
46747 2012-03-08  Richard Henderson  <rth@twiddle.net>
46748
46749         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46750         from macro to inline function; merge with the
46751         !__LIBC_INTERNAL_MATH_INLINES version.
46752         (__ieee754_sqrtf): Likewise.
46753
46754         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46755         to inline function.
46756         (__rintf, __floor, __floorf): Likewise.
46757
46758         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46759         macro to inline function.
46760         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46761
46762         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46763         not <math/math_private.h>.
46764
46765 2012-03-08  David S. Miller  <davem@davemloft.net>
46766
46767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46768         copyright year.
46769         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46770
46771 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46772
46773         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46774         normalization.
46775         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46776         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46777
46778 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46779
46780         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46781         be defined individually, they must be defined as a block.  Define
46782         S for printing a string instead of hidint the different by using a
46783         macro for adding the 'l'.
46784         * stdio-common/tst-fphex-wide.c: Adjust.
46785
46786 2012-03-07  Marek Polacek  <polacek@redhat.com>
46787
46788         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46789
46790 2012-03-08  Marek Polacek  <polacek@redhat.com>
46791
46792         [BZ #13806]
46793         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46794         * stdio-common/tst-fphex.c: Define a few macros to make the
46795         test reusable.  Use them.
46796         * stdio-common/tst-fphex-wide.c: New file.
46797
46798 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46799
46800         [BZ #6911]
46801         * manual/macros.texi (gnusystems): New macro.
46802         (nongnusystems): Likewise.
46803         (gnulinuxhurdsystems): Likewise.
46804         (gnuhurdsystems): Likewise..
46805         (gnulinuxsystems): Likewise.
46806         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46807         variants of the GNU system, not "GNU system".
46808         * manual/conf.texi: Likewise.
46809         * manual/errno.texi: Likewise.  Update example of errno macro
46810         expansion.
46811         * manual/filesys.texi: Likewise.
46812         (getumask): Document as specific to GNU/Hurd.
46813         * manual/install.texi: Likewise.  Reword some references to
46814         GNU/Linux.
46815         * manual/intro.texi: Likewise.
46816         * manual/io.texi: Likewise.
46817         (File Name Portability): Detail which constraints are inapplicable
46818         to all GNU systems and which are only inapplicable to GNU/Hurd.
46819         * manual/job.texi: Likewise.
46820         * manual/llio.texi: Likewise.
46821         (O_NOCTTY): Document as present on GNU/Linux.
46822         * manual/maint.texi: Likewise.
46823         * manual/memory.texi: Likewise.
46824         * manual/pattern.texi: Likewise.
46825         * manual/pipe.texi: Likewise.
46826         * manual/process.texi: Likewise.
46827         * manual/resource.texi: Likewise.
46828         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46829         child on GNU/Hurd.
46830         * manual/setjmp.texi: Likewise.
46831         * manual/signal.texi: Likewise.
46832         * manual/startup.texi: Likewise.
46833         * manual/stdio.texi: Likewise.
46834         * manual/terminal.texi: Likewise.
46835         (ONLCR): Document as POSIX.
46836         (OXTABS): Document availability on GNU/Linux as XTABS.
46837         (ONOEOT): Document availability separately from other bits.
46838         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46839         * manual/time.texi: Likewise.
46840         * manual/users.texi: Likewise.
46841         * INSTALL: Regenerated.
46842         * sysdeps/gnu/errlist.c: Regenerated.
46843
46844         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46845         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46846         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46847         puts.
46848         * configure: Regenerated.
46849
46850 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46851
46852         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46853         default includes instead of AC_HEADER_CHECK.
46854         * sysdeps/i386/configure: Regenerated.
46855
46856         [BZ #10716]
46857         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46858         * math/s_cacoshf.c (__cacoshf): Likewise.
46859         * math/s_cacoshl.c (__cacoshl): Likewise.
46860         * math/s_casinh.c (__casinh): Set signs of result from argument.
46861         * math/s_casinhf.c (__casinhf): Likewise.
46862         * math/s_casinhl.c (__casinhl): Likewise.
46863         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46864         (casinh_test): Add more tests.
46865         * sysdeps/i386/fpu/libm-test-ulps: Update.
46866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46867
46868 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46869
46870         * po/zh_TW.po: Update from translation team.
46871
46872         * login/Makefile (distribute): Remove variable.
46873         * catgets/Makefile: Likewise.
46874         * mach/Makefile: Likewise.
46875         * malloc/Makefile: Likewise.
46876         * misc/Makefile: Likewise.
46877         * iconv/Makefile: Likewise.
46878         * nscd/Makefile: Likewise.
46879         * hurd/Makefile: Likewise.
46880         * manual/Makefile: Likewise.
46881         * locale/Makefile: Likewise.
46882         * intl/Makefile: Likewise.
46883         * conform/Makefile: Likewise.
46884         * nss/Makefile: Likewise.
46885         * time/Makefile: Likewise.
46886         * soft-fp/Makefile: Likewise.
46887         * dirent/Makefile: Likewise.
46888         * gmon/Makefile: Likewise.
46889         * po/Makefile: Likewise.
46890         * rt/Makefile: Likewise.
46891         * socket/Makefile: Likewise.
46892         * math/Makefile: Likewise.
46893         * signal/Makefile: Likewise.
46894         * debug/Makefile: Likewise.
46895         * elf/Makefile: Likewise.
46896         * timezone/Makefile: Likewise.
46897         * stdlib/Makefile: Likewise.
46898         * iconvdata/Makefile: Likewise.
46899         * sunrpc/Makefile: Likewise.
46900         * io/Makefile: Likewise.
46901         * argp/Makefile: Likewise.
46902         * inet/Makefile: Likewise.
46903         * hesiod/Makefile: Likewise.
46904         * grp/Makefile: Likewise.
46905         * csu/Makefile: Likewise.
46906         * wctype/Makefile: Likewise.
46907         * crypt/Makefile: Likewise.
46908         * libio/Makefile: Likewise.
46909         * string/Makefile: Likewise.
46910         * nis/Makefile: Likewise.
46911         * resolv/Makefile: Likewise.
46912         * stdio-common/Makefile: Likewise.
46913         * wcsmbs/Makefile: Likewise.
46914         * dlfcn/Makefile: Likewise.
46915         * posix/Makefile: Likewise.
46916
46917         [BZ #6959]
46918         * timezone/Makefile: Don't install timezone files, just the programs
46919         and scripts.
46920
46921 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46922
46923         * nss/databases.def: Add missing gshadow entry.
46924
46925         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46926
46927 2012-03-06  Marek Polacek  <polacek@redhat.com>
46928
46929         [BZ #13726]
46930         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46931         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46932         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46933         * stdio-common/tst-long-dbl-fphex.c: New file.
46934
46935 2012-03-06  David S. Miller  <davem@davemloft.net>
46936
46937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46938         (set_obp_int): New function.
46939         (get_obp_int): New function.
46940         (__get_clockfreq_via_dev_openprom): Likewise.
46941         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46942         Avoid unused variable warnings on 'val' and use builtin_expect.
46943         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46944         __builtin_expect.
46945         (INLINE_CLONE_SYSCALL): Likewise.
46946
46947 2012-03-05  David S. Miller  <davem@davemloft.net>
46948
46949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46950
46951 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46952
46953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46954
46955         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46956         only for |x| >= 40.
46957         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46958
46959 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46960
46961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46962         Replace gettimeofday with __vdso_gettimeofday.
46963
46964         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46965         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46966         __vdso_clock_gettime and __vdso_getcpu.
46967
46968         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46969         time with __vdso_time.
46970
46971 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46972
46973         * manual/lang.texi (size_t): Note types to which size_t may be
46974         equivalent with the GNU C Library, but do not describe when
46975         differences between them are significant.
46976
46977 2012-03-05  Andreas Jaeger  <aj@suse.de>
46978
46979         * sysdeps/i386/fpu/libm-test-ulps: Update.
46980
46981 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46982
46983         [BZ #3976]
46984         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46985         (__ieee754_pow): Save and restore rounding mode and use
46986         round-to-nearest for main computations.
46987         * math/libm-test.inc (pow_test_tonearest): New function.
46988         (pow_test_towardzero): Likewise.
46989         (pow_test_downward): Likewise.
46990         (pow_test_upward): Likewise.
46991         (main): Call the new functions.
46992         * sysdeps/i386/fpu/libm-test-ulps: Update.
46993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46994
46995         [BZ #3976]
46996         * math/libm-test.inc (cosh_test_tonearest): New function.
46997         (cosh_test_towardzero): Likewise.
46998         (cosh_test_downward): Likewise.
46999         (cosh_test_upward): Likewise.
47000         (sinh_test_tonearest): Likewise.
47001         (sinh_test_towardzero): Likewise.
47002         (sinh_test_downward): Likewise.
47003         (sinh_test_upward): Likewise.
47004         (main): Call the new functions.
47005         * sysdeps/i386/fpu/libm-test-ulps: Update.
47006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47007
47008 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47009
47010         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47011         default stack guard is set in last bytes.
47012         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47013
47014 2012-03-05  Kees Cook  <keescook@chromium.org>
47015
47016         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47017
47018         [BZ #13656]
47019         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47020         possibly allocate from heap instead of stack.
47021         * stdio-common/bug-vfprintf-nargs.c: New file.
47022         * stdio-common/Makefile (tests): Add nargs overflow test.
47023
47024 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47025
47026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47027
47028 2012-03-03  Marek Polacek  <polacek@redhat.com>
47029
47030         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47031         * math/math_private.h: Likewise.
47032         * stdlib/tst-strtod.c: Likewise.
47033         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47034         * sysdeps/x86_64/bits/atomic.h: Likewise.
47035
47036 2012-03-02  David S. Miller  <davem@davemloft.net>
47037
47038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47042         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47043         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47044         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47045         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47046
47047 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47048
47049         [BZ #13792]
47050         * manual/examples/README: New file, says the example source files
47051         can be used under GPL>=2.
47052         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47053         line containing just "*/".
47054         * manual/examples/add.c: Add copyright header (GPL>=2).
47055         * manual/examples/argp-ex1.c: Likewise.
47056         * manual/examples/argp-ex2.c: Likewise.
47057         * manual/examples/argp-ex3.c: Likewise.
47058         * manual/examples/argp-ex4.c: Likewise.
47059         * manual/examples/atexit.c: Likewise.
47060         * manual/examples/db.c: Likewise.
47061         * manual/examples/dir.c: Likewise.
47062         * manual/examples/dir2.c: Likewise.
47063         * manual/examples/execinfo.c: Likewise.
47064         * manual/examples/filecli.c: Likewise.
47065         * manual/examples/filesrv.c: Likewise.
47066         * manual/examples/fmtmsgexpl.c: Likewise.
47067         * manual/examples/genpass.c: Likewise.
47068         * manual/examples/inetcli.c: Likewise.
47069         * manual/examples/inetsrv.c: Likewise.
47070         * manual/examples/isockad.c: Likewise.
47071         * manual/examples/longopt.c: Likewise.
47072         * manual/examples/memopen.c: Likewise.
47073         * manual/examples/memstrm.c: Likewise.
47074         * manual/examples/mkfsock.c: Likewise.
47075         * manual/examples/mkisock.c: Likewise.
47076         * manual/examples/mygetpass.c: Likewise.
47077         * manual/examples/pipe.c: Likewise.
47078         * manual/examples/popen.c: Likewise.
47079         * manual/examples/rprintf.c: Likewise.
47080         * manual/examples/search.c: Likewise.
47081         * manual/examples/select.c: Likewise.
47082         * manual/examples/setjmp.c: Likewise.
47083         * manual/examples/sigh1.c: Likewise.
47084         * manual/examples/sigusr.c: Likewise.
47085         * manual/examples/stpcpy.c: Likewise.
47086         * manual/examples/strdupa.c: Likewise.
47087         * manual/examples/strftim.c: Likewise.
47088         * manual/examples/strncat.c: Likewise.
47089         * manual/examples/subopt.c: Likewise.
47090         * manual/examples/swapcontext.c: Likewise.
47091         * manual/examples/termios.c: Likewise.
47092         * manual/examples/testopt.c: Likewise.
47093         * manual/examples/testpass.c: Likewise.
47094         * manual/examples/timeval_subtract.c: Likewise.
47095
47096         [BZ #13792]
47097         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47098         function to ...
47099         * manual/timeval_subtract.c.texi: ... here, new file.
47100
47101 2012-03-02  David S. Miller  <davem@davemloft.net>
47102
47103         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47104
47105 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47106
47107         [BZ #3976]
47108         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47109         (__sin): Save and restore rounding mode and use round-to-nearest
47110         for all computations.
47111         (__cos): Save and restore rounding mode and use round-to-nearest
47112         for all computations.
47113         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47114         <fenv.h>.
47115         (tan): Save and restore rounding mode and use round-to-nearest for
47116         all computations.
47117         * math/libm-test.inc (cos_test_tonearest): New function.
47118         (cos_test_towardzero): Likewise.
47119         (cos_test_downward): Likewise.
47120         (cos_test_upward): Likewise.
47121         (sin_test_tonearest): Likewise.
47122         (sin_test_towardzero): Likewise.
47123         (sin_test_downward): Likewise.
47124         (sin_test_upward): Likewise.
47125         (tan_test_tonearest): Likewise.
47126         (tan_test_towardzero): Likewise.
47127         (tan_test_downward): Likewise.
47128         (tan_test_upward): Likewise.
47129         (main): Call the new functions.
47130         * sysdeps/i386/fpu/libm-test-ulps: Update.
47131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47132
47133         [BZ #10135]
47134         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47135         small n, then large n, before computing and testing k+n.
47136         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47138         Likewise.
47139         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47140         Likewise.
47141         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47142         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47143         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47144         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47145         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47147         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47148         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47149         * math/libm-test.inc (scalbn_test): Add more tests.
47150         (scalbln_test): Likewise.
47151
47152         * manual/filesys.texi (mode_t): Describe constraints on size and
47153         signedness, not exact equivalence to a particular type.
47154         (ino_t): Likewise.
47155         (ino64_t): Likewise.
47156         (dev_t): Likewise.
47157         (nlink_t): Likewise.
47158         (blkcnt_t): Likewise.
47159         (blkcnt64_t): Likewise.
47160         * manual/llio.texi (off_t): Likewise.
47161
47162         [BZ #3976]
47163         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47164         (__ieee754_exp): Save and restore rounding mode and use
47165         round-to-nearest for all computations.
47166         * math/libm-test.inc (exp_test_tonearest): New function.
47167         (exp_test_towardzero): Likewise.
47168         (exp_test_downward): Likewise.
47169         (exp_test_upward): Likewise.
47170         (main): Call the new functions.
47171         * sysdeps/i386/fpu/libm-test-ulps: Update.
47172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47173
47174 2012-03-01  Chris Demetriou  <cgd@google.com>
47175
47176         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47177         have predictable order.
47178
47179 2012-03-01  David S. Miller  <davem@davemloft.net>
47180
47181         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47182
47183         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47184         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47185         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47186         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47187
47188         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47189         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47190         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47192         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47193         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47194         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47195         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47196         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47197
47198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47199
47200         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47201         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47202         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47203
47204         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47205         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47206         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47207         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47208         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47209         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47210         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47211         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47212         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47213         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47214         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47217         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47218         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47220         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47221         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47222         * sysdeps/sparc/elf/configure: Regenerated.
47223
47224 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47225
47226         * configure.in (AS, LD): Require binutils 2.20 or later.
47227         * configure: Regenerated.
47228         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47229         as required minimum version.
47230         * INSTALL: Regenerated.
47231
47232         [BZ #2541]
47233         [BZ #4108]
47234         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47235         before squaring exponent.
47236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47237         bottom long double and 27 bits of top long double before squaring
47238         exponent.
47239         * math/libm-test.inc (erfc_test): Add more tests.
47240         * sysdeps/i386/fpu/libm-test-ulps: Update.
47241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47243
47244 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47245
47246         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47247         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47248         containing bit-fields.
47249         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47250         * soft-fp/single.h (_FP_UNION_S): Likewise.
47251         * soft-fp/double.h (_FP_UNION_D): Likewise.
47252
47253 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47254
47255         [BZ #13786]
47256         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47257         not include ../strcmp.S.
47258         [USE_AS_STRNCASECMP_L]: Likewise.
47259         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47260         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47261         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47262         (__strncasecmp_l_ia32): Define as alias to
47263         __strncasecmp_l_nonascii.
47264
47265         [BZ #5794]
47266         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47267         * sysdeps/i386/fpu/libm-test-ulps: Update.
47268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47269
47270         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47272
47273 2012-02-29  Jeff Law  <law@redhat.com>
47274
47275         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47276         out of bounds read.
47277
47278 2012-02-29  Marek Polacek  <polacek@redhat.com>
47279
47280         [BZ #13706]
47281         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47282         * elf/Makefile: Add rules to run tst-unused-dep.out.
47283
47284 2012-02-28  David S. Miller  <davem@davemloft.net>
47285
47286         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47287         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47288         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47289         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47290         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47291         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47292
47293 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47294
47295         * math/libm-test.inc (llround_test): Move one test from
47296         lround_test.  Use TEST_f_L in moved test.
47297         (lround_test): Move misplaced test to llround_test.  Add testcase
47298         from bug 2561.
47299
47300 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47301
47302         * sysdeps/x86_64/fpu/e_expf.S: New file.
47303         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47304
47305 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47306
47307         [BZ #13637]
47308         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47309         of remain_len that may cause incomplete multi-byte character and
47310         false match.
47311         * posix/bug-regex33.c: New file.
47312         * posix/Makefile (tests): Add bug-regex33.
47313
47314 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47315
47316         * manual/macros.texi: New file.
47317         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47318         * manual/libc.texinfo: Include macros.texi.
47319         * manual/creatute.texi: Likewise.
47320         * manual/install.texi: Likewise.
47321         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47322         @glibcadj{} in references to the GNU C Library.
47323         * manual/charset.texi: Likewise.
47324         * manual/conf.texi: Likewise.
47325         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47326         when not using those macros.
47327         * manual/creature.texi: Likewise.
47328         * manual/crypt.texi: Likewise.
47329         * manual/errno.texi: Likewise.
47330         * manual/filesys.texi: Likewise.
47331         * manual/header.texi: Likewise.
47332         * manual/install.texi: Likewise.
47333         * manual/intro.texi: Likewise.
47334         * manual/io.texi: Likewise.
47335         * manual/job.texi: Likewise.
47336         * manual/lang.texi: Likewise.
47337         * manual/libc.texiinfo: Likewise.
47338         * manual/llio.texi: Likewise.
47339         * manual/locale.texi: Likewise.
47340         * manual/maint.texi: Likewise.
47341         * manual/math.texi: Likewise.
47342         * manual/memory.texi: Likewise.
47343         * manual/message.texi: Likewise.
47344         * manual/nss.texi: Likewise.
47345         * manual/pattern.texi: Likewise.
47346         * manual/process.texi: Likewise.
47347         * manual/resource.texi: Likewise.
47348         * manual/search.texi: Likewise.
47349         * manual/setjmp.texi: Likewise.
47350         * manual/signal.texi: Likewise.
47351         * manual/socket.texi: Likewise.
47352         * manual/startup.texi: Likewise.
47353         * manual/stdio.texi: Likewise.
47354         * manual/string.texi: Likewise.
47355         * manual/sysinfo.texi: Likewise.
47356         * manual/syslog.texi: Likewise.
47357         * manual/terminal.texi: Likewise.
47358         * manual/time.texi: Likewise.
47359         * manual/users.texi: Likewise.
47360         * INSTALL: Regenerated.
47361         * NOTES: Regenerated.
47362         * sysdeps/gnu/errlist.c: Regenerated.
47363
47364 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47365
47366         * include/dirent.h: Include <dirstream.h> before
47367         <dirent/dirent.h>.
47368
47369 2012-02-28  David S. Miller  <davem@davemloft.net>
47370
47371         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47372         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47373         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47374         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47375
47376 2012-02-27  David S. Miller  <davem@davemloft.net>
47377
47378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47380         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47381         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47382
47383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47384         frame pointer instead of stack pointer relative arg slot.
47385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47386         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47387         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47388
47389 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47390
47391         [BZ #3992]
47392         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47393
47394 2012-02-27  David S. Miller  <davem@davemloft.net>
47395
47396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47402         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47403         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47404
47405 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47406
47407         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47408         later.  Allow versions 5-9.
47409         * configure: Regenerated.
47410         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47411         required minimum version and 4.6 as recommended version.  Do not
47412         mention bugs in GCC 2.7 and 2.8.
47413         * INSTALL: Regenerated.
47414
47415 2012-02-27  David S. Miller  <davem@davemloft.net>
47416
47417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47421         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47422         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47423         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47424         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47425
47426         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47427         manipulate bits before adding and subtracting TWO112[sx].
47428         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47429
47430 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47431
47432         [BZ #13775]
47433         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47434         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47435         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47436         being in POSIX, because they are in 1003.1-2008.
47437
47438         * rt/tst-aio.c: Include <fcntl.h>.
47439         * rt/tst-aio7.c: Likewise.
47440         * rt/tst-aio64.c: Likewise.
47441
47442         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47443
47444 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47445
47446         * manual/install.texi (--with-headers): Describe headers as
47447         interface headers, not private headers.
47448         (Specific advice for GNU/Linux systems): Describe use of headers
47449         from "make headers_install", not private headers from older
47450         kernels.
47451         * INSTALL: Regenerated.
47452         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47453         Change to 2.6.19.
47454         * sysdeps/unix/sysv/linux/configure: Regenerated.
47455
47456         * manual/llio.texi (fclean): Remove documentation.
47457
47458         * manual/Makefile (libc-texi-generated): New variable.  Include
47459         version.texi.
47460         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47461         $(libc-texi-generated), not duplicated list of files.
47462         (version.texi, stamp-version): New rules.
47463         (realclean): Remove $(libc-texi-generated), not individual files
47464         from that list.  Do not remove dir-add.texinfo.
47465         * manual/libc.texinfo: Comment out uses of edition numbers and
47466         references to printed manual.  Remove last-updated dates.
47467         (EDITION): Comment out.
47468         (ISBN): Likewise.
47469         (VERSION, UPDATED): Remove.
47470         (version.texi): Include.
47471
47472 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47473
47474         * sysdeps/posix/spawni.c: Include <signal.h>.
47475         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47476         * sysdeps/pthread/aio_fsync.c: Likewise.
47477
47478 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47479
47480         * conform/Makefile (tests): Run only when not cross-compiling and
47481         when fast-check is not defined.
47482
47483         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47484         * conform/data/limits.h-data: Fixes for POSIX2008.
47485         * conform/run-conformtest.sh: Run all tests.
47486         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47487         headers.
47488         * include/bits/dlfcn.h: Likewise.
47489         * include/langinfo.h: Likewise.
47490         * include/monetary.h: Likewise.
47491         * include/sys/poll.h: Likewise.
47492
47493         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47494         for __USE_GNU.
47495         * posix/spawn.h: Define __need_sigset_t.
47496         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47497         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47498         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47499         to get sigevent_t only.
47500         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47501         only for __USE_GNU.
47502         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47503         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47504         process_vm_writev only for __USE_GNU.
47505         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47506
47507         * conform/Makefile: For now ignore errors from run-conformtest.
47508         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47509         POSIX to avoid namespace pollution.  Don't prepend headers.
47510         * conform/data/aio.h-data: Fixes for POSIX testing.
47511         * conform/data/fcntl.h-data: Likewise.
47512         * conform/data/glob.h-data: Likewise.
47513         * conform/data/grp.h-data: Likewise.
47514         * conform/data/pthread.h-data: Likewise.
47515         * conform/data/pwd.h-data: Likewise.
47516         * conform/data/signal.h-data: Likewise.
47517         * conform/data/spawn.h-data: Likewise.
47518         * conform/data/stdio.h-data: Likewise.
47519         * conform/data/stdlib.h-data: Likewise.
47520         * conform/data/stropts.h-data: Likewise.
47521         * conform/data/sys/mman.h-data: Likewise.
47522         * conform/data/sys/stat.h-data: Likewise.
47523         * conform/data/sys/types.h-data: Likewise.
47524         * conform/data/sys/wait.h-data: Likewise.
47525         * conform/data/time.h-data: Likewise.
47526         * conform/data/unistd.h-data: Likewise.
47527         * conform/data/utime.h-data: Likewise.
47528
47529         * io/sys/stat.h: fchmod was always in POSIX.
47530         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47531         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47532         * rt/aio.h: Define __need_timespec before including <time.h>.
47533         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47534         struct.  Add forward declaration of pthread_attr_t and use it in
47535         sigevent.
47536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47538         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47539         always remove CLK_TCK definition.
47540
47541 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47542
47543         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47544
47545 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47546
47547         * conform/run-conformtest.sh: New file.
47548         * conform/Makefile: Run run-conformtest for tests.
47549         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47550         support.
47551
47552         * conform/data/uchar.h-data: New file.
47553         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47554         * conform/data/arpa/inet.h-data: Likewise.
47555         * conform/data/assert.h-data: Likewise.
47556         * conform/data/complex.h-data: Likewise.
47557         * conform/data/cpio.h-data: Likewise.
47558         * conform/data/ctype.h-data: Likewise.
47559         * conform/data/dirent.h-data: Likewise.
47560         * conform/data/dlfcn.h-data: Likewise.
47561         * conform/data/errno.h-data: Likewise.
47562         * conform/data/fcntl.h-data: Likewise.
47563         * conform/data/float.h-data: Likewise.
47564         * conform/data/fmtmsg.h-data: Likewise.
47565         * conform/data/fnmatch.h-data: Likewise.
47566         * conform/data/ftw.h-data: Likewise.
47567         * conform/data/glob.h-data: Likewise.
47568         * conform/data/grp.h-data: Likewise.
47569         * conform/data/iconv.h-data: Likewise.
47570         * conform/data/inttypes.h-data: Likewise.
47571         * conform/data/langinfo.h-data: Likewise.
47572         * conform/data/libgen.h-data: Likewise.
47573         * conform/data/limits.h-data: Likewise.
47574         * conform/data/locale.h-data: Likewise.
47575         * conform/data/math.h-data: Likewise.
47576         * conform/data/monetary.h-data: Likewise.
47577         * conform/data/mqueue.h-data: Likewise.
47578         * conform/data/ndbm.h-data: Likewise.
47579         * conform/data/net/if.h-data: Likewise.
47580         * conform/data/netdb.h-data: Likewise.
47581         * conform/data/netinet/in.h-data: Likewise.
47582         * conform/data/nl_types.h-data: Likewise.
47583         * conform/data/poll.h-data: Likewise.
47584         * conform/data/pthread.h-data: Likewise.
47585         * conform/data/pwd.h-data: Likewise.
47586         * conform/data/regex.h-data: Likewise.
47587         * conform/data/sched.h-data: Likewise.
47588         * conform/data/search.h-data: Likewise.
47589         * conform/data/semaphore.h-data: Likewise.
47590         * conform/data/setjmp.h-data: Likewise.
47591         * conform/data/signal.h-data: Likewise.
47592         * conform/data/spawn.h-data: Likewise.
47593         * conform/data/stdarg.h-data: Likewise.
47594         * conform/data/stdio.h-data: Likewise.
47595         * conform/data/stdlib.h-data: Likewise.
47596         * conform/data/string.h-data: Likewise.
47597         * conform/data/strings.h-data: Likewise.
47598         * conform/data/stropts.h-data: Likewise.
47599         * conform/data/sys/ipc.h-data: Likewise.
47600         * conform/data/sys/mman.h-data: Likewise.
47601         * conform/data/sys/msg.h-data: Likewise.
47602         * conform/data/sys/resource.h-data: Likewise.
47603         * conform/data/sys/select.h-data: Likewise.
47604         * conform/data/sys/sem.h-data: Likewise.
47605         * conform/data/sys/shm.h-data: Likewise.
47606         * conform/data/sys/socket.h-data: Likewise.
47607         * conform/data/sys/stat.h-data: Likewise.
47608         * conform/data/sys/statvfs.h-data: Likewise.
47609         * conform/data/sys/time.h-data: Likewise.
47610         * conform/data/sys/timeb.h-data: Likewise.
47611         * conform/data/sys/times.h-data: Likewise.
47612         * conform/data/sys/types.h-data: Likewise.
47613         * conform/data/sys/uio.h-data: Likewise.
47614         * conform/data/sys/un.h-data: Likewise.
47615         * conform/data/sys/utsname.h-data: Likewise.
47616         * conform/data/sys/wait.h-data: Likewise.
47617         * conform/data/syslog.h-data: Likewise.
47618         * conform/data/tar.h-data: Likewise.
47619         * conform/data/termios.h-data: Likewise.
47620         * conform/data/utime.h-data: Likewise.
47621         * conform/data/utmpx.h-data: Likewise.
47622         * conform/data/varargs.h-data: Likewise.
47623         * conform/data/wchar.h-data: Likewise.
47624         * conform/data/wctype.h-data: Likewise.
47625         * conform/data/wordexp.h-data: Likewise.
47626
47627         * include/stropts.h: New file.
47628         * include/uchar.h: New file.
47629         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47630         * include/assert.h: Likewise.
47631         * include/ctype.h: Likewise.
47632         * include/dirent.h: Likewise.
47633         * include/dlfcn.h: Likewise.
47634         * include/fcntl.h: Likewise.
47635         * include/fnmatch.h: Likewise.
47636         * include/glob.h: Likewise.
47637         * include/grp.h: Likewise.
47638         * include/libio.h: Likewise.
47639         * include/locale.h: Likewise.
47640         * include/math.h: Likewise.
47641         * include/net/if.h: Likewise.
47642         * include/netdb.h: Likewise.
47643         * include/netinet/in.h: Likewise.
47644         * include/pthread.h: Likewise.
47645         * include/pwd.h: Likewise.
47646         * include/regex.h: Likewise.
47647         * include/sched.h: Likewise.
47648         * include/search.h: Likewise.
47649         * include/setjmp.h: Likewise.
47650         * include/signal.h: Likewise.
47651         * include/stdio.h: Likewise.
47652         * include/stdlib.h: Likewise.
47653         * include/string.h: Likewise.
47654         * include/sys/cdefs.h: Likewise.
47655         * include/sys/mman.h: Likewise.
47656         * include/sys/msg.h: Likewise.
47657         * include/sys/resource.h: Likewise.
47658         * include/sys/select.h: Likewise.
47659         * include/sys/socket.h: Likewise.
47660         * include/sys/stat.h: Likewise.
47661         * include/sys/statvfs.h: Likewise.
47662         * include/sys/time.h: Likewise.
47663         * include/sys/times.h: Likewise.
47664         * include/sys/uio.h: Likewise.
47665         * include/sys/utsname.h: Likewise.
47666         * include/sys/wait.h: Likewise.
47667         * include/termios.h: Likewise.
47668         * include/time.h: Likewise.
47669         * include/ulimit.h: Likewise.
47670         * include/unistd.h: Likewise.
47671         * include/utime.h: Likewise.
47672         * include/wchar.h: Likewise.
47673         * include/wctype.h: Likewise.
47674         * include/wordexp.h: Likewise.
47675
47676         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47677
47678         * time/time.h: TIME_UTC must be a macro.
47679         Make timespec_get available for ISO C11 only as well.
47680
47681 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47682
47683         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47684         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47685
47686 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47687
47688         * configure.in: Use -o not -a in test for unsupported multi-arch.
47689
47690 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47691
47692         * manual/texinfo.tex: Update to version 2012-01-19.16.
47693
47694 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47695
47696         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47697
47698 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47699
47700         [BZ #13738]
47701         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47702         * manual/fdl-1.3.texi: New file.
47703         * manual/fdl-1.1.texi: File removed.
47704
47705         [BZ #13738]
47706         * manual/libc.texinfo (FDL_VERSION): New @set.
47707         Use it for mention of FDL in cover text.
47708         (Documentation License): Use it in @include file name.
47709
47710 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47711             Roland McGrath  <roland@hack.frob.com>
47712
47713         [BZ #5461]
47714         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47715         (not LONG_LONG_MAX and LONG_LONG_MIN.
47716         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47717         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47718         name.
47719         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47720
47721 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47722
47723         [BZ #2547]
47724         [BZ #11365]
47725         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47726         manipulate bits before adding and subtracting TWO23[sx].
47727         * math/libm-test.inc (nearbyint_test): Add more tests.
47728
47729 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47730
47731         [BZ #2548]
47732         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47733         bits before adding and subtracting TWO23[sx].
47734         * math/libm-test.inc (rint_test): Add more tests.
47735         (rint_test_tonearest): Likewise.
47736         (rint_test_towardzero): Likewise.
47737         (rint_test_downward): Likewise.
47738         (rint_test_upward: Likewise.
47739
47740 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47741
47742         [BZ #10110]
47743         * include/stdc-predef.h: New file.  Extracted from features.h.
47744         * include/features.h: Include stdc-predef.h.
47745         * Makefile (headers): Add stdc-predef.h.
47746         * CONFORMANCE (Compiler limitations): Update.
47747
47748 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47749
47750         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47751
47752 2012-02-21  David S. Miller  <davem@davemloft.net>
47753
47754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47755         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47756
47757 2012-02-20  David S. Miller  <davem@davemloft.net>
47758
47759         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47760         using a normal save/restore sequence, rather than allocating a
47761         dummy stack frame just to store a frame pointer and restore.
47762         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47763
47764 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47765
47766         * manual/install.texi: Fix stray word in line-wrapped comment.
47767
47768 2012-02-20  David S. Miller  <davem@davemloft.net>
47769
47770         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47771         both binutils and gcc support GOTDATA.
47772
47773         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47774         "rd %pc" in the PIC register setup sequences.
47775
47776         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47777         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47778         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47779         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47780         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47782         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47783         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47785         (SYSCALL_ERROR_HANDLER): Likewise.
47786         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47787         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47789         (SYSCALL_ERROR_HANDLER): Likewise.
47790
47791         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47792         (HAVE_GCC_GOTDATA): New.
47793         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47794         relocation support in both binutils and gcc.
47795         * sysdeps/sparc/elf/configure: Regenerate.
47796
47797         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47798         * sysdeps/sparc/sparc32/elf/configure: Delete.
47799         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47800         * sysdeps/sparc/sparc64/elf/configure: Delete.
47801         * sysdeps/sparc/elf/configure.in: New file.
47802         * sysdeps/sparc/elf/configure: Generate.
47803
47804         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47805         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47806         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47807         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47808         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47809
47810 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47811
47812         * manual/install.texi: Do not mention specific glibc version
47813         numbers.
47814         * manual/libc.texinfo (VERSION, UPDATED): Update.
47815         (@copying): Use @copyright{} and range of years.
47816
47817 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47818
47819         [BZ #13695]
47820         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47821         [crti.S not in sysdirs] (generated): Do not append.
47822         [crti.S not in sysdirs] (omit-deps): Likewise.
47823         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47824         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47825         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47826         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47827         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47828         Likewise.
47829         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47830         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47831         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47832         * csu/defs.awk: Remove file.
47833         * sysdeps/generic/initfini.c: Likewise.
47834         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47835         variable.
47836         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47837         Likewise.
47838
47839 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47840
47841         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47842         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47843         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47844         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47845         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47846         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47847         <bits/epoll.h>.
47848         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47849         (__EPOLL_PACKED): Define to empty if not defined by
47850         <bits/epoll.h>.
47851         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47853         bits/epoll.h.
47854
47855 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47856
47857         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47858         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47859         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47860         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47861         <bits/timerfd.h>.
47862         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47864         bits/timerfd.h.
47865
47866 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47867
47868         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47869         in C locale.
47870         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47871         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47872         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47874
47875 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47876
47877         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47878         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47879
47880 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47881
47882         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47883         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47884         defined.
47885         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47886         Likewise.
47887         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47888         entry for 2.16.
47889
47890 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47891
47892         * math/w_acos.c: Use non-signaling floating-point comparisons.
47893         * math/w_acosf.c: Likewise.
47894         * math/w_acosh.c: Likewise.
47895         * math/w_acoshf.c: Likewise.
47896         * math/w_acoshl.c: Likewise.
47897         * math/w_acosl.c: Likewise.
47898         * math/w_asin.c: Likewise.
47899         * math/w_asinf.c: Likewise.
47900         * math/w_asinl.c: Likewise.
47901         * math/w_atanh.c: Likewise.
47902         * math/w_atanhf.c: Likewise.
47903         * math/w_atanhl.c: Likewise.
47904         * math/w_exp2.c: Likewise.
47905         * math/w_exp2f.c: Likewise.
47906         * math/w_exp2l.c: Likewise.
47907         * math/w_j0.c: Likewise.
47908         * math/w_j0f.c: Likewise.
47909         * math/w_j0l.c: Likewise.
47910         * math/w_j1.c: Likewise.
47911         * math/w_j1f.c: Likewise.
47912         * math/w_j1l.c: Likewise.
47913         * math/w_jn.c: Likewise.
47914         * math/w_jnf.c: Likewise.
47915         * math/w_log.c: Likewise.
47916         * math/w_log10.c: Likewise.
47917         * math/w_log10f.c: Likewise.
47918         * math/w_log10l.c: Likewise.
47919         * math/w_log2.c: Likewise.
47920         * math/w_log2f.c: Likewise.
47921         * math/w_log2l.c: Likewise.
47922         * math/w_logf.c: Likewise.
47923         * math/w_logl.c: Likewise.
47924         * math/w_sqrt.c: Likewise.
47925         * math/w_sqrtf.c: Likewise.
47926         * math/w_sqrtl.c: Likewise.
47927         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47928         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47929         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47930         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47931         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47932
47933 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47934
47935         [BZ #9739]
47936         * manual/string.texi (strnlen): Use correct parameter name in
47937         equivalent expression.
47938
47939 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47940
47941         [BZ #11174]
47942         * manual/users.texi (seteuid): Consistently use neweuid for
47943         argument name.
47944
47945 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47946
47947         [BZ #13704]
47948         * manual/nss.texi (Services in the NSS configuration): Correct
47949         list of services in example configuration file.
47950
47951 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47952
47953         [BZ #11322]
47954         * manual/arith.texi: Remove statements about negative zero
47955         behaving identically to zero.
47956
47957 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47958
47959         [BZ #5993]
47960         * manual/install.texi: Do not document upgrading from libc5.
47961
47962 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47963
47964         [BZ #4596]
47965         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47966
47967 2012-02-18  David S. Miller  <davem@davemloft.net>
47968
47969         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47970         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47971         %o7 across the call.
47972         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47973         instead.
47974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47975         SETUP_PIC_REG_LEAF.
47976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47977         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47978         * sysdeps/sparc/crtn.S: Likewise.
47979
47980 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47981
47982         * aout/Makefile: Remove.
47983
47984 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47985
47986         [BZ #13058]
47987         * manual/examples/argp-ex1.c (main): Format definition in GNU
47988         style.
47989         * manual/examples/argp-ex2.c (main): Likewise.
47990         * manual/examples/argp-ex3.c (main): Likewise.
47991         * manual/examples/argp-ex4.c (main): Likewise.
47992         * manual/examples/longopt.c (main): Use new-style prototype
47993         definition.
47994         * manual/examples/strncat.c (main): Specify return type and use
47995         (void) for arguments.
47996         * manual/examples/subopt.c (main): Use char **argv argument.
47997
47998 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47999
48000         [BZ #5077]
48001         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48002         rounding modes.
48003
48004 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48005
48006         [BZ #6907]
48007         * manual/string.texi (strchr): Change when strchrnul is
48008         recommended.
48009
48010 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48011
48012         [BZ #174]
48013         * manual/locale.texi (setlocale): Document LOCPATH.
48014
48015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48016
48017         [BZ #10210]
48018         * manual/process.texi (execle): Move @dots{} before last argument.
48019
48020 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48021
48022         [BZ #12047]
48023         * manual/charset.texi (Generic Charset Conversion): Fix typo
48024         (LC_TYPE -> LC_CTYPE).
48025
48026 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48027
48028         [BZ #5805]
48029         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48030         (scalbnf): Likewise.
48031         (scalbnl): Likewise.
48032         (scalbln): Likewise.
48033         (scalblnf): Likewise.
48034         (scalblnl): Likewise.
48035         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48036         (vwarnx): Likewise.
48037         (verr): Likewise.
48038         (verrx): Likewise.
48039         * manual/filesys.texi (telldir): Use braces around return type.
48040         * manual/llio.texi (mmap): Add space after comma.
48041         (mmap64): Likewise.
48042         * manual/math.texi (jn): Use @var{} on parameter names.
48043         (jnf): Likewise.
48044         (jnl): Likewise.
48045         (yn): Likewise.
48046         (ynf): Likewise.
48047         (ynl): Likewise.
48048         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48049         line.
48050         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48051         "...".
48052         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48053         (sched_get_priority_max): Likewise.
48054         * manual/signal.texi (sigvec): Add space after comma.
48055         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48056         names.
48057         (if_indextoname): Likewise.
48058         (if_freenameindex): Likewise.
48059         (sendto): Use ',' instead of '.' in prototype.
48060         * manual/startup.texi (syscall): Use @dots{} instead of literal
48061         "...".
48062         * manual/stdio.texi (__fpending): Separate initial words of
48063         paragraph from @deftypefun line.
48064         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48065         "...".
48066         (vsyslog): Use @var{} on parameter names.
48067         * manual/terminal.texi (stty): Use @var{} on parameter names.
48068         * manual/users.texi (getutmp): Use @var{} on parameter names.
48069         (getutmpx): Likewise.
48070
48071 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48072
48073         [BZ #6884]
48074         * manual/stdio.texi (fopen): Fix typos in description of
48075         ",ccs=STRING".
48076
48077 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48078
48079         [BZ #4026]
48080         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48081         get clock_id definition.
48082
48083 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48084
48085         [BZ #4822]
48086         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48087         (madvise): Cast every argument to void on its own.
48088
48089 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48090
48091         [BZ #9902]
48092         * manual/startup.texi (Exit Status): Fix typo.
48093
48094 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48095
48096         [BZ #10140]
48097         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48098         * manual/examples/argp-ex2.c: Likewise.
48099         * manual/examples/argp-ex3.c: Likewise.
48100
48101 2012-02-16  Richard Henderson  <rth@redhat.com>
48102
48103         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48104         * sysdeps/s390/s390-32/initfini.c: Remove.
48105         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48106         * sysdeps/s390/s390-64/initfini.c: Remove.
48107
48108 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48109
48110         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48111         compiler output for sysdeps/generic/initfini.c.
48112         * sysdeps/sh/elf/initfini.c: Remove file.
48113
48114 2012-02-16  David S. Miller  <davem@davemloft.net>
48115
48116         [BZ #11494]
48117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48118
48119         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48120         * sysdeps/sparc/crti.S: New file.
48121         * sysdeps/sparc/crtn.S: New file.
48122         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48123         * sysdeps/sparc/sparc64/Makefile: Likewise.
48124
48125 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48126
48127         [BZ #3335]
48128         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48129
48130 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48131
48132         [BZ #4822]
48133         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48134
48135         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48136         (write, read, close): Likewise.
48137         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48138
48139 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48140
48141         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48142         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48143         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48144         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48145         <bits/signalfd.h>.
48146         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48148         bits/signalfd.h.
48149
48150 2012-02-14  Marek Polacek  <polacek@redhat.com>
48151
48152         * sysdeps/x86_64/crti.S: New file.
48153         * sysdeps/x86_64/crtn.S: New file.
48154         * sysdeps/x86_64/elf/initfini.c: Remove file.
48155
48156 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48157
48158         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48159         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48161         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48162         <bits/inotify.h>.
48163         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48165         bits/inotify.h.
48166
48167 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48168
48169         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48170         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48171         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48172         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48173         <bits/eventfd.h>.
48174         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48176         bits/eventfd.h.
48177
48178 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48179
48180         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48181         __feraiseexcept instead of feraiseexcept.
48182
48183         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48184         nanosleep invocations.
48185         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48186         strings, and add error checking for a nanosleep invocations.
48187
48188 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48189
48190         Replace FSF snail mail address with URLs, as per GNU coding standards.
48191         Most of the snail mail addresses were wrong anyway, and omitting
48192         them makes the source code easier to maintain.  Almost all of the
48193         changes are to license notices and to locale LC_IDENTIFICATION
48194         addresses, except for this one:
48195         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48196         not its snail mail address.
48197
48198 2012-02-09  Richard Henderson  <rth@twiddle.net>
48199
48200         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48201         of kernel-features.h.
48202
48203         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48204
48205 2012-02-08  Marek Polacek  <polacek@redhat.com>
48206
48207         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48208         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48209         * sysdeps/gnu/_G_config.h: Likewise.
48210         * sysdeps/generic/_G_config.h: Likewise.
48211
48212 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48213
48214         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48215         tests.
48216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48217
48218         * sysdeps/powerpc/powerpc32/crti.S: New file.
48219         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48220         * sysdeps/powerpc/powerpc64/crti.S: New file.
48221         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48222
48223         * Makeconfig (have-initfini): Don't set.
48224         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48225         * configure.in (nopic_initfini): Don't substitute.
48226         * config.h.in (HAVE_INITFINI): Don't #undef.
48227         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48228         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48229
48230 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48231
48232         Support crti.S and crtn.S provided directly by architectures.
48233         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48234         [crti.S in sysdirs] (omit-deps): Likewise.
48235         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48236         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48237         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48238         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48239         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48240         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48241         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48242         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48243         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48244         compiler output for sysdeps/generic/initfini.c.
48245         * sysdeps/i386/elf/Makefile: Remove file.
48246         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48247
48248 2012-02-07  Marek Polacek  <polacek@redhat.com>
48249
48250         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48251         * sysdeps/gnu/_G_config.h: Likewise.
48252         * sysdeps/mach/hurd/_G_config.h: Likewise.
48253
48254 2012-02-07  Marek Polacek  <polacek@redhat.com>
48255
48256         * math/Makefile (tests): Add tst-CMPLX2.
48257         * math/tst-CMPLX2.c: New file.
48258
48259 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48260
48261         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48262
48263         * math/libm-test.inc (jn_test): Add missing L suffix.
48264
48265 2012-02-06  Marek Polacek  <polacek@redhat.com>
48266
48267         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48268         * sysdeps/i386/fpu/e_powf.S: Likewise.
48269         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48270         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48271         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48272         * sysdeps/i386/fpu/e_pow.S: Likewise.
48273         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48274         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48275         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48276         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48277         * sysdeps/i386/fpu/e_log2.S: Likewise.
48278         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48279         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48280         * sysdeps/i386/fpu/e_powl.S: Likewise.
48281         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48282         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48283         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48284         * sysdeps/i386/fpu/e_logl.S: Likewise.
48285         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48286         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48287         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48288         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48289         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48290         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48291         * sysdeps/i386/fpu/e_log.S: Likewise.
48292         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48293         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48294         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48295         * sysdeps/i386/fpu/e_logf.S: Likewise.
48296         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48297         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48298         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48299         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48300         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48301         * sysdeps/i386/fpu/e_log10.S: Likewise.
48302         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48303         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48304         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48305         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48306         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48307         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48308         * sysdeps/i386/asm-syntax.h: Likewise.
48309         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48311         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48312         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48313         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48314         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48315         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48316         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48317         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48318         * sysdeps/powerpc/sysdep.h: Likewise.
48319         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48320         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48321
48322 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48323
48324         [BZ #411]
48325         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48326
48327 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48328
48329         * sysdeps/i386/sysdep.h: Include <features.h>.
48330         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48331         version.
48332
48333 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48334
48335         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48336         Define.
48337         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48338         LOAD_PIC_REG_STR.
48339
48340 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48341
48342         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48343         (SETUP_PIC_REG): Use GET_PC_THUNK.
48344         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48345         macro.
48346
48347 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48348
48349         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48350         for non-PIC compilation.
48351         (SETUP_PIC_REG): Add .p2align directive.
48352         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48353         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48354         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48355         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48356         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48357         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48358         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48359         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48360         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48361         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48362         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48363         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48364         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48365         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48366         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48367         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48368         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48369         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48370         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48371         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48372         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48373         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48374         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48375         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48376         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48377         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48378         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48379         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48380         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48381         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48382         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48383         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48384         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48385         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48386         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48387         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48388         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48389         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48390         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48391         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48392         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48393
48394 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48395
48396         * math/tst-CMPLX.c: Include <stdio.h>.
48397
48398 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48399
48400         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48401         float.
48402         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48403         * sysdeps/sparc/bits/mathdef.h: Likewise.
48404
48405 2012-01-31  Marek Polacek  <polacek@redhat.com>
48406
48407         * libio/libio.h: Don't define _PARAMS.
48408         * locale/programs/config.h: Don't define PARAMS.
48409         * stdlib/strtol_l.c: Likewise.
48410         (__strtol_l): Remove PARAMS from the prototype.
48411
48412 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48413
48414         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48415         names.  Just use the correct names.  Remove unnecessary wrapper
48416         functions.
48417         * malloc/arena.c: Likewise.
48418         * malloc/hooks.c: Likewise.
48419
48420         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48421         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48422         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48423
48424 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48425
48426         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48427         into tail calls.
48428         (update_get_addr): New function.
48429         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48430         GET_ADDR_MODULE parameter.
48431
48432 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48433
48434         * crypt/cert.c: Remove __STDC__ conditionals.
48435         * crypt/crypt-entry.c: Likewise.
48436         * crypt/crypt_util.c: Likewise.
48437         * libio/filedoalloc.c: Likewise.
48438         * libio/fileops.c: Likewise.
48439         * libio/genops.c: Likewise.
48440         * libio/iofclose.c: Likewise.
48441         * libio/iofdopen.c: Likewise.
48442         * libio/iofopen.c: Likewise.
48443         * libio/iofopen64.c: Likewise.
48444         * libio/iogetdelim.c: Likewise.
48445         * libio/iopopen.c: Likewise.
48446         * libio/obprintf.c: Likewise.
48447         * libio/oldfileops.c: Likewise.
48448         * libio/oldiofclose.c: Likewise.
48449         * libio/oldiofdopen.c: Likewise.
48450         * libio/oldiofopen.c: Likewise.
48451         * libio/oldiopopen.c: Likewise.
48452         * libio/wfiledoalloc.c: Likewise.
48453         * libio/wgenops.c: Likewise.
48454         * locale/programs/xmalloc.c: Likewise.
48455         * misc/syslog.c: Likewise.
48456         * stdio-common/xbug.c: Likewise.
48457         * string/memchr.c: Likewise.
48458         * string/memcmp.c: Likewise.
48459         * string/memrchr.c: Likewise.
48460         * string/rawmemchr.c: Likewise.
48461         * sysdeps/posix/getcwd.c: Likewise.
48462         * time/strftime_l.c: Likewise.
48463
48464 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48465
48466         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48467         * config.make.in (config-cflags-sse2avx): Define.
48468         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48469         Fix typo.
48470
48471 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48472
48473         * scripts/config.guess: Update from upstream config git repository.
48474         * scripts/config.sub: Likewise.
48475
48476 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48477
48478         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48479         (EM_NUM): Update.
48480         (R_TILEPRO_*, R_TILEGX_*): New macros.
48481
48482         * scripts/firstversions.awk: Fix bug in version range handling.
48483
48484         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48485
48486         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48487
48488         * include/sys/epoll.h: New file.
48489         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48490         libc_hidden_def.
48491
48492 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48493
48494         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48495         Avoid unnecessary __WORDSIZE == 64 test.
48496         (fmaxf): Use VEX format if possible.
48497         (fmax): Likewise.
48498         (fminf): Likewise.
48499         (fmin): Likewise.
48500
48501         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48502         * math/math_private.h: Remove libc_fegetround* and
48503         libc_fesetround*.
48504         * sysdeps/i386/configure.in: Check for -msse2avx.
48505         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48506         also if SSE2AVX is defined.
48507         Remove libc_fegetround* and libc_fesetround*.
48508         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48509         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48511         of HAS_YMM_USABLE.
48512         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48513         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48514         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48515         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48517
48518         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48519
48520 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48521
48522         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48523         size is not set.
48524         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48525
48526 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48527
48528         [BZ #13618]
48529         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48530         relocation.
48531         * Makeconfig (libm): Define.
48532         * elf/Makefile: Add rules to build and run tst-relsort1.
48533         * elf/tst-relsort1.c: New file.
48534         * elf/tst-relsort1mod1.c: New file.
48535         * elf/tst-relsort1mod2.c: New file.
48536
48537 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48538
48539         * math/s_ldexp.c: Remove __STDC__ conditionals.
48540         * math/s_ldexpf.c: Likewise.
48541         * math/s_ldexpl.c: Likewise.
48542         * math/s_nextafter.c: Likewise.
48543         * math/s_nexttowardf.c: Likewise.
48544         * math/s_significand.c: Likewise.
48545         * math/s_significandf.c: Likewise.
48546         * math/s_significandl.c: Likewise.
48547         * math/w_jnl.c: Likewise.
48548         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48549         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48550         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48551         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48552         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48553         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48554         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48555         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48556         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48557         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48558         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48560         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48561         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48562         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48563         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48564         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48565         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48566         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48567         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48568         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48569         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48570         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48571         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48572         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48573         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48574         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48575         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48576         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48577         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48578         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48579         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48580         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48581         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48582         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48583         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48584         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48585         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48586         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48587         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48588         * sysdeps/ieee754/k_standard.c: Likewise.
48589         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48591         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48593         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48595         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48598         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48600         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48607         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48608         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48609         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48635         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48636         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48637         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48638         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48642         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48643         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48644         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48645         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48646         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48648         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48649         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48650         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48651         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48654         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48655         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48659         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48661         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48662         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48663         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48664         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48665         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48668         * sysdeps/ieee754/s_matherr.c: Likewise.
48669         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48670         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48671         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48672         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48673
48674 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48675
48676         * crypt/md5.h: Remove __STDC__ conditionals.
48677         * libio/libioP.h: Likewise.
48678         * locale/programs/config.h: Likewise.
48679         * sysdeps/generic/sysdep.h: Likewise.
48680         * sysdeps/i386/asm-syntax.h: Likewise.
48681         * sysdeps/s390/asm-syntax.h: Likewise.
48682         * sysdeps/unix/sysdep.h: Likewise.
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48685
48686 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48687
48688         * libio/libio.h: Remove __STDC__ conditionals.
48689         * malloc/obstack.h: Likewise.
48690         * math/complex.h: Likewise.
48691         * math/math.h: Likewise.
48692         * sysdeps/generic/_G_config.h: Likewise.
48693         * sysdeps/gnu/_G_config.h: Likewise.
48694         * sysdeps/mach/hurd/_G_config.h: Likewise.
48695         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48696         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48697         * sysdeps/sparc/bits/mathdef.h: Likewise.
48698
48699 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48700
48701         [BZ #13583]
48702         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48703         Clean up HAS_* macros.
48704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48705         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48706         possible.
48707         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48708         HAS_AVX.
48709         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48710         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48711         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48712         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48713         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48714
48715 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48716
48717         * elf/tst-unique3.cc (gets): Remove declaration.
48718         * elf/tst-unique3lib.cc (gets): Likewise.
48719         * elf/tst-unique3lib2.cc (gets): Likewise.
48720         * elf/tst-unique4.cc (gets): Likewise.
48721
48722 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48723
48724         * include/stdio.h: Add C++ protection.  Add gets declarations and
48725         definitions.
48726         * debug/tst-chk1.c: Don't declare gets here.
48727         * stdio-common/tst-gets.c: Likewise.
48728
48729 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48730
48731         * posix/glob: Remove directory.
48732
48733 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48734
48735         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48736
48737 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48738
48739         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48740         of the non-standard EPFNOSUPPORT.
48741
48742 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48743
48744         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48745         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48746         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48747
48748 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48749
48750         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48751
48752 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48753
48754         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48755         transient errors.
48756         * nscd/grpcache.c (cache_addgr): Likewise.
48757         * nscd/hstcache.c (cache_addhst): Likewise.
48758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48759         * nscd/pwdcache.c (cache_addpw): Likewise.
48760         * nscd/servicescache.c (cache_addserv): Likewise.
48761
48762 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48763
48764         * malloc/malloc.c: Various cleanups.
48765         * malloc/hooks.c: Likewise.
48766
48767         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48768         * stdlib/bug-fmtmsg1.c: New file.
48769
48770         * stdlib/fmtmsg.c (init): Add missing unlock.
48771         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48772
48773 2012-01-12  Marek Polacek  <polacek@redhat.com>
48774
48775         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48776         and _GNU_SOURCE.
48777
48778 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48779
48780         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48781         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48782         macro to ensure uniqueness of label name.
48783         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48784         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48785
48786 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48787
48788         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48789
48790         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48791         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48793         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48794
48795 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48796
48797         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48798
48799         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48800         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48801         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48802
48803         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48804
48805         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48806         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48807         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48808         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48809
48810         * math/bits/math-finite.h: Add ldexp support.
48811
48812 2012-01-10  Marek Polacek  <polacek@redhat.com>
48813
48814         * locale/programs/localedef.h (show_archive_content): Add noreturn
48815         attribute.
48816
48817 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48818
48819         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48820
48821 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48822
48823         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48824
48825         * io/Makefile (headers): Add bits/poll2.h.
48826
48827 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48828
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48830         typo #include statement.
48831
48832 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48833
48834         * include/sys/cdefs.h: Define __attribute_alloc_size.
48835         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48836         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48837         * elf/pldd.c: Likewise.
48838         * iconv/iconv_charmap.c: Likewise.
48839         * iconv/iconvconfig.c: Likewise.
48840         * iconv/strtab.c: Likewise.
48841         * locale/programs/locale.c: Likewise.
48842         * locale/programs/localedef.h: Likewise.
48843         * locale/programs/simple-hash.c: Likewise.
48844         * nscd/nscd.h: Likewise.
48845         * nss/makedb.c: Likewise.
48846         * sysdeps/generic/ldconfig.h: Likewise.
48847         * locale/programs/localedef.c: Remove xmalloc prototype.
48848         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48849
48850 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48851
48852         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48853         appropriate.
48854
48855 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48856
48857         * math/Makefile (tests): Add tst-CMPLX.
48858         * math/tst-CMPLX.c: New file.
48859
48860         * math/complex.h (CMPLXL): Fix typo.
48861
48862         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48863         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48864         GLIBC_2.16.
48865         * debug/tst-chk1.c: Add poll and ppoll tests.
48866         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48867         * include/sys/poll.h: Add hidden proto for ppoll.
48868         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48869         * sysdeps/mach/hurd/ppoll.c: Likewise.
48870         * io/ppoll.c: Likewise.
48871         * debug/poll_chk.c: New file.
48872         * debug/ppoll_chk.c: New file.
48873         * include/bits/poll2.h: New file.
48874         * io/bits/poll2.h: New file.
48875
48876         [BZ #1350]
48877         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48878
48879         * configure.in: static is always set to yes.  Remove.
48880         * config.make.in: Don't set build-static.
48881         * Makeconfig: Remove use of build-static.
48882         * dlfcn/Makefile: Likewise.
48883         * elf/Makefile: Likewise.
48884         * math/Makefile: Likewise.
48885         * misc/Makefile: Likewise.
48886         * nptl/Makefile: Likewise.
48887         * sysdeps/mach/hurd/Makefile: Likewise.
48888
48889         * configure.in: PWD_P is not used anymore.
48890         * config.make.in: Remove PWD_P entry.
48891
48892         * configure.in: Remove last remnants of RANLIB.
48893         No need to check for signed size_t anymore.
48894         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48895         and IA-64.
48896         Remove __builtin_expect test because we require at least gcc 3.4.
48897         * aclocal.m4: Likewise.
48898
48899         * wcsmbs/mbrtoc16.c: Implement using towc function.
48900         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48901         * wcsmbs/wcsmbsload.c: Likewise.
48902         * iconv/gconv_simple.c: Likewise.
48903         * iconv/gconv_int.h: Likewise.
48904         * iconv/gconv_builtin.h: Likewise.
48905         * iconv/iconv_prog.c: Remove CHAR16 handling.
48906
48907         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48908
48909         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48910
48911         * configure.in: Remove --with-elf and --enable-bounded options.
48912         Dont set base_machine for ia64.  More non-ELF conditions removed.
48913         Remove testing and setting of leading underscore information.
48914         * config.make.in (build-bounded): Set to no.
48915         * config.h.in: Remove NO_UNDERSCORES entry.
48916         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48917         them.
48918         * csu/start.c: Remove !NO_UNDERSCORE code.
48919         * locale/localeinfo.h: Likewise.
48920         * sysdeps/generic/machine-gmon.h: Likewise.
48921         * sysdeps/generic/sysdep.h: Likewise.
48922         * sysdeps/i386/sysdep.h: Likewise.
48923         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48924         * sysdeps/mach/sysdep.h: Likewise.
48925         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48926         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48927         * sysdeps/sh/sysdep.h: Likewise.
48928         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48929         * sysdeps/unix/i386/sysdep.S: Likewise.
48930         * sysdeps/unix/sparc/start.c: Likewise.
48931         * sysdeps/unix/sparc/sysdep.S: Likewise.
48932         * sysdeps/unix/sparc/sysdep.h: Likewise.
48933         * sysdeps/unix/start.c: Likewise.
48934         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48935         * sysdeps/x86_64/sysdep.h: Likewise.
48936
48937 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48938
48939         [BZ #13553]
48940         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48941         for non-gcc.
48942         * argp/argp-fmtstream.h: Use const instead __const.
48943         * argp/argp.h: Likewise.
48944         * assert/assert.h: Likewise.
48945         * bits/fenv.h: Likewise.
48946         * bits/sched.h: Likewise.
48947         * bits/sigset.h: Likewise.
48948         * bits/sigthread.h: Likewise.
48949         * catgets/nl_types.h: Likewise.
48950         * conform/data/pthread.h-data: Likewise.
48951         * crypt/crypt-private.h: Likewise.
48952         * crypt/crypt.h: Likewise.
48953         * crypt/crypt_util.c: Likewise.
48954         * ctype/ctype.h: Likewise.
48955         * debug/execinfo.h: Likewise.
48956         * debug/mbsnrtowcs_chk.c: Likewise.
48957         * debug/mbsrtowcs_chk.c: Likewise.
48958         * debug/wcsnrtombs_chk.c: Likewise.
48959         * debug/wcsrtombs_chk.c: Likewise.
48960         * debug/wcstombs_chk.c: Likewise.
48961         * dirent/dirent.h: Likewise.
48962         * dlfcn/dlfcn.h: Likewise.
48963         * elf/neededtest4.c: Likewise.
48964         * grp/grp.h: Likewise.
48965         * gshadow/gshadow.h: Likewise.
48966         * iconv/gconv.h: Likewise.
48967         * iconv/gconv_int.h: Likewise.
48968         * iconv/gconv_simple.c: Likewise.
48969         * iconv/iconv.h: Likewise.
48970         * iconv/loop.c: Likewise.
48971         * iconv/skeleton.c: Likewise.
48972         * include/aio.h: Likewise.
48973         * include/aliases.h: Likewise.
48974         * include/argz.h: Likewise.
48975         * include/arpa/inet.h: Likewise.
48976         * include/assert.h: Likewise.
48977         * include/dirent.h: Likewise.
48978         * include/dlfcn.h: Likewise.
48979         * include/execinfo.h: Likewise.
48980         * include/fcntl.h: Likewise.
48981         * include/fenv.h: Likewise.
48982         * include/glob.h: Likewise.
48983         * include/grp.h: Likewise.
48984         * include/libintl.h: Likewise.
48985         * include/mntent.h: Likewise.
48986         * include/netdb.h: Likewise.
48987         * include/pwd.h: Likewise.
48988         * include/rpc/netdb.h: Likewise.
48989         * include/sched.h: Likewise.
48990         * include/search.h: Likewise.
48991         * include/shadow.h: Likewise.
48992         * include/signal.h: Likewise.
48993         * include/stdio.h: Likewise.
48994         * include/stdlib.h: Likewise.
48995         * include/string.h: Likewise.
48996         * include/sys/socket.h: Likewise.
48997         * include/sys/stat.h: Likewise.
48998         * include/sys/statfs.h: Likewise.
48999         * include/sys/statvfs.h: Likewise.
49000         * include/sys/syslog.h: Likewise.
49001         * include/sys/time.h: Likewise.
49002         * include/sys/uio.h: Likewise.
49003         * include/time.h: Likewise.
49004         * include/unistd.h: Likewise.
49005         * include/utmp.h: Likewise.
49006         * include/wchar.h: Likewise.
49007         * include/wctype.h: Likewise.
49008         * inet/aliases.h: Likewise.
49009         * inet/arpa/inet.h: Likewise.
49010         * inet/netinet/ether.h: Likewise.
49011         * inet/netinet/in.h: Likewise.
49012         * intl/libintl.h: Likewise.
49013         * io/bits/fcntl2.h: Likewise.
49014         * io/fcntl.h: Likewise.
49015         * io/ftw.h: Likewise.
49016         * io/sys/poll.h: Likewise.
49017         * io/sys/stat.h: Likewise.
49018         * io/sys/statfs.h: Likewise.
49019         * io/sys/statvfs.h: Likewise.
49020         * io/utime.h: Likewise.
49021         * libio/bits/stdio.h: Likewise.
49022         * libio/bits/stdio2.h: Likewise.
49023         * libio/libio.h: Likewise.
49024         * libio/libioP.h: Likewise.
49025         * libio/stdio.h: Likewise.
49026         * locale/lc-ctype.c: Likewise.
49027         * locale/locale.h: Likewise.
49028         * login/utmp.h: Likewise.
49029         * malloc/arena.c: Likewise.
49030         * malloc/malloc.c: Likewise.
49031         * malloc/malloc.h: Likewise.
49032         * malloc/mcheck.c: Likewise.
49033         * malloc/mtrace.c: Likewise.
49034         * math/bits/mathcalls.h: Likewise.
49035         * math/fenv.h: Likewise.
49036         * math/math_private.h: Likewise.
49037         * misc/bits/error.h: Likewise.
49038         * misc/bits/syslog.h: Likewise.
49039         * misc/err.h: Likewise.
49040         * misc/error.h: Likewise.
49041         * misc/fstab.h: Likewise.
49042         * misc/mntent.h: Likewise.
49043         * misc/regexp.h: Likewise.
49044         * misc/search.h: Likewise.
49045         * misc/sgtty.h: Likewise.
49046         * misc/sys/mman.h: Likewise.
49047         * misc/sys/syslog.h: Likewise.
49048         * misc/sys/uio.h: Likewise.
49049         * misc/sys/xattr.h: Likewise.
49050         * misc/ttyent.h: Likewise.
49051         * nis/rpcsvc/ypclnt.h: Likewise.
49052         * nss/nss.h: Likewise.
49053         * posix/bits/unistd.h: Likewise.
49054         * posix/fnmatch.h: Likewise.
49055         * posix/glob.h: Likewise.
49056         * posix/sched.h: Likewise.
49057         * posix/spawn.h: Likewise.
49058         * posix/sys/wait.h: Likewise.
49059         * posix/unistd.h: Likewise.
49060         * posix/wordexp.h: Likewise.
49061         * pwd/pwd.h: Likewise.
49062         * resolv/netdb.h: Likewise.
49063         * resource/sys/resource.h: Likewise.
49064         * rt/aio.h: Likewise.
49065         * rt/bits/mqueue2.h: Likewise.
49066         * rt/mqueue.h: Likewise.
49067         * shadow/shadow.h: Likewise.
49068         * signal/signal.h: Likewise.
49069         * socket/send.c: Likewise.
49070         * socket/sendto.c: Likewise.
49071         * socket/sys/socket.h: Likewise.
49072         * stdio-common/printf.h: Likewise.
49073         * stdlib/bits/stdlib.h: Likewise.
49074         * stdlib/fmtmsg.h: Likewise.
49075         * stdlib/monetary.h: Likewise.
49076         * stdlib/stdlib.h: Likewise.
49077         * stdlib/ucontext.h: Likewise.
49078         * streams/stropts.h: Likewise.
49079         * string/argz.h: Likewise.
49080         * string/bits/string2.h: Likewise.
49081         * string/string.h: Likewise.
49082         * string/strings.h: Likewise.
49083         * sunrpc/rpc/auth.h: Likewise.
49084         * sunrpc/rpc/auth_des.h: Likewise.
49085         * sunrpc/rpc/clnt.h: Likewise.
49086         * sunrpc/rpc/netdb.h: Likewise.
49087         * sunrpc/rpc/pmap_clnt.h: Likewise.
49088         * sunrpc/rpc/xdr.h: Likewise.
49089         * sysdeps/generic/inttypes.h: Likewise.
49090         * sysdeps/generic/net/if.h: Likewise.
49091         * sysdeps/generic/sys/swap.h: Likewise.
49092         * sysdeps/gnu/net/if.h: Likewise.
49093         * sysdeps/gnu/utmpx.h: Likewise.
49094         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49095         * sysdeps/i386/i486/bits/string.h: Likewise.
49096         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49097         * sysdeps/s390/bits/string.h: Likewise.
49098         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49099         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49100         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49101         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49102         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49103         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49104         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49105         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49106         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49107         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49108         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49109         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49110         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49111         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49112         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49113         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49114         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49115         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49116         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49117         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49118         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49119         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49120         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49121         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49122         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49123         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49124         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49125         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49126         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49127         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49128         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49129         * sysvipc/sys/ipc.h: Likewise.
49130         * sysvipc/sys/msg.h: Likewise.
49131         * sysvipc/sys/sem.h: Likewise.
49132         * sysvipc/sys/shm.h: Likewise.
49133         * termios/termios.h: Likewise.
49134         * time/sys/time.h: Likewise.
49135         * time/time.h: Likewise.
49136         * wcsmbs/bits/wchar2.h: Likewise.
49137         * wcsmbs/uchar.h: Likewise.
49138         * wcsmbs/wchar.h: Likewise.
49139         * wctype/wctype.h: Likewise.
49140
49141         [BZ #13551]
49142         * Makeconfig: Remove all but ELF support including AIX support.
49143         * Makerules: Likewise.
49144         * config.h.in: Likewise.
49145         * config.make.in: Likewise.
49146         * configure: Likewise.
49147         * configure.in: Likewise.
49148         * csu/Makefile: Likewise.
49149         * csu/version.c: Likewise.
49150         * debug/Makefile: Likewise.
49151         * dlfcn/Makefile: Likewise.
49152         * elf/Makefile: Likewise.
49153         * extra-lib.mk: Likewise.
49154         * iconv/Makefile: Likewise.
49155         * include/libc-symbols.h: Likewise.
49156         * include/shlib-compat.h: Likewise.
49157         * resolv/Makefile: Likewise.
49158         * resolv/res_libc.c: Likewise.
49159         * rt/Makefile: Likewise.
49160         * sysdeps/i386/asm-syntax.h: Likewise.
49161         * sysdeps/i386/sysdep.h: Likewise.
49162         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49163         * sysdeps/mach/sysdep.h: Likewise.
49164         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49165         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49166         * sysdeps/s390/asm-syntax.h: Likewise.
49167         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49168         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49169         * sysdeps/sh/sysdep.h: Likewise.
49170         * sysdeps/unix/sparc/sysdep.h: Likewise.
49171         * sysdeps/wordsize-32/divdi3.c: Likewise.
49172         * sysdeps/x86_64/sysdep.h: Likewise.
49173
49174         * argp/Versions: Remove _argp_unlock_xxx.
49175
49176         [BZ #13559]
49177         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49178         * abilist/libBrokenLocale.abilist: Likewise.
49179         * abilist/libanl.abilist: Likewise.
49180         * abilist/libc.abilist: Likewise.
49181         * abilist/libcrypt.abilist: Likewise.
49182         * abilist/libdl.abilist: Likewise.
49183         * abilist/libm.abilist: Likewise.
49184         * abilist/libnsl.abilist: Likewise.
49185         * abilist/libpthread.abilist: Likewise.
49186         * abilist/libresolv.abilist: Likewise.
49187         * abilist/librt.abilist: Likewise.
49188         * abilist/libthread_db.abilist: Likewise.
49189         * abilist/libutil.abilist: Likewise.
49190         * abilist/libnss_db.abilist: New file.
49191
49192         * scripts/abilist.awk: Add support for indirect functions.
49193
49194         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49195
49196         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49197
49198         * shlib-versions: Remove entries for ports architectures.
49199
49200         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49201         files in ports.
49202         * elf/stackguard-macros.h: Remove support for IA-64.
49203         * elf/tst-auditmod1.c: Likewise.
49204         * sysdeps/generic/ldsodefs.h: Likewise.
49205
49206         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49207         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49208         configure files.
49209
49210         [BZ #13552]
49211         * configure.in: Remove --enable-omitfp support.
49212         * FAQ.in: Adjust.
49213         * config.make.in: Likewise.
49214         * Makeconfig: Likewise.
49215         * manual/install.texi: Likewise.
49216
49217         In case anyone cares, the IA-64 architecture could move to ports.
49218         * sysdeps/ia64/*: Removed.
49219         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49220         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49221
49222         [BZ #13555]
49223         * configure.in: Remove entries for unsupported architectures.
49224
49225         [BZ #13533]
49226         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49227         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49228         routines.
49229         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49230         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49231         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49232         fall back to using wcrtomb.
49233         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49234         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49235         renaming.
49236         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49237         * wcsmbs/tst-c16c32-1.c: New file.
49238
49239         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49240         local variable.
49241
49242         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49243
49244         * elf/tst-unique3.cc: Add explicit declaration of gets.
49245         * elf/tst-unique3lib.cc: Likewise.
49246         * elf/tst-unique3lib2.cc: Likewise.
49247         * elf/tst-unique4.cc: Likewise.
49248
49249         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49250
49251 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49252
49253         [BZ #13566]
49254         * assert/assert.h (static_assert): Don't define for C++.
49255         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49256         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49257
49258 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49259
49260         * iconv/loop.c (single loop): Fix assertion in storing of
49261         remaining bytes.
49262
49263         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49264
49265 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49266
49267         * posix/getconf.c: Update copyright year.
49268         * nss/getent.c: Likewise.
49269         * nss/makedb.c: Likewise.
49270         * iconv/iconvconfig.c: Likewise.
49271         * iconv/iconv_prog.c: Likewise.
49272         * elf/ldconfig.c: Likewise.
49273         * elf/pldd.c: Likewise.
49274         * elf/sotruss.ksh: Likewise.
49275         * catgets/gencat.c: Likewise.
49276         * csu/version.c: Likewise.
49277         * elf/ldd.bash.in: Likewise.
49278         * elf/sprof.c (print_version): Likewise.
49279         * locale/programs/locale.c: Likewise.
49280         * locale/programs/localedef.c: Likewise.
49281         * login/programs/pt_chown.c: Likewise.
49282         * nscd/nscd.c (print_version): Likewise.
49283         * debug/xtrace.sh: Likewise.
49284         * malloc/memusage.sh: Likewise.
49285         * malloc/mtrace.pl: Likewise.
49286         * debug/catchsegv.sh: Likewise.
49287
49288 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49289
49290         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49291         pure attribute.
49292
49293 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49294
49295         [BZ #13533]
49296         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49297         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49298         transformations.
49299         * iconv/gconv_int.h: Likewise.
49300         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49301         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49302         from libc for GLIBC_2.16.
49303         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49304         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49305         * wcsmbs/uchar.h: Really define mbstate_t.
49306         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49307         * wcsmbs/c16rtomb.c: New file.
49308         * wcsmbs/mbrtoc16.c: New file.
49309         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49310         for C/POSIX locale.
49311         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49312         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49313
49314         * wcsmbs/wchar.h: Add missing __restrict.
49315
49316 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49317
49318         [BZ #13532]
49319         * time/Makefile (routines): Add timespec_get.
49320         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49321         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49322         timespec for ISO C11.
49323         * time/timespec_get.c: New file.
49324         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49325         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49326
49327         [BZ #13531]
49328         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49329         * stdlib/stdlib.h: Declare aligned_alloc.
49330         * Versions.def: Add GLIBC_2.16 for libc.
49331         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49332
49333         [BZ 13527]
49334         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49335         ISO C11.
49336
49337         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49338         code.
49339
49340         [BZ #13528]
49341         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49342
49343         [BZ #13529]
49344         * assert/assert.h (static_assert): Define.
49345
49346         * version.h: Update for 2.16 development version.
49347
49348         [BZ #13526]
49349         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49350         _ISOC11_SOURCE.
49351
49352         * version.h (RELEASE): Bump for 2.15 release.
49353         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49354
49355         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49356         Patch by Marek Polacek <mpolacek@redhat.com>.
49357
49358         * bits/byteswap.h: Protect long long constants with __extension__.
49359         * sysdeps/i386/bits/byteswap.h: Likewise.
49360         * sysdeps/ia64/bits/byteswap.h: Likewise.
49361         * sysdeps/s390/bits/byteswap.h: Likewise.
49362         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49363
49364 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49365
49366         [BZ #13540]
49367         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49368         destination buffer.
49369         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49370
49371 2011-12-23  Marek Polacek  <polacek@redhat.com>
49372
49373         * elf/dl-addr.c (determine_info): Add inline keyword.
49374         * elf/tst-auditmod4b.c (check_avx): Likewise.
49375         * elf/tst-auditmod6b.c (check_avx): Likewise.
49376         * elf/tst-auditmod6c.c (check_avx): Likewise.
49377         * elf/tst-auditmod7b.c (check_avx): Likewise.
49378
49379 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49380
49381         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49382         !__SSE_MATH__.
49383
49384 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49385
49386         [BZ #13540]
49387         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49388         processing for last bytes.
49389
49390 2011-08-06  Bruno Haible  <bruno@clisp.org>
49391
49392         [BZ #13061]
49393         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49394         U+0385, not to U+1FEE.
49395
49396         [BZ #13062]
49397         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49398         entry for U+00A5 U+0301.
49399
49400 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49401
49402         [BZ #13166]
49403         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49404         buffer for the output is too small.
49405
49406         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49407         optimization.
49408
49409         [BZ #13185]
49410         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49411         SSE flags if possible.
49412
49413 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49414
49415         [BZ #13540]
49416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49417         processing for last bytes.
49418
49419 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49420
49421         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49422         (syscall-list-default-options, syscall-list-default-condition)
49423         (syscall-list-includes): Define.
49424         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49425         list of ABIs and options and #if conditions for each ABI.  Do not
49426         handle common syscalls between ABIs specially.
49427         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49428         Remove.
49429         (syscall-list-variants, syscall-list-32bit-options)
49430         (syscall-list-32bit-condition, syscall-list-64bit-options)
49431         (syscall-list-64bit-condition): Define.
49432         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49433         (syscall-list-variants, syscall-list-32bit-options)
49434         (syscall-list-32bit-condition, syscall-list-64bit-options)
49435         (syscall-list-64bit-condition): Define.
49436         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49437         Remove.
49438         (syscall-list-variants, syscall-list-32bit-options)
49439         (syscall-list-32bit-condition, syscall-list-64bit-options)
49440         (syscall-list-64bit-condition): Define.
49441         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49442         Remove.
49443         (syscall-list-variants, syscall-list-32bit-options)
49444         (syscall-list-32bit-condition, syscall-list-64bit-options)
49445         (syscall-list-64bit-condition): Define.
49446
49447 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49448
49449         * locale/iso-639.def: Add brx entry.
49450
49451         [BZ #13328]
49452         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49453         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49454
49455         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49456         __feraiseexcept_renamed.
49457
49458 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49459
49460         [BZ #13538]
49461         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49462         EPOLLET with unsigned values.
49463         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49464         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49465
49466         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49467         to large cancellation.
49468         * math/s_cacoshf.c: Likewise.
49469         * math/s_cacoshl.c: Likewise.
49470
49471 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49472
49473         [BZ #13305]
49474         [BZ #12786]
49475         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49476         * math/s_cacoshf.c: Likewise.
49477         * math/s_cacoshl.c: Likewise.
49478
49479 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49480
49481         [BZ #13439]
49482         * iconv/gconv.h: Define __GCONV_SWAP.
49483         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49484         * iconvdata/utf-16.c: Likewise.
49485         * iconvdata/utf-32.c: Likewise.
49486
49487 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49488
49489         [BZ #13524]
49490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49491         numerator after shifting it by one limb.
49492
49493 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49494
49495         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49496         under [__USE_EXTERN_INLINES].
49497
49498 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49499
49500         [BZ #13446]
49501         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49502
49503 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49504
49505         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49506         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49507         optimized code.
49508         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49509         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49510         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49511         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49512         for strncasecmp/strncasecmp_l compilation.
49513         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49514         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49515
49516 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49517
49518         [BZ #13484]
49519         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49520         of __asm__.
49521
49522 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49523
49524         [BZ #13506]
49525         * time/tzfile.c (__tzfile_read): Check values from file header.
49526
49527 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49528
49529         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49530         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49531         * powerpc/powerpc32/dl-start.S: Likewise.
49532         * powerpc/powerpc32/elf/start.S: Likewise.
49533         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49534         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49535         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49536         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49537         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49538         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49539         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49540         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49541         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49542         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49543         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49544         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49545         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49546         * powerpc/powerpc32/memset.S: Likewise.
49547         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49548         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49549         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49550         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49551         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49552         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49553         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49554         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49555         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49556         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49557         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49558         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49559         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49560
49561 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49562
49563         * math/libm-test.inc: Added more nearbyint tests.
49564         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49565         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49566         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49567         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49568
49569 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49570
49571         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49572         FD_CLOEXEC.
49573
49574 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49575
49576         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49577         Add wcscpy-ssse3 wcscpy-c.
49578         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49579         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49580         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49581         * sysdeps/x86_64/wcschr.S: New file.
49582         * sysdeps/x86_64/wcsrchr.S: New file.
49583         * string/test-strcmp.c: Remove checking of wcscmp function for
49584         wrong alignments.
49585         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49586         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49587         wcsrchr-sse2 wcsrchr-c.
49588         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49589         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49590         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49591         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49592         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49593         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49594         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49595         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49596         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49597         * wcsmbc/wcschr.c (WCSCHR): New macro.
49598
49599 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49600
49601         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49602         * wcsmbs/test-wcsrchr.c: New file.
49603         * string/test-strrchr.c: Add wcsrchr support.
49604         (WIDE): New macro.
49605         * wcsmbs/test-wcscpy.c: New file.
49606         * string/test-strcpy.c: Add wcscpy support.
49607         (WIDE): New macro.
49608
49609 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49610
49611         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49612         the inner loop.
49613
49614 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49615
49616         [BZ #13472]
49617         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49618
49619 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49620
49621         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49622         Minor optimizations.
49623
49624         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49625         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49626         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49627
49628 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49629
49630         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49631         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49632         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49633         for gcc to avoid warnings.
49634         * inet/Makefile (tests): Add tst-checks.
49635         * inet/tst-checks.c: New file.
49636
49637         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49638         warning.
49639
49640         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49641         __wmemcmp_sse2.
49642
49643         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49644         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49645
49646         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49647
49648 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49649
49650         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49651         problem.
49652
49653         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49654
49655 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49656
49657         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49658         conditional on GCC version.
49659         (__arch_compare_and_exchange_val_8_acq)
49660         (__arch_compare_and_exchange_val_16_acq)
49661         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49662         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49663         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49664
49665 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49666
49667         * sysdeps/sh/backtrace.c: New file.
49668
49669 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49670
49671         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49672         parenthesis.
49673
49674 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49675
49676         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49677         falling back to utime.
49678
49679 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49680
49681         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49682         expectations for float.
49683
49684 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49685
49686         * locale/weight.h (findidx): Add parameter len.
49687         * locale/weightwc.h (findidx): Likewise.
49688         * posix/fnmatch_loop.c (FCT): Adjust caller.
49689         * posix/regcomp.c (build_equiv_class): Likewise.
49690         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49691         * posix/regexec.c (check_node_accept_bytes): Likewise.
49692         * string/strcoll_l.c (STRCOLL): Likewise.
49693         * string/strxfrm_l.c (STRXFRM): Likewise.
49694
49695 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49696
49697         * Makefile.in: Remove CVSOPT handling.
49698         * configure.in: Remove use of AC_REVISION.
49699         * iconvdata/Makefile (distribute): No need to filter out CVS.
49700         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49701         handling.
49702
49703 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49704
49705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49706         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49707         [USE_AS_STRNCASECMP_L]: Likewise.
49708         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49709         NO_TLS_DIRECT_SEG_REFS.
49710         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49711         Fix argument offsets for non-PIC.
49712         [USE_AS_STRNCASECMP_L]: Likewise.
49713         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49714         NO_TLS_DIRECT_SEG_REFS.
49715
49716 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49717
49718         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49719         O_CLOEXEC.
49720         * locale/loadlocale.c (_nl_load_locale): Likewise.
49721
49722 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49723
49724         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49725         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49726         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49727         (SYSCALL_GETTIME): Set errno on error.
49728
49729         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49730         count references to noai6ai_cached.
49731
49732 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49733
49734         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49735
49736         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49737         FD_CLOEXEC for /proc/self/maps.
49738
49739         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49740         FD_CLOEXEC for /proc/meminfo.
49741
49742         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49743         gai.conf.
49744
49745         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49746         FD_CLOEXEC for given file.
49747
49748         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49749
49750         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49751         FD_CLOEXEC for /etc/hosts.
49752         (_gethtent): Likewise.
49753
49754         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49755
49756         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49757         cancellation and set FD_CLOEXEC for /etc/netgroup.
49758
49759         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49760         reading /etc/publickey.
49761
49762         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49763         allow cancellation when reading /etc/group.
49764
49765         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49766         cancellation.
49767         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49768
49769         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49770         when using data file.
49771
49772         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49773
49774         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49775         (write_nis_obj): Use "c" and "e" in fopen.
49776
49777         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49778
49779         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49780
49781         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49782
49783         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49784
49785         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49786         locale.alias.
49787
49788         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49789
49790         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49791
49792         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49793
49794         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49795         file parsing and set FD_CLOEXEC.
49796
49797 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49798
49799         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49800
49801 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49802
49803         * malloc/arena.c (arena_get2): Don't call reused_arena when
49804         _int_new_arena failed.
49805
49806 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49807
49808         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49809         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49810         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49811         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49812         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49813         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49814         to compile strcasecmp and strncasecmp.
49815         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49816         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49817
49818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49819
49820 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49821
49822         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49823         locale-defines.sym to gen-as-const-headers.
49824         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49825         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49826         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49827         to compile strcasecmp and strncasecmp.
49828         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49829         strcasecmp_l and strncasecmp_l.
49830         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49831         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49832         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49833         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49834         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49835         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49836         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49837         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49838         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49839         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49840         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49841
49842 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49843
49844         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49845         result of SYSDEP_GETTIME_CPU to retval.
49846         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49847         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49848
49849         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49850         variable.
49851
49852         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49853         mantissa words.
49854         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49855
49856         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49857         from unused variable.
49858
49859         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49860         DWARF definitions.
49861         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49862         for assembling.
49863
49864         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49865         over namespaces.
49866
49867         * sunrpc/rpc_prot.c (rejected): Fix case value.
49868
49869         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49870         unsigned long long int to avoid warnings in shift.
49871
49872         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49873         of use of trans.
49874         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49875         variable tmp.
49876
49877         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49878         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49879         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49880
49881         * nis/nis_table.c (nis_list): Use variable of correct type for
49882         result of __follow_path call.
49883
49884 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49885
49886         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49887         of math functions ceil, trunc, floor, round, and sqrt, when
49888         avaliable on the platform.
49889         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49890         name clash.
49891         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49892         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49893         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49894
49895 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49896
49897         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49898         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49899
49900 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49901
49902         * include/unistd.h: Fix __readlink return type.
49903         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49904
49905 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49906
49907         * stdlib/ucontext.h: Undo last change for makecontext.
49908
49909 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49910
49911         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49912
49913         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49914         * setjmp/setjmp.h: Mark functions as non-leaf.
49915         * setjmp/bits/setjmp2.h: Likewise.
49916         * stdlib/ucontext.h: Likewise.
49917
49918 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49919
49920         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49921         (reused_arena): Don't check arena limit.
49922         (arena_get2): Atomically check arena limit.
49923
49924 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49925
49926         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49927         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49928
49929         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49930         instructions.
49931
49932 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49933
49934         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49935         handler when locking.
49936
49937         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49938         Fix size of allocated buffer.
49939
49940 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49941
49942         [BZ #10103]
49943         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49944         declarations for long double functions.
49945         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49946
49947         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49948
49949 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49950
49951         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49952         installed.
49953
49954         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49955         is disabled.
49956
49957 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49958
49959         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49960
49961 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49962
49963         * include/alloca.h (stackinfo_alloca_round): Define.
49964         (extend_alloca): Use it.
49965         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49966         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49967         here.
49968
49969         * scripts/check-local-headers.sh: Ignore libaudit.h.
49970
49971         * nscd/Makefile (extra-objs): Make recursively expanded.
49972
49973 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49974
49975         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49977
49978         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49979         * posix/tst-rfc3484-2.c: Likewise.
49980         * posix/tst-rfc3484-3.c: Likewise.
49981
49982         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49983         process_vm_writev.
49984         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49985         process_vm_writev.
49986         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49987         process_vm_writev from libc using GLIBC_2.15 version.
49988
49989         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49990
49991 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49992
49993         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49994         stack usage.
49995
49996 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49997
49998         [BZ #13367]
49999         * nss/getent.c (initgroups_keys): Show error message in case no group
50000         names are given.
50001
50002         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50003         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50004         __bump_nl_timestamp.
50005         * nscd/connections (nscd_init): When host database is served open
50006         netlink socket and request notification about configuration changes.
50007         (main_loop_poll): Track netlink file descriptor and bump timestamp
50008         in case data becomes available.
50009         (main_loop_epoll): Likewise.
50010         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50011         (database_pers_head): Add extra_data fileds.
50012         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50013         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50014         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50015         Adjust caller.
50016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50017         in6ai data, call __free_in6ai.
50018         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50019         Add -DHAVE_NETLINK.
50020         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50021         interface information.  Reuse previous data if netlink timestamp
50022         is not changed.
50023         (__bump_nl_timestamp): New function.
50024         (__free_in6ai): New function.
50025
50026 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50027
50028         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50029         close_not_cancel_no_status here.
50030         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50031
50032 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50033
50034         [BZ #13276]
50035         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50036         return value.
50037
50038         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50039         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50040         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50041
50042 2011-07-03  Andreas Jaeger  <aj@suse.de>
50043
50044         [BZ #10709]
50045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50046         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50047         * math/libm-test.inc (sin_test): Add test case.
50048
50049 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50050
50051         [BZ #13337]
50052         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50053         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50054
50055         * elf/chroot_canon.c (chroot_canon): Cleanups.
50056
50057         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50058
50059         [BZ #13335]
50060         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50061         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50062
50063         * string/test-strchr.c: Make usable for strchrnul testing.
50064         * string/test-strchrnul.c: New file.
50065         * string/Makefile (strop-tests): Add strchrnul.
50066
50067         * po/it.po: Update from translation team.
50068         * po/es.po: Likewise.
50069
50070 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50071
50072         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50073         the three constants needed as parameters.  Drop the others.
50074         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50075         __m128i_strloadu_tolower.
50076         Create and initialize variable zero and use it in all the places
50077         where _mm_setzero_si128 was used.
50078
50079         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50080         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50081         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50082         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50083         anymore.
50084         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50085         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50086         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50087         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50088         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50089         __mpranred, __mptan.
50090         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50091         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50092         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50093         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50094         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50095         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50096         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50097         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50098         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50099
50100 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50101
50102         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50103         redefine if SHARED.
50104         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50105
50106         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50107         wide char related routines to wcsmbs subdir.
50108
50109 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50110
50111         [BZ #13344]
50112         * misc/sys/cdefs.h (__THROWNL): Define.
50113         * posix/unistd.h: Use __THREADNL instead of __THREAD
50114         for memory synchronization functions.
50115
50116 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50117
50118         [BZ #13349]
50119         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50120         doesn't exist.
50121         * manual/stdio.texi (Obstack Streams): Node removed.
50122
50123 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50124
50125         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50126         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50127         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50128
50129         * math/math_private.h (math_force_eval): Allow non-addressable
50130         arguments.
50131         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50132
50133 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50134
50135         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50136         file is not needed.
50137
50138         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50139         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50140         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50141         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50142         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50143         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50144         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50145         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50146         Add AVX variants.
50147         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50148         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50149         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50150         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50151         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50152         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50153         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50154         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50155         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50156         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50157         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50158         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50159         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50160         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50161         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50162         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50163         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50164         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50165         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50166
50167         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50168         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50169
50170         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50171         place.  Use VEX encoding when compiling for AVX.
50172
50173 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50174
50175         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50176         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50177
50178         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50179
50180 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50181
50182         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50183         useless if() expression.
50184         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50185         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50186         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50187         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50188         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50189         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50190         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50193         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50194         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50195         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50196         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50197         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50198         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50199         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50201         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50202         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50203
50204         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50205
50206 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50207
50208         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50209         condition.
50210         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50211
50212 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50213
50214         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50215         .text section.  Avoid duplicate constants.
50216         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50217         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50218         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50220         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50224         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50225         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50226         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50227         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50228         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50229         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50230         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50231         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50232         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50233         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50234         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50236         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50237         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50238         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50239         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50240         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50241         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50242         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50243         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50244         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50245         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50246         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50247         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50249         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50250         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50251         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50252         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50253         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50254         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50255         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50256         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50257         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50258         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50259         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50260         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50261
50262 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50263
50264         * sysdeps/x86_64/dla.h: Move to ...
50265         * sysdeps/x86_64/fpu/dla.h: ...here.
50266         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50267         situations.  Use __builtin_fma only for gcc 4.6 and up.
50268
50269         * config.make.in: Add have-mfma4 entry.
50270         * configure.in: Substitute libc_cv_cc_fma4.
50271         * math/Makefile (dbl-only-routines): Add sincostab.
50272         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50273         Use __sincostab not sincos.
50274         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50275         name is a macro.
50276         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50280         using __copysign.
50281         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50282         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50283         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50284         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50285         and __inv.
50286         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50287         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50288         __copysign.
50289         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50290         define aliases when function name is a macro.
50291         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50292         sysdeps/ieee754/dbl-64/sincos.tbl.
50293         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50294         fma4-enabled routines.
50295         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50296         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50297         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50298         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50299         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50300         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50302         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50303         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50304         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50305         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50306         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50307         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50308         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50309         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50310         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50311         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50312         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50313         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50315         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50316         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50317         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50318         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50319         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50320         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50321         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50322         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50323         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50324         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50325
50326         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50327         rename.
50328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50330         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50334         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50335         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50336
50337 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50338
50339         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50340
50341 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50342
50343         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50344
50345         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50346         prediction.
50347         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50348
50349         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50350         Remove unused variable magic_bits.
50351         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50352
50353         * string/strnlen.c: Define and use STRNLEN macro.
50354         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50355         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50356         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50357         * wcsmbs/wcslen.c: Define and use WCSLEN.
50358         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50359         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50360         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50361         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50362         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50363         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50364         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50365
50366 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50367
50368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50369         strnlen-sse2-no-bsf.
50370         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50371         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50372         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50373         Add strnlen support.
50374         (USE_AS_STRNLEN): New macro.
50375         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50376         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50377         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50378         * sysdeps/x86_64/wcslen.S: New file.
50379
50380 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50381
50382         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50383         XMM-moves are used for copying on small sizes.
50384
50385 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50386
50387         * wcsmbs/Makefile (strop-tests): Add wcschr.
50388         * wcsmbs/test-wcschr.c: New file.
50389         * string/test-strchr.c: Update.
50390         Add wcschr support.
50391         (WIDE): New macro.
50392
50393 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50394
50395         * wcsmbs/Makefile (strop-tests): Add wcslen.
50396         * wcsmbs/test-wcslen.c: New file.
50397         * string/test-strlen.c: Update.
50398         Add wcslen support.
50399         (WIDE): New macro.
50400
50401 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50402
50403         * po/it.po: Update from translation team.
50404
50405 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50406
50407         * sysdeps/x86_64/wcscmp.S: Update.
50408         Fix wrong comparison semantics.
50409         wcscmp shall use signed comparison not unsigned.
50410         Don't use substraction to avoid overflow bug.
50411         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50412         * wcsmbc/wcscmp.c: Likewise.
50413         * string/test-strcmp.c: Likewise.
50414         Add new tests to check cases with negative values.
50415
50416 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50417
50418         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50419         * sysdeps/x86_64/dla.h: ...here.  New file.
50420         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50421         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50425         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50429
50430 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50431
50432         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50433         __ynl_finite aliases.
50434
50435 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50436
50437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50438
50439         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50440         define DLA_FMA.
50441         [DLA_FMA] (EMULV): Use DLA_FMA.
50442         [DLA_FMA] (MUL12): Use EMULV.
50443         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50444         that are not needed.
50445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50449         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50452
50453 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50454
50455         * math/s_nan.c: Undef __nan.
50456         * math/s_nanf.c: Undef __nanf.
50457         * math/s_nanl.c: Undef __nanl.
50458         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50459         "math_private.h".
50460
50461 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50462
50463         * math/s_catan.c: Add branch predictions.
50464         * math/s_catanf.c: Likewise.
50465         * math/s_catanh.c: Likewise.
50466         * math/s_catanhf.c: Likewise.
50467         * math/s_catanhl.c: Likewise.
50468         * math/s_catanl.c: Likewise.
50469         * math/s_cexp.c: Likewise.
50470         * math/s_cexpf.c: Likewise.
50471         * math/s_cexpl.c: Likewise.
50472         * math/s_clog.c: Likewise.
50473         * math/s_clog10.c: Likewise.
50474         * math/s_clog10f.c: Likewise.
50475         * math/s_clog10l.c: Likewise.
50476         * math/s_clogf.c: Likewise.
50477         * math/s_clogl.c: Likewise.
50478         * math/s_csqrt.c: Likewise.
50479         * math/s_csqrtf.c: Likewise.
50480         * math/s_csqrtl.c: Likewise.
50481         * math/s_ctanf.c: Likewise.
50482         * math/s_ctanh.c: Likewise.
50483         * math/s_ctanhf.c: Likewise.
50484         * math/s_ctanhl.c: Likewise.
50485         * math/s_ctanl.c: Likewise.
50486
50487         * math/math_private.h: Define __nan, __nanf, __nanl.
50488         * math/s_cacosh.c: Include <math_private.h>.
50489         * math/s_cacoshl.c: Likewise.
50490         * math/s_casinh.c: Likewise.
50491         * math/s_casinhf.c: Likewise.
50492         * math/s_casinhl.c: Likewise.
50493         * math/s_ccos.c: Rely entire on ccosh.
50494         * math/s_ccosf.c: Rely entire on ccoshf.
50495         * math/s_ccosl.c: Rely entirely on ccoshl.
50496         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50497         Remove tests for FE_INVALID.
50498         * math/s_ccoshf.c: Likewise.
50499         * math/s_ccoshl.c: Likewise.
50500         * math/s_csin.c: Likewise.
50501         * math/s_csinf.c: Likewise.
50502         * math/s_csinh.c Likewise.
50503         * math/s_csinhf.c: Likewise.
50504         * math/s_csinhl.c: Likewise.
50505         * math/s_csinl.c: Likewise.
50506         * math/s_ctan.c: Likewise.
50507         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50508         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50509         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50510
50511 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50512
50513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50514         compilation problems.
50515
50516         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50517         __builtin_expect.
50518
50519 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50520
50521         * sysdeps/i386/configure.in: Test for -mfma4 option.
50522         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50523         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50524         COMMON_CPUID_INDEX_80000001.
50525         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50526         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50527         use it if FMA3 is not supported.
50528         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50529
50530         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50531         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50532
50533 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50534
50535         [BZ #12892]
50536         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50537         it would create a cycle with a link time dependency.
50538
50539 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50540
50541         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50542         instruction.
50543         * string/Makefile (strop-tests): Add rawmemchr.
50544         * string/test-rawmemchr.c: New file.
50545
50546         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50547         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50548         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50549         when compiling str{,n}casecmp and when AVX is available.  Hook up
50550         new optimized code in initializers.
50551
50552 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50553
50554         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50555         __feraiseexcept instead of feraiseexcept.
50556
50557 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50558
50559         * math/math_private.h: Define defaults for libc_fetestexcept and
50560         libc_feupdateenv.
50561         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50562         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50563         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50564         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50565         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50566         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50567         libc_fetestexcept and libc_feupdateenv.
50568
50569         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50570         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50571         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50572         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50573         libc_feholdexcept_setround.
50574
50575         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50576         Add s_nearbyint-c and s_nearbyintf-c.
50577         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50578         nearbyintf inlines.
50579         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50580         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50581         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50582         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50583
50584         * math/math_private.h: Define defaults for libc_fegetround,
50585         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50586         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50587         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50589         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50590         standard functions.
50591         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50592         Remove comments and hacks for old compiler versions.
50593         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50594         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50595         libc_feholdexceptl.
50596
50597 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50598
50599         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50600         (__feraiseexcept_renamed): Add __NTH.
50601         (feraiseexcept): Add __NTH.  Rename local variables to fix
50602         namespace violations.
50603
50604 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50605
50606         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50607
50608         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50609
50610         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50611         recently added interfaces.
50612         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50613
50614         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50615         about macro parameter expansion.
50616
50617         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50618         __NO_MATH_INLINES is defined.  Cleanups.
50619
50620         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50621         and __floorf is target has SSE4.1.
50622         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50623         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50624         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50625         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50626
50627         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50628         name.
50629         (floorf): Likewise.
50630
50631         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50632
50633 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50634
50635         * misc/sys/cdefs.h: Fix last change.
50636
50637         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50638         database lookup.
50639
50640 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50641
50642         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50643
50644         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50645         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50646         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50647         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50649         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50650         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50651         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50652         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50653         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50654         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50655         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50656         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50657         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50658         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50659         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50660         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50661         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50662         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50663         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50664         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50665         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50666
50667         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50668         ceil, ceilf, floor, floorf.
50669
50670         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50671         Perform IRELATIVE relocations last.
50672
50673         * elf/do-rel.h: Add another parameter nrelative, replacing the
50674         local variable with the same name.  Change name of the function
50675         to end in Rel or Rela (uppercase).
50676         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50677         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50678         elf_dynamic_do_##reloc function.
50679
50680 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50681
50682         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50683         is sufficient, at least on modern CPUs.
50684
50685         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50686
50687         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50688         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50689
50690         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50691         __expl_finite.
50692         * math/bits/math-finite.h: Add entries for exp.
50693         * math/e_expl.c: Add __*_finite alias.
50694         * sysdeps/i386/fpu/e_exp.S: Likewise.
50695         * sysdeps/i386/fpu/e_expf.S: Likewise.
50696         * sysdeps/i386/fpu/e_expl.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50698         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50699         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50700         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50702         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50703         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50704
50705         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50706         is sufficient, at least on modern CPUs.
50707
50708         * ctype/ctype-info.c (__ctype_init): Define.
50709         * include/ctype.h (__ctype_init): Declare.
50710         (__ctype_b_loc): The variable is always initialized.
50711         (__ctype_toupper_loc): Likewise.
50712         (__ctype_tolower_loc): Likewise.
50713         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50714         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50715
50716 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50717
50718         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50719
50720         * configure.in: Also look in $cxxmachine/include for C++ system
50721         headers.
50722
50723 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50724
50725         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50726         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50727         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50728         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50730         (USE_AS_WMEMCMP): New macro.
50731         Fixing indents.
50732         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50733         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50734         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50735         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50737         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50738         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50739         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50740         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50741         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50742         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50743         (USE_AS_WMEMCMP): New macro.
50744         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50745         * sysdeps/string/test-memcmp.c: Update.
50746         Fix simple_wmemcmp.
50747         Add new tests.
50748         * wcsmbs/wmemcmp.c: Update.
50749         (WMEMCMP): New macro.
50750         Fix overflow bug.
50751
50752 2011-10-12  Andreas Jaeger  <aj@suse.de>
50753
50754         [BZ #13268]
50755         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50756
50757 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50758
50759         * libio/iofwide.c (do_length): Avoid warning.
50760
50761         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50762
50763 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50764
50765         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50766
50767         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50768         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50769         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50770         * sysdeps/i386/i686/fpu/e_log.S: New file.
50771         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50772         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50773
50774         * ctype/ctype.h: Add support for inlined isXXX functions when
50775         compiling C++ code.
50776
50777 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50778
50779         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50780
50781         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50782
50783 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50784
50785         [BZ #13291]
50786         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50787
50788 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50789
50790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50791         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50792         feraiseexcept.
50793
50794         * sysdeps/x86_64/memrchr.S: Check for zero size.
50795
50796         * string/stratcliff.c: Add memrchr tests.
50797
50798 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50799
50800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50801         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50802         rawmemchr-sse2 rawmemchr-sse2-bsf.
50803         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50804         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50805         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50806         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50807         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50808         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50809         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50810         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50811         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50812         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50813         * string/memrchr.c (MEMRCHR): New macro.
50814
50815 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50816
50817         Add integration with gcc's -ffinite-math-only and optimize wrapper
50818         functions in libm.
50819         * Versions.def: Define GLIBC_2.15 version for libm.
50820         * math/Makefile (headers): Add bits/math-finite.h.
50821         * math/bits/math-finite.h: New file.
50822         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50823         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50824         * math/e_acoshl.c: Add __*_finite alias.
50825         * math/e_acosl.c: Likewise.
50826         * math/e_asinl.c: Likewise.
50827         * math/e_atan2l.c: Likewise.
50828         * math/e_atanhl.c: Likewise.
50829         * math/e_coshl.c: Likewise.
50830         * math/e_exp10.c: Likewise.
50831         * math/e_exp10f.c: Likewise.
50832         * math/e_exp10l.c: Likewise.
50833         * math/e_exp2l.c: Likewise.
50834         * math/e_fmodl.c: Likewise.
50835         * math/e_gammal_r.c: Likewise.
50836         * math/e_hypotl.c: Likewise.
50837         * math/e_j0l.c: Likewise.
50838         * math/e_j1l.c: Likewise.
50839         * math/e_jnl.c: Likewise.
50840         * math/e_lgammal_r.c: Likewise.
50841         * math/e_log10l.c: Likewise.
50842         * math/e_log2l.c: Likewise.
50843         * math/e_logl.c: Likewise.
50844         * math/e_powl.c: Likewise.
50845         * math/e_sinhl.c: Likewise.
50846         * math/e_sqrtl.c: Likewise.
50847         * math/e_scalb.c: Completely rewritten and optimized.
50848         * math/e_scalbf.c: Likewise.
50849         * math/e_scalbl.c: Likewise.
50850         * math/w_acos.c: Likewise.
50851         * math/w_acosf.c: Likewise.
50852         * math/w_acosl.c: Likewise.
50853         * math/w_acosh.c: Likewise.
50854         * math/w_acoshf.c: Likewise.
50855         * math/w_acoshl.c: Likewise.
50856         * math/w_asin.c: Likewise.
50857         * math/w_asinf.c: Likewise.
50858         * math/w_asinl.c: Likewise.
50859         * math/w_atan2.c: Likewise.
50860         * math/w_atan2f.c: Likewise.
50861         * math/w_atan2l.c: Likewise.
50862         * math/w_atanh.c: Likewise.
50863         * math/w_atanhf.c: Likewise.
50864         * math/w_atanhl.c: Likewise.
50865         * math/w_exp10.c: Likewise.
50866         * math/w_exp10f.c: Likewise.
50867         * math/w_exp10l.c: Likewise.
50868         * math/w_fmod.c: Likewise.
50869         * math/w_fmodf.c: Likewise.
50870         * math/w_fmodl.c: Likewise.
50871         * math/w_j0.c: Likewise.
50872         * math/w_j0f.c: Likewise.
50873         * math/w_j0l.c: Likewise.
50874         * math/w_j1.c: Likewise.
50875         * math/w_j1f.c: Likewise.
50876         * math/w_j1l.c: Likewise.
50877         * math/w_jn.c: Likewise.
50878         * math/w_jnf.c: Likewise.
50879         * math/w_log.c: Likewise.
50880         * math/w_logf.c: Likewise.
50881         * math/w_logl.c: Likewise.
50882         * math/w_log10.c: Likewise.
50883         * math/w_log10f.c: Likewise.
50884         * math/w_log10l.c: Likewise.
50885         * math/w_log2.c: Likewise.
50886         * math/w_log2f.c: Likewise.
50887         * math/w_log2l.c: Likewise.
50888         * math/w_pow.c: Likewise.
50889         * math/w_powf.c: Likewise.
50890         * math/w_powl.c: Likewise.
50891         * math/w_remainder.c: Likewise.
50892         * math/w_remainderf.c: Likewise.
50893         * math/w_remainderl.c: Likewise.
50894         * math/w_scalb.c: Likewise.
50895         * math/w_scalbf.c: Likewise.
50896         * math/w_scalbl.c: Likewise.
50897         * math/w_sqrt.c: Likewise.
50898         * math/w_sqrtf.c: Likewise.
50899         * math/w_sqrtl.c: Likewise.
50900         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50901         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50902         used.
50903         * math/math_private.h: Declare __kernel_standard_f.
50904         * math/w_cosh.c: Remove cruft and optimize a bit.
50905         * math/w_coshf.c: Likewise.
50906         * math/w_coshl.c: Likewise.
50907         * math/w_exp2.c: Likewise.
50908         * math/w_exp2f.c: Likewise.
50909         * math/w_exp2l.c: Likewise.
50910         * math/w_hypot.c: Likewise.
50911         * math/w_hypotf.c: Likewise.
50912         * math/w_hypotl.c: Likewise.
50913         * math/w_lgamma.c: Likewise.
50914         * math/w_lgamma_r.c: Likewise.
50915         * math/w_lgammaf.c: Likewise.
50916         * math/w_lgammaf_r.c: Likewise.
50917         * math/w_lgammal.c: Likewise.
50918         * math/w_lgammal_r.c: Likewise.
50919         * math/w_sinh.c: Likewise.
50920         * math/w_sinhf.c: Likewise.
50921         * math/w_sinhl.c: Likewise.
50922         * math/w_tgamma.c: Likewise.
50923         * math/w_tgammaf.c: Likewise.
50924         * math/w_tgammal.c: Likewise.
50925         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50926         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50927         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50928         Minor optimizations.  Pretty printing.  Remove cruft.
50929         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50930         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50931         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50932         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50933         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50934         * sysdeps/i386/fpu/e_asin.S: Likewise.
50935         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50936         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50937         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50938         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50939         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50940         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50941         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50942         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50943         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50944         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50945         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50946         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50947         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50948         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50949         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50950         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50951         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50952         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50953         * sysdeps/i386/fpu/e_log.S: Likewise.
50954         * sysdeps/i386/fpu/e_log10.S: Likewise.
50955         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50956         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50957         * sysdeps/i386/fpu/e_log2.S: Likewise.
50958         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50959         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50960         * sysdeps/i386/fpu/e_logf.S: Likewise.
50961         * sysdeps/i386/fpu/e_logl.S: Likewise.
50962         * sysdeps/i386/fpu/e_pow.S: Likewise.
50963         * sysdeps/i386/fpu/e_powf.S: Likewise.
50964         * sysdeps/i386/fpu/e_powl.S: Likewise.
50965         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50966         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50967         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50968         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50969         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50970         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50971         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50972         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50973         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50974         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50975         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50977         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50978         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50979         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50980         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50981         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50982         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50983         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50984         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50985         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50987         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50988         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50990         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50991         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50992         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50993         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50994         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50995         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50996         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50997         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50998         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50999         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51000         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51001         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51002         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51003         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51004         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51005         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51006         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51007         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51008         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51009         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51010         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51011         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51012         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51013         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51014         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51015         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51016         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51017         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51018         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51019         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51020         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51021         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51022         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51023         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51024         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51025         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51026         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51027         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51028         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51029         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51030         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51031         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51032         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51033         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51034         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51035         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51036         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51037         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51038         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51039         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51040         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51041         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51042         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51043         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51044         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51045         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51046         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51047         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51048         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51049         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51050         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51051         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51052         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51053         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51055         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51056         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51057         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51058         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51059         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51060         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51061         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51062         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51063         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51064         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51065         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51066         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51067         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51068         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51069         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51070         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51071         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51072         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51073         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51074         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51075         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51076         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51077         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51078         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51079         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51080         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51081         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51082         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51083         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51084         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51085         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51086         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51087         (__isnanf): Likewise.
51088         (__isinf_ns): Likewise.
51089         (__isinf_nsf): Likewise.
51090         (__finite): Likewise.
51091         (__finitef): Likewise.
51092         (__ieee754_sqrt): Define as macro.
51093         (__ieee754_sqrtf): Define as macro.
51094         (__ieee754_sqrtl): Define as macro.
51095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51096         inlined copy.
51097         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51098         __FINITE_MATH_ONLY__ consistent.
51099         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51100
51101 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51102
51103         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51104         of rawmemchr.
51105
51106         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51107
51108 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51109
51110         * po/ja.po: Update from translation team.
51111
51112 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51113
51114         * locale/programs/locarchive.c (prepare_address_space): New function.
51115         (create_archive, enlarge_archive, open_archive): Use it.
51116
51117         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51118         inside [SHARED], where it is used.
51119
51120         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51121
51122         * nss/getent.c (netgroup_keys): Remove unused variable.
51123         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51124
51125 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51126
51127         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51128         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51130         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51131         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51132         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51133         * math/Makefile (libm-calls): Add s_isinf_ns.
51134         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51135         * math/multc3.c: Likewise.
51136         * math/s_casin.c: Likewise.
51137         * math/s_casinf.c: Likewise.
51138         * math/s_casinl.c: Likewise.
51139         * math/s_ccos.c: Likewise.
51140         * math/s_ccosf.c: Likewise.
51141         * math/s_ccosl.c: Likewise.
51142         * math/s_ctan.c: Likewise.
51143         * math/s_ctanf.c: Likewise.
51144         * math/s_ctanh.c: Likewise.
51145         * math/s_ctanhf.c: Likewise.
51146         * math/s_ctanhl.c: Likewise.
51147         * math/s_ctanl.c: Likewise.
51148         * math/w_fmod.c: Likewise.
51149         * math/w_fmodf.c: Likewise.
51150         * math/w_fmodl.c: Likewise.
51151         * math/w_remainder.c: Likewise.
51152         * math/w_remainderf.c: Likewise.
51153         * math/w_remainderl.c: Likewise.
51154         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51155         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51156         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51158         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51159         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51160         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51161         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51162
51163         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51164         of the number.
51165         * stdio-common/printf_fphex.c: Likewise.
51166         * stdio-common/printf_size.c: Likewise.
51167
51168         * math/e_exp10.c: Include math_private.h using <...> not "...".
51169         * math/e_exp10f.c: Likewise.
51170         * math/e_exp10l.c: Likewise.
51171         * math/e_exp2l.c: Likewise.
51172         * math/e_j0l.c: Likewise.
51173         * math/e_j1l.c: Likewise.
51174         * math/e_jnl.c: Likewise.
51175         * math/e_lgammal_r.c: Likewise.
51176         * math/e_rem_pio2l.c: Likewise.
51177         * math/e_scalb.c: Likewise.
51178         * math/e_scalbf.c: Likewise.
51179         * math/e_scalbl.c: Likewise.
51180         * math/k_cosl.c: Likewise.
51181         * math/k_sinl.c: Likewise.
51182         * math/k_tanl.c: Likewise.
51183         * math/s_cacoshf.c: Likewise.
51184         * math/s_catan.c: Likewise.
51185         * math/s_catanf.c: Likewise.
51186         * math/s_catanh.c: Likewise.
51187         * math/s_catanhf.c: Likewise.
51188         * math/s_catanhl.c: Likewise.
51189         * math/s_catanl.c: Likewise.
51190         * math/s_ccosh.c: Likewise.
51191         * math/s_ccoshf.c: Likewise.
51192         * math/s_ccoshl.c: Likewise.
51193         * math/s_cexp.c: Likewise.
51194         * math/s_cexpf.c: Likewise.
51195         * math/s_cexpl.c: Likewise.
51196         * math/s_clog.c: Likewise.
51197         * math/s_clog10.c: Likewise.
51198         * math/s_clog10f.c: Likewise.
51199         * math/s_clog10l.c: Likewise.
51200         * math/s_clogf.c: Likewise.
51201         * math/s_clogl.c: Likewise.
51202         * math/s_csin.c: Likewise.
51203         * math/s_csinf.c: Likewise.
51204         * math/s_csinh.c: Likewise.
51205         * math/s_csinhf.c: Likewise.
51206         * math/s_csinhl.c: Likewise.
51207         * math/s_csinl.c: Likewise.
51208         * math/s_csqrt.c: Likewise.
51209         * math/s_csqrtf.c: Likewise.
51210         * math/s_csqrtl.c: Likewise.
51211         * math/s_ctan.c: Likewise.
51212         * math/s_ctanf.c: Likewise.
51213         * math/s_ctanh.c: Likewise.
51214         * math/s_ctanhf.c: Likewise.
51215         * math/s_ctanhl.c: Likewise.
51216         * math/s_ctanl.c: Likewise.
51217         * math/s_ldexp.c: Likewise.
51218         * math/s_ldexpf.c: Likewise.
51219         * math/s_ldexpl.c: Likewise.
51220         * math/s_significand.c: Likewise.
51221         * math/s_significandf.c: Likewise.
51222         * math/s_significandl.c: Likewise.
51223         * math/w_acos.c: Likewise.
51224         * math/w_acosf.c: Likewise.
51225         * math/w_acosh.c: Likewise.
51226         * math/w_acoshf.c: Likewise.
51227         * math/w_acoshl.c: Likewise.
51228         * math/w_acosl.c: Likewise.
51229         * math/w_asin.c: Likewise.
51230         * math/w_asinf.c: Likewise.
51231         * math/w_asinl.c: Likewise.
51232         * math/w_atan2.c: Likewise.
51233         * math/w_atan2f.c: Likewise.
51234         * math/w_atan2l.c: Likewise.
51235         * math/w_atanh.c: Likewise.
51236         * math/w_atanhf.c: Likewise.
51237         * math/w_atanhl.c: Likewise.
51238         * math/w_cosh.c: Likewise.
51239         * math/w_coshf.c: Likewise.
51240         * math/w_coshl.c: Likewise.
51241         * math/w_dremf.c: Likewise.
51242         * math/w_exp10.c: Likewise.
51243         * math/w_exp10f.c: Likewise.
51244         * math/w_exp10l.c: Likewise.
51245         * math/w_exp2.c: Likewise.
51246         * math/w_exp2f.c: Likewise.
51247         * math/w_fmod.c: Likewise.
51248         * math/w_fmodf.c: Likewise.
51249         * math/w_fmodl.c: Likewise.
51250         * math/w_hypot.c: Likewise.
51251         * math/w_hypotf.c: Likewise.
51252         * math/w_hypotl.c: Likewise.
51253         * math/w_j0.c: Likewise.
51254         * math/w_j0f.c: Likewise.
51255         * math/w_j0l.c: Likewise.
51256         * math/w_j1.c: Likewise.
51257         * math/w_j1f.c: Likewise.
51258         * math/w_j1l.c: Likewise.
51259         * math/w_jn.c: Likewise.
51260         * math/w_jnf.c: Likewise.
51261         * math/w_jnl.c: Likewise.
51262         * math/w_lgamma.c: Likewise.
51263         * math/w_lgamma_r.c: Likewise.
51264         * math/w_lgammaf.c: Likewise.
51265         * math/w_lgammaf_r.c: Likewise.
51266         * math/w_lgammal.c: Likewise.
51267         * math/w_lgammal_r.c: Likewise.
51268         * math/w_log.c: Likewise.
51269         * math/w_log10.c: Likewise.
51270         * math/w_log10f.c: Likewise.
51271         * math/w_log10l.c: Likewise.
51272         * math/w_log2.c: Likewise.
51273         * math/w_log2f.c: Likewise.
51274         * math/w_log2l.c: Likewise.
51275         * math/w_logf.c: Likewise.
51276         * math/w_logl.c: Likewise.
51277         * math/w_pow.c: Likewise.
51278         * math/w_powf.c: Likewise.
51279         * math/w_powl.c: Likewise.
51280         * math/w_remainder.c: Likewise.
51281         * math/w_remainderf.c: Likewise.
51282         * math/w_remainderl.c: Likewise.
51283         * math/w_scalb.c: Likewise.
51284         * math/w_scalbf.c: Likewise.
51285         * math/w_scalbl.c: Likewise.
51286         * math/w_sinh.c: Likewise.
51287         * math/w_sinhf.c: Likewise.
51288         * math/w_sinhl.c: Likewise.
51289         * math/w_sqrt.c: Likewise.
51290         * math/w_sqrtf.c: Likewise.
51291         * math/w_sqrtl.c: Likewise.
51292         * math/w_tgamma.c: Likewise.
51293         * math/w_tgammaf.c: Likewise.
51294         * math/w_tgammal.c: Likewise.
51295
51296         * po/ja.po: Update from translation team.
51297
51298 2011-09-29  Andreas Jaeger  <aj@suse.de>
51299
51300         [BZ #13179]
51301         * sunrpc/netname.c (netname2host): Fix logic.
51302
51303         [BZ #6779]
51304         [BZ #6783]
51305         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51306         correctly.
51307         * math/w_remainder.c (__remainder): Likewise.
51308         * math/w_remainderf.c (__remainderf): Likewise.
51309         * math/libm-test.inc (remainder_test): Add test cases.
51310
51311 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51312
51313         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51314         sdiv_qrnnd.
51315
51316 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51317
51318         * string/test-memcmp.c: Avoid unncessary #defines.
51319         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51320
51321 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51322
51323         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51324         Use new sse2 version for core i3 - i7 as it's faster
51325         than sse42 version.
51326         (bit_Prefer_PMINUB_for_stringop): New.
51327         * sysdeps/x86_64/rawmemchr.S: Update.
51328         Replace with faster SSE2 version.
51329         * sysdeps/x86_64/memrchr.S: New file.
51330         * sysdeps/x86_64/memchr.S: Update.
51331         Replace with faster SSE2 version.
51332
51333 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51334
51335         * elf/dl-load.c (lose): Add cast to avoid warning.
51336
51337 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51338
51339         * po/ca.po: Update from translation team.
51340
51341         * inet/getnetgrent_r.c: Hook up nscd.
51342         * nscd/Makefile (routines): Add nscd_netgroup.
51343         (nscd-modules): Add netgroupcache.
51344         (CFLAGS-netgroupcache.c): Define.
51345         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51346         (cache_search): Add const to second parameter.
51347         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51348         INNETGR.
51349         (dbs): Add netgrdb entry.
51350         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51351         (verify_persistent_db): Handle netgrdb.
51352         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51353         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51354         GETFDNETGR.
51355         (netgroup_response_header): Define.
51356         (innetgroup_response_header): Define.
51357         (datahead): Add netgroup_response_header and innetgroup_response_header
51358         elements.
51359         * nscd/nscd.conf: Add entries for netgroup cache.
51360         * nscd/nscd.h (dbtype): Add netgrdb.
51361         (_PATH_NSCD_NETGROUP_DB): Define.
51362         (netgroup_iov_disabled): Declare.
51363         (xmalloc, xcalloc, xrealloc): Move declarations here.
51364         (cache_search): Adjust prototype.
51365         Add netgroup-related prototypes.
51366         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51367         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51368         (__nscd_innetgr): Declare.
51369         * nscd/selinux.c (perms): Use access_vector_t as element type and
51370         add netgroup-related initializers.
51371         * nscd/netgroupcache.c: New file.
51372         * nscd/nscd_netgroup.c: New file.
51373         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51374         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51375         For four parameters use innetgr.
51376         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51377         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51378         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51379         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51380
51381         * nscd/connections.c (register_traced_file): Don't register file
51382         for disabled databases.
51383
51384 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51385
51386         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51387
51388         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51389         from tree and freeing node.
51390
51391 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51392
51393         * nss/nsswitch.c (__nss_database_lookup): Handle
51394         nss_parse_service_list out of memory case.
51395
51396 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51397
51398         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51399         out of memory case.
51400
51401 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51402
51403         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51404         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51405         pass it down.
51406         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51407         elf_machine_rela, elf_machine_lazy_rel.
51408         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51409         (ELF_DYNAMIC_DO_REL): Likewise.
51410         (ELF_DYNAMIC_DO_RELA): Likewise.
51411         (ELF_DYNAMIC_RELOCATE): Likewise.
51412         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51413         to ELF_DYNAMIC_DO_REL.
51414         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51415         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51416         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51417         elf_machine_rela.
51418         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51419         skip_ifunc, don't call ifunc function if non-zero.
51420         (elf_machine_rela): Likewise.
51421         (elf_machine_lazy_rel): Likewise.
51422         (elf_machine_lazy_rela): Likewise.
51423         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51424         (elf_machine_lazy_rel): Likewise.
51425         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51426         Likewise.
51427         (elf_machine_lazy_rel): Likewise.
51428         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51429         Likewise.
51430         (elf_machine_lazy_rel): Likewise.
51431         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51432         (elf_machine_lazy_rel): Likewise.
51433         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51434         (elf_machine_lazy_rel): Likewise.
51435         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51436         (elf_machine_lazy_rel): Likewise.
51437         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51438         (elf_machine_lazy_rel): Likewise.
51439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51440         (elf_machine_lazy_rel): Likewise.
51441         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51442         (elf_machine_lazy_rel): Likewise.
51443
51444 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51445
51446         * nss/nss_files/files-init.c (_nss_files_init): Use static
51447         initialization for all the *_traced_file variables.
51448
51449 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51450
51451         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51452
51453 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51454
51455         [BZ #13226]
51456         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51457
51458 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51459
51460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51461         Reread the line before reparsing it.
51462
51463 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51464
51465         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51466
51467 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51468             Maxim Kuvyrkov  <maxim@codesourcery.com>
51469             Joseph Myers  <joseph@codesourcery.com>
51470
51471         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51472         if needed for __stack_chk_guard.
51473
51474 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51475
51476         * sysdeps/posix/spawni.c (script_execute): Always define it.
51477         It will be optimized away if unused.
51478         (maybe_script_execute): New function.
51479         (__spawni): Call it.
51480
51481         * Makerules: Don't include tls.make.
51482         (config-tls): Always set to thread.
51483         * tls.make.c: File removed.
51484
51485 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51486
51487         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51488         * config.make.in (CPPFLAGS-config): New substituted variable.
51489
51490 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51491
51492         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51493
51494         [BZ #13192]
51495         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51496         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51497
51498 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51499
51500         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51501         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51502         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51503         (CALL_FAIL): Likewise.
51504         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51505         (CALL_FAIL): Macro removed.
51506         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51507
51508 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51509
51510         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51511         for __FINITE_MATH_ONLY__ == 1.
51512
51513 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51514
51515         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51516         __ieee754_sqrt instead of sqrt.
51517         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51518         __ieee754_sqrtf instead of sqrtf.
51519         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51520         __floorf instead of floorf.
51521         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51522         __floorf, __truncf instead of floorf, truncf.
51523
51524 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51525
51526         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51527
51528         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51529         __extern_always_inline.
51530         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51531         32-bit.
51532
51533 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51534
51535         * elf/rtld.c (dl_main): Also relocate in dependency order when
51536         doing symbol dependency testing.
51537
51538 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51539
51540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51541         Always define `refsym'.
51542
51543 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51544
51545         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51546         (__FD_ELT): Renamed from __FDELT.
51547         * misc/bits/select2.h (__FD_ELT): Likewise.
51548         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51549         __FD_MASK instead of __FDELT, __FDMASK.
51550         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51551         Likewise.
51552         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51553         Likewise.
51554
51555         * elf/Makefile (gen-ldd): Fix pattern.
51556
51557         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51558         (init_tls): Likewise.
51559
51560 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51561
51562         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51563
51564 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51565
51566         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51567         `struct cmsghdr *' instead of `void *'.
51568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51569         Likewise.
51570
51571 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51572
51573         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51574         if non-absolute.
51575         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51576         ldd_rewrite_script.
51577
51578 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51579
51580         * configure.in: Remove --with-tls option.
51581         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51582         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51583         out in case it is missing.
51584         * sysdeps/ia64/elf/configure.in: Likewise.
51585         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51586         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51587         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51588         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51589         * sysdeps/sh/elf/configure.in: Likewise.
51590         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51591         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51592         * sysdeps/x86_64/elf/configure.in: Likewise.
51593         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51594         * sysdeps/mach/hurd/tls.h: Likewise.
51595
51596         [BZ #13067]
51597         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51598
51599         [BZ #13090]
51600         * configure.in: Fix use of AC_INIT.
51601
51602         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51603
51604 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51605
51606         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51607         __set_errno.
51608         * malloc/hooks.c: Likewise.
51609
51610         [BZ #11929]
51611         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51612         variables statically.
51613         (narenas): Initialize.
51614         (list_lock): Initialize.
51615         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51616         initializtion of main_arena and list_lock.  Small cleanups.
51617         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51618         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51619         Add initializers to main_arena and mp_.
51620         (malloc_state): Remove pagesize member.  Change all users to use
51621         GLRO(dl_pagesize).
51622
51623         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51624         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51625         is always initialized.
51626
51627         * malloc/malloc.c: Removed unused configurations and dead code.
51628         * malloc/arena.c: Likewise.
51629         * malloc/hooks.c: Likewise.
51630         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51631
51632         * include/tls.h: Removed.  USE___THREAD must always be defined.
51633         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51634         * elf/dl-libc.c: Likewise.
51635         * elf/dl-tsd.c: Likewise.
51636         * include/errno.h: Likewise.
51637         * include/netdb.h: Likewise.
51638         * include/resolv.h: Likewise.
51639         * inet/herrno-loc.c: Likewise.
51640         * inet/herrno.c: Likewise.
51641         * malloc/arena.c: Likewise.
51642         * malloc/hooks.c: Likewise.
51643         * malloc/malloc.c: Likewise.
51644         * resolv/res-state.c: Likewise.
51645         * resolv/res_libc.c: Likewise.
51646         * sysdeps/i386/dl-machine.h: Likewise.
51647         * sysdeps/ia64/dl-machine.h: Likewise.
51648         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51649         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51650         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51651         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51652         * sysdeps/sh/dl-machine.h: Likewise.
51653         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51654         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51655         * sysdeps/unix/i386/sysdep.S: Likewise.
51656         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51657         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51662         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51666         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51667         * sysdeps/x86_64/dl-machine.h: Likewise.
51668         * tls.make.c: Likewise.
51669
51670         * configure.in: Remove --with-__thread option.  Make tests for
51671         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51672         tls_model attribute fail if no support is available.  Remove
51673         USE_IN_LIBIO.
51674         * Makeconfig: Adjust for dropped configure option.  All features are
51675         now mandatory.
51676         * Makerules: Likewise.
51677         * Versions.def: Likewise.
51678         * argp/argp-fmtstream.c: Likewise.
51679         * argp/argp-fmtstream.h: Likewise.
51680         * argp/argp-help.c: Likewise.
51681         * assert/assert.c: Likewise.
51682         * config.h.in: Likewise.
51683         * config.make.in: Likewise.
51684         * configure: Likewise.
51685         * configure.in: Likewise.
51686         * csu/Versions: Likewise.
51687         * csu/init.c: Likewise.
51688         * elf/tst-audit2.c: Likewise.
51689         * elf/tst-tls10.c: Likewise.
51690         * elf/tst-tls10.h: Likewise.
51691         * elf/tst-tls11.c: Likewise.
51692         * elf/tst-tls12.c: Likewise.
51693         * elf/tst-tls14.c: Likewise.
51694         * elf/tst-tlsmod11.c: Likewise.
51695         * elf/tst-tlsmod12.c: Likewise.
51696         * elf/tst-tlsmod13.c: Likewise.
51697         * elf/tst-tlsmod13a.c: Likewise.
51698         * elf/tst-tlsmod14a.c: Likewise.
51699         * elf/tst-tlsmod15b.c: Likewise.
51700         * elf/tst-tlsmod16a.c: Likewise.
51701         * elf/tst-tlsmod16b.c: Likewise.
51702         * elf/tst-tlsmod7.c: Likewise.
51703         * elf/tst-tlsmod8.c: Likewise.
51704         * elf/tst-tlsmod9.c: Likewise.
51705         * gmon/gmon.c: Likewise.
51706         * grp/fgetgrent_r.c: Likewise.
51707         * grp/putgrent.c: Likewise.
51708         * hurd/fopenport.c: Likewise.
51709         * include/libc-symbols.h: Likewise.
51710         * include/tls.h: Likewise.
51711         * intl/gettextP.h: Likewise.
51712         * intl/loadinfo.h: Likewise.
51713         * locale/global-locale.c: Likewise.
51714         * locale/localeinfo.h: Likewise.
51715         * mach/devstream.c: Likewise.
51716         * malloc/arena.c: Likewise.
51717         * malloc/set-freeres.c: Likewise.
51718         * misc/err.c: Likewise.
51719         * misc/getttyent.c: Likewise.
51720         * misc/mntent_r.c: Likewise.
51721         * posix/getopt.c: Likewise.
51722         * posix/wordexp.c: Likewise.
51723         * pwd/fgetpwent_r.c: Likewise.
51724         * resolv/Versions: Likewise.
51725         * resolv/res_hconf.c: Likewise.
51726         * shadow/fgetspent_r.c: Likewise.
51727         * shadow/putspent.c: Likewise.
51728         * stdio-common/printf_fphex.c: Likewise.
51729         * stdio-common/tmpfile.c: Likewise.
51730         * stdlib/abort.c: Likewise.
51731         * stdlib/fmtmsg.c: Likewise.
51732         * sunrpc/auth_unix.c: Likewise.
51733         * sunrpc/clnt_perr.c: Likewise.
51734         * sunrpc/clnt_tcp.c: Likewise.
51735         * sunrpc/clnt_udp.c: Likewise.
51736         * sunrpc/clnt_unix.c: Likewise.
51737         * sunrpc/openchild.c: Likewise.
51738         * sunrpc/svc_simple.c: Likewise.
51739         * sunrpc/svc_tcp.c: Likewise.
51740         * sunrpc/svc_udp.c: Likewise.
51741         * sunrpc/svc_unix.c: Likewise.
51742         * sunrpc/xdr.c: Likewise.
51743         * sunrpc/xdr_array.c: Likewise.
51744         * sunrpc/xdr_rec.c: Likewise.
51745         * sunrpc/xdr_ref.c: Likewise.
51746         * sunrpc/xdr_stdio.c: Likewise.
51747
51748 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51749
51750         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51751
51752 2011-07-03  Andreas Jaeger  <aj@suse.de>
51753
51754         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51755         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51756         regenerate with gen-libm-tests.pl.
51757
51758 2010-05-12  Petr Baudis  <pasky@suse.cz>
51759
51760         [BZ #11589]
51761         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51762         around j0() zero points by switching to j1().
51763         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51766         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51767
51768 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51769
51770         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51771         instead of 0.
51772         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51773         instead of 0.
51774         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51775         Patch in part by Pavel Roskin <proski@gnu.org>.
51776
51777         [BZ #13138]
51778         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51779         realloc.
51780         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51781         Free memory block if necessary.
51782
51783         [BZ #12847]
51784         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51785         be NULL.  Don't lock in this case.
51786
51787 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51788
51789         * elf/elf.h (ELFOSABI_GNU): New macro.
51790         (ELFOSABI_LINUX): Define to that.
51791
51792 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51793
51794         * string/strncat.c (strncat): Undef the symbol in case it has been
51795         defined in bits/string.h.
51796
51797 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51798
51799         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51800
51801         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51802         link map.
51803
51804 2011-08-17  Andreas Jaeger  <aj@suse.de>
51805
51806         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51807
51808 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51809             Ian Lance Taylor  <iant@google.com>
51810
51811         * math/libm-test.inc (lround_test): New testcase.
51812         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51813
51814 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51815
51816         * Makefile: Remove support for automatic cvs check-ins.
51817         * Makerules: Likewise.
51818         * config.make.in: Likewise.
51819         * configure.in: Likewise.
51820         * intl/Makefile: Likewise.
51821         * locale/Makefile: Likewise.
51822         * po/Makefile: Likewise.
51823         * posix/Makefile: Likewise.
51824         * sysdeps/gnu/Makefile: Likewise.
51825         * sysdeps/mach/hurd/Makefile: Likewise.
51826         * sysdeps/sparc/sparc32/Makefile: Likewise.
51827
51828         [BZ #13118]
51829         * posix/Makefile (bug-regex32-ENV): Define.
51830         Patch by John Stanley <jpsinthemix@verizon.net>.
51831
51832         * misc/Makefile (headers): Add bits/select2.h.
51833         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51834         * misc/bits/select2.h: New file.
51835         * include/bits/select2.h: New file.
51836         * debug/Makefile (routines): Add fdelt_chk.
51837         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51838         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51839         FD_ISSET.
51840         * debug/fdelt_chk.c: New file.
51841
51842         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51843         * wcsmbs/test-wmemcmp.c: Likewise.
51844         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51845         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51846
51847 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51848
51849         * string/Makefile (strop-tests): Add memcmp.
51850         * string/test-wmemcmp.c: New file.
51851         * string/test-memcmp.c: Add wmemcmp support.
51852
51853 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51854
51855         [BZ #13153]
51856         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51857         2011-07-19 change.
51858
51859         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51860         garbage value in a __mach_port_mod_refs call in the cases of the
51861         task-self and thread-self ports.
51862
51863 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51864
51865         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51866
51867 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51868
51869         * elf/dl-load.c (lose): Check for non-null L.
51870
51871 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51872
51873         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51874
51875         * elf/dl-libc.c (dlerror_run): Pass back error code from
51876         dl_catch_error.
51877
51878         [BZ #13123]
51879         * elf/dl-load.c (lose): Free l_origin if it is valid.
51880
51881         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51882         names.
51883         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51885         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51886         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51887         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51888         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51889
51890 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51891
51892         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51893         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51894         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51895         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51896         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51897         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51898         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51899         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51900         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51901         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51902
51903 2011-08-15  Alan Modra  <amodra@gmail.com>
51904
51905         [BZ #13092]
51906         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51907         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51908         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51909         ppc_mcount to static-only-routines.
51910         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51911         __mcount_internal.
51912         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51913         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51914
51915 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51916
51917         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51918         for finite and infinity parameters.
51919
51920 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51921
51922         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51923         and add nop instructions for throughput optimization.
51924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51925
51926 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51927
51928         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51929         aligned copy for power7 with vector-scalar instructions.
51930         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51931
51932 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51933
51934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51935         AVX check.
51936
51937 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51938
51939         [BZ #13144]
51940         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51941         last change.
51942
51943 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51944
51945         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51946         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51947         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51948         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51949         clock_gettime.
51950
51951 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51952
51953         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51954         Forgot to demangle the pointer.
51955
51956         * sysdeps/i386/sysdep.h: Define atom_text_section.
51957         * sysdeps/x86_64/sysdep.h: Likewise.
51958         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51959         section with atom_text_section.
51960         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51961         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51962         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51963         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51964         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51965
51966         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51967         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51968         already be defined.  Change to take two parameters and don't assign
51969         result to variable.  Adjust all users.
51970         Define INTERNAL_GETTIME if not already defined.
51971         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51972         call.
51973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51974         HAVE_CLOCK_GETTIME_VSYSCALL.
51975         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51976
51977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51978         gettimeofday vsyscall, just use time.
51979
51980 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51981
51982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51983         <errno.h>.
51984
51985 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51986
51987         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51988         syscall on x86-64.
51989         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51990         syscall.
51991         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51992         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51993         syscall if possible.
51994
51995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51996
51997         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51998         e_ident.  Don't pass to find_mapsXX.
51999         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52000
52001 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52002
52003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52004         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52005         * sysdeps/x86_64/multiarch/strchr.S: Update.
52006         Check bit_slow_BSF bit.
52007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52008         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52009         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52010
52011 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52012
52013         [BZ #13134]
52014         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52015         before glibc 2.15.
52016         (tryshell): Define.
52017         (__spawni): Change last parameter to be flag.  Test
52018         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52019         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52020         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52021         * posix/spawni.c: Likewise.
52022         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52023         * posix/spawnp.c: Likewise.  Change normal version to use
52024         SPAWN_XFLAGS_USE_PATH.
52025         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52026         SPAWN_XFLAGS_TRY_SHELL.
52027
52028         [BZ #13150]
52029         * posix/glob.h: Remove gcc 1.x support.
52030
52031         [BZ #13068]
52032         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52033
52034 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52035
52036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52037         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52038         strrchr-sse2-bsf
52039         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52040         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52041         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52042         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52043         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52044         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52045
52046 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52047
52048         * sysdeps/x86_64/wcscmp.S: New file.
52049
52050         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52051         wcscmp-c wcscmp-sse2
52052         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52053         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52054         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52055         * wcsmbs/wcscmp.c: Allow renaming.
52056
52057 2011-09-05  David S. Miller  <davem@davemloft.net>
52058
52059         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52060         stack slot, rather than the struct return pointer slot.
52061         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52062         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52064         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52065
52066 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52067
52068         * po/ja.po: Update from translation team.
52069
52070         [BZ #13144]
52071         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52072         kernel in 64-bit binaries.
52073
52074 2011-09-01  David S. Miller  <davem@davemloft.net>
52075
52076         * elf/elf.h (HWCAP_SPARC_*): Move to..
52077         * sysdeps/sparc/sysdep.h: this new file and add new values.
52078         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52079         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52080         _DL_HWCAP_COUNT to 24.
52081         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52082         entries.
52083         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52084         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52085         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52086         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52087         instead of magic constants.
52088         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52089
52090 2011-08-31  David S. Miller  <davem@davemloft.net>
52091
52092         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52094         Reimplement to do errno handling inline.
52095         (SYSCALL_ERROR_HANDLER): New macro.
52096         (__SYSCALL_STRING): Do not do errno handling in asm.
52097         (__CLONE_SYSCALL_STRING): Delete.
52098         (__INTERNAL_SYSCALL_STRING): Delete.
52099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52100         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52101         (PSEUDO): Reimplement to do errno handling inline.
52102         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52103         (SYSCALL_ERROR_HANDLER): New macro.
52104         (__SYSCALL_STRING): Do not do errno handling in asm.
52105         (__CLONE_SYSCALL_STRING): Delete.
52106         (__INTERNAL_SYSCALL_STRING): Delete.
52107         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52108         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52109         i386.
52110         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52111         (inline_syscall*): Add 'err' argument.
52112         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52113         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52114         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52115         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52116
52117         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52118         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52119
52120 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52121
52122         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52123
52124 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52125
52126         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52127         directive.
52128
52129 2011-08-24  David S. Miller  <davem@davemloft.net>
52130
52131         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52132
52133 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52134
52135         * elf/Makefile: Add rules to build and run unload8 test.
52136         * elf/unload8.c: New file.
52137         * elf/unload8mod1.c: New file.
52138         * elf/unload8mod1x.c: New file.
52139         * elf/unload8mod2.c: New file.
52140         * elf/unload8mod3.c: New file.
52141
52142         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52143         it wasn't used.
52144
52145 2011-08-23  David S. Miller  <davem@davemloft.net>
52146
52147         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52148         subtract stack bias.
52149         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52150         %sp not %fp in calculations.
52151         (_JMPBUF_UNWINDS_ADJ): Likewise.
52152
52153         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52154         (aio_suspend): Call it to force an exception region around the
52155         AIO_MISC_WAIT() invocation.
52156
52157 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52158
52159         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52160         backslash.
52161
52162 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52163
52164         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52165         protection macro.
52166         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52167         and <dl-machine.h>.
52168         (Elf64_FuncDesc): Remove.
52169
52170 2011-08-22  David S. Miller  <davem@davemloft.net>
52171
52172         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52173         sigaltstack check, add missing cfi directives.
52174         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52175         missing cfi directives, and sigaltstack handling.
52176
52177 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52178
52179         [BZ #11724]
52180         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52181         object is seen twice.
52182         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52183
52184         * elf/Makefile (distribute): Add tst-initorder2.c.
52185         (tests): Add tst-initorder2.
52186         (modules-names): Add tst-initorder2a tst-initorder2b
52187         tst-initorder2c tst-initorder2d.  Add rules to build them.
52188         ($(objpfx)tst-initorder2.out): New rule.
52189         * elf/tst-initorder2.c: New file.
52190         * elf/tst-initorder2.exp: New file.
52191
52192 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52193
52194         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52195
52196         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52197         dependencies back to end of function.
52198
52199         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52200         $(elfobjdir)/ld.so.
52201
52202 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52203
52204         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52205         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52207         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52208         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52209         of __vdso_gettimeofday.
52210         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52211         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52212         attribute_hidden.
52213         (_libc_vdso_platform_setup): Remove initialization of
52214         __vdso_gettimeofday and __vdso_time.
52215
52216 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52217
52218         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52219         and fgetc_unlocked.
52220         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52221         getc_unlocked.
52222
52223         * elf/dl-open.c (add_to_global): Report additions to the global scope
52224         for LD_DEBUG=scopes.
52225         (dl_open_worker): Also print scope of newly loaded dependencies.
52226         (_dl_show_scope): Indicate if there is no scope.
52227
52228         [BZ #13114]
52229         * stdio-common/Makefile (tests): Add bug24.
52230         * stdio-common/bug24.c: New file.
52231
52232 2011-08-19  Andreas Jaeger  <aj@suse.de>
52233
52234         [BZ #13114]
52235         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52236         non-existant file when using close-on-exec mode.
52237
52238 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52239
52240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52241         the very first instruction.
52242
52243         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52244         the CFI state in the end.
52245         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52246         inclusion of dl-trampoline.h.
52247         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52248
52249 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52250
52251         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52252         expectations for long double.
52253
52254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52255         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52256
52257 2011-08-14  David S. Miller  <davem@davemloft.net>
52258
52259         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52260         artificual limit depends upon the system page size.
52261
52262 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52263
52264         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52265         * resolv/Makefile: Define CFLAGS-libresolv.
52266
52267 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52268
52269         * nss/makedb.c (compute_tables): Make variables used in nested
52270         function static.
52271
52272 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52273
52274         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52275         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52276         if buffer was too small.
52277
52278         * elf/pldd.c (main): Attach to all threads in the process.
52279         Rewrite /proc handling to use *at functions.
52280
52281 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52282
52283         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52284         specifies first scope to show.
52285         (dl_open_worker): Update callers.  Move printing scope of new
52286         object to before the relocation.
52287         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52288         * sysdeps/generic/ldsodefs.h: Update declaration.
52289
52290         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52291         string for the scope number.
52292
52293 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52294
52295         * nscd/servicescache.c (cache_addserv): Make sure written is always
52296         initialized.
52297
52298 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52299
52300         * sysdeps/i386/i486/bits/atomic.h
52301         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52302         statement expression, so as to suppress "set but not used" warning.
52303         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52304
52305         * string/strncat.c (STRNCAT): Use prototype definition.
52306
52307         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52308         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52309         -Iprograms here.
52310         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52311         (localedef-modules): Add localedef.
52312         (locale-modules): Add locale.
52313
52314         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52315         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52316         to avoid a warning.
52317
52318 2011-08-14  David S. Miller  <davem@davemloft.net>
52319
52320         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52321         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52322
52323 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52324
52325         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52326         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52327         * elf/rtld.c (dl_main): Set l_name of vDSO.
52328         Call _dl_show_scope when DL_DEBUG_SCOPES.
52329         (process_dl_debug): Recognize scopes flag and also set it for all.
52330         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52331         Declare _dl_show_scope.
52332
52333         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52334         (do_dlopen): Pass caller_dlopen to dl_open.
52335         (__libc_dlopen_mode): Initialize caller_dlopen.
52336
52337         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52338         of libc.  Make tolower call locale-independent.  Optimize a bit by
52339         using isdigit instead of isalnum.
52340         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52341
52342 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52343
52344         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52345         was a dependency or dynamically loaded.
52346
52347 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52348
52349         * intl/l10nflist.c: Allow architecture-specific pop function.
52350         * sysdeps/x86_64/l10nflist.c: New file.
52351
52352         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52353         classification.
52354
52355 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52356
52357         * include/dirent.h: Add libc_hidden_proto for scandirat and
52358         scandirat64.  Don't declare __scandirat64.
52359         * dirent/scandirat.c: Add libc_hidden_def.
52360         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52361         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52362
52363 2011-08-10  David S. Miller  <davem@davemloft.net>
52364
52365         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52366         enum.
52367         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52369         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52370
52371 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52372
52373         * Versions.def [libc]: Add GLIBC_2.15.
52374         * dirent/Makefile (routines): Add scandirat and scandirat64.
52375         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52376         GLIBC_2.15.
52377         * dirent/dirent.h: Declare scandirat and scandirat64.
52378         * dirent/scandirat.c: New file.
52379         * dirent/scandirat64.c: New file.
52380         * sysdeps/wordsize-64/scandirat.c: New file.
52381         * sysdeps/wordsize-64/scandirat64.c: New file.
52382         * dirent/opendir.c: Define opendirat.
52383         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52384         using scandirat.
52385         * dirent/scandir64.c: Adjust for scandir.c change.
52386         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52387         __scandirat64, and __scandir_cancel_handler.
52388         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52389         additional parameter and use openat instead of open (outside of ld.so).
52390         Add new __opendir as wrapper around __opendirat.
52391         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52392         here without requiring old scandirat implementation.
52393
52394 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52395
52396         * dirent/scandir.c (cancel_handler): Renamed to
52397         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52398         defined.  Adjust users.
52399         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52400         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52401
52402 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52403
52404         * string/test-string.h (IMPL): Use __STRING to expand name and then
52405         stringify it.
52406
52407         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52408         of cleanups.
52409
52410 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52411
52412         * string/Makefile: Update.
52413         (strop-tests): Append strncat.
52414         * string/test-wcscmp.c: New file.
52415         New comprehensive test for wcscmp.
52416         * string/test-strcmp.c: Update.
52417         (WIDE): New define.
52418
52419 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52420
52421         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52422         line.
52423
52424 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52425
52426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52427         encoding to ACE if AI_IDN.
52428
52429 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52430
52431         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52432         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52433
52434 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52435
52436         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52437         Fix overflow bug in strncat.
52438         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52439
52440         * string/test-strncat.c: Update.
52441         Add new tests for checking overflow bugs.
52442
52443 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52444
52445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52446         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52447         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52448         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52449         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52450         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52451         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52452         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52453         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52454
52455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52456         (USE_AS_STRCAT): Define.
52457         Add strcat and strncat support.
52458         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52459
52460 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52461
52462         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52463         __n bigger than INT_MAX+1.
52464         (__strncmp_g): Likewise.
52465
52466 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52467
52468         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52469         * libio/stido.h: Likewise.
52470
52471         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52472         (AF_NFC): Define.
52473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52474         (AF_NFC): Define.
52475
52476         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52477         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52478         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52479         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52481
52482         [BZ #13021]
52483         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52484         installed.
52485
52486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52487         typo.
52488         (_dl_x86_64_save_sse): Likewise.
52489
52490 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52491
52492         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52493         OSXSAVE.
52494         (_dl_x86_64_save_sse): Likewise.
52495
52496         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52497
52498         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52499
52500 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52501
52502         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52503         change.
52504         (_dl_x86_64_save_sse): Use correct AVX check.
52505
52506 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52507
52508         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52509         bug in strncpy/strncat.
52510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52511
52512 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52513
52514         * string/tester.c (test_strcat): Add tests for different alignments
52515         of source and destination.
52516         (test_strncat): Likewise.
52517
52518 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52519
52520         [BZ #12852]
52521         * posix/glob.c (glob): Check passed in values before using them in
52522         expressions to avoid some overflows.
52523         (glob_in_dir): Likewise.
52524
52525         [BZ #13007]
52526         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52527         check for AVX enablement so that we don't crash with old kernels and
52528         new hardware.
52529         * elf/tst-audit4.c: Add same checks here.
52530         * elf/tst-audit6.c: Likewise.
52531
52532         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52533
52534 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52535
52536         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52537
52538 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52539
52540         * po/cs.po: Update from translation team.
52541         * po/bg.po: Likewise.
52542
52543 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52544
52545         * misc/sys/cdefs.h: Add support for const attribute.
52546         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52547         to gnu_dev_{major,minor,makedev} functions.
52548
52549 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52550
52551         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52552
52553 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52554
52555         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52556         strlen results.
52557
52558 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52559
52560         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52561         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52562         register in order to avoid conflicts with the soft frame pointer
52563         being held in r11 when necessary.
52564         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52565         (INTERNAL_VSYSCALL_NCS): Likewise.
52566
52567 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52568
52569         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52570         * elf/dl-fini.c (_dl_fini): Adjust caller.
52571         * elf/dl-close.c (_dl_close_worker): Likewise.
52572         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52573
52574 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52575
52576         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52577         "aux_cache->nlibs < 0".
52578
52579         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52580         in the reload-count case.
52581
52582 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52583
52584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52585         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52586         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52587         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52588         * sysdeps/x86_64/multiarch/strcat.S: New file.
52589         * sysdeps/x86_64/multiarch/strncat.S: New file.
52590         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52591         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52592         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52593         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52594         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52595         (USE_AS_STRCAT): Define.
52596         Add strcat and strncat support.
52597         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52598         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52599         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52600         * string/strncat.c: Update.
52601         (USE_AS_STRNCAT): Define.
52602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52603         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52604         and i7.
52605         * sysdeps/x86_64/multiarch/init-arch.h
52606         (bit_Prefer_PMINUB_for_stringop): New.
52607         (index_Prefer_PMINUB_for_stringop): Likewise.
52608         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52609         bit_Prefer_PMINUB_for_stringop.
52610
52611 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52612
52613         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52614         buffer64.
52615         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52616         of casting of buffer.
52617         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52618         buffer32 and buffer64.
52619         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52620         writes instead of casting of buffer.
52621         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52622         buffer32.
52623         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52624         casting of buffer.
52625
52626 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52627
52628         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52629
52630 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52631
52632         * nscd/nscd.c (termination_handler): Don't do anything for a database
52633         if it has not yet been initialized.
52634
52635 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52636
52637         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52638
52639 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52640
52641         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52642
52643 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52644
52645         * po/nl.po: Update from translation team.
52646         * po/sv.po: Likewise.
52647
52648 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52649
52650         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52651         now disallowed by GCC.
52652
52653         * configure.in (use-default-link): Default to yes if a test -shared
52654         link meets our qualifications.
52655         * configure: Regenerated.
52656
52657         * config.make.in (output-format): New variable.
52658         * configure.in: Check for ld --print-output-format support.
52659         * configure: Regenerated.
52660         * Makerules ($(common-objpfx)format.lds)
52661         [$(output-format) != unknown]: Just use $(output-format),
52662         instead of the linker-script munging.
52663
52664 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52665
52666         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52667         of $(common-objpfx)shlib.lds.
52668         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52669
52670         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52671         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52672
52673         * configure.in (-z relro check): Adjust test code to add a large
52674         writable data section after it.
52675         * configure: Regenerated.
52676
52677 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52678
52679         * configure.in (-z relro check): Fix test code to make the variable
52680         truly const.
52681         * configure: Regenerated.
52682
52683 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52684
52685         * nscd/nscd.h (struct traced_file): Define.
52686         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52687         elements.  Add traced_files.
52688         (inotify_fd): Declare.
52689         (register_traced_file): Declare.
52690         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52691         (inotify_fd): Export.
52692         (resolv_conf_descr): Remove.
52693         (nscd_init): Move inotify descriptor creation to main.
52694         Don't register files for notification here.
52695         (register_traced_file): New function.
52696         (invalidate_cache): Don't use reset_res to determine whether to call
52697         res_init, go through the list of registered files.
52698         (main_loop_poll): The inotify descriptors are now stored in the
52699         structures for the traced files.
52700         (main_loop_epoll): Likewise
52701         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52702         to __nss_disable_nscd.
52703         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52704         for a database anymore.  Check the records for all the registered
52705         files instead.
52706         * nss/Makefile (libnss_files-routines): Add files-init.
52707         (libnss_db-routines): Add db-init.
52708         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52709         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52710         * nss/nss_db/db-init.c: New file.
52711         * nss/nss_files/files-init.c: New file.
52712         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52713         __nss_lookup_function.
52714         (__nss_lookup_function): Call nss_load_library.
52715         (nss_load_all_libraries): New function.
52716         (__nss_disable_nscd): Take parameter with callback function for files
52717         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52718         used for the cached services.
52719         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52720         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52721         options for features to all the files in nscd.
52722
52723         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52724
52725 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52726
52727         * csu/elf-init.c (__libc_csu_init): Comment typo.
52728
52729 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52730
52731         * po/pl.po: Update from translation team.
52732         * po/ja.po: Likewise.
52733         * po/ru.po: Likewise.
52734         * po/ko.po: Likewise.
52735         * po/fr.po: Likewise.
52736
52737 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52738
52739         * configure.in (.ctors/.dtors header and trailer check):
52740         Use an empirical test on a built program.
52741         * configure: Regenerated.
52742
52743         * configure.in (-z relro check): Use an empirical test on a built DSO.
52744         Detect, but do not require, on ia64.
52745         * configure: Regenerated.
52746
52747         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52748         Update tests that use readelf to use $READELF instead.
52749         * configure: Regenerated.
52750
52751 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52752
52753         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52754         if the result is not used.
52755
52756 2011-07-05  Andreas Jaeger  <aj@suse.de>
52757
52758         [BZ#9696]
52759         * stdlib/tst-strtod.c: Add testcase.
52760
52761 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52762
52763         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52764         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52765         The latter has a higher limit.  Take additional parameter to pass to
52766         the new function.
52767         (__pathconf): Pass file to __statfs_link_max.
52768         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52769         __statfs_link_max.
52770         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52771         __statfs_link_max.
52772
52773         [BZ #12868]
52774         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52775         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52776         Handle Lustre.
52777         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52778         (__statfs_filesize_max): Likewise.
52779         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52780
52781 2011-07-05  Andreas Jaeger  <aj@suse.de>
52782
52783         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52784
52785 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52786
52787         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52788         `status' variable.
52789         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52790         Likewise.
52791
52792 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52793
52794         * Makefile (strop-tests): Add strncat.
52795         * string/test-strncat.c: New file.
52796
52797 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52798
52799         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52800
52801 2011-06-21  Andreas Jaeger  <aj@suse.de>
52802
52803         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52804         Copy rule from iconvdata/Makefile.
52805
52806 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52807
52808         [BZ #12922]
52809         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52810         but no long options are defined, just return 'W'.
52811
52812 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52813
52814         [BZ #9696]
52815         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52816
52817 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52818
52819         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52820         netgroups to read.
52821         (innetgr): Likewise.
52822
52823 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52824
52825         * config.make.in (install_root): Default to $(DESTDIR).
52826
52827 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52828
52829         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52830
52831 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52832
52833         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52834
52835         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52836         containing directory rather than embedding absolute directory names.
52837
52838         * scripts/check-local-headers.sh: Rewritten using awk.
52839         Match by word, not by line.  Print error messages for matches.
52840         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52841
52842         * Makerules [shlib-lds-flags empty]:
52843         ($(common-objpfx)libc_pic.opts): New target.
52844         ($(common-objpfx)libc_pic.os.clean): New target.
52845         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52846
52847         * config.make.in (OBJCOPY): New variable.
52848         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52849         * configure: Regenerated.
52850
52851         * config.make.in (use-default-link): New variable.
52852         * configure.in (use_default_link): Grok --with-default-link to set it.
52853         * configure: Regenerated.
52854         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52855         (shlib-lds, shlib-lds-flags): Define to empty.
52856
52857         * Makerules (shlib-lds): New variable.
52858         (shlib-lds-flags): New variable.
52859         (build-shlib, build-moduile, build-module-asneeded): Use it.
52860         ($(common-objpfx)libc.so): Use $(shlib-lds).
52861         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52862         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52863
52864         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52865         DT_FLAGS/DT_FLAGS_1 with zero flags.
52866
52867         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52868         linker script munging.
52869
52870 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52871
52872         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52873         as 128-bit value.
52874         * crypt/sha512.c (sha512_process_block): Perform total addition using
52875         128-bit if possible.
52876         (__sha512_finish_ctx): Likewise.
52877         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52878         as 64-bit value.
52879         * crypt/sha256.c (SWAP64): Define.
52880         (sha256_process_block): Perform total addition using 64-bit if
52881         possible.
52882         (__sha256_finish_ctx): Likewise.
52883
52884 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52885
52886         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52888         * nscd/hstcache.c (cache_addhst): Likewise.
52889         * nscd/grpcache.c (cache_addgr): Likewise.
52890         * nscd/aicache.c (addhstaiX): Likewise
52891         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52892
52893 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52894
52895         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52896         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52897         * nscd/hstcache.c (cache_addhst): Likewise.
52898         * nscd/grpcache.c (cache_addgr): Likewise.
52899         * nscd/aicache.c (addhstaiX): Likewise
52900
52901 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52902
52903         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52904         domain only when needed.
52905
52906 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52907
52908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52909         is always restored.
52910
52911 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52912
52913         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52914         are re-adding the entry.
52915         * nscd/servicescache.c (cache_addserv): Likewise.
52916
52917 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52918
52919         * sysdeps/generic/dl-irel.h: fix protection against multiple
52920         inclusions.
52921         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52922
52923 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52924
52925         [BZ #12935]
52926         * malloc/memusage.sh: Fix quoting in message.
52927         * debug/xtrace.sh: Likewise.
52928
52929         * configure.in: Remove support for --experimental-malloc option, make
52930         it the default.
52931         * config.make.in: Likewise.
52932         * malloc/Makefile: Likewise.
52933
52934 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52935
52936         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52937         two-byte characters.
52938
52939 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52940
52941         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52942         AC_CACHE_CHECK invocation.
52943         * configure: Regenerated.
52944
52945         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52946
52947 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52948
52949         [BZ #12350]
52950         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52951         bit from old_res_options.
52952
52953         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52954
52955         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52956         value type for setfct.
52957
52958 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52959
52960         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52961         __gettimeofday instead of gettimeofday.
52962
52963 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52964
52965         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52966
52967 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52968
52969         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52970
52971         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52972         info.
52973
52974 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52975
52976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52977         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52978         strcpy-sse2-unaligned strncpy-sse2-unaligned
52979         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52980         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52981         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52982         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52983         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52984         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52985         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52986         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52987         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52988         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52989         (STRCPY): Support SSE2 and SSSE3 versions.
52990
52991 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52992
52993         [BZ #12874]
52994         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52995         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52996         kernels which artificially limit size of requests.
52997
52998 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52999
53000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53001         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53002         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53003         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53004         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53005         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53006         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53007         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53008         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53009         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53010         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53011         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53012         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53013         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53014         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53016         Enable unaligned load optimization for Intel Core i3, i5 and i7
53017         processors.
53018         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53019         Define.
53020         (index_Fast_Unaligned_Load): Define.
53021         (HAS_FAST_UNALIGNED_LOAD): Define.
53022
53023 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53024
53025         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53026
53027 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53028
53029         [BZ #12907]
53030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53031         until it is clear that the information is realy needed.
53032         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53033
53034 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53035
53036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53037
53038 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53039
53040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53041         /sys/devices/system/cpu/online if it is usable.
53042
53043         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53044         reading the information from the /proc filesystem to once a second.
53045
53046 2011-06-21  Andreas Jaeger  <aj@suse.de>
53047
53048         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53049         NULL after inclusion of kernel headers.
53050
53051 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53052
53053         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53054         calls to internal_setent.
53055
53056         [BZ #12885]
53057         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53058         addresses using gethostbyname4_r ignore IPv4 addresses.
53059
53060         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53061         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53062
53063         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53064
53065 2011-06-20  David S. Miller  <davem@davemloft.net>
53066
53067         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53068         inclusions.
53069         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53070
53071         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53072         (elf_irel): Use it.
53073         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53074         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53075         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53076         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53077         * sysdeps/x86_64/dl-irel.h: Likewise.
53078
53079         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53080         * elf/dl-sym.c: Likewise.
53081
53082 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53083
53084         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53085         need to dereference resplen2.
53086
53087 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53088
53089         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53090
53091 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53092
53093         * Makeconfig: Define vardbdir and inst_vardbdir.
53094         * nss/Makefile: Add rules to install db-Makefile.
53095
53096         * nss/nss_db/db-XXX.c: Cleanup.
53097
53098         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53099         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53100         GLIBC_PRIVATE.
53101         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53102         * nss/makedb.c: Implement -g option to specify that value strings
53103         are generated and should not be added to table iterated over for
53104         get*ent calls.
53105         * nss/nss_db/db-initgroups.c: New file.
53106
53107         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53108         interface.
53109
53110         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53111         (internal_getgrouplist): Adjust to name change.
53112         Update use_initgroups_entry if this is not the first call.
53113         * nss/databases.def: Add initgroups entry.
53114
53115         * nss/makedb.c (compute_tables): Check result of multiple hash table
53116         sizes to minimize maximum chain length.
53117
53118 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53119
53120         * Versions.def: Add entry for libnss_db.
53121         * shlib-versions: Likewise.
53122         * nss/Makefile: Add rules to build libnss_db.
53123         * nss/Versions: Add libnss_db information.  Organize libnss_files
53124         entries better.
53125         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53126         makedb progra.  Some minor improvements to generate smaller files.
53127         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53128         here from...
53129         * nss/makedb.c: ...here.
53130         Improve database format to be smaller and require less memory at
53131         runtime.
53132         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53133         db anymore.
53134         * nss/nss_db/db-netgrp.c: Likewise.
53135         * nss/nss_db/db-open.c: Likewise.
53136         * nss/nss_files/flies-XXX.x: Adjust comments.
53137         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53138         * nss/nss_files/files-grp.c: Likewise.
53139         * nss/nss_files/files-hosts.c: Likewise.
53140         * nss/nss_files/files-network.c: Likewise.
53141         * nss/nss_files/files-proto.c: Likewise.
53142         * nss/nss_files/files-pwd.c: Likewise.
53143         * nss/nss_files/files-rpc.c: Likewise.
53144         * nss/nss_files/files-service.c: Likewise.
53145         * nss/nss_files/files-sgrp.c: Likewise.
53146         * nss/nss_files/files-spwd.c: Likewise.
53147         * nss/nss_db/db-alias.c: Removed.
53148         * nss/nss_db/dummy-db.h: Removed.
53149
53150 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53151
53152         * nss/makedb.c: Rewritten to not use database library.
53153         * nss/Makefile: Update to build new makedb program.
53154
53155 2011-06-14  Andreas Jaeger  <aj@suse.de>
53156
53157         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53158         memset declaration.
53159
53160 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53161
53162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53163         tmpbuf.
53164
53165 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53166
53167         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53168         * elf/Makefile ($(objpfx)ld.so): Likewise.
53169
53170         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53171         Don't list ld.so twice in dependencies.
53172
53173         * posix/bug-regex31.c: Include <stdlib.h>.
53174
53175         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53176
53177         * nis/nss_compat/compat-spwd.c
53178         (getspent_next_nss_netgr): Remove unused variable.
53179         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53180
53181         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53182         nonmembers" output to use the right array.
53183
53184         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53185
53186         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53187
53188         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53189         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53190         * catgets/gencat.c (read_input_file): Likewise.
53191         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53192
53193         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53194         variable definition inside #if's controlling its use.
53195
53196         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53197
53198         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53199
53200         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53201
53202         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53203         unreachable code.
53204
53205         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53206
53207         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53208         * configure: Regenerated.
53209
53210         * Makerules: Revert last change.
53211         * elf/Makefile: Likewise.
53212
53213 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53214
53215         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53216         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53217         (reloc-link): Likewise.
53218
53219 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53220
53221         * elf/Makefile: Add rules to build pldd.
53222         * elf/pldd.c: New file.
53223         * elf/pldd-xx.c: New file.
53224
53225 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53226
53227         * version.h: Update for 2.15 development version.
53228
53229 2011-06-07  David S. Miller  <davem@davemloft.net>
53230
53231         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53232         ifuncs.
53233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53234         elf_machine_lazy_rel): Likewise.
53235         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53237         elf_machine_lazy_rel): Likewise.
53238         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53239         dl_hwcap via passed in argument.
53240         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53241         Likewise.
53242
53243 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53244
53245         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53246
53247 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53248
53249         [BZ #12849]
53250         * manual/fdl-1.1.texi: New file, verbatim from:
53251         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53252         * manual/lgpl-2.1.texi: New file, verbatim from:
53253         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53254         * manual/Makefile (licenses): New variable, list those new file names.
53255         (texis): Use it.
53256         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53257
53258         * manual/fdl.texi: File removed.
53259         * manual/lesser.texi: File removed.
53260         * manual/libc.texinfo (Copying, Documentation License):
53261         Use new @include file names, put @appendix directive before @include.
53262
53263 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53264
53265         [BZ #12841]
53266         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53267         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53268         (mq_open): Add __NTH.
53269
53270 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53271
53272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53273         Assume Intel Core i3/i5/i7 processor if AVX is available.
53274
53275 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53276
53277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53278         typo.
53279
53280 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53281
53282         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53283         memory.  Use alloca_account.  Fix memory leak when retrying.
53284
53285 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53286
53287         * version.h (RELEASE): Bump for 2.14 release.
53288         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53289
53290         * config.make.in (RANLIB): Remove entry.
53291
53292 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53293
53294         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53295         (libc.pot): Work around missing support for .ksh extension in xgettext.
53296
53297         [BZ #12684]
53298         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53299         if both request failed.
53300         (send_dg): In case of server errors clear resplen or *resplen2.
53301
53302         [BZ #12454]
53303         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53304         when there are multiple maps.
53305         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53306         (_dl_fini): Remove test here.
53307
53308         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53309
53310 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53311
53312         [BZ #12350]
53313         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53314         bit from old_res_options.
53315         (gaih_inet): Likewise.
53316
53317         [BZ #11099]
53318         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53319         as signed.
53320
53321         * resolv/res_init.c (res_setoptions): Make the code more compact.
53322
53323         [BZ #11558]
53324         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53325         set RES_USEVC.
53326
53327         [BZ #11634]
53328         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53329
53330         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53331
53332         [BZ #11781]
53333         * malloc/malloc.h: Declare malloc hook variables as volatile.
53334
53335         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53336         in last patch.
53337
53338         [BZ #11799]
53339         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53340         raise in the comment.
53341         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53342         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53343         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53344
53345 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53346
53347         [BZ #12811]
53348         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53349         grow the buffers more if it already has to be sufficient.
53350         (build_wcs_upper_buffer): Likewise.
53351         * posix/regexec.c (check_matching): Likewise.
53352         (clean_state_log_if_needed): Likewise.
53353         (extend_buffers): Don't enlarge buffers beyond size of the input
53354         buffer.
53355         Patches mostly by Emil Wojak <emil@wojak.eu>.
53356         * posix/bug-regex32.c: New file.
53357         * posix/Makefile (tests): Add bug-regex32.
53358
53359         * locale/findlocale.c (_nl_find_locale): Return right away if
53360         _nl_explode_name failed.
53361         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53362
53363         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53364
53365         * debug/xtrace.sh: Unify messages.
53366         * malloc/memusage.sh: Likewise.
53367
53368         [BZ #12813]
53369         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53370         time symbol from vDSO.  Substitute with vsyscall if not available.
53371         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53372         __vdso_time.
53373
53374         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53375         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53376         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53377         Add sendmmsg and internal_sendmmsg.
53378         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53379         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53380         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53381
53382         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53383         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53384         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53385
53386 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53387
53388         [BZ #12813]
53389         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53390         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53391         available.
53392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53393         __vdso_getcpu.
53394
53395         [BZ #12814]
53396         * iconvdata/Makefile (tests): Add bug-iconv9.
53397         * iconvdata/bug-iconv9.c: New file.
53398
53399 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53400
53401         [BZ #12814]
53402         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53403
53404 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53405
53406         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53407         (struct user_regs_struct): Change intcs field back to cs.
53408
53409 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53410
53411         * po/ja.po: Update from translation team.
53412
53413 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53414
53415         [BZ #12795]
53416         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53417         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53418
53419 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53420
53421         * stdlib/longlong.h: Update from GCC.
53422
53423 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53424
53425         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53426         parameter name.
53427         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53428         Add parameter name.
53429         (__sysconf): Pass it down.
53430
53431 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53432
53433         [BZ #12671]
53434         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53435         some situations.
53436         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53437         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53438         add in in __libc_use_alloca calls.  Adjust callers.
53439         (glob): Use malloc in some situations.
53440
53441         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53442         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53443         pltexit.
53444
53445 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53446
53447         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53448         and CLOCK_BOOTTIME_ALARM.
53449
53450         [BZ #12782]
53451         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53452         is returned.
53453
53454         * string/_strerror.c (__strerror_r): Print negative errors as signed
53455         numbers.
53456
53457         [BZ #12777]
53458         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53459         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53460         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53461
53462         * configure.in: Fix typo in redirection and correct removal of test
53463         files in two cases.
53464
53465         [BZ #12788]
53466         * locale/setlocale.c (new_composite_name): Fix test to check for
53467         identical name of all categories.
53468
53469         [BZ #12792]
53470         * libio/filedoalloc.c (local_isatty): New function.
53471         (_IO_file_doallocate): Use local_isatty.
53472         * stdio-common/perror.c (perror): In case a new stream is used
53473         forward the stream error.
53474         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53475         error flag.
53476
53477 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53478
53479         [BZ #11869]
53480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53481         alloca.
53482         * include/alloca.h (extend_alloca_account): Define.
53483
53484         [BZ #11857]
53485         * posix/regex.h: Fix comments with documentation of user-accessible
53486         fields after compilation and describe correct free'ing of pattern
53487         after re_compile_pattern.
53488         Patch by Reuben Thomas <rrt@sc3d.org>.
53489
53490 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53491
53492         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53493         and -mno-altivec to prevent the compiler from using Altivec and/or
53494         VSX instructions when the corresponding registers are not available.
53495
53496 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53497
53498         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53499
53500 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53501
53502         * libio/freopen.c (freopen): Use __dup2, not dup2.
53503         * libio/freopen64.c (freopen64): Likewise.
53504
53505 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53506
53507         [BZ #12775]
53508         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53509         * math/Makefile (tests): Add test-powl.
53510         (CFLAGS-test-powl.c): Define.
53511         * math/test-powl.c: New file.
53512
53513 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53514
53515         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53516
53517 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53518
53519         [BZ #11837]
53520         * iconvdata/gb18030.c: Update to GB18020-2005.
53521
53522 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53523
53524         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53525         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53526         Patch by Aharon Robbins <arnold@skeeve.com>.
53527
53528         [BZ #11892]
53529         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53530         on the stack.
53531
53532         [BZ #11895]
53533         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53534         through underflows.
53535
53536         [BZ #12766]
53537         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53538         point to strings before performing equality test for error_one_per_line
53539         mode.
53540
53541         [BZ #11697]
53542         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53543
53544         [BZ #11820]
53545         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53546         (struct user_fpregs_struct): Avoid __uint*_t types.
53547
53548         [BZ #6420]
53549         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53550         symbol info.  Use it instead of calling _dl_addr locally.
53551         (lock_and_info): New function.
53552         (tr_freehook): Call lock_and_info and pass symbol info as additional
53553         parameter to tr_where.
53554         (tr_mallochook): Likewise.
53555         (tr_reallochook): Likewise.
53556         (tr_memalignhook): Likewise.
53557
53558         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53559         used and couldn't be at all thread-safe.
53560
53561 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53562
53563         * libio/freopen.c (freopen): Don't close old file descriptor
53564         before the new one is opened.  Instead dup the new file descriptor
53565         to the old one after the new stream is created.
53566         * libio/freopen64.c (freopen64): Likewise.
53567         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53568         * libio/fileops.c (_IO_new_file_close_it): Handle new
53569         _IO_FLAGS2_NOCLOSE flag.
53570         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53571         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53572         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53573         _IO_FLAGS2_NOCLOSE flag.
53574         * include/unistd.h: Add hidden_proto for dup3.
53575         Define __have_dup3.
53576         * io/dup3.c: Define hidden symbol.
53577         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53578
53579         [BZ #7101]
53580         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53581         when an incomplete long option is used.
53582         * posix/tst-getopt_long1.c: New file.
53583         * posix/Makefile (tests): Add tst-getopt_long1.
53584
53585         [BZ #10138]
53586         * scripts/config.guess: Update from autoconf-2.68.
53587         * scripts/config.sub: Likewise.
53588
53589         [BZ #10157]
53590         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53591         tests into ...
53592         (has_cpuclock): ...this.  New function.
53593         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53594         macro here based on has_cpuclock code.
53595
53596         [BZ #10149]
53597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53598         First byte (not low byte) is now always NUL.
53599         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53600
53601         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53602         Use non-cancelable interfaces.
53603
53604         [BZ #9809]
53605         * locale/iso-639.def: Add entry for Sorani.
53606
53607         [BZ #11901]
53608         * include/stdlib.h: Move include protection to the right place.
53609         Define abort_msg_s.  Declare __abort_msg with it.
53610         * stdlib/abort.c (__abort_msg): Adjust type.
53611         * assert/assert.c (__assert_fail_base): New function.  Majority
53612         of code from __assert_fail.  Allocate memory for __abort_msg with
53613         mmap.
53614         (__assert_fail): Now call __assert_fail_base.
53615         * assert/assert-perr.c: Remove bulk of implementation.  Use
53616         __assert_fail_base.
53617         * include/assert.hL Declare __assert_fail_base.
53618         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53619         mmap.
53620         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53621
53622 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53623
53624         [BZ #11952]
53625         [BZ #12453]
53626         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53627         until all modules are registered in the DTV.
53628         * elf/Makefile: Add rules to build and run tst-tls19.
53629         * elf/tst-tls19.c: New file.
53630         * elf/tst-tls19mod1.c: New file.
53631         * elf/tst-tls19mod2.c: New file.
53632         * elf/tst-tls19mod3.c: New file.
53633         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53634
53635         [BZ #12083]
53636         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53637         correctly.
53638
53639         [BZ #12601]
53640         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53641         two-byte sequence errors.
53642         * iconvdata/Makefile (tests): Add bug-iconv8.
53643         * iconvdata/bug-iconv8.c: New file.
53644
53645         [BZ #12626]
53646         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53647         buf2 definition.
53648
53649         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53650
53651         [BZ #12432]
53652         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53653         (dummy_getcfa): New function.
53654         (init): Get _Unwind_GetCFA address, use dummy if not found.
53655         (backtrace_helper): In recursion check, also check whether CFA changes.
53656         (__backtrace): Completely initialize arg.
53657
53658         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53659         storing incomplete byte sequence in state object.  Avoid testing for
53660         guaranteed too small input if we know there is enough data available.
53661
53662 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53663
53664         * Makeconfig (+link-pie): Indent.
53665         * Rules (binaries-pie): Define if $(have-fpie) and
53666         $(build-shared).
53667         (binaries-shared): Also filter out $(binaries-pie).
53668         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53669         * nscd/Makefile (others-pie): Add nscd.
53670         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53671         ($(objpfx)nscd): Remove command override.
53672         * login/Makefile (others-pie): Add pt_chown.
53673         ($(objpfx)pt_chown): Remove command override.
53674         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53675         remove command overrides.
53676
53677 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53678
53679         * libio/tst_putwc.c: Fix error messages.
53680
53681         [BZ #12724]
53682         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53683         currently writing and seek to current position when not.
53684         * libio/Makefile (tests): Add bug-fclose1.
53685         * libio/bug-fclose1.c: New file.
53686
53687 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53688
53689         [BZ #12511]
53690         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53691         don't set DF_1_NODELETE here.
53692         (do_lookup_x): When entering new entry test for copy relocation
53693         and if necessary set DF_1_NODELETE flag.
53694         * elf/tst-unique4.cc: New file.
53695         * elf/tst-unique4.h: New file.
53696         * elf/tst-unique4lib.cc: New file.
53697         * elf/Makefile: Add rules to build and run tst-unique4.
53698         Patch by Piotr Bury <pbury@goahead.com>.
53699
53700 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53701
53702         [BZ #12052]
53703         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53704
53705         [BZ #12625]
53706         * misc/mntent_r.c (addmntent): Flush the stream after the output
53707
53708         [BZ #12393]
53709         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53710         (is_trusted_path_normalize): Skip initial colon.  Append slash
53711         to empty buffer.  Duplicate is_trusted_path code but allow
53712         constructed patch to be prefix.
53713         (is_dst): Allow $ORIGIN followed by /.
53714         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53715         Correct testing of result of is_trusted_path_normalize
53716         (decompose_rpath): Fix warning.
53717
53718 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53719
53720         [BZ #11257]
53721         * grp/initgroups.c (internal_getgrouplist): When we found the service
53722         list through the initgroups entry in nsswitch.conf do not always
53723         continue on a successful lookup.  Don't always use the
53724         __nss_group_database value if it is set.
53725         * nss/nsswitch.conf (initgroups): Change action for successful db
53726         lookup to continue for compatibility.
53727
53728 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53729
53730         [BZ #11532]
53731         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53732         and CP774 modules.
53733         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53734         and CP774 modules.
53735         * iconvdata/tst-tables.sh: Likewise.
53736         * iconvdata/cp770.c: New file.
53737         * iconvdata/cp771.c: New file.
53738         * iconvdata/cp772.c: New file.
53739         * iconvdata/cp773.c: New file.
53740         * iconvdata/cp774.c: New file.
53741         * iconvdata/testdata/CP770: New file.
53742         * iconvdata/testdata/CP770..UTF8: New file.
53743         * iconvdata/testdata/CP771: New file.
53744         * iconvdata/testdata/CP771..UTF8: New file.
53745         * iconvdata/testdata/CP772: New file.
53746         * iconvdata/testdata/CP772..UTF8: New file.
53747         * iconvdata/testdata/CP773: New file.
53748         * iconvdata/testdata/CP773..UTF8: New file.
53749         * iconvdata/testdata/CP774: New file.
53750         * iconvdata/testdata/CP774..UTF8: New file.
53751
53752         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53753         END CHARMAP line.
53754         * iconvdata/gen-8bit-gap.sh: Likewise.
53755         * iconvdata/gen-8bit.sh: Likewise.
53756
53757         * locale/iso-639.def: Add ary entry.
53758
53759         [BZ #11258]
53760         * locale/C-translit.h.in: Add U20A1 transliteration.
53761
53762         [BZ #12178]
53763         * locale/iso-639.def: Add wae entry.
53764         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53765
53766         [BZ #12545]
53767         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53768         for n.
53769
53770         [BZ #12711]
53771         * locale/C-translit.h.in: Add entry for U20B9.
53772         Patch by pravin.d.s@gmail.com.
53773
53774 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53775
53776         [BZ #12713]
53777         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53778         ENAMETOOLONG use generic getcwd.
53779         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53780         in rtld.  Use *stat64.
53781         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53782         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53783         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53784         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53785         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53786         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53787         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53788         __fstatat64 macros.
53789         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53790         * dirent/rewinddir.c: Add libc_hidden_def.
53791         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53792         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53793
53794         * include/dirent.h (__alloc_dir): Add flags parameter.
53795         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53796         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53797         __alloc_dir.
53798         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53799         from fdopendir if O_CLOEXEC is already set.
53800
53801 2011-03-15  Alan Modra  <amodra@gmail.com>
53802
53803         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53804         l_tls_firstbyte_offset non-zero.  Save padding offset in
53805         l_tls_firstbyte_offset for later use.
53806         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53807         freeing static tls block.
53808
53809 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53810
53811         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53812         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53813         being defined by the kernel headers.
53814
53815 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53816
53817         [BZ #12734]
53818         * resolv/resolv.h: Define RES_NOTLDQUERY.
53819         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53820         no-tld-query and set RES_NOTLDQUERY.
53821         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53822         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53823         modern BIND to search name as TLD unless forbidden.
53824
53825 2011-05-07  Petr Baudis  <pasky@suse.cz>
53826             Ulrich Drepper  <drepper@gmail.com>
53827
53828         [BZ #12393]
53829         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53830         (is_trusted_path): ...to here.
53831         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53832         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53833         using is_trusted_path_normalize() in setuid scripts.
53834
53835 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53836
53837         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53838         __BEGIN/__END_DECLS.
53839
53840 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53841
53842         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53843         NSS_STATUS_NOTFOUND if no record was found.
53844
53845 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53846
53847         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53848         (headers-not-in-tirpc): Remove rpc/netdb.h
53849         * resolv/netdb.h: Revert last change.
53850
53851 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53852
53853         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53854         circular dependency between libgcc.a and libc.a.
53855
53856 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53857
53858         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53859         * nis/Makefile: Don't install rpcsvc/*.
53860         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53861         instead of <rpc/types.h>.
53862         (MAXHOSTNAMELEN): Define.
53863
53864 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53865
53866         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53867
53868 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53869
53870         [BZ #12714]
53871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53872         gethostbyname4_r when IPv6 results are possible.
53873
53874 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53875
53876         [BZ #12723]
53877         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53878         _PC_PIPE_BUF handling.
53879
53880 2011-04-30  Bruno Haible  <bruno@clisp.org>
53881
53882         [BZ #12717]
53883         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53884         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53885         to 'int'.
53886         * inet/getnameinfo.c (getnameinfo): Likewise.
53887
53888 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53889
53890         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53891         to groups setting in database lookup.
53892         * nss/nsswitch.conf: Add initgroups entry.
53893
53894 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53895
53896         [BZ #12685]
53897         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53898         mode string.
53899         Patch by Eric Blake <eblake@redhat.com>.
53900
53901 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53902
53903         * sunrpc/Makefile (need-export-routines): Add svc_run.
53904         (routines): Remove svc_run.
53905         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53906         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53907         * sunrpc/svc_run.c (svc_run): Likewise.
53908         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53909
53910 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53911
53912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53913         problem in reallocation in last patch.
53914
53915 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53916
53917         * sunrpc/Makefile: Move inclusion of Rules.
53918
53919 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53920
53921         * nss/nss_files/files-initgroups.c: New file.
53922         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53923         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53924         _nss_files_initgroups_dyn.
53925
53926 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53927
53928         * elf/elf.h (R_ARM_IRELATIVE): Define.
53929
53930 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53931
53932         * po/ru.po: Update from translation team.
53933
53934 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53935
53936         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53937         dependencies.
53938
53939 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53940
53941         [BZ #12653]
53942         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53943         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53944         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53945         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53946         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53947
53948 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53949
53950         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53951         differing bytes.
53952         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53953         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53955
53956 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53957
53958         [BZ #12420]
53959         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53960         storing it.
53961         * stdlib/bug-getcontext.c: New file.
53962         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53963
53964 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53965
53966         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53967         instructions into .machine "z9-109".
53968         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53969         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53970
53971 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53972
53973         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53974         between environment variables and auxiliary vector.
53975
53976 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53977
53978         * Makefile: Add rules to build linkobj/libc.so.
53979         * include/libc-symbols.h: Define libc_hidden_nolink.
53980         * include/rpc/auth.h: Mark functions which are to be hidden.
53981         * include/rpc/auth_des.h: Likewise.
53982         * include/rpc/auth_unix.h: Likewise.
53983         * include/rpc/clnt.h: Likewise.
53984         * include/rpc/des_crypt.h: Likewise.
53985         * include/rpc/key_prot.h: Likewise.
53986         * include/rpc/pmap_clnt.h: Likewise.
53987         * include/rpc/pmap_prot.h: Likewise.
53988         * include/rpc/pmap_rmt.h: Likewise.
53989         * include/rpc/rpc_msg.h: Likewise.
53990         * include/rpc/svc.h: Likewise.
53991         * include/rpc/svc_auth.h: Likewise.
53992         * include/rpc/xdr.h: Likewise.
53993         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53994         * nss/Makefile: Likewise.
53995         * sunrpc/Makefile: Don't install headers.  Build library with normal
53996         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53997         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53998         for the compat linking library.  Remove use of INTDEF/INTUSE.
53999         * sunrpc/auth_none.c: Likewise.
54000         * sunrpc/auth_unix.c: Likewise.
54001         * sunrpc/authdes_prot.c: Likewise.
54002         * sunrpc/authuxprot.c: Likewise.
54003         * sunrpc/clnt_gen.c: Likewise.
54004         * sunrpc/clnt_perr.c: Likewise.
54005         * sunrpc/clnt_raw.c: Likewise.
54006         * sunrpc/clnt_simp.c: Likewise.
54007         * sunrpc/clnt_tcp.c: Likewise.
54008         * sunrpc/clnt_udp.c: Likewise.
54009         * sunrpc/clnt_unix.c: Likewise.
54010         * sunrpc/des_crypt.c: Likewise.
54011         * sunrpc/des_soft.c: Likewise.
54012         * sunrpc/get_myaddr.c: Likewise.
54013         * sunrpc/key_call.c: Likewise.
54014         * sunrpc/key_prot.c: Likewise.
54015         * sunrpc/netname.c: Likewise.
54016         * sunrpc/pm_getmaps.c: Likewise.
54017         * sunrpc/pm_getport.c: Likewise.
54018         * sunrpc/pmap_clnt.c: Likewise.
54019         * sunrpc/pmap_prot.c: Likewise.
54020         * sunrpc/pmap_prot2.c: Likewise.
54021         * sunrpc/pmap_rmt.c: Likewise.
54022         * sunrpc/publickey.c: Likewise.
54023         * sunrpc/rpc_cmsg.c: Likewise.
54024         * sunrpc/rpc_common.c: Likewise.
54025         * sunrpc/rpc_dtable.c: Likewise.
54026         * sunrpc/rpc_prot.c: Likewise.
54027         * sunrpc/rpc_thread.c: Likewise.
54028         * sunrpc/rtime.c: Likewise.
54029         * sunrpc/svc.c: Likewise.
54030         * sunrpc/svc_auth.c: Likewise.
54031         * sunrpc/svc_authux.c: Likewise.
54032         * sunrpc/svc_raw.c: Likewise.
54033         * sunrpc/svc_run.c: Likewise.
54034         * sunrpc/svc_simple.c: Likewise.
54035         * sunrpc/svc_tcp.c: Likewise.
54036         * sunrpc/svc_udp.c: Likewise.
54037         * sunrpc/svc_unix.c: Likewise.
54038         * sunrpc/svcauth_des.c: Likewise.
54039         * sunrpc/xcrypt.c: Likewise.
54040         * sunrpc/xdr.c: Likewise.
54041         * sunrpc/xdr_array.c: Likewise.
54042         * sunrpc/xdr_float.c: Likewise.
54043         * sunrpc/xdr_intXX_t.c: Likewise.
54044         * sunrpc/xdr_mem.c: Likewise.
54045         * sunrpc/xdr_rec.c: Likewise.
54046         * sunrpc/xdr_ref.c: Likewise.
54047         * sunrpc/xdr_sizeof.c: Likewise.
54048         * sunrpc/xdr_stdio.c: Likewise.
54049
54050 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54051
54052         [BZ #12650]
54053         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54054         * sysdeps/ia64/dl-tls.h: Likewise.
54055         * sysdeps/powerpc/dl-tls.h: Likewise.
54056         * sysdeps/s390/dl-tls.h: Likewise.
54057         * sysdeps/sh/dl-tls.h: Likewise.
54058         * sysdeps/sparc/dl-tls.h: Likewise.
54059         * sysdeps/x86_64/dl-tls.h: Likewise.
54060         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54061
54062 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54063
54064         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54065         rpath element also skip the following colon.
54066         (expand_dynamic_string_token): Add is_path parameter and pass
54067         down to DL_DST_REQUIRED and _dl_dst_substitute.
54068         (decompose_rpath): Call expand_dynamic_string_token with
54069         non-zero is_path.  Ignore empty rpaths.
54070         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54071         with zero is_path.
54072
54073 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54074
54075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54076         Make cancelable.
54077
54078 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54079
54080         [BZ #12655]
54081         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54082         Patch by Filipe David Manana <fdmanana@apache.org>.
54083
54084 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54085
54086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54087         Maintain aligned stack.
54088         (CHECK_RSP): Remove unused macro.
54089
54090 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54091
54092         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54093         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54094
54095 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54096
54097         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54098
54099         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54100
54101 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54102
54103         [BZ #12518]
54104         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54105         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54106         * sysdeps/x86_64/memmove.c: New file.
54107         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54108         (memcpy): Renamed to ...
54109         (__new_memcpy): This.
54110         (memcpy): Provide GLIBC_2_14 memcpy.
54111         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54112         (memcpy): Provide GLIBC_2_2_5 memcpy.
54113
54114 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54115
54116         [BZ #12631]
54117         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54118
54119 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54120
54121         * misc/syncfs.c: New file.
54122         * misc/Makefile (routines): Add syncfs.
54123         * posix/unistd.h: Declare syncfs.
54124         * sysdeps/unix/syscalls.list: Add syncfs.
54125
54126 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54127
54128         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54129         open_by_handle_at.
54130         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54131         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54133         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54135         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54136         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54137
54138 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54139
54140         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54141         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54142         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54146         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54147
54148         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54149         sync_file_range.c with -fexceptions.
54150         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54151         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54152         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54153         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54154         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54155         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54157         sync_file_range as cancellation point
54158         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54159         now a wrapper around __call_sync_file_range with cancellation handling.
54160         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54161         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54162         function name to __call_sync_file_range.
54163         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54164         Add call_sync_file_range.
54165
54166 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54167
54168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54169         bits/timex.h.
54170
54171 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54172
54173         * iconv/iconv.h: Fix typo in comment.
54174         * io/fcntl.h: Likewise.
54175         * libio/stdio.h: Likewise.
54176         * posix/spawn.h: Likewise.
54177         * posix/unistd.h: Likewise.
54178         * stdlib/stdlib.h: Likewise.
54179         * time/time.h: Likewise.
54180         * wcsmbs/wchar.h: Likewise.
54181
54182         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54183         open_by_handle): Add.
54184         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54185         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54186         Augment a few comments.
54187         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54188         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54189         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54192         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54193         open_by_handle.
54194
54195         * io/fcntl.h (AT_EMPTY_PATH): Define.
54196
54197 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54198
54199         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54200         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54201         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54202         to...
54203         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54204         * Versions.def: Add GLIBC_2.14.
54205         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54206         Export.
54207
54208 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54209
54210         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54211         round counter.
54212         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54213
54214 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54215
54216         [BZ #12597]
54217         * string/test-strncmp.c (do_page_test): New function.
54218         (check2): Likewise.
54219         (test_main): Call check2.
54220         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54221
54222 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54223
54224         [BZ #12587]
54225         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54226         Handle cache information in CPU leaf 4.
54227         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54228
54229 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54230
54231         [BZ #12583]
54232         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54233         character representation.
54234         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54235
54236 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54237
54238         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54239         END(__isnan) to END(__isnanf) to match function entry point/label
54240         EALIGN(__isnanf,...).
54241
54242 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54243
54244         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54245
54246 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54247
54248         [BZ #12510]
54249         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54250         copy from the symbol referenced in the relocation to initialize the
54251         used variable.
54252         Patch by Piotr Bury <pbury@goahead.com>.
54253         * elf/Makefile: Add rules to build and tst-unique3.
54254         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54255         * elf/tst-unique3.cc: New file.
54256         * elf/tst-unique3.h: New file.
54257         * elf/tst-unique3lib.cc: New file.
54258         * elf/tst-unique3lib2.cc: New file.
54259
54260         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54261
54262 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54263
54264         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54265         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54266         to _start.
54267
54268 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54269
54270         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54271         to-be-loaded object along a path to loader is ld.so.
54272
54273 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54274             Ulrich Drepper  <drepper@gmail.com>
54275
54276         * sysdeps/x86_64/memset.S: After aligning destination, code
54277         branches to different locations depending on the value of
54278         misalignment, when multiarch is enabled. Fix this.
54279
54280 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54281
54282         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54283         Set _x86_64_preferred_memory_instruction for AMD processsors.
54284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54285         Set bit_Prefer_SSE_for_memop for AMD processors.
54286
54287 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54288
54289         * libio/fmemopen.c (fmemopen): Optimize a bit.
54290
54291 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54292
54293         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54294
54295 2011-03-03  Roland McGrath  <roland@redhat.com>
54296
54297         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54298
54299 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54300
54301         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54302         __bzero_ultra1 instead of __memset_ultra1.
54303
54304 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54305             Ulrich Drepper  <drepper@gmail.com>
54306
54307         [BZ #12509]
54308         * include/link.h (struct link_map): Add l_orig_initfini.
54309         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54310         returning unsuccessfully.
54311         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54312         close of a file loaded at startup, restore the original l_initfini
54313         list.
54314         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54315         list, store the pointer.
54316         * elf/Makefile ($(objpfx)noload-mem): New rule.
54317         (noload-ENV): Define.
54318         (tests): Add $(objpfx)noload-mem.
54319         * elf/noload.c: Include <memcheck.h>.
54320         (main): Call mtrace.  Close all opened handles.
54321
54322 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54323
54324         [BZ #12454]
54325         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54326         dependencies are missing.
54327
54328 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54329
54330         Fix __if_freereq crash: Unlike the generic version which uses free,
54331         Hurd needs munmap.
54332         * sysdeps/mach/hurd/ifreq.h: New file.
54333
54334 2011-01-27  Petr Baudis  <pasky@suse.cz>
54335             Ulrich Drepper  <drepper@gmail.com>
54336
54337         [BZ 12445]#
54338         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54339         to extend_alloca().
54340         * stdio-common/bug23.c: New file.
54341         * stdio-common/Makefile (tests): Add bug23.
54342
54343 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54344             Ulrich Drepper  <drepper@gmail.com>
54345
54346         [BZ #12489]
54347         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54348         before performing relro protection.  At old place add assertion
54349         to make sure nothing changed.
54350
54351 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54352             Glauber de Oliveira Costa  <glommer@gmail.com>
54353
54354         * elf/elf.h: Add new ARM TLS relocs.
54355
54356 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54357
54358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54359         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54360         cast from r3.
54361         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54362         'tests' variable.
54363         * sysdeps/wordsize-64/tst-writev.c: New file.
54364
54365 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54366
54367         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54368         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54369         insns in _dl_start to prevent a TOC reference before relocs are
54370         resolved.
54371
54372 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54373
54374         [BZ #12469]
54375         * Makeconfig: Remove RANLIB definition.
54376         * Makerules: Don't use RANLIB.
54377         * aclocal.m4: Remove ranlib test.
54378         * configure.in: No need to check for ranlib.
54379         * elf/rtld-Rules: Don't use RANLIB.
54380
54381 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54382
54383         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54384         protection macro.
54385         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54386         inclusion protection macro.
54387
54388         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54389         SIGRTMIN and SIGRTMAX and print information in that case only when
54390         SIGRTMIN is defined.
54391
54392 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54393
54394         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54395         arginfo fn returning -1.
54396
54397         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54398         and thousands string is zero terminated.
54399
54400 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54401
54402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54403         sysdeps/unix/sysv/linux/bits/socket.h.
54404
54405 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54406
54407         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54408         (__CPU_COUNT): Remove old macros.
54409         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54410         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54411         (__CPU_ALLOC, __CPU_FREE): Add macros.
54412         (__sched_cpualloc, __sched_cpufree): Add declarations.
54413
54414 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54415
54416         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54417         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54418         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54419         (readdhstai): Return value of addhstaiX call.
54420         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54421         (addgrbyX): Return value returned by cache_addgr.
54422         (readdgrbyname): Return value returned by addgrbyX.
54423         (readdgrbygid): Likewise.
54424         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54425         (addpwbyX): Return value returned by cache_addpw.
54426         (readdpwbyname): Return value returned by addhstbyX.
54427         (readdpwbyuid): Likewise.
54428         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54429         (addservbyX): Return value returned by cache_addserv.
54430         (readdservbyname): Return value returned by addservbyX:
54431         (readdservbyport): Likewise.
54432         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54433         (addhstbyX): Return value returned by cache_addhst.
54434         (readdhstbyname): Return value returned by addhstbyX.
54435         (readdhstbyaddr): Likewise.
54436         (readdhstbynamev6): Likewise.
54437         (readdhstbyaddrv6): Likewise.
54438         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54439         (readdinitgroups): Return value returned by addinitgroupsX.
54440         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54441         (prune_cache): Keep track of timeout value of re-added entries.
54442         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54443         * nscd/nscd.h: Adjust prototypes of readd* functions.
54444
54445 2011-02-04  Roland McGrath  <roland@redhat.com>
54446
54447         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54448         (nis_stats): Likewise.
54449         * nis/nis_modify.c (nis_modify): Likewise.
54450         * nis/nis_remove.c (nis_remove): Likewise.
54451         * nis/nis_add.c (nis_add): Likewise.
54452
54453         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54454
54455         * posix/fnmatch_loop.c: Add some consts.
54456
54457         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54458
54459 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54460
54461         [BZ #12460]
54462         * config.make.in (config-cflags-novzeroupper): Define.
54463         * configure.in: Substitute libc_cv_cc_novzeroupper.
54464         * elf/Makefile (AVX-CFLAGS): Define.
54465         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54466         (CFLAGS-tst-auditmod4a.c): Likewise.
54467         (CFLAGS-tst-auditmod4b.c): Likewise.
54468         (CFLAGS-tst-auditmod6b.c): Likewise.
54469         (CFLAGS-tst-auditmod6c.c): Likewise.
54470         (CFLAGS-tst-auditmod7b.c): Likewise.
54471         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54472
54473 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54474
54475         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54476         function to the callback.
54477         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54478
54479 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54480
54481         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54482         of errno.
54483
54484 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54485
54486         [BZ #11724]
54487         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54488         of constructors.
54489         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54490         of destructors.
54491         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54492
54493         [BZ #11724]
54494         * elf/Makefile: Add rules to build and run new test.
54495         * elf/tst-initorder.c: New file.
54496         * elf/tst-initorder.exp: New file.
54497         * elf/tst-initordera1.c: New file.
54498         * elf/tst-initordera2.c: New file.
54499         * elf/tst-initordera3.c: New file.
54500         * elf/tst-initordera4.c: New file.
54501         * elf/tst-initorderb1.c: New file.
54502         * elf/tst-initorderb2.c: New file.
54503         * elf/tst-order-a1.c: New file.
54504         * elf/tst-order-a2.c: New file.
54505         * elf/tst-order-a3.c: New file.
54506         * elf/tst-order-a4.c: New file.
54507         * elf/tst-order-b1.c: New file.
54508         * elf/tst-order-b2.c: New file.
54509         * elf/tst-order-main.c: New file.
54510         New test case by George Gensure <werkt0@gmail.com>.
54511
54512 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54513
54514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54515         decoding ACE if AI_CANONIDN.
54516
54517 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54518
54519         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54520
54521 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54522
54523         * version.h (RELEASE): Bump for 2.13 release.
54524         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54525
54526         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54527
54528         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54529         MADV_NOHUGEPAGE.
54530         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54532         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54533         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54534         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54535         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54536
54537         * posix/getconf.c: Update copyright year.
54538         * catgets/gencat.c: Likewise.
54539         * csu/version.c: Likewise.
54540         * debug/catchsegv.sh: Likewise.
54541         * debug/xtrace.sh: Likewise.
54542         * elf/ldconfig.c: Likewise.
54543         * elf/ldd.bash.in: Likewise.
54544         * elf/sprof.c (print_version): Likewise.
54545         * iconv/iconv_prog.c: Likewise.
54546         * iconv/iconvconfig.c: Likewise.
54547         * locale/programs/locale.c: Likewise.
54548         * locale/programs/localedef.c: Likewise.
54549         * malloc/memusage.sh: Likewise.
54550         * malloc/mtrace.pl: Likewise.
54551         * nscd/nscd.c (print_version): Likewise.
54552         * nss/getent.c: Likewise.
54553
54554         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54555         PF_CAIF, and PF_ALG.
54556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54557
54558 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54559
54560         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54561         (modules-names): Use them.
54562         (ifunc-test-modules, ifunc-pie-tests): Define.
54563         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54564         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54565         (test-extras): Likewise.
54566         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54567         $(compile-command.c).
54568         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54569         (all-built-dso): Define.
54570         (check-textrel.out, check-execstack.out): Depend on it.
54571
54572         * configure.in: Don't override --enable-multi-arch.
54573
54574 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54575
54576         [BZ #6812]
54577         * nscd/hstcache.c (tryagain): Define.
54578         (cache_addhst): Return tryagain not notfound for temporary errors.
54579         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54580         failed.
54581
54582 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54583
54584         [BZ #10563]
54585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54586         to make the syscall.
54587         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54588
54589         [BZ #12378]
54590         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54591         and fall back to matching as normal character if the string ends before
54592         the matching ']' is found.  This is what POSIX requires.
54593         * posix/testfnm.c: Adjust test result.
54594         * posix/globtest.sh: Adjust test result.  Add new test.
54595         * posix/tst-fnmatch.input: Likewise.
54596         * posix/tst-fnmatch2.c: Add new test.
54597
54598 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54599
54600         * elf/Makefile (check-execstack): Revert last change.  Depend on
54601         check-execstack.h.
54602         (check-execstack.h): New target.
54603         (generated): Add check-execstack.h.
54604         * elf/check-execstack.c: Include "check-execstack.h".
54605         (main): Revert last change.
54606         (handle_file): Return zero if GNU_STACK is absent and
54607         DEFAULT_STACK_PERMS doesn't include PF_X.
54608
54609 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54610
54611         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54612         in child fails because the descriptor is already closed.
54613         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54614         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54615         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54616
54617         [BZ #12397]
54618         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54619         syscall.
54620
54621         [BZ #10484]
54622         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54623         temporary buffer used to handle multi lookups locally.
54624         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54625
54626 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54627
54628         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54629         loader is ld.so.
54630
54631 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54632
54633         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54634         alignment for SSE2.
54635
54636 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54637
54638         [BZ #12394]
54639         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54640         characters.  When rounding increased number of integer digits recompute
54641         number of groups.
54642         * stdio-common/tst-grouping.c: New file.
54643         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54644
54645 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54646
54647         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54648         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54649
54650         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54651         void.
54652         * bits/select.h: Likewise.
54653
54654 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54655
54656         * po/ja.po: Update from translation team.
54657
54658 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54659
54660         [BZ #11155]
54661         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54662         implementation just like for lxstat, fxstatat, et al.
54663
54664 2010-12-27  Jim Meyering  <meyering@redhat.com>
54665
54666         [BZ #12348]
54667         * posix/regexec.c (build_trtable): Return failure indication upon
54668         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54669
54670 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54671
54672         [BZ #12201]
54673         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54674         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54675         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54676         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54677
54678         [BZ #12207]
54679         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54680
54681         [BZ #12204]
54682         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54683         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54684
54685 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54686
54687         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54688         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54689         script has SORT_BY_INIT_PRIORITY.
54690         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54691         NO_CTORS_DTORS_SECTIONS is defined.
54692         * elf/soinit.c: Likewise.
54693         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54694         NO_CTORS_DTORS_SECTIONS is defined.
54695         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54696         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54697         * sysdeps/sh/init-first.c: Likewise.
54698         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54699
54700 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54701
54702         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54703         always use the slow path.
54704
54705 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54706
54707         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54708         similar rule which adds the sysdep directories to the header search in
54709         order to pick up the correct platform stackinfo.h.
54710         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54711         perform test if it is, otherwise return successfully without testing.
54712         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54713         DEFAULT_STACK_PERMS define in stackinfo.h.
54714         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54715         defined in stackinfo.h.
54716         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54717         DEFAULT_STACK_PERMS defined in stackinfo.h.
54718         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54719         * sysdeps/ia64/stackinfo.h: Likewise.
54720         * sysdeps/s390/stackinfo.h: Likewise.
54721         * sysdeps/sh/stackinfo.h: Likewise.
54722         * sysdeps/sparc/stackinfo.h: Likewise.
54723         * sysdeps/x86_64/stackinfo.h: Likewise.
54724         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54725         PF_X for powerpc64.  Retain PF_X for powerpc32.
54726
54727 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54728
54729         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54730         accurately.
54731         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54732         GETDENTS_64BIT_ALIGNED.
54733
54734 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54735
54736         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54737
54738 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54739
54740         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54741         _GNU_SOURCE.
54742
54743         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54744         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54745         Remove __restrict.
54746         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54747         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54748
54749 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54750
54751         [BZ #11655]
54752         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54753         are initialized.
54754
54755 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54756
54757         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54758
54759 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54760
54761         * po/it.po: Update from translation team.
54762
54763 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54764
54765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54766         unused codes.
54767
54768 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54769
54770         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54771
54772 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54773
54774         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54775         specially.
54776         (gaih_getanswer_slice): Likewise.
54777
54778 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54779
54780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54781
54782 2010-05-31  Petr Baudis  <pasky@suse.cz>
54783
54784         [BZ #11149]
54785         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54786         silently even in the chroot mode.
54787
54788 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54789
54790         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54791         last patch a bit.  Pretty printing
54792
54793 2010-05-31  Petr Baudis <pasky@suse.cz>
54794
54795         [BZ #10085]
54796         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54797         initialization of skip_initgroups_dyn.
54798
54799 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54800
54801         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54802         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54803
54804 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54805
54806         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54807
54808 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54809
54810         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54811         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54812         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54813         ($(objpfx)tst-fnmatch-mem): New rule.
54814         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54815         * posix/tst-fnmatch.c (main): Call mtrace.
54816
54817 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54818
54819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54820         Support Intel processor model 6 and model 0x2c.
54821
54822 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54823
54824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54825           signed comparison.
54826
54827 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54828
54829         [BZ #12205]
54830         * string/test-strncasecmp.c (check_result): New function.
54831         (do_one_test): Use it.
54832         (check1): New function.
54833         (test_main): Use it.
54834         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54835         Support strcasecmp and strncasecmp.
54836
54837 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54838
54839         [BZ #12194]
54840         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54841         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54842
54843 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54844
54845         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54846         IFUNC support.
54847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54848         memset-x86-64.
54849         * sysdeps/x86_64/multiarch/bzero.S: New file.
54850         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54851         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54852         * sysdeps/x86_64/multiarch/memset.S: New file.
54853         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54855         Set bit_Prefer_SSE_for_memop for Intel processors.
54856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54857         Define.
54858         (index_Prefer_SSE_for_memop): Define.
54859         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54860
54861 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54862
54863         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54864         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54865
54866 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54867
54868         [BZ #12191]
54869         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54870         (__x86_64_raw_data_cache_size_half): Likewise.
54871         (__x86_64_raw_shared_cache_size): Likewise.
54872         (__x86_64_raw_shared_cache_size_half): Likewise.
54873
54874         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54875         (__x86_64_raw_data_cache_size_half): Likewise.
54876         (__x86_64_raw_shared_cache_size): Likewise.
54877         (__x86_64_raw_shared_cache_size_half): Likewise.
54878         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54879         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54880         and __x86_64_raw_shared_cache_size_half.  Round
54881         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54882         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54883         to multiple of 256 bytes.
54884
54885 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54886
54887         [BZ #12167]
54888         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54889         of inacessible symlinks.  Verify result of symlink before returning it.
54890         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54891         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54892
54893 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54894
54895         * math/math.h (isinf): Fix typo in comment.
54896
54897 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54898
54899         * po/da.po: Update from translation team.
54900
54901 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54902
54903         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54904         is added to the list.
54905
54906 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54907             Ulrich Drepper  <drepper@gmail.com>
54908
54909         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54910         the global list here.  Move code to...
54911         (_dl_add_to_namespace_list): ...here.  New function.
54912         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54913         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54914         * elf/dl-load.c (lose): Don't remove the element from the list.
54915         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54916         (_dl_map_object): Likewise.
54917
54918 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54919
54920         [BZ #12159]
54921         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54922         into all bytes of SSE register.
54923         Patch by Richard Li <richardpku@gmail.com>.
54924
54925 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54926
54927         [BZ #12140]
54928         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54929         perturbing.
54930
54931 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54932
54933         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54934         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54935         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54936         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54938         submachine.
54939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54940
54941 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54942
54943         * include/dlfcn.h (__RTLD_SECURE): Define.
54944         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54945         mode & __RTLD_SECURE instead.
54946         (open_path): Rename preloaded parameter to secure.
54947         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54948         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54949         * elf/dl-deps.c (openaux): Likewise.
54950         * elf/rtld.c (struct map_args): Remove is_preloaded.
54951         (map_doit): Don't use it.
54952         (dl_main): Likewise.
54953         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54954         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54955
54956 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54957
54958         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54959         (sysd-rules-targets): Remove duplicates.
54960         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54961         rtld-%.$o dependency.
54962
54963 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54964
54965         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54966         _dl_map_object do it.
54967
54968 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54969
54970         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54971         fast fma builtins, define the macros in the C99 standard.
54972         (FP_FAST_FMAF): Likewise.
54973         (FP_FAST_FMAL): Likewise.
54974         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54975
54976         * bits/mathdef.h: Update copyright year.
54977         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54978
54979 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54980
54981         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54982         builtins, define the macros in the C99 standard.
54983         (FP_FAST_FMAF): Likewise.
54984         (FP_FAST_FMAL): Likewise.
54985         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54986         multiply/add.
54987         (FP_FAST_FMAF): Likewise.
54988
54989 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54990
54991         [BZ #3268]
54992         * math/libm-test.inc (fma_test): Some new testcases.
54993         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54994         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54995         y and infinite z.  Do multiplication by C already in long double.
54996         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54998         y and infinite z.  Do bitwise or of inexact bit into u.d.
54999         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55000         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55001         * sysdeps/i386/fpu/s_fma.S: Removed.
55002         * sysdeps/i386/fpu/s_fmal.S: Removed.
55003
55004 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55005
55006         [BZ #3268]
55007         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55009         computation is not scheduled after fetestexcept.  Fix value
55010         of minimum denormal long double.
55011
55012 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55013
55014         [BZ #3268]
55015         * math/libm-test.inc (fma_test): Add some more tests.
55016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55017         correctly.
55018
55019 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55020
55021         * scripts/data/localplt-s390-linux-gnu.data: New file.
55022         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55023
55024 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55025
55026         [BZ #3268]
55027         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55028         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55029         instead of dbl-64.
55030         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55031         inlines.
55032         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55034         if one of x and y is very large and the other is subnormal.
55035         * sysdeps/s390/fpu/s_fmaf.c: New file.
55036         * sysdeps/s390/fpu/s_fma.c: New file.
55037         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55038         * sysdeps/powerpc/fpu/s_fma.S: New file.
55039         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55040         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55041         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55042
55043 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55044
55045         [BZ #3268]
55046         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55047         fma tests.
55048         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55049         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55050         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55051         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55052         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55053         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55055
55056 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55057
55058         [BZ #12078]
55059         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55060         * posix/bug-regex31.input: Add test case.
55061
55062 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55063
55064         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55065         * posix/bug-regex31.input: New file.
55066
55067         [BZ #12078]
55068         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55069         (parse_sub_exp): Fix last change, use postorder.
55070
55071         * posix/bug-regex31.c: New file.
55072         * posix/Makefile: Add rules to build and run bug-regex31.
55073
55074         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55075
55076         [BZ #12078]
55077         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55078
55079         [BZ #12108]
55080         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55081         to have entries in sys_siglist.
55082
55083         [BZ #12093]
55084         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55085         be NULL.
55086
55087 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55088
55089         [BZ #3268]
55090         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55091         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55092         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55093         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55094         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55095         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55096         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55097         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55098         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55099         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55100         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55101         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55102         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55103         * math/ftestexcept.c (fetestexcept): Likewise.
55104         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55105         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55106         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55107         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55108         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55109         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55110         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55111
55112 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55113
55114         [BZ #12107]
55115         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55116         newline.
55117
55118 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55119
55120         * string/bug-strstr1.c: New file.
55121         * string/Makefile: Add rules to build and run bug-strstr1.
55122
55123 2010-10-05  Eric Blake  <eblake@redhat.com>
55124
55125         [BZ #12092]
55126         * string/str-two-way.h (two_way_long_needle): Always clear memory
55127         when skipping input due to the shift table.
55128
55129 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55130
55131         [BZ #12005]
55132         * malloc/mcheck.c: Handle large requests.
55133
55134         [BZ #12077]
55135         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55136         for strncmp and strncasecmp.
55137         * string/stratcliff.c: Add tests for strcmp and strncmp.
55138         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55139
55140 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55141
55142         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55143         __set_fpscr.
55144
55145 2010-09-30  Andreas Jaeger  <aj@suse.de>
55146
55147         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55148         (CGROUP_SUPER_MAGIC): Define.
55149         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55150         Handle btrfs and cgroup file systems.
55151         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55152         Likewise.
55153
55154 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55155
55156         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55157         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55158
55159 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55160
55161         [BZ #12067]
55162         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55163         trying to locate the ELF header.
55164
55165 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55166
55167         [BZ #11611]
55168         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55169         Mask out sign-bit copies when constructing f_fsid.
55170
55171 2010-09-24  Petr Baudis <pasky@suse.cz>
55172
55173         * debug/stack_chk_fail_local.c: Add missing licence exception.
55174         * debug/warning-nop.c: Likewise.
55175
55176 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55177
55178         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55179         implementing getdents64 using getdents syscall, set d_type if
55180         __ASSUME_GETDENTS32_D_TYPE.
55181
55182 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55183
55184         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55185         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55186
55187 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55188
55189         [BZ #12037]
55190         * posix/unistd.h: Undo change of feature selection for ftruncate from
55191         2010-01-11.
55192
55193 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55194
55195         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55196         detection.
55197
55198 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55199
55200         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55201         fanotify_mark.
55202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55203
55204 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55205
55206         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55207         variables after CHECK_SP call.
55208         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55209
55210 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55211             Ulrich Drepper  <drepper@redhat.com>
55212
55213         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55214         re-relocationg ld.so.
55215         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55216         _dl_init_paths call.
55217         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55218         here anymore.
55219
55220 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55221
55222         * resolv/res_init.c (__res_vinit): Count the default server we added.
55223
55224 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55225             Ulrich Drepper  <drepper@redhat.com>
55226
55227         [BZ #11968]
55228         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55229         (____longjmp_chk): Use %ebx for saving value across system call.
55230         Add unwind info.
55231
55232 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55233
55234         * manual/Makefile: Don't mix pattern rules with normal rules.
55235
55236 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55237
55238         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55239         operation.
55240         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55241         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55242         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55243         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55245         Likewise.
55246
55247 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55248
55249         [BZ #11979]
55250         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55251         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55252
55253 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55254
55255         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55256         * sysdeps/x86_64/addmul_1.S: Likewise.
55257         * sysdeps/x86_64/lshift.S: Likewise.
55258         * sysdeps/x86_64/mul_1.S: Likewise.
55259         * sysdeps/x86_64/rshift.S: Likewise.
55260         * sysdeps/x86_64/sub_n.S: Likewise.
55261         * sysdeps/x86_64/submul_1.S: Likewise.
55262
55263 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55264
55265         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55266         Define __sched_param instead of SCHED_* and sched_param when
55267         <bits/sched.h> is included with __need_schedparam defined.
55268         * bits/sched.h [__need_schedparam]
55269         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55270         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55271         (__defined_schedparam): Define to 1.
55272         (__sched_param): New structure, identical to sched_param.
55273         (__need_schedparam): Undefine.
55274
55275 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55276
55277         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55278         (epoll_create1): Declare.
55279
55280         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55281
55282 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55283
55284         [BZ #7066]
55285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55286         shifting retval into place.
55287
55288 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55289
55290         * nis/rpcsvc/nis.h: Update copyright notice.
55291         * nis/rpcsvc/nis.x: Likewise.
55292         * nis/rpcsvc/nis_callback.h: Likewise.
55293         * nis/rpcsvc/nis_callback.x: Likewise.
55294         * nis/rpcsvc/nis_object.x: Likewise.
55295         * nis/rpcsvc/nis_tags.h: Likewise.
55296         * nis/rpcsvc/yp.h: Likewise.
55297         * nis/rpcsvc/yp.x: Likewise.
55298         * nis/rpcsvc/ypupd.h: Likewise.
55299         * nis/yp_xdr.c: Likewise.
55300         * nis/ypupdate_xdr.c: Likewise.
55301
55302         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55303         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55304         (pmap_getport): Use __libc_rpc_getport.
55305         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55306         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55307         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55308
55309 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55310
55311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55312         fanotify_mark.
55313
55314 2010-08-27  Roland McGrath  <roland@redhat.com>
55315
55316         * sysdeps/i386/i686/multiarch/Makefile
55317         (CFLAGS-varshift.c): New variable.
55318
55319 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55320
55321         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55322         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55323
55324         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55325
55326         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55327
55328 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55329
55330         * sysdeps/x86_64/strlen.S: Unroll the loop.
55331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55332         strlen-sse2 strlen-sse2-bsf.
55333         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55334         __strlen_no_bsf if bit_Slow_BSF is set.
55335         (__strlen_sse42): Removed.
55336         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55337         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55338
55339 2010-08-25  Roland McGrath  <roland@redhat.com>
55340
55341         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55342         * sysdeps/x86_64/multiarch/varshift.c: New file.
55343         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55344         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55345         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55346         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55347
55348 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55349
55350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55351         strlen-sse2 strlen-sse2-bsf.
55352         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55353         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55354         (__strlen_sse2): Removed.
55355         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55356         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55358         bit_Slow_BSF for Atom.
55359         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55360         (index_Slow_BSF): Define.
55361         (HAS_SLOW_BSF): Define.
55362
55363 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55364
55365         [BZ #10851]
55366         * resolv/res_init.c (__res_vinit): When no server address at all
55367         is given default to loopback.
55368
55369 2010-08-24  Roland McGrath  <roland@redhat.com>
55370
55371         * configure.in: Remove config-name.h generation.
55372         * configure: Regenerated.
55373         * config-name.in: File removed.
55374         * scripts/config-uname.sh: New file.
55375         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55376         ($(objdir)config-name.h): New target.
55377
55378         * sunrpc/rpc_parse.h: Avoid nested comment.
55379
55380 2010-08-24  Richard Henderson  <rth@redhat.com>
55381             Ulrich Drepper  <drepper@redhat.com>
55382             H.J. Lu  <hongjiu.lu@intel.com>
55383
55384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55386         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55387         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55388         _mm_alignr_epi8 with _mm_loadu_si128.
55389         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55390         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55391         (__m128i_shift_right): Removed.
55392         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55393         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55394         * sysdeps/x86_64/multiarch/varshift.h: New file.
55395         * sysdeps/x86_64/multiarch/varshift.S: New file.
55396
55397 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55398
55399         * configure.in: Move assembler checks to before sysdep dir checking.
55400
55401 2010-08-20  Petr Baudis  <pasky@suse.cz>
55402
55403         * LICENSES: Sync the sunrpc license.
55404
55405 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55406
55407         * sunrpc/auth_des.c: Update copyright notice once again.
55408         * sunrpc/auth_none.c: Likewise.
55409         * sunrpc/auth_unix.c: Likewise.
55410         * sunrpc/authdes_prot.c: Likewise.
55411         * sunrpc/authuxprot.c: Likewise.
55412         * sunrpc/bindrsvprt.c: Likewise.
55413         * sunrpc/clnt_gen.c: Likewise.
55414         * sunrpc/clnt_perr.c: Likewise.
55415         * sunrpc/clnt_raw.c: Likewise.
55416         * sunrpc/clnt_simp.c: Likewise.
55417         * sunrpc/clnt_tcp.c: Likewise.
55418         * sunrpc/clnt_udp.c: Likewise.
55419         * sunrpc/clnt_unix.c: Likewise.
55420         * sunrpc/des_crypt.c: Likewise.
55421         * sunrpc/des_soft.c: Likewise.
55422         * sunrpc/get_myaddr.c: Likewise.
55423         * sunrpc/getrpcport.c: Likewise.
55424         * sunrpc/key_call.c: Likewise.
55425         * sunrpc/key_prot.c: Likewise.
55426         * sunrpc/openchild.c: Likewise.
55427         * sunrpc/pm_getmaps.c: Likewise.
55428         * sunrpc/pm_getport.c: Likewise.
55429         * sunrpc/pmap_clnt.c: Likewise.
55430         * sunrpc/pmap_prot.c: Likewise.
55431         * sunrpc/pmap_prot2.c: Likewise.
55432         * sunrpc/pmap_rmt.c: Likewise.
55433         * sunrpc/rpc/auth.h: Likewise.
55434         * sunrpc/rpc/auth_unix.h: Likewise.
55435         * sunrpc/rpc/clnt.h: Likewise.
55436         * sunrpc/rpc/des_crypt.h: Likewise.
55437         * sunrpc/rpc/key_prot.h: Likewise.
55438         * sunrpc/rpc/netdb.h: Likewise.
55439         * sunrpc/rpc/pmap_clnt.h: Likewise.
55440         * sunrpc/rpc/pmap_prot.h: Likewise.
55441         * sunrpc/rpc/pmap_rmt.h: Likewise.
55442         * sunrpc/rpc/rpc.h: Likewise.
55443         * sunrpc/rpc/rpc_des.h: Likewise.
55444         * sunrpc/rpc/rpc_msg.h: Likewise.
55445         * sunrpc/rpc/svc.h: Likewise.
55446         * sunrpc/rpc/svc_auth.h: Likewise.
55447         * sunrpc/rpc/types.h: Likewise.
55448         * sunrpc/rpc/xdr.h: Likewise.
55449         * sunrpc/rpc_clntout.c: Likewise.
55450         * sunrpc/rpc_cmsg.c: Likewise.
55451         * sunrpc/rpc_common.c: Likewise.
55452         * sunrpc/rpc_cout.c: Likewise.
55453         * sunrpc/rpc_dtable.c: Likewise.
55454         * sunrpc/rpc_hout.c: Likewise.
55455         * sunrpc/rpc_main.c: Likewise.
55456         * sunrpc/rpc_parse.c: Likewise.
55457         * sunrpc/rpc_parse.h: Likewise.
55458         * sunrpc/rpc_prot.c: Likewise.
55459         * sunrpc/rpc_sample.c: Likewise.
55460         * sunrpc/rpc_scan.c: Likewise.
55461         * sunrpc/rpc_scan.h: Likewise.
55462         * sunrpc/rpc_svcout.c: Likewise.
55463         * sunrpc/rpc_tblout.c: Likewise.
55464         * sunrpc/rpc_util.c: Likewise.
55465         * sunrpc/rpc_util.h: Likewise.
55466         * sunrpc/rpcinfo.c: Likewise.
55467         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55468         * sunrpc/rpcsvc/key_prot.x: Likewise.
55469         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55470         * sunrpc/rpcsvc/mount.x: Likewise.
55471         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55472         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55473         * sunrpc/rpcsvc/rex.x: Likewise.
55474         * sunrpc/rpcsvc/rstat.x: Likewise.
55475         * sunrpc/rpcsvc/rusers.x: Likewise.
55476         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55477         * sunrpc/rpcsvc/spray.x: Likewise.
55478         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55479         * sunrpc/rtime.c: Likewise.
55480         * sunrpc/svc.c: Likewise.
55481         * sunrpc/svc_auth.c: Likewise.
55482         * sunrpc/svc_authux.c: Likewise.
55483         * sunrpc/svc_raw.c: Likewise.
55484         * sunrpc/svc_run.c: Likewise.
55485         * sunrpc/svc_simple.c: Likewise.
55486         * sunrpc/svc_tcp.c: Likewise.
55487         * sunrpc/svc_udp.c: Likewise.
55488         * sunrpc/svc_unix.c: Likewise.
55489         * sunrpc/svcauth_des.c: Likewise.
55490         * sunrpc/xcrypt.c: Likewise.
55491         * sunrpc/xdr.c: Likewise.
55492         * sunrpc/xdr_array.c: Likewise.
55493         * sunrpc/xdr_float.c: Likewise.
55494         * sunrpc/xdr_mem.c: Likewise.
55495         * sunrpc/xdr_rec.c: Likewise.
55496         * sunrpc/xdr_ref.c: Likewise.
55497         * sunrpc/xdr_sizeof.c: Likewise.
55498         * sunrpc/xdr_stdio.c: Likewise.
55499
55500         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55501         handling.
55502
55503 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55504
55505         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55506
55507 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55508
55509         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55510         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55511         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55512         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55513         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55514         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55515         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55516         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55517         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55518         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55519         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55520         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55521         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55522         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55523
55524 2010-07-26  Anton Blanchard  <anton@samba.org>
55525
55526         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55527         * malloc/arena.c (heap_trim): Likewise.
55528
55529 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55530
55531         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55532         here.  Not...
55533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55534         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55535
55536 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55537
55538         * sysdeps/i386/elf/Makefile: New file.
55539
55540 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55541
55542         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55543         from fanotify_init.
55544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55546
55547 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55548
55549         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55550         of strncasecmp_l.
55551         * sysdeps/multiarch/strcmp.S: Likewise.
55552
55553 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55554
55555         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55556         strncase_l-nonascii.
55557         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55558         Add strncase_l-ssse3.
55559         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55560         * sysdeps/x86_64/strcmp.S: Likewise.
55561         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55562         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55563         * sysdeps/x86_64/strncase.S: New file.
55564         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55565         * sysdeps/x86_64/strncase_l.S: New file.
55566         * string/Makefile (strop-tests): Add strncasecmp.
55567         * string/test-strncasecmp.c: New file.
55568
55569         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55570         warning.
55571
55572         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55573         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55574
55575 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55576
55577         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55578
55579 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55580
55581         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55582         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55584
55585 2010-05-01  Alan Modra  <amodra@gmail.com>
55586
55587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55588         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55589         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55590         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55591         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55592         tidying.  Don't tail-call __sigjmp_save for static lib.
55593         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55594         save location.
55595         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55596         (CALL_MCOUNT): Add eh info, and nop after bl.
55597         (TAIL_CALL_SYSCALL_ERROR): New macro.
55598         (PSEUDO_RET): Use it.
55599         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55600         Correct save location of integer regs and cr.
55601         (_dl_profile_resolve): Correct cr save location.  Delete nops
55602         after bl when SHARED.  Reduce cfi size a little by better
55603         placement of cfi directives.
55604         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55605         make a stack frame.  Instead use parm save area as a temp.
55606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55607         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55609         Don't make a stack frame for parent, use parm save area.
55610         Increase child stack frame to 112 bytes.  Don't save unused reg,
55611         and adjust reg usage.  Set up cfi on error recovery and
55612         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55614         (__makecontext): Add dummy nop after jump to exit.
55615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55616         Use correct parm save area and cr save, reduce stack frame.
55617         Correct cfi for possible PSEUDO_RET frame setup.
55618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55619         Branch to local label emitted by PSEUDO_RET rather than
55620         __syscall_error.
55621
55622 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55623
55624         [BZ #11904]
55625         * locale/programs/locale.c (print_assignment): New function.
55626         (show_locale_vars): Use it.
55627
55628 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55629
55630         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55631         field.
55632         (struct statfs64): Likewise.
55633         (_STATFS_F_FLAGS): Define.
55634         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55636         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55637         (ST_VALID): Define locally.
55638         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55639         __statvfs_getflags, use the provided value.
55640         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55641         __ASSUME_STATFS_F_FLAGS.
55642
55643         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55644
55645         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55646         Add sys/fanotify.h.
55647         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55648         fanotify_mask for GLIBC_2.13.
55649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55650         fanotify_init and fanotify_mark.
55651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55652         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55653
55654         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55655         Add prlimit.
55656         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55657         prlimit64 for GLIBC_2.13.
55658         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55659         prlimit64.
55660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55661         syscall.
55662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55663         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55664         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55667         add prlimit alias.
55668         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55669
55670         [BZ #11903]
55671         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55672         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55673
55674         * nss/Makefile: Add rules to build and run tst-nss-test1.
55675         * shlib-versions: Add entry for libnss_test1.
55676         * nss/nss_test1.c: New file.
55677         * nss/tst-nss-test1.c: New file.
55678
55679         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55680         (__nss_configure_lookup): Set appropriate entry in
55681         __nss_configure_lookup to true.
55682         * nss/nsswitch.h: Define enum with indeces of databases in
55683         databases and __nss_database_custom arrays.  Declare
55684         __nss_database_custom.
55685         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55686         to avoid using nscd when custom rules are installed.
55687         * nss/getXXbyYY_r.c: Likewise.
55688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55689
55690         * nss/nss_files/files-parse.c: Whitespace fixes.
55691
55692 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55693
55694         [BZ #11883]
55695         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55696         * posix/fnmatch_loop.c: Likewise.
55697
55698 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55699
55700         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55701         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55702         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55703         * Versions.def [GLIBC_2.13]: Add.
55704
55705 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55706
55707         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55708         Also fail if tpwd after pwuid call is NULL.
55709
55710 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55711
55712         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55713         when converting to ms.
55714
55715 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55716
55717         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55718         EOPNOTSUPP errors with ENOTTY.
55719         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55720         EOPNOTSUPP errors with ENOTTY.
55721
55722 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55723
55724         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55725         Add strcasecmp_l-ssse3.
55726         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55727         strcasecmp.
55728         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55729         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55730         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55731
55732 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55733
55734         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55735
55736         * string/Makefile (strop-tests): Add strcasecmp.
55737         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55738         strcasecmp_l-nonascii.
55739         (gen-as-const-headers): Add locale-defines.sym.
55740         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55741         * sysdeps/x86_64/strcasecmp.S: New file.
55742         * sysdeps/x86_64/strcasecmp_l.S: New file.
55743         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55744         * sysdeps/x86_64/locale-defines.sym: New file.
55745         * string/test-strcasecmp.c: New file.
55746
55747         * string/test-strcasestr.c: Test both ends of the range of characters.
55748         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55749
55750 2010-07-29  Roland McGrath  <roland@redhat.com>
55751
55752         [BZ #11856]
55753         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55754
55755 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55756
55757         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55758         for ld.so.
55759
55760 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55761
55762         * manual/memory.texi (Malloc Tunable Parameters): Document
55763         M_PERTURB.
55764
55765 2010-07-26  Roland McGrath  <roland@redhat.com>
55766
55767         [BZ #11840]
55768         * configure.in (-fgnu89-inline check): Set and substitute
55769         gnu89_inline, not libc_cv_gnu89_inline.
55770         * configure: Regenerated.
55771         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55772
55773 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55774
55775         * string/test-strnlen.c: New file.
55776         * string/Makefile (strop-tests): Add strnlen.
55777         * string/tester.c (test_strnlen): Add a few more test cases.
55778         * string/tst-strlen.c: Better error reporting.
55779
55780         * sysdeps/x86_64/strnlen.S: New file.
55781
55782 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55783
55784         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55785         lower-latency instructions.
55786
55787 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55788
55789         * string/test-strcasestr.c: New file.
55790         * string/test-strstr.c: New file.
55791         * string/Makefile (strop-tests): Add strstr and strcasestr.
55792         * string/str-two-way.h: Don't undefine MAX.
55793         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55794
55795 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55796
55797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55798         strcasestr-nonascii.
55799         (CFLAGS-strcasestr-nonascii.c): Define.
55800         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55801         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55802         Remove unused attribute.
55803
55804 2010-07-20  Roland McGrath  <roland@redhat.com>
55805
55806         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55807         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55808         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55809         like LD_HWCAP_MASK can disable hwcaps.
55810
55811 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55812
55813         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55814
55815 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55816
55817         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55818         call in strcasestr.
55819         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55820         __strcasestr_sse42_nonascii.
55821         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55822         strcasestr-nonascii.c.
55823         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55824
55825 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55826
55827         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55828         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55829         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55830         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55831
55832 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55833
55834         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55835         fcntl.
55836
55837 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55838
55839         [BZ #11577]
55840         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55841         dl_signal_cerror.
55842
55843 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55844
55845         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55846         _PC_PIPE_BUF using F_GETPIPE_SZ.
55847
55848 2010-07-05  Roland McGrath  <roland@redhat.com>
55849
55850         * manual/arith.texi (Rounding Functions): Fix rint description
55851         implicit in round description.
55852
55853 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55854
55855         * elf/Makefile: Fix linking for a few tests to make recent linker
55856         happy.
55857
55858 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55859
55860         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55861         $(common-objpfx)libc_nonshared.a.
55862
55863 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55864
55865         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55866         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55867         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55868         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55869         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55870         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55871         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55872         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55887         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55888         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55889         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55890         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55891         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55892         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55893         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55894         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55895         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55896         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55897         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55898         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55913
55914 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55915
55916         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55917         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55918         * string/memmove.c (memmove): Renamed to ...
55919         (MEMMOVE): ...this.  Default to memmove.
55920         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55921         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55922         (END_CHK): Define.
55923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55924         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55925         mempcpy-ssse3-back memmove-ssse3-back.
55926         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55928         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55929         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55930         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55931         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55932         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55933         * sysdeps/x86_64/multiarch/memmove.c: New file.
55934         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55935         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55936         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55937         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55939         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55940         Define.
55941         (index_Fast_Copy_Backward): Define.
55942         (HAS_ARCH_FEATURE): Define.
55943         (HAS_FAST_REP_STRING): Define.
55944         (HAS_FAST_COPY_BACKWARD): Define.
55945
55946 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55947
55948         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55949         Restore proper fallback handling.
55950
55951 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55952
55953         [BZ #11701]
55954         * posix/group_member.c (__group_member): Correct checking loop.
55955
55956         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55957         OOM in getpwuid_r correctly.  Return error number when the caller
55958         should return, otherwise -1.
55959         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55960         call returning > 0 value.
55961         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55962
55963 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55964
55965         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55966         libc_nonshared.a from targets in modules-names.
55967
55968 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55969
55970         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55971         requires it.
55972
55973 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55974
55975         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55977         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55978         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55979
55980 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55981
55982         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55983
55984 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55985
55986         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55987         and F_GETPIPE_SZ.
55988         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55989         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55991         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55992         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55993         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55994
55995 2010-06-14  Roland McGrath  <roland@redhat.com>
55996
55997         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55998
55999 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56000
56001         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56002         __REDIRECT followed by __THROW.
56003         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56004         * posix/getopt.h (getopt): Likewise.
56005
56006 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56007
56008         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56009         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56010         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56011         in AT_FLAGS.
56012         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56013         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56014
56015 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56016
56017         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56018
56019 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56020
56021         [BZ #11640]
56022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56023         Properly check family and model.
56024
56025 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56026
56027         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56028
56029 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56030
56031         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56032
56033 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56034
56035         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56036         symbol reference.
56037
56038 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56039
56040         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56041         symbol reference.
56042
56043 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56044
56045         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56046         and internal_recvmmsg.
56047         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56048         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56049         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56050         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56051
56052         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56053         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56054         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56055
56056 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56057
56058         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56059
56060 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56061
56062         POWER7 optimizations.
56063         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56064         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56065
56066 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56067
56068         * version.h: Update for 2.13 development version.
56069
56070 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56071
56072         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56073         exceptions.  Return 0.
56074
56075 2010-05-07  Roland McGrath  <roland@redhat.com>
56076
56077         * elf/ldconfig.c (main): Add a const.
56078
56079 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56080
56081         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56082         (args_options): Add no-idn option.
56083         (ahosts_keys_int): Add idn_flags to ai_flags.
56084         (parse_option): Handle 'i' option to clear idn_flags.
56085
56086         * malloc/malloc.c (_int_free): Possible race in the most recently
56087         added check.  Only act on the data if no current modification
56088         happened.
56089
56090 See ChangeLog.17 for earlier changes.