fcntl-linux.h: add new definitions and manual updates for open file description locks
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2
3         [BZ #16839]
4         * manual/llio.texi: Add section about open file description locks.
5         * manual/examples/ofdlocks.c: Example of open file description
6         lock usage.
7         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8         F_OFD_SETLK, and F_OFD_SETLKW.
9
10 2014-07-23  Allan McRae  <allan@archlinux.org>
11
12         * po/es.po: Update Spanish translation from translation project.
13
14 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15
16         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17
18 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19
20         [BZ #17078]
21         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24
25 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26
27         [BZ #17088]
28         * math/fesetenv.c (__fesetenv)
29         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30         * math/feupdateenv.c (__feupdateenv)
31         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32
33         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35         (__ASSUME_SOCKETCALL): Do not define.
36
37         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39         (__ASSUME_SOCKETCALL): Do not define.
40         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48
49         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
50         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
51         (__ASSUME_SOCKETCALL): Do not define.
52         (__ASSUME_IPC64): Define unconditionally.
53         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
54         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
55         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
56         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
57         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
58         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
59         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
60         Likewise.
61
62         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
63         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
64         (__ASSUME_SOCKETCALL): Do not define.
65         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
66         (__ASSUME_FUTEX_LOCK_PI): Likewise.
67         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
68         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
69         (__ASSUME_REQUEUE_PI): Define unconditionally.
70         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
71         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
72         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
73         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
74         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
75         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
76
77         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
78         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
79         (__ASSUME_SOCKETCALL): Do not define.
80         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
81         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
82         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
83         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
84         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
85         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
86
87         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
88         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
89         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
90         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
91         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
92         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
93         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
94         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
95         (__ASSUME_GETCPU_SYSCALL): Likewise.
96
97         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
98         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
99         cases for individual architectures.
100         * sysdeps/gnu/configure: Regenerated.
101         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
102         LIBC_SLIBDIR_RTLDDIR.
103         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
104         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
105         LIBC_SLIBDIR_RTLDDIR.
106         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
108         LIBC_SLIBDIR_RTLDDIR.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
110         Regenerated.
111         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
112         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
113         file.
114         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
115         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
116         file.
117         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
118         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
119         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
120         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
121
122         * sysdeps/aarch64/shlib-versions: Move to ...
123         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
124         * sysdeps/alpha/shlib-versions: Move to ...
125         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
126         * sysdeps/arm/shlib-versions: Move to ...
127         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
128         * sysdeps/hppa/shlib-versions: Move all contents except for
129         libgcc_s entry to ...
130         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
131         entry from ...
132         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
133         * sysdeps/ia64/shlib-versions: Move to ...
134         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
135         entry from ...
136         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
137         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
138         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
139         * sysdeps/microblaze/shlib-versions: Move to ...
140         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
141         * sysdeps/mips/shlib-versions: Move to ...
142         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
143         entry from ...
144         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
145         * sysdeps/tile/shlib-versions: Move to ...
146         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
147         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
148         from ...
149         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
150         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
151         entry from ...
152         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
153
154 2014-07-17  Will Newton  <will.newton@linaro.org>
155
156         * sysdeps/arm/bits/atomic.h
157         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
158         (__arch_compare_and_exchange_bool_16_int): Likewise.
159         (__arch_compare_and_exchange_bool_64_int): Likewise.
160
161         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
162         into an #else block.
163
164 2014-07-16  Roland McGrath  <roland@hack.frob.com>
165
166         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
167         just Linux configurations.  Test empirically that the compiler sets
168         __ARM_EABI__, rather than using the tuple to decide.
169         * sysdeps/arm/preconfigure: Regenerated.
170         * sysdeps/unix/sysv/linux/arm/configure: File removed.
171         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
172         contents appended ...
173         * sysdeps/arm/configure.ac: ... here.
174         * sysdeps/arm/configure: Regenerated.
175
176 2014-07-15  Roland McGrath  <roland@hack.frob.com>
177
178         * nptl/pthread_kill.c: New file.
179         * nptl/pthread_sigmask.c: New file.
180         * nptl/pthread_sigqueue.c: New file.
181
182         * sysdeps/nptl/lowlevellock.h: New file.
183         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
184         * sysdeps/nptl/lowlevellock-futex.h: New file.
185
186         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
187         Remove dead declarations.
188
189 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
190
191         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
192         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
193         config-cflags-avx2.
194         * sysdeps/x86_64/configure.ac: Likewise.
195         * sysdeps/i386/configure: Regenerated.
196         * sysdeps/x86_64/configure: Likewise.
197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
198         memset-avx2 only if config-cflags-avx2 is yes.
199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
200         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
201         defined.
202         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
203         only if HAVE_AVX2_SUPPORT is defined.
204         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
205
206 2014-07-14  Alan Modra  <amodra@gmail.com>
207
208         [BZ #17153]
209         * elf/elf.h (DT_PPC64_NUM): Correct value.
210         * NEWS: Add to fixed bug list.
211
212 2014-07-13  Jim Meyering  <meyering@fb.com>
213
214         [BZ 17150]
215         regex: don't deref NULL upon heap allocation failure
216         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
217         failure in one more place.
218         To trigger the segfault, configure grep -with-included-regex,
219         build it, and run these commands:
220         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
221
222 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
223
224         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
225
226 2014-07-11  Richard Henderson  <rth@redhat.com>
227
228         * sysdeps/aarch64/libm-test-ulps: Update.
229
230 2014-07-10  Florian Weimer  <fweimer@redhat.com>
231
232         [BZ #17135]
233         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
234         * nptl/allocatestack.c (__nptl_setxid_error): New function.
235         (__nptl_setxid): Initialize error member.  Call
236         __nptl_setxid_error.
237         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
238         * nptl/descr.h (struct xid_command): Add error member.
239         * nptl/tst-setuid3.c: New file.
240         * nptl/Makefile (tests): Add it.
241
242 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
243
244         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
245         New define.
246         (__lll_trylock): Use __lll_base_trylock.
247         (__lll_cond_trylock): Likewise.
248
249 2014-07-10  Roland McGrath  <roland@hack.frob.com>
250
251         * nptl/pthread_create.c (start_thread): Use atomic_or and
252         lll_futex_wake directly rather than lll_robust_dead.
253         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
254         (lll_robust_dead): Macro removed.
255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
256         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
257         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
258         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
259         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
260         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
261         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
262         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
263         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
267         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
268         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
270
271         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
272         Use atomic_compare_and_exchange_val_acq directly rather than
273         lll_robust_trylock.
274         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
275         (__lll_robust_trylock, lll_robust_trylock): Removed.
276         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
277         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
278         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
279         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
280         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
281         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
282         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
283         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
285         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
286         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
287         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
288         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
290
291 2014-07-02  Florian Weimer  <fweimer@redhat.com>
292
293         * manual/locale.texi (Locale Names): New section documenting
294         locale name syntax.  Adjust menu and node chaining accordingly.
295         (Choosing Locale): Reference Locale Names, Locale Categories.
296         Mention setting LC_ALL=C.  Reflect that name syntax is now
297         documented.
298         (Locale Categories): New section title.  Reference Locale Names.
299         LC_ALL is an environment variable, but not a category.
300         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
301         description, now in Locale Name.  Reference that section.  Locale
302         name syntax is now documented.
303
304 2014-07-02  Florian Weimer  <fweimer@redhat.com>
305
306         [BZ #17137]
307         * locale/findlocale.c (name_present, valid_locale_name): New
308         functions.
309         (_nl_find_locale): Use the loc_name variable to store name
310         candidates.  Call name_present and valid_locale_name to check and
311         validate locale names.  Return an error if the locale is invalid.
312
313 2014-07-02  Florian Weimer  <fweimer@redhat.com>
314
315         * locale/setlocale.c (setlocale): Use strdup for allocating
316         composite name copy.
317
318 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
319
320         Sync up with gnulib.
321         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
322         [!_LIBC && ENABLE_NLS]: Include gettext.h.
323         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
324         and _GL_ARG_NONNULL.
325         [USE_UNLOCKED_IO]: Include unlocked-io.h.
326         [!_LIBC]: Include code for Windows and Cygwin.
327         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
328         Include prototype for int strerror_r.
329         [!_LIBC] (is_open): New function.
330         (flush_stdout): New function.
331         (print_errno_message): Use it.
332         (error): Likewise.
333         (error_at_line): Likewise.
334         (error_tail) Add function attribute macros.  Use
335         __builtin_expect.
336
337         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
338
339         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
340
341         * io/ftw.c: Include sys/param.h unconditionally.
342
343         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
344
345         [BZ #17125]
346         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
347         libc_freeres_ptr.
348         (freecache): New function to free CACHE on exit.
349
350         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
351         initialization.
352
353 2014-07-09  David S. Miller  <davem@davemloft.net>
354
355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
356
357         * sysdeps/sparc/nptl/internaltypes.h: Delete.
358         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
359         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
360         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
361         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
362         * sysdeps/sparc/nptl/sem_init.c: Likewise.
363         * sysdeps/sparc/nptl/sem_post.c: Likewise.
364         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
365         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
366         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
367         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
368         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
369         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
370
371 2014-07-09  Andreas Schwab  <schwab@suse.de>
372
373         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
374         output.
375         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
376         (do_test): Likewise.
377
378         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
379
380 2014-07-09  Will Newton  <will.newton@linaro.org>
381
382         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
383         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
384         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
385         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
386         * sysdeps/hppa/start.S (_start): Likewise.
387
388 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
389
390         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
391
392         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
393         defined.
394
395 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
396
397         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
398         after checking that it is non-NULL.
399
400         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
401
402 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
403
404         * sysdeps/powerpc/memmove.c: Remove file.
405         * sysdeps/powerpc/powerpc32/power4/memcopy.h
406         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
407         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
408         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
410         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
411         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
412         string memmove instead of removed powerpc one.
413
414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
415         [weak_alias]: Fix compiler warning due trailing data.
416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
417         [weak_alias]: Likewise.
418         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
419         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
420
421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
422         (__libc_ifunc_impl_list): Add memmove functions.
423
424 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
425
426         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
427         Remove code.
428         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
429         Likewise
430         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
431         Likewise
432         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
433         Likewise
434         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
435         Likewise
436         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
437         Likewise
438         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
439         Likewise
440         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
441         Likewise
442         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
443         Likewise
444         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
445         Likewise
446         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
447         Likewise
448         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
449         Likewise
450         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
451         Likewise
452         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
453         Likewise
454         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
455         Likewise
456         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
457         Likewise
458         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
459         Likewise
460
461 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
462
463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
464         to avoid alignment traps in non-cacheable memory.
465         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
466
467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
468         multiarch objects.
469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
470         file: multiarch power7 memmove.
471         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
472         multiarch default memmove.
473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
474         multiarch memove for powerpc32/power4.
475
476         * string/bcopy.c: Use full path to include memmove.c.
477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
478         multiarch objects.
479         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
480         bcopy for powerpc64.
481         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
482         bcopy for powerpc64.
483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
484         and memmove implementations.
485         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
486         optimized multiarch memmove for POWER7/powerpc64.
487         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
488         default multiarch memmove for powerpc64.
489         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
490         multiarch for powerpc64.
491         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
492         for POWER7/powerpc64.
493         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
494         memmove for POWER7/powerpc64.
495
496         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
497         glibc default one.
498
499         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
500         __ELF_NATIVE_CLASS equal to 64.
501
502 2014-07-07  Roland McGrath  <roland@hack.frob.com>
503
504         * sysdeps/nptl/lowlevellock.h: File removed.
505
506         * NEWS: NPTL is no longer an add-on!
507         * nptl/internaltypes.h: Moved ...
508         * sysdeps/nptl/internaltypes.h: ... here.
509         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
510         * sysdeps/nptl/fork.c: Likewise.
511         * sysdeps/nptl/gai_misc.h: Likewise.
512         * sysdeps/nptl/librt-cancellation.c: Likewise.
513         * sysdeps/nptl/jmp-unwind.c: Likewise.
514         * sysdeps/nptl/setxid.h: Likewise.
515         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
516         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
517         * sysdeps/unix/sysv/linux/arm/Implies: New file.
518         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
519         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
520         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
521         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
522         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
523         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
524         * sysdeps/unix/sysv/linux/mips/Implies: New file.
525         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
526         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
527         * sysdeps/unix/sysv/linux/sh/Implies: New file.
528         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
529         * sysdeps/unix/sysv/linux/tile/Implies: New file.
530         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
531         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
532         * nptl/Makeconfig: Moved ...
533         * sysdeps/nptl/Makeconfig: ... here.
534         * nptl/configure: File removed.
535         * nptl/ANNOUNCE: File removed.
536         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
537         * sysdeps/unix/sysv/linux/configure: Regenerated.
538
539         * nptl/Makefile (routines): Add libc_pthread_init,
540         libc_multiple_threads, register-atfork and unregister-atfork.
541         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
542         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
543         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
544         pthread-pi-defines.sym, structsem.sym.
545         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
546         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
547         [$(subdir) = nptl] (tests): Add tst-setgetname.
548         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
549         * sysdeps/unix/sysv/linux/sigaction.c: Just include
550         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
551         [!LIBC_SIGACTION]: Remove aliases.
552         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
553         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
554         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
555         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
556         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
558         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
561         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
562         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
563         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
564         __libc_allocate_rtsig_private.
565         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
566         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
567         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
568         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
569         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
570         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
571         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
572         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
573         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
574         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
575         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
576         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
577         * nptl/internaltypes.h: ... here.
578         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
579         * sysdeps/nptl/jmp-unwind.c: ... here.
580         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
581         * nptl/libc-lowlevellock.c: ... here.
582         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
583         * nptl/libc_multiple_threads.c: ... here.
584         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
585         * nptl/libc_pthread_init.c: ... here.
586         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
587         * nptl/lowlevelbarrier.sym: ... here.
588         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
589         * nptl/lowlevelcond.sym: ... here.
590         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
591         * nptl/lowlevellock.c: ... here.
592         * nptl/lowlevellock.h: Moved ...
593         * sysdeps/nptl/lowlevellock.h: ... here.
594         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
595         * nptl/lowlevelrobustlock.c: ... here.
596         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
597         * nptl/lowlevelrobustlock.sym: ... here.
598         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
599         * nptl/lowlevelrwlock.sym: ... here.
600         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
601         * nptl/pt-fork.c: ... here.
602         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
603         * nptl/pthread-pi-defines.sym: ... here.
604         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
605         * nptl/pthread_attr_getaffinity.c: ... here.
606         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
607         * nptl/pthread_attr_setaffinity.c: ... here.
608         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
609         * nptl/pthread_mutex_cond_lock.c: ... here.
610         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
611         Update #include.
612         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
613         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
614         * nptl/pthread_once.c: ... here, replacing old file.
615         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
616         * nptl/pthread_yield.c: ... here.
617         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
618         * nptl/register-atfork.c: ... here.
619         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
620         * nptl/sem_post.c: ... here.
621         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
622         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
623         * nptl/sem_timedwait.c: ... here.
624         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
625         * nptl/sem_trywait.c: ... here.
626         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
627         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
628         * nptl/sem_wait.c: ... here.
629         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
630         * nptl/structsem.sym: ... here.
631         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
632         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
633         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
634         * nptl/unregister-atfork.c: ... here.
635         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
636         * nptl/unwindbuf.sym: ... here.
637         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
638         * sysdeps/nptl/fork.c: ... here.
639         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
640         * sysdeps/nptl/fork.h: ... here.
641         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
642         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
643         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
644         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
645         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
646         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
647         * sysdeps/unix/sysv/linux/getpid.c: ... here.
648         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
649         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
650         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
651         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
652         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
653         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
654         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
655         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
656         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
657         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
658         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
659         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
660         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
661         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
662         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
663         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
664         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
665         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
666         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
667         * sysdeps/unix/sysv/linux/raise.c: ... here.
668         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
669         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
670         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
671         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
672         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
673         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
674         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
675         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
676         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
677         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
678         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
679         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
680         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
681         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
682         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
683
684 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
685
686         * sysdeps/generic/memcopy.h: Add comment for
687         MEMCPY_OK_FOR_FWD_MEMMOVE.
688
689 2014-07-04  Will Newton  <will.newton@linaro.org>
690
691         * string/memchr.c: Merge from gnulib.
692         [_LIBC]: Remove conditionals.
693         (__ptr_t): Remove define.
694         (LONG_MAX_32_BITS): Likewise.
695         (LONG_MAX): Likewise.
696         (MEMCHR): Use ANSI prototype and optimize algorithm.
697
698         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
699
700 2014-07-03  Roland McGrath  <roland@hack.frob.com>
701
702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
703         (lll_futex_timed_wait_bitset): Fix syscall argument count.
704
705         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
706         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
707         in a bare environment with no <stdlib.h> installed.
708         * sysdeps/nptl/configure: Regenerated.
709
710         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
711
712         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
713         AC_EGREP_CPP for kernel header checks, so they only succeed if
714         including <linux/version.h> actually works right.
715         * sysdeps/unix/sysv/linux/configure: Regenerated.
716
717         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
718         value so it's not diagnosed as unused.
719
720         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
721         thing) with "ifeq ($(subdir),rt)".
722
723 2014-07-03  Richard Henderson  <rth@redhat.com>
724
725         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
726         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
727         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
728
729         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
730         (math_force_eval): New.
731
732         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
733         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
734
735         * sysdeps/alpha/fpu/s_round.c: Remove file.
736         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
737
738         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
739         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
740         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
741         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
742         (_dl_start, print_statistics): Likewise.
743         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
744         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
745
746         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
747         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
748         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
749         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
751         (HP_SMALL_TIMING_AVAIL): Define.
752         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
754         (HP_SMALL_TIMING_AVAIL): Define.
755         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
756         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
757
758         * sysdeps/aarch64/hp-timing.h: New file.
759
760         * sysdeps/generic/hp-timing.h: Remove dead comment.
761         * sysdeps/generic/hp-timing-common.h: New file.
762         * sysdeps/alpha/hp-timing.h: Include it.
763         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
764         * sysdeps/i386/i686/hp-timing.h: Likewise.
765         * sysdeps/ia64/hp-timing.h: Likewise.
766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
767         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
768         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
769         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
770         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
771         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
772         (hp_timing_t): New.
773
774         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
775         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
776         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
777         * elf/rtld.c (_dl_start_final): Likewise.
778         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
779         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
780         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
781         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
782         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
784         (HP_TIMING_DIFF_INIT): Remove.
785         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
786         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
787         (HP_TIMING_DIFF_INIT): Remove.
788         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
789         * sysdeps/i386/i686/hp-timing.c: Remove file.
790         * sysdeps/x86_64/hp-timing.c: Remove file.
791         * sysdeps/ia64/hp-timing.c: Remove file.
792         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
793         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
795         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
796
797         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
798         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
799         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
800         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
802         (HP_TIMING_ACCUM): Remove.
803         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
805         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
806
807         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
808         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
809         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
810         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
814         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
815
816         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
817
818 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
819
820         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
821
822 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
823
824         Sync up with gettext.
825         * intl/loadmsgcat.c: Define O_BINARY if not defined.
826         [_MSC_VER]: Include malloc.h
827         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
828         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
829         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
830         TEMP_FAILURE_RETRY.  Cast return of alloca.
831         [!_LIBC] Call gl_rwlock_init.
832         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
833
834 2014-07-02  Roland McGrath  <roland@hack.frob.com>
835
836         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
837         before checking its value.
838
839 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
840
841         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
842
843         * debug/memcpy_chk.c: Don't include pagecopy.h.
844         * debug/mempcpy_chk.c: Likewise.
845         * string/memcpy.c: Likewise.
846         * string/memmove.c: Likewise.
847         * sysdeps/powerpc/memmove.c: Likewise.
848         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
849         definition of PAGE_COPY_FWD_MAYBE here...
850         * sysdeps/generic/pagecopy.h: ... from here.
851         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
852
853 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
854             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
855
856         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
858         optimizations.
859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
860         (__libc_ifunc_impl_list): Likewise.
861         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
862         multiarch strcat for PPC64.
863         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
864         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
865
866 2014-07-02  Roland McGrath  <roland@hack.frob.com>
867
868         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
869
870 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
871
872         * intl/loadmsgcat.c: Remove declaration of
873         get_sysdep_segment_value.
874         (get_sysdep_segment_value): Use ISO C style.
875         (_nl_load_domain): Use ISO C style.  Get rid of redundant
876         semicolon.  Fix typo and formatting in comment.
877         (_nl_unload_domain): Use ISO C style.
878
879         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
880
881 2014-07-02  Will Newton  <will.newton@linaro.org>
882
883         * malloc/obstack.c: Merge from gnulib master.
884         [HAVE_CONFIG_H]: Remove conditional code.
885         [!_LIBC]: Include config.h.
886         [!ELIDE_CODE]: Don't include inttypes.h, include
887         stdint.h unconditionally.
888         (print_and_abort): Mark as _Noreturn.
889         (_obstack_allocated_p): Mark as __attribute_pure__.
890         (obstack_free): Rename to __obstack_free.
891         [!__attribute__]: Remove conditional code.
892         * malloc/obstack.h: Merge from gnulib master.
893         [__cplusplus]: Move conditional down.
894         [!__attribute_pure__]: Define __attribute_pure__ here
895         if it is not already defined.
896         (_obstack_memory_used): Mark as __attribute_pure__.
897         [!__obstack_free]: Define as obstack_free.
898         [__GNUC__]: Remove check for ancient NeXT gcc.
899
900 2014-07-02  Will Newton  <will.newton@linaro.org>
901             Paul Eggert  <eggert@cs.ucla.edu>
902
903         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
904
905 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
906
907         * resolv/gethnamaddr.c: Add comment warning that the file is
908         not maintained.
909
910 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
911
912         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
913         entries.
914
915         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
916         entry for aio_cancel and aio_cancel64.
917         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
918         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
919         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
920         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
921         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
922         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
923         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
924         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
925         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
926         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
927         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
928         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
929         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
930
931 2014-07-01  Roland McGrath  <roland@hack.frob.com>
932
933         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
934         * nptl/pthread_mutex_lock.c: Likewise.
935         * nptl/pthread_mutex_timedlock.c: Likewise.
936         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
937
938 2014-07-01  Richard henderson  <rth@redhat.com>
939
940         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
941         (__isnan, __isnanl): Remove.
942         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
943
944         * sysdeps/alpha/fpu/libm-test-ulps: Update.
945
946 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
947
948         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
949
950 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
951
952         * resolv/nss_dns/dns-host.c (getanswer_r)
953         [MULTI_PTRS_ARE_ALIASES]: Remove code.
954
955 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
956
957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
958         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
959         undefine.
960         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
961         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
962
963 2014-07-01  Roland McGrath <roland@hack.frob.com>
964
965         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
966         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
967
968         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
969         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
970
971         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
972         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
973         ... here.
974         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
975         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
976
977         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
978         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
979         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
980         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
981
982         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
983         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
984         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
985         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
986         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
987         Moved ...
988         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
989         ... here.
990         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
991         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
992         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
993         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
994         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
995         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
996         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
997         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
998         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
999         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1000         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1001         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1002         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1003         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1005         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1007         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1008         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1009         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1010         ... here.
1011         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1012         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1013         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1014         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1016         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1017         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1018         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1019
1020 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1021
1022         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1023         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1024         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1025         Add sysdep.
1026
1027 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1028
1029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1030
1031 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1032
1033         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1034         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1035
1036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1037
1038         * sysdeps/arm/libm-test-ulps: Regenerated.
1039
1040 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1041             Roland McGrath <roland@hack.frob.com>
1042
1043         * test-skeleton.c (signal_handler): Kill the whole process group
1044         before killing the child individually.
1045         (main): Report any failure on `setpgid'.
1046
1047 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1048
1049         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1050         from _TLS_H to _ARM_NPTL_TLS_H.
1051         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1052         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1053
1054 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1055
1056         [BZ #16539]
1057         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1058         (__expm1l): Return argument unchanged when small but not
1059         subnormal.
1060
1061         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1062         include macro name.
1063         (_FP_UNPACK_RAW_1_P): Likewise.
1064         (_FP_PACK_RAW_1): Likewise.
1065         (_FP_PACK_RAW_1_P): Likewise.
1066         (_FP_MUL_MEAT_1_wide): Likewise.
1067         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1068         (_FP_MUL_MEAT_1_hard): Likewise.
1069         (_FP_DIV_MEAT_1_imm): Likewise.
1070         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1071         (_FP_DIV_MEAT_1_udiv): Likewise.
1072         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1073         (_FP_UNPACK_RAW_2): Likewise.
1074         (_FP_UNPACK_RAW_2_P): Likewise.
1075         (_FP_PACK_RAW_2): Likewise.
1076         (_FP_PACK_RAW_2_P): Likewise.
1077         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1078         (_FP_MUL_MEAT_2_wide): Likewise.
1079         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1080         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1081         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1082         (_FP_MUL_MEAT_2_gmp): Likewise.
1083         (_FP_DIV_MEAT_2_udiv): Likewise.
1084         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1085         (_FP_FRAC_SRL_4): Likewise.
1086         (_FP_FRAC_SRST_4): Likewise.
1087         (_FP_FRAC_SRS_4): Likewise.
1088         (_FP_UNPACK_RAW_4): Likewise.
1089         (_FP_UNPACK_RAW_4_P): Likewise.
1090         (_FP_PACK_RAW_4): Likewise.
1091         (_FP_PACK_RAW_4_P): Likewise.
1092         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1093         (_FP_MUL_MEAT_4_wide): Likewise.
1094         (_FP_MUL_MEAT_4_gmp): Likewise.
1095         (umul_ppppmnnn): Likewise.
1096         (_FP_DIV_MEAT_4_udiv): Likewise.
1097         (__FP_FRAC_ADD_4): Likewise.
1098         (__FP_FRAC_SUB_3): Likewise.
1099         (__FP_FRAC_SUB_4): Likewise.
1100         (__FP_FRAC_DEC_3): Likewise.
1101         (__FP_FRAC_DEC_4): Likewise.
1102         (__FP_FRAC_ADDI_4): Likewise.
1103         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1104         (_FP_FRAC_SRL_8): Likewise.
1105         (_FP_FRAC_SRS_8): Likewise.
1106
1107         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1108         include macro name.
1109         (FP_UNPACK_RAW_EP): Likewise.
1110         (FP_PACK_RAW_E): Likewise.
1111         (FP_PACK_RAW_EP): Likewise.
1112         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1113         (_FP_ISSIGNAN): Likewise.
1114         (_FP_ADD_INTERNAL): Likewise.
1115         (_FP_FMA): Likewise.
1116         (_FP_CMP): Likewise.
1117         (_FP_SQRT): Likewise.
1118         (_FP_TO_INT): Likewise.
1119         (_FP_FROM_INT): Likewise.
1120         (FP_EXTEND): Likewise.
1121         (_FP_DIV_MEAT_N_loop): Likewise.
1122
1123 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1124
1125         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1126         throughout.
1127
1128 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1129
1130         [BZ #17097]
1131         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1132         result with correct sign in case of exponents that produce
1133         overflow except for X very close to 1.
1134
1135 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1136
1137         mktime: merge #if/#ifdef usage from glibc
1138         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1139         as that works with both Glibc's and Gnulib's style.
1140         See thread starting at Siddhesh Poyarekar's bug report at:
1141         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1142
1143 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1144
1145         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1146         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1147         * sysdeps/tile/tilegx/memmove.c: Remove file.
1148
1149 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1150
1151         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1152         abi-name definition.
1153         * scripts/soversions.awk: Do not handle or generate ABI lines.
1154         * shlib-versions: Remove ABI entries.
1155         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1156         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1157
1158 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1159
1160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1161         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1162         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1163         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1165         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1167         Moved ...
1168         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1169         ... here.
1170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1173         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1175         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1177         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1181         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1183         Moved ...
1184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1186         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1188         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1190         Moved ...
1191         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1193         Moved ...
1194         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1196         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1198         Moved ...
1199         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1201         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1203         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1205         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1207         Moved ...
1208         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1210         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1212         Moved ...
1213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1215         Moved ...
1216         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1218         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1220         Moved ...
1221         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1222         ... here.
1223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1224         Identical file removed.
1225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1226         Moved ...
1227         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1229         Identical file removed.
1230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1233         Moved ...
1234         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1236         Identical file removed.
1237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1238         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1240         Identical file removed.
1241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1242         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1244         Identical file removed.
1245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1246         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1248         Identical file removed.
1249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1250         Moved ...
1251         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1253         Identical file removed.
1254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1255         Moved ...
1256         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1258         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1259         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1260         Identical file removed.
1261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1262         Moved ...
1263         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1264         ... here.
1265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1266         Identical file removed.
1267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1268         Moved ...
1269         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1271         Identical file removed.
1272         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1273         Moved ...
1274         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1276         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1278         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1280         Moved ...
1281         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1282         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1283         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1284
1285         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1286         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1287         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1288         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1289         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1290
1291 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1292
1293         [BZ #17092]
1294         * nscd/nscd.c (monitor_child): Return exit status of child
1295         instead of return value from wait syscall.
1296
1297 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1298
1299         * configure.ac (libc_commonpagesize): Remove variable.
1300         (libc_relro_required): Likewise.
1301         (libc_cv_z_relro): Remove configure test.
1302         * configure: Regenerated.
1303         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1304         variable.
1305         (libc_relro_required): Likewise.
1306         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1307         (libc_relro_required): Likewise.
1308         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1309         (libc_relro_required): Likewise.
1310         * sysdeps/arm/preconfigure: Regenerated.
1311         * sysdeps/ia64/preconfigure: Remove file.
1312         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1313         variable.
1314         (libc_relro_required): Likewise.
1315
1316         [BZ #16561]
1317         [BZ #16562]
1318         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1319         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1320         recompute overflowing results in original rounding mode.
1321         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1322         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1323         recompute overflowing results in original rounding mode.
1324         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1325         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1326         recompute overflowing results in original rounding mode.
1327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1328         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1329         recompute overflowing results in original rounding mode.
1330         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1331         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1332         recompute overflowing results in original rounding mode.
1333         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1334         (libc_feholdsetround_ctx): New macro.
1335         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1336         * sysdeps/i386/fpu/libm-test-ulps: Update.
1337         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1338
1339 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1340
1341         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1342         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1343         corresponding .cpsetup call.
1344
1345 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1346
1347         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1348         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1349         * sysdeps/arm/Makefile [$(subdir) = csu]
1350         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1351         (static-only-routines): Add aeabi_read_tp here.
1352         (shared-only-routines): Add libc-aeabi_read_tp here.
1353         (CFLAGS-libc-start.c): Add -fexceptions here.
1354         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1355         (sysdep_routines, static-only-routines, shared-only-routines):
1356         Don't add to these here.
1357         (CFLAGS-libc-start.c): Likewise.
1358
1359         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1360         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1361         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1362         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1363         * sysdeps/arm/Makefile [$(subdir) = rt]
1364         (librt-sysdep_routines, librt-shared-only-routines):
1365         Append rt-aeabi_unwind_cpp_pr1 here.
1366         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1367         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1368         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1369         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1370         Append nptl-aeabi_unwind_cpp_pr1 here.
1371         (tests): Filter out tst-cleanupx4 here.
1372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1373         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1374         Don't do those here.
1375
1376 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1377
1378         * scripts/list-sources.sh: Do not handle ports specially.
1379
1380 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1381
1382         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1383         * sysdeps/arm/feupdateenv.c: Likewise.
1384
1385         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1386
1387 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1388
1389         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1390         trailing whitespace removed.
1391         * scripts/config.guess: Update to version 2014-03-23.
1392         * scripts/config.sub: Update to version 2014-05-01
1393         * scripts/install-sh: Update to version 2013-12-25.23.
1394         * scripts/move-if-change: Update from gnulib.
1395
1396 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1397
1398         * debug/memmove_chk.c: Remove pagecopy.h include.
1399
1400 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1401
1402         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1403         identical to gnulib mktime.
1404
1405 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1406
1407         * configure.ac: Do not test for machine being rs6000.  Do not test
1408         for powerpc*-*soft.
1409         * configure: Regenerated.
1410
1411         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1412         test.
1413         * configure: Regenerated.
1414         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1415         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1416         Remove configure test.
1417         * sysdeps/arm/configure: Regenerated.
1418         * sysdeps/nptl/configure.ac: Do not check
1419         libc_cv_asm_cfi_directives.
1420         * sysdeps/nptl/configure: Regenerated.
1421         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1422         * sysdeps/x86_64/nptl/configure: Remove generated file.
1423         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1424         unconditional.
1425         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1426
1427 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1428
1429         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1430         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1431         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1432         it is defined.
1433
1434         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1435         instead of whether it is defined.
1436         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1437         * sysdeps/hppa/dl-machine.h: Likewise.
1438         * sysdeps/ia64/dl-machine.h: Likewise.
1439         * sysdeps/m68k/dl-machine.h: Likewise.
1440         * sysdeps/microblaze/dl-machine.h: Likewise.
1441         * sysdeps/mips/dl-machine.: Likewise.
1442         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1443         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1444         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1445         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1446         * sysdeps/sh/dl-machine.h: Likewise.
1447         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1448         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1449         * sysdeps/tile/dl-machine.h: Likewise.
1450         * sysdeps/x86_64/dl-machine.h: Likewise.
1451
1452         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1453         code.
1454         (verify_persistent_db): Likewise.
1455
1456 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1457
1458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1459         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1461         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1463         Moved ...
1464         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1465         ... here.
1466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1467         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1469         Identical file removed.
1470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1471         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1473         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1479         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1481         Moved ...
1482         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1486         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1488         Moved ...
1489         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1491         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1493         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1495         Identical file removed.
1496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1497         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1499         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1503         ... here.
1504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1505         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1507         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1511         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1515         Moved ...
1516         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1518         Moved ...
1519         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1521         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1523         Moved ...
1524         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1526         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1527
1528         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1529         folded into ...
1530         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1531         * sysdeps/unix/sysv/linux/s390/Versions
1532         (libpthread: GLIBC_2.19): New version set.
1533         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1534         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1535         (librt: GLIBC_2.3.3): New version set.
1536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1537         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1538         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1539         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1540         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1541         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1542         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1543         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1544         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1545         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1546         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1547         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1548         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1549         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1550         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1551         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1552         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1553         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1554         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1555         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1556         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1557         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1558         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1559         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1560         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1561         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1562         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1564         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1566         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1567         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1571         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1572         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1573         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1574         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1576         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1578         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1580         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1581
1582         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1583         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1584         (__libc_vfork): Define the function under this name.
1585         [!NOT_IN_libc] (__vfork): Make this an alias.
1586         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1588         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1589         (__libc_vfork): Define the function under this name.
1590         [!NOT_IN_libc] (__vfork): Make this an alias.
1591         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1592         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1593         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1595         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1596         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1597
1598         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1599         code that was previously under [RESET_PID].
1600         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1601         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1603
1604         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1605         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1606         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1607         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1608         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1609         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1610         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1611         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1612         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1613         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1614         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1615         Moved ...
1616         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1622         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1623         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1628         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1629         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1638         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1640         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1641         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1642         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1644         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1645
1646 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1647
1648         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1649         that was previously under [RESET_PID].
1650         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1651
1652 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1653
1654         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1655         not undefine and redefine.
1656         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1657         [O_CLOEXEC]: Make code unconditional.
1658         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1659         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1660         <kernel-features.h>.
1661         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1662         conditional variable definition.
1663         (shm_open) [O_CLOEXEC]: Make code unconditional.
1664         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1665         code.
1666
1667         * configure.ac (USE_REGPARMS): Don't define here.
1668         * configure: Regenerated.
1669         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1670         * sysdeps/i386/configure: Regenerated.
1671
1672         * nptl/createthread.c: Don't include kernel-features.h.
1673         * nptl/pthread_cancel.c: Likewise.
1674         * nptl/pthread_condattr_setclock.c: Likewise.
1675         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1676         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1677         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1678         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1679         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1680         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1684         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1685         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1686         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1687         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1688         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1689         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1690         * nscd/gai.c: Likewise.
1691         * nss/nss_db/db-open.c: Likewise.
1692         * sysdeps/generic/ldsodefs.h: Likewise.
1693         * sysdeps/sh/nptl/tls.h: Likewise.
1694         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1695         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1696         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1697         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1699         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1700         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1701         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1703         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1704         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1705         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1706         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1707         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1708         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1709         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1710         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1711         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1712         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1713         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1714         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1716         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1717         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1719         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1722         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1723         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1724         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1725         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1726         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1727         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1728         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1729         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1730         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1731         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1732         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1733         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1734         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1735         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1736         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1737         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1738         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1739         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1740         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1741         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1742         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1743         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1744         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1745         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1746         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1747         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1748         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1749         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1750         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1751         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1774         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1775         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1776         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1777         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1778         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1779         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1780         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1781         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1782         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1783         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1784         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1785         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1786         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1787         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1788         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1789         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1791         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1792         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1793         * sysdeps/unix/sysv/linux/system.c: Likewise.
1794         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1795         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1796         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1797         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1798         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1799         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1800         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1801
1802         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1803         * configure: Regenerated.
1804         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1805
1806         * configure.ac (base_machine): Do not set specially for particular
1807         machines here.
1808         * configure: Regenerated.
1809         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1810         settings from configure.ac.
1811         * sysdeps/i386/preconfigure: New file.
1812         * sysdeps/s390/preconfigure: Likewise.
1813         * sysdeps/sh/preconfigure: Likewise.
1814         * sysdeps/sparc/preconfigure: Likewise.
1815
1816 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1817
1818         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1819         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1820         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1821         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1822         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1823         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1824         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1825         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1826         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1827         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1828         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1829         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1830         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1831         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1832         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1835         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1836         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1837
1838         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1839         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1840         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1841         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1842         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1843         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1844         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1845         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1846         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1847         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1848         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1849         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1850         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1851         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1852         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1853         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1854         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1855         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1856         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1857         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1858         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1859         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1860         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1861         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1862         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1863         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1864         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1865         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1866         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1867         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1868         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1869         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1870         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1871         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1872         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1873         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1875         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1876
1877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1878         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1882         Moved ...
1883         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1884         ... here.
1885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1886         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1897         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1899         Moved ...
1900         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1902         Moved ...
1903         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1905         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1907         Moved ...
1908         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1912         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1914         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1918         Moved ...
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1920         ... here.
1921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1926         Moved ...
1927         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1931         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1933         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1935         Moved ...
1936         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1938         Moved ...
1939         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1943         Moved ...
1944         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1948         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1949
1950 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1951
1952         * timezone/checktab.awk: Update from tzcode 2014e.
1953         * timezone/private.h: Likewise.
1954         * timezone/tzfile.h: Likewise.
1955         * timezone/zdump.c: Likewise.
1956         * timezone/zic.c: Likewise.
1957
1958         * sysdeps/unix/sysv/linux/kernel-features.h
1959         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1960         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1961         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1962         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1963         Remove conditional code.
1964
1965 2014-06-25  Will Newton  <will.newton@linaro.org>
1966
1967         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1968         (_dl_arm_cap_flags): Add HWCAP2 values.
1969         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1970         (_DL_HWCAP_COUNT): Increase to 37.
1971         (_DL_HWCAP_LAST): New define.
1972         (_DL_HWCAP2_LAST): New define.
1973         (_dl_procinfo): Add support for printing
1974         AT_HWCAP2 entries.
1975         (_dl_string_hwcap): Use _dl_hwcap_string.
1976
1977 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1978
1979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1980
1981 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1982
1983         * README: Do not mention ports directory.
1984
1985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1986         Remove macro.
1987         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1988         <kernel-features.h>.
1989         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1990         conditional variable definition.
1991         (__futimes): Update comment.
1992         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1993         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1994
1995         [BZ #16560]
1996         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1997         arguments close to 0.
1998         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1999         Likewise.
2000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2001         Likewise.
2002         * math/auto-libm-test-in: Add more tests of exp10.
2003         * math/auto-libm-test-out: Regenerated.
2004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2005
2006         * sysdeps/unix/sysv/linux/kernel-features.h
2007         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2008         * sysdeps/unix/sysv/linux/readv.c: Do not include
2009         <kernel-features.h>.
2010         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2011         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2012         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2013         unconditional.
2014         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2015         conditional code.
2016         * sysdeps/unix/sysv/linux/writev.c: Do not include
2017         <kernel-features.h>.
2018         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2019         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2020         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2021         unconditional.
2022         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2023         conditional code.
2024
2025 2014-06-25  Will Newton  <will.newton@linaro.org>
2026
2027         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2028         comment changes throughout the file.  Remove checks
2029         for HAVE_*_H definitions that are not required.
2030         (__gen_tempname): Call abort if an unknown kind value is
2031         passed.
2032
2033 2014-06-25  Andreas Schwab  <schwab@suse.de>
2034
2035         [BZ #17086]
2036         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2037         scalbln, scalblnf, scalblnl in libc.
2038
2039 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2040
2041         [BZ #17086]
2042         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2043         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2044         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2045
2046 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2047
2048         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2049         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2050         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2051         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2052         Update #include.
2053         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2054         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2055         Update #include.
2056         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2057         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2058         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2059         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2060         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2061         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2062         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2063         * sysdeps/x86/bits/semaphore.h: ... here.
2064         * sysdeps/x86/nptl/elide.h: Moved ...
2065         * sysdeps/x86/elide.h: ... here.
2066         * sysdeps/x86_64/nptl/Implies: File removed.
2067         * sysdeps/i386/nptl/Implies: File removed.
2068
2069 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2070
2071         [BZ #16539]
2072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2073         return the argument for normal arguments with exponent below -64.
2074         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2075         Likewise.
2076         * math/auto-libm-test-in: Add another test of expm1.
2077         * math/auto-libm-test-out: Regenerated.
2078
2079         [BZ #16287]
2080         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2081         calling __erfcl for arguments at least 16.
2082         * math/auto-libm-test-in: Add more tests of erf.
2083         * math/auto-libm-test-out: Regenerated.
2084
2085         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2086         individual architectures.
2087         * sysdeps/unix/sysv/linux/configure: Regenerated.
2088         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2089         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2090         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2091         (ldd_rewrite_script): Define variable.
2092         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2094         file.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2096         generated file.
2097         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2098         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2099         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2100         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2101         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2102         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2103         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2104         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2105
2106 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2107
2108         [BZ #17084]
2109         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2110         Rename member __data.d to __data.__elision_data.
2111
2112 2014-06-24  Wilco  <wdijkstr@arm.com>
2113
2114         * NEWS: Add 16918 to fixed bug list.
2115
2116 2014-06-24  Wilco  <wdijkstr@arm.com>
2117
2118         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2119
2120 2014-06-24  Wilco  <wdijkstr@arm.com>
2121
2122         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2123         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2124         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2125         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2126         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2127         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2128         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2129         Use _FPU_MASK_RM.
2130
2131 2014-06-24  Wilco  <wdijkstr@arm.com>
2132
2133         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2134
2135 2014-06-24  Wilco  <wdijkstr@arm.com>
2136
2137         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2138         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2139         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2140         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2141
2142 2014-06-24  Wilco  <wdijkstr@arm.com>
2143
2144         [BZ #16918]
2145         * sysdeps/arm/feupdateenv.c (feupdateenv):
2146         Rewrite to reduce FPSCR accesses and fix return value.
2147
2148 2014-06-24  Wilco  <wdijkstr@arm.com>
2149
2150         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2151         Optimize to avoid unnecessary FPSCR writes.
2152         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2153         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2154         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2155         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2156
2157 2014-06-24  Wilco  <wdijkstr@arm.com>
2158
2159         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2160         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2161         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2162         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2163         Call libc_fetestexcept_vfp.
2164         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2165         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2166         __SOFTFP__ ifdef so that they can be built for softfp.
2167
2168 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2169
2170         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2171         argument type signed char.
2172
2173         * Makerules (check-abi): Dump diff of symlist if the test
2174         fails.
2175
2176 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2177
2178         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2179         using abort.
2180
2181         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2182         Remove unused variable ST.
2183
2184 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2185
2186         [BZ #16354]
2187         [BZ #17061]
2188         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2189         small arguments before calling __expm1.
2190         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2191         small arguments before calling __expm1f.
2192         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2193         small arguments before calling __expm1l.
2194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2195         Likewise.
2196         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2197         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2198         spurious underflow for some cosh tests.
2199         * math/auto-libm-test-out: Regenerated.
2200         * sysdeps/i386/fpu/libm-test-ulps: Update.
2201
2202         [BZ #17050]
2203         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2204         (__ieee754_y1): Set errno if return value overflows.
2205         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2206         (__ieee754_y1f): Set errno if return value overflows.
2207         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2208         (__ieee754_y1l): Set errno if return value overflows.
2209         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2210         (__ieee754_y1l): Set errno if return value overflows.
2211         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2212         * math/auto-libm-test-out: Regenerated.
2213
2214         * math/gen-auto-libm-tests.c: Document use of
2215         ignore-zero-inf-sign.
2216         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2217         (input_flags): Add ignore-zero-inf-sign.
2218         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2219         * math/gen-libm-test.pl (generate_testfile): Handle
2220         ignore-zero-inf-sign.
2221         * math/auto-libm-test-in: Mark some cpow tests with
2222         ignore-zero-inf-sign and some with xfail-rounding.
2223         * math/auto-libm-test-out: Regenerated.
2224         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2225         * sysdeps/i386/fpu/libm-test-ulps: Update.
2226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2227
2228         [BZ #16315]
2229         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2230         overflowing or underflowing operations take place with sign of
2231         result.
2232         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2233         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2234         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2235         (__ieee754_pow): Recompute overflowing and underflowing results in
2236         original rounding mode.
2237         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2238         (__powl_helper): Allow negative argument X and scale negated value
2239         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2240         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2241         overflowing or underflowing operations take place with sign of
2242         result.
2243         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2244         Include <math.h>.
2245         * math/auto-libm-test-in: Add more tests of pow.
2246         * math/auto-libm-test-out: Regenerated.
2247         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2248         (pow_tonearest_test_data): Remove.
2249         (pow_test_tonearest): Likewise.
2250         (pow_towardzero_test_data): Likewise.
2251         (pow_test_towardzero): Likewise.
2252         (pow_downward_test_data): Likewise.
2253         (pow_test_downward): Likewise.
2254         (pow_upward_test_data): Likewise.
2255         (pow_test_upward): Likewise.
2256         (main): Don't call removed functions.
2257         * sysdeps/i386/fpu/libm-test-ulps: Update.
2258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259
2260 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2261
2262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2263         Moved ...
2264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2266         Moved ...
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2269         Moved ...
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2272         Moved ...
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2275         File removed.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2277         File removed.
2278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2279         File removed.
2280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2281         File removed.
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2283         File removed.
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2285         File removed.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2287         File removed.
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2289         File removed.
2290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2291         File removed.
2292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2293         File removed.
2294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2295         File removed.
2296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2297         File removed.
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2299         Moved ...
2300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2304         ... here.
2305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2306         Moved ...
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2309         Moved ...
2310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2312         Moved ...
2313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2318         Moved ...
2319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2321         Moved ...
2322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2328         ... here.
2329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2330         Moved ...
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2333         Moved ...
2334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2335         ... here.
2336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2339         ... here.
2340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2341         Moved ...
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2343         ... here.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2348         Moved ...
2349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2355         ... here.
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2357         Moved ...
2358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2359         ... here.
2360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2361         Moved ...
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2364         Moved ...
2365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2367         Moved ...
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2370         Moved ...
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2373         Moved ...
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2375         ... here.
2376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2377         Moved ...
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2380         Moved ...
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2383         Moved ...
2384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2386         Moved ...
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2391         Moved ...
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2397         Moved ...
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2399         ... here.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2401         Moved ...
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2403         ... here.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2405         Moved ...
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2407         ... here.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2409         Moved ...
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2412         Moved ...
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2415         Moved ...
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2418         Moved ...
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2420         ... here.
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2424         ... here.
2425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2426         Moved ...
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2428         ... here.
2429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2433         Moved ...
2434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2435
2436 2014-06-23  Will Newton  <will.newton@linaro.org>
2437             Wilco  <wdijkstr@arm.com>
2438
2439         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2440         implementation.  Include get-rounding-mode.h.
2441         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2442         [!libc_feholdsetround_noex_ctx]: Define
2443         libc_feholdsetround_noex_ctx.
2444         [!libc_feholdsetround_noexf_ctx]: Define
2445         libc_feholdsetround_noexf_ctx.
2446         [!libc_feholdsetround_noexl_ctx]: Define
2447         libc_feholdsetround_noexl_ctx.
2448         (libc_feholdsetround_ctx): New function.
2449         (libc_feresetround_ctx): New function.
2450         (libc_feholdsetround_noex_ctx): New function.
2451         (libc_feresetround_noex_ctx): New function.
2452
2453 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2454
2455         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2456         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2457         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2458         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2459         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2460         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2461
2462         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2463         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2464         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2465         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2466         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2467         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2469         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2471         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2473         Moved ...
2474         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2475         ... here.
2476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2477         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2479         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2481         Moved ...
2482         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2484         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2486         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2488         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2490         Moved ...
2491         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2493         Moved ...
2494         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2496         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2500         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2501         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2502         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2503         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2504         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2505         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2507         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2509         Moved ...
2510         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2511         ... here.
2512         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2513         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2514         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2515         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2517         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2519         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2521         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2525         Moved ...
2526         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2532         Moved ...
2533         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2537         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2538
2539         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2540         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2541         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2542         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2543         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2544         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2545         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2546         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2547         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2548         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2549         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2550         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2552         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2553         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2554         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2555         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2556         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2557         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2558         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2560         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2561         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2562         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2563         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2564         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2565         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2566         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2567
2568 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2569
2570         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2571         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2572         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2573         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2574         (IPV6_PMTUDISC_INTERFACE): Likewise.
2575         (IPV6_PMTUDISC_OMIT): Likewise.
2576
2577 2014-06-23  Andreas Schwab  <schwab@suse.de>
2578
2579         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2580         Remove unused errout label.
2581
2582 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2583
2584         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2585         macro: hardware supports Vector Crypto instructions.
2586
2587 2014-06-23  Will Newton  <will.newton@linaro.org>
2588
2589         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2590         rather than __builtin_expect.
2591
2592         * elf/dl-lookup.c (undefined_msg): Remove variable.
2593         (_dl_lookup_symbol_x): Replace undefined_msg with string
2594         literal.
2595
2596         * elf/dl-lookup.c (do_lookup_unique): New function.
2597         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2598         to a separate function.
2599
2600 2014-06-23  Andreas Schwab  <schwab@suse.de>
2601
2602         [BZ #17079]
2603         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2604         before reading the next line.
2605
2606 2014-06-23  Will Newton  <will.newton@linaro.org>
2607
2608         * test-skeleton.c (signal_handler): Use printf and %m
2609         rather than perror.  Use printf rather than fprintf to
2610         stderr.  Use puts rather than fputs to stderr.
2611         (main): Likewise.
2612
2613 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2614
2615         * nscd/nscd.c (thread_info_t): Remove typedef.
2616         (thread_info): Remove variable.
2617
2618 2014-06-21  Allan McRae  <allan@archlinux.org>
2619
2620         * NEWS: Mention CVE-2014-4043.
2621
2622 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2623
2624         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2625         * nptl/smp.h: ... here.
2626
2627         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2628
2629         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2630         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2631         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2632         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2633
2634         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2635         * nptl/stack-aliasing.h: New file.
2636         * sysdeps/i386/i686/stack-aliasing.h: New file.
2637         * sysdeps/i386/i686/nptl/Makefile: File removed.
2638         * sysdeps/x86_64/stack-aliasing.h: New file.
2639         * sysdeps/x86_64/nptl/Makefile
2640         (CFLAGS-pthread_create.c): Variable removed.
2641
2642         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2643         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2644         old file.
2645         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2646         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2647         old file.
2648
2649 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2650
2651         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2652         (__ASSUME_SIGFRAME_V2): Remove macro.
2653         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2654         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2655         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2656         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2657         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2658         Declare as function.  Remove conditional macro definitions.
2659         (__default_rt_sa_restorer): Likewise.
2660         (__default_sa_restorer_v1): Remove declaration.
2661         (__default_sa_restorer_v2): Likewise.
2662         (__default_rt_sa_restorer_v1): Likewise.
2663         (__default_rt_sa_restorer_v2): Likewise.
2664         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2665         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2666         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2667
2668 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2669
2670         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2671         (libpthread-routines): Add sysdep.
2672         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2673         * sysdeps/unix/sysv/linux/sparc/Versions
2674         (libpthread: GLIBC_2.3.3): New version set.
2675         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2676         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2677         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2678         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2679         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2680         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2681         Moved ...
2682         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2683         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2684         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2685         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2686         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2687         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2688         * sysdeps/sparc/nptl/sem_init.c: ... here.
2689         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2690         * sysdeps/sparc/nptl/sem_post.c: ... here.
2691         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2692         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2693         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2694         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2695         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2696         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2697         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2698         (libpthread-routines): Add cpu_relax.
2699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2700         File removed.
2701         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2702         (librt: GLIBC_2.3.3): New version set.
2703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2704         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2705         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2706         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2709         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2711         Moved ...
2712         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2714         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2716         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2718         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2720         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2722         Moved ...
2723         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2724         Update #include.
2725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2726         Moved ...
2727         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2728         Update #include.
2729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2730         Moved ...
2731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2732         Update #include.
2733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2734         Moved ...
2735         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2736         Update #include.
2737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2738         Moved ...
2739         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2740         Update #include.
2741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2742         Moved ...
2743         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2744         Update #include.
2745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2746         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2750         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2752         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2759         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2761         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2762
2763 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2764
2765         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2766         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2767         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2768         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2769         * nscd/nscd.c: Likewise.
2770         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2771         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2772         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2773         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2774
2775         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2776         <kernel-features.h>.
2777         (init_mq_netlink): Remove conditional have_sock_cloexec
2778         definitions.  Remove code conditional on have_sock_cloexec < 0.
2779         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2780         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2781         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2782         <kernel-features.h>.
2783         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2784         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2785
2786 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2787
2788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2789         Add tests for memset_chk and memset.
2790
2791         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2792         with AVX2_Usable.
2793
2794 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2795
2796         [BZ #16046]
2797         * elf/tst-dl-iter-static.c: New file.
2798         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2799
2800         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2801         error.
2802
2803 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2804
2805         * sysdeps/unix/sysv/linux/kernel-features.h
2806         (__ASSUME_F_GETOWN_EX): Remove macro.
2807         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2808         <kernel-features.h>.
2809         (miss_F_GETOWN_EX): Remove variable or macro.
2810         (do_fcntl): Do not check miss_F_GETOWN_EX.
2811         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2812
2813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2814         Remove macro.
2815         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2816         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2817         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2818
2819         * sysdeps/unix/sysv/linux/kernel-features.h
2820         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2821         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2822         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2823         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2824
2825 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2826
2827         [BZ #17075]
2828         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2829         Fix calculation of the symbol's value.
2830         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2831         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2832         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2833         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2834         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2835         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2836         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2837         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2838         (modules-names): Add `tst-armtlsdescmod',
2839         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2840         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2841         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2842         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2843         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2844         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2845         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2846         ($(objpfx)tst-armtlsdescloc): New dependency.
2847         ($(objpfx)tst-armtlsdescextnow): Likewise.
2848         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2849         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2850         TLS scheme support.
2851         * sysdeps/arm/configure: Regenerate.
2852
2853 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2854
2855         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2856         (__atfct_seterrno_2): Likewise.
2857         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2858         <kernel-features.h>.
2859         (__ASSUME_ATFCTS): Do not undefine and redefine.
2860         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2861         (__have_atfcts): Remove conditional definition.
2862         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2863         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2864         unreachable if [__ASSUME_ATFCTS].
2865         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2866         not undefine and redefine.
2867         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2868         <kernel-features.h>.
2869         (faccessat) [__NR_faccessat]: Make code unconditional.
2870         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2871         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2872         <kernel-features.h>.
2873         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2874         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2875         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2876         <kernel-features.h>.
2877         (fchownat) [__NR_fchownat]: Make code unconditional.
2878         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2879         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2880         <kernel-features.h>.
2881         (futimesat) [__NR_futimesat]: Make code unconditional.
2882         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2883         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2884         <kernel-features.h>.
2885         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2886         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2887         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2888         <kernel-features.h>.
2889         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2890         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2891         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2892         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2893         <kernel-features.h>.
2894         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2895         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2896         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2897         <kernel-features.h>.
2898         (linkat) [__NR_linkat]: Make code unconditional.
2899         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2900         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2901         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2902         <kernel-features.h>.
2903         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2904         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2905         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2906         <kernel-features.h>.
2907         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2908         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2909         * sysdeps/unix/sysv/linux/openat.c: Do not include
2910         <kernel-features.h>.
2911         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2912         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2913         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2914         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2915         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2916         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2917         <kernel-features.h>.
2918         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2919         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2920         result of INLINE_SYSCALL directly, not via int variable.
2921         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2922         <kernel-features.h>.
2923         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2924         (renameat) [__NR_renameat]: Make code unconditional.
2925         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2926         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2927         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2928         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2929         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2930         (__ASSUME_ATFCTS): Do not undefine and redefine.
2931         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2932         <kernel-features.h>.
2933         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2934         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2935         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2936         <kernel-features.h>.
2937         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2938         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2939         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2940         (__ASSUME_ATFCTS): Do not undefine and redefine.
2941         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2942         <kernel-features.h>.
2943         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2944         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2945         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2946         <kernel-features.h>.
2947         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2948         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2949
2950 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2951
2952         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2953
2954 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2955
2956         [BZ #17069]
2957         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2958         constructed tree before returning error.
2959         * posix/bug-regexp36.c: Expand test case.
2960
2961 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2962
2963         [BZ #6803]
2964         * math/libm-test.inc (scalbln_test_date):
2965         Add errno expectations.
2966         * math/w_scalblnf.c: New File.
2967         Add wrapper which checks for setting errno to ERANGE.
2968         Add weak_alias for corresponding scalbln function.
2969         * math/w_scalbln.c: Likewise.
2970         * math/w_scalblnl.c: Likewise.
2971         * math/Makefile (libm-calls): Add w_scalbln.
2972         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2973         Remove weak_alias for corresponding scalbln function.
2974         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2978         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2979         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2980         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2981         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2982         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2983         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2984         Remove long_double_symbol for scalblnl function in libm, libc.
2985         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2986         Add wrapper which checks for setting errno to ERANGE.
2987         Add long_double_symbol for scalblnl function in libm, libc.
2988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2989         Remove long_double_symbol for scalblnl in libm.
2990         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2991         Add wrapper which checks for setting errno to ERANGE.
2992         Add long_double_symbol for scalblnl function in libm.
2993         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2994         Do not use wrapper because of own implementation.
2995
2996 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2997
2998         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2999         3 bytes for __pad1 for x32.
3000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3001
3002 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3003             H.J. Lu  <hongjiu.lu@intel.com>
3004
3005         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3006         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3007         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3008         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3009         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3010
3011 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3012
3013         [BZ #17069]
3014         * posix/regcomp.c (parse_expression): Deallocate partially
3015         constructed tree before returning error.
3016         * posix/Makefile.c (tests): Add bug-regex36.
3017         (generated): Add bug-regex36.mtrace.
3018         (tests-special): Add $(objpfx)bug-regex36-mem.out
3019         (bug-regex36-ENV): New variable.
3020         ($(objpfx)bug-regex36-mem.out): New rule.
3021         * posix/bug-regex36.c: New file.
3022
3023 2014-06-19  Will Newton  <will.newton@linaro.org>
3024
3025         * malloc/malloc.c (systrim): If extra is zero then return
3026         early.
3027
3028 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3029
3030         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3031
3032 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3033
3034         * sysdeps/aarch64/strchr.S: New file.
3035
3036 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3037
3038         [BZ #17022]
3039         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3040         from arguments -2 or below.
3041         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3042         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3043
3044 2014-06-18  Andreas Schwab  <schwab@suse.de>
3045
3046         [BZ #17062]
3047         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3048         of a bracket expr not to run off the end of the string.
3049         * posix/Makefile (tests): Add tst-fnmatch3.
3050         * posix/tst-fnmatch3.c: New file.
3051
3052 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3053
3054         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3055         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3056         [$(cross-compiling) = no]: Likewise.
3057         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3058         [$(cross-compiling) = no]: Likewise.
3059
3060 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3061
3062         [BZ #17031]
3063         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3064         double, adjusted for any remainder from the high double.
3065         * math/libm-test.inc (nearbyint): Add tests.
3066         (rint): Likewise.
3067
3068 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3069
3070         * nptl/sysdeps/powerpc/Makefile: Moved ...
3071         * sysdeps/powerpc/nptl/Makefile: ... here.
3072         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3073         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3074         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3075         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3076         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3077         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3078         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3079         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3080         * nptl/sysdeps/powerpc/tls.h: Moved ...
3081         * sysdeps/powerpc/nptl/tls.h: ... here.
3082
3083 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3084
3085         [BZ #16681]
3086         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3087         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3088         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3089         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3090         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3091         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3092         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3093         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3094         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3095
3096 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3097
3098         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3099
3100 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3101
3102         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3103         defined operator.
3104
3105         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3106         $TIMEOUTFACTOR.
3107
3108 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3109
3110         [BZ #17058]
3111         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3112         non-executed part of the test.
3113
3114 2014-06-16  Andreas Schwab  <schwab@suse.de>
3115
3116         * string/bits/string2.h (strdup, strndup): Update feature guard.
3117
3118 2014-06-14  David S. Miller  <davem@davemloft.net>
3119
3120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3121
3122 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3123
3124         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3125         that was previously under [RESET_PID].
3126         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3127
3128         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3129         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3130         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3131         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3132         (__libc_vfork): New strong alias.
3133         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3134
3135 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3136
3137         * sysdeps/generic/elide.h: New file.
3138
3139 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3140
3141         * Makefile (installed-headers): Adjust path of pthread.h header.
3142
3143 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3144
3145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3146         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3147         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3148         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3149
3150         * nptl/sysdeps/s390/Makefile: Moved ...
3151         * sysdeps/s390/nptl/Makefile: ... here.
3152         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3153         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3154         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3155         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3156         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3157         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3158         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3159         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3160         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3161         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3162         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3163         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3164         * nptl/sysdeps/s390/tls.h: Moved ...
3165         * sysdeps/s390/nptl/tls.h: ... here.
3166
3167         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3168         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3169
3170 2014-06-13  David S. Miller  <davem@davemloft.net>
3171
3172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3175         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3180         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3181         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3182         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3183         Remove RESET_PID cpp guards.
3184         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3185         Remove RESET_PID cpp guards.
3186         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3187
3188 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3189
3190         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3191         __sp to uintptr_t.
3192
3193 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3194
3195         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3198         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3199         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3208         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3213         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3215
3216         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3217         (pthread_rwlock_rdlock): Add elision.
3218         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3219         (pthread_rwlock_wrlock): Add elision.
3220         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3221         (pthread_rwlock_trywrlock): Add elision.
3222         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3223         (pthread_rwlock_tryrdlock): Add elision.
3224         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3225         (pthread_rwlock_tryrdlock): Add elision unlock.
3226         * nptl/sysdeps/pthread/pthread.h:
3227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3228         (PTHREAD_RWLOCK_INITIALIZER,
3229         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3230         Handle new elision field.
3231         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3232         * sysdeps/arm/nptl/bits/pthreadtypes.h
3233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3234         * sysdeps/sh/nptl/bits/pthreadtypes.h
3235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3236         * sysdeps/tile/nptl/bits/pthreadtypes.h
3237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3238         * sysdeps/a/nptl/bits/pthreadtypes.h
3239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3240         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3241         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3242         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3243         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3244         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3246         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3247         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3248         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3250         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3252         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3254         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3256         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3257         (elision_init): Set try_xbegin to zero when no RTM.
3258         * sysdeps/x86/nptl/bits/pthreadtypes.h
3259         (pthread_rwlock_t): Change __pad1 to __rwelision.
3260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3261
3262 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3263
3264         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3265         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3266         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3267         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3268
3269 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3270
3271         [BZ #16996]
3272         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3273         that the cached result has been set before returning it.
3274
3275 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3276
3277         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3278         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3279         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3280         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3281         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3282         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3283
3284         * nptl/sysdeps/sparc/Makefile: Moved ...
3285         * sysdeps/sparc/nptl/Makefile: ... here.
3286         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3287         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3288         * nptl/sysdeps/sparc/tls.h: Moved ...
3289         * sysdeps/sparc/nptl/tls.h: ... here.
3290         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3291         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3292         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3293         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3294         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3295         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3296         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3297         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3298         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3299         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3300         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3301         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3302         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3303         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3304         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3305         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3306         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3308         Update #include.
3309         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3311         Update #include.
3312         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3314         Update #include.
3315         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3316         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3317         Update #include.
3318
3319         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3320
3321         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3322         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3323
3324         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3325         (struct list_links): Type removed.
3326         (struct thread_node, struct timer_node): Replace struct list_links
3327         with struct list_head.
3328         (list_unlink_ip): Likewise.
3329         * sysdeps/pthread/timer_routines.c
3330         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3331         (list_append, list_insbefore): Likewise.
3332         (list_init): Function removed.
3333         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3334         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3335         * sysdeps/pthread/Makefile: ... here, new file.
3336
3337         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3338         * sysdeps/nptl/Implies: ... here.
3339         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3340         * nptl/sysdeps/pthread/list.h: Moved ...
3341         * include/list.h: ... here.
3342         * nptl/sysdeps/pthread/createthread.c: Moved ...
3343         * nptl/createthread.c: ... here.
3344         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3345         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3346         * nptl/pt-longjmp.c: ... here.
3347         * nptl/sysdeps/pthread/Makefile: Moved ...
3348         * sysdeps/nptl/Makefile: ... here.
3349         * nptl/sysdeps/pthread/Subdirs: Moved ...
3350         * sysdeps/nptl/Subdirs: ... here.
3351         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3352         * sysdeps/nptl/aio_misc.h: ... here.
3353         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3354         * sysdeps/nptl/bits/libc-lock.h: ... here.
3355         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3356         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3357         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3358         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3359         * nptl/sysdeps/pthread/configure: Moved ...
3360         * sysdeps/nptl/configure: ... here.
3361         * nptl/sysdeps/pthread/configure.ac: Moved ...
3362         * sysdeps/nptl/configure.ac: ... here.
3363         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3364         * sysdeps/nptl/gai_misc.h: ... here.
3365         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3366         * sysdeps/nptl/librt-cancellation.c: ... here.
3367         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3368         * sysdeps/nptl/malloc-machine.h: ... here.
3369         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3370         * sysdeps/nptl/pthread-functions.h: ... here.
3371         * nptl/sysdeps/pthread/pthread.h: Moved ...
3372         * sysdeps/nptl/pthread.h: ... here.
3373         * nptl/sysdeps/pthread/setxid.h: Moved ...
3374         * sysdeps/nptl/setxid.h: ... here.
3375         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3376         * sysdeps/nptl/sigfillset.c: ... here.
3377         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3378         * sysdeps/nptl/tcb-offsets.h: ... here.
3379         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3380         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3381         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3382         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3383         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3384         * sysdeps/pthread/allocalim.h: ... here.
3385         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3386         * sysdeps/pthread/bits/sigthread.h: ... here.
3387         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3388         * sysdeps/pthread/flockfile.c: ... here.
3389         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3390         * sysdeps/pthread/ftrylockfile.c: ... here.
3391         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3392         * sysdeps/pthread/funlockfile.c: ... here.
3393         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3394         * sysdeps/pthread/posix-timer.h: ... here.
3395         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3396         * sysdeps/pthread/timer_create.c: ... here.
3397         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3398         * sysdeps/pthread/timer_delete.c: ... here.
3399         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3400         * sysdeps/pthread/timer_getoverr.c: ... here.
3401         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3402         * sysdeps/pthread/timer_gettime.c: ... here.
3403         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3404         * sysdeps/pthread/timer_routines.c: ... here.
3405         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3406         * sysdeps/pthread/timer_settime.c: ... here.
3407         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3408         * sysdeps/pthread/tst-timer.c: ... here.
3409         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3410         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3411
3412         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3413         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3414
3415         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3416         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3417         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3418         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3419         Update #include target.
3420         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3421         * sysdeps/i386/i686/nptl/Makefile: ... here.
3422         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3423         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3424         Update #include target.
3425         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3426         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3427         * nptl/sysdeps/i386/Makefile: Moved ...
3428         * sysdeps/i386/nptl/Makefile: ... here.
3429         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3430         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3431         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3432         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3433         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3434         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3435         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3436         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3437         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3438         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3439         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3440         * nptl/sysdeps/i386/tls.h: Moved ...
3441         * sysdeps/i386/nptl/tls.h: ... here.
3442
3443         * sysdeps/sh/Makefile [$(subdir) = csu]
3444         (gen-as-const-headers): Add tcb-offsets.sym.
3445         * nptl/sysdeps/sh/Makefile: File removed.
3446         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3447         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3448         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3449         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3450         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3451         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3452         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3453         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3454         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3455         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3456         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3457         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3458         * nptl/sysdeps/sh/tls.h: Moved ...
3459         * sysdeps/sh/nptl/tls.h: ... here.
3460         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3461         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3462         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3463         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3464         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3465         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3466         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3467         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3468         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3469         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3470         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3471         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3473         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3474         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3475         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3477         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3479         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3481         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3483         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3488         Moved ...
3489         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3491         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3495         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3497         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3499         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3501         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3503         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3505         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3507         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3508
3509 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3510
3511         * posix/spawn_faction_addopen.c: Include string.h.
3512
3513 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3514
3515         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3516         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3517         * nptl/sysdeps/x86_64/Makefile: Moved ...
3518         * sysdeps/x86_64/nptl/Makefile: ... here.
3519         * nptl/sysdeps/x86_64/configure: Moved ...
3520         * sysdeps/x86_64/nptl/configure: ... here.
3521         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3522         * sysdeps/x86_64/nptl/configure.ac: ... here.
3523         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3524         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3525         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3526         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3527         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3528         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3529         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3530         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3531         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3532         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3533         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3534         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3535         * nptl/sysdeps/x86_64/tls.h: Moved ...
3536         * sysdeps/x86_64/nptl/tls.h: ... here.
3537         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3538         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3539         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3540         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3541
3542         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3543
3544 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3545
3546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3547
3548 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3549
3550         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3551         type.
3552         [POSIX] (off_t): Likewise.
3553         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3554         [POSIX] (S_ISBLK): Require macro.
3555         [POSIX] (S_ISCHR): Likewise.
3556         [POSIX] (S_ISDIR): Likewise.
3557         [POSIX] (S_ISFIFO): Likewise.
3558         [POSIX] (S_ISREG): Likewise.
3559         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3560         optional-macro.
3561         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3562         type.
3563         [POSIX] (time_t): Likewise.
3564         [POSIX] (timer_t): Likewise.
3565
3566 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3567
3568         [BZ #17048]
3569         * posix/spawn_int.h (struct __spawn_action): Make the path string
3570         non-const to support deallocation.
3571         * posix/spawn_faction_addopen.c
3572         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3573         * posix/spawn_faction_destroy.c
3574         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3575         path in all spawn_do_open actions.
3576         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3577         posix_spawn_file_actions_addopen.
3578
3579 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3580
3581         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3582         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3583         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3584         conditional code always true.
3585         (__libc_vfork): New alias.
3586
3587 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3588
3589         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3590         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3591
3592         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3593
3594         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3595         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3596
3597         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3598         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3599
3600         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3601         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3602
3603 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3604
3605         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3606         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3607         multiarch strcmp for PPC64.
3608         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3609         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3611         multiarch optimizations.
3612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3613         (__libc_ifunc_impl_list): Likewise.
3614
3615 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3616
3617         * benchtests/scripts/validate_benchout.py: New script.
3618         * benchtests/Makefile (bench-func): Call it.
3619         * benchtests/scripts/benchout.schema.json: New file.
3620
3621 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3622
3623         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3624         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3625         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3626         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3627         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3628         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3629         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3630         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3631         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3632         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3633         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3634         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3635         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3636         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3637         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3638         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3640         Moved ...
3641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3642         ... here.
3643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3644         Moved ...
3645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3647         Moved ...
3648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3649         ... here.
3650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3651         Moved ...
3652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3653         ... here.
3654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3655         Moved ...
3656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3658         Moved ...
3659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3660         ... here.
3661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3662         Moved ...
3663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3664         ... here.
3665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3671         ... here.
3672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3673         Moved ...
3674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3675         ... here.
3676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3677         Moved ...
3678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3679         ... here.
3680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3681         Moved ...
3682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3684         Moved ...
3685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3686         ... here.
3687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3688         Moved ...
3689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3690         ... here.
3691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3692         Moved ...
3693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3694         ... here.
3695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3696         Moved ...
3697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3699         Moved ...
3700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3701         ... here.
3702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3703         Moved ...
3704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3705         ... here.
3706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3707         Moved ...
3708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3710         Moved ...
3711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3712         ... here.
3713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3714         Moved ...
3715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3717         Moved ...
3718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3720         Moved ...
3721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3722         ... here.
3723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3724         Moved ...
3725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3726         ... here.
3727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3728         Moved ...
3729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3730         ... here.
3731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3732         Moved ...
3733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3735         Moved ...
3736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3737         ... here.
3738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3739         Moved ...
3740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3741         ... here.
3742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3743         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3745         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3747         Moved ...
3748         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3749         ... here.
3750         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3751         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3753         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3755         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3771         Moved ...
3772         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3774         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3775         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3776         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3777         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3778         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3779
3780 2014-06-10  Wilco  <wdijkstr@arm.com>
3781
3782         * math/test-fenv-return.c: New file.
3783         * math/Makefile: Add new test test-fenv-return.
3784
3785 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3786
3787         [BZ #17042]
3788         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3789         when x - 1 is zero.
3790         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3791         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3792         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3793         0.0L for an argument of 1.0L.
3794         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3795         Likewise.
3796         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3797         value when x - 1 is zero.
3798         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3799         * sysdeps/i386/fpu/libm-test-ulps: Update.
3800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
3802 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3803
3804         [BZ #15119]
3805         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3806
3807 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3808
3809         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3810         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3811
3812 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3813
3814         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3815         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3816
3817         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3818         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3819
3820         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3821         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3822
3823         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3824         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3825
3826         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3827         if not already defined.
3828         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3829         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3830         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3831         (TLS_INIT_TP): Use it.
3832         (TLS_DEFINE_INIT_TP): New macro.
3833         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3834
3835 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3836
3837         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3838         constant.
3839         [POSIX] (IXANY): Likewise.
3840         [POSIX] (OLCUC): Likewise.
3841         [POSIX || POSIX2008] (CBAUD): Do not allow.
3842         [POSIX || POSIX2008] (DEFECHO): Likewise.
3843         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3844         [POSIX || POSIX2008] (ECHOKE): Likewise.
3845         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3846         [POSIX || POSIX2008] (EXTA): Likewise.
3847         [POSIX || POSIX2008] (EXTB): Likewise.
3848         [POSIX || POSIX2008] (FLUSHO): Likewise.
3849         [POSIX || POSIX2008] (LOBLK): Likewise.
3850         [POSIX || POSIX2008] (PENDIN): Likewise.
3851         [POSIX || POSIX2008] (SWTCH): Likewise.
3852         [POSIX || POSIX2008] (VDISCARD): Likewise.
3853         [POSIX || POSIX2008] (VDSUSP): Likewise.
3854         [POSIX || POSIX2008] (VLNEXT): Likewise.
3855         [POSIX || POSIX2008] (VREPRINT): Likewise.
3856         [POSIX || POSIX2008] (VSTATUS): Likewise.
3857         [POSIX || POSIX2008] (VWERASE): Likewise.
3858         (B*): Change to B[0123456789]*.
3859         * conform/data/time.h-data [POSIX || UNIX98]
3860         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3861         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3862         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3863         [POSIX] (tm_*): Do not allow.
3864
3865 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3866
3867         * Makefile (install): Don't set LANGUAGE.
3868         * Makefile.in (install): Likewise.
3869         * assert/Makefile (test-assert-ENV): Remove variable.
3870         (test-assert-perr-ENV): Likewise.
3871         * elf/Makefile (neededtest4-ENV): Likewise.
3872         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3873         [$(cross-compiling) = no]: Don't set LANGUAGE.
3874         * io/ftwtest-sh (LANG): Remove variable.
3875         * libio/Makefile (tst-widetext-ENV): Likewise.
3876         * manual/install.texi (Running make install): Don't refer to
3877         environment settings for make install.
3878         * INSTALL: Regenerated.
3879         * nptl/tst-tls6.sh: Don't set LANG.
3880         * posix/globtest.sh (LANG): Remove variable.
3881         * string/Makefile (tester-ENV): Likewise.
3882         (inl-tester-ENV): Likewise.
3883         (noinl-tester-ENV): Likewise.
3884         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3885         [$(cross-compiling) = no]: Don't set LANGUAGE.
3886         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3887         without explicit environment settings.
3888
3889 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3890
3891         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3892         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3893         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3894         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3895
3896 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3897
3898         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3899         other files in the crypt directory.
3900         * crypt/crypt.c: Remove duplicate includes.
3901         * crypt/crypt-entry.c: Likewise.
3902         * crypt/crypt_util.c: Likewise.
3903
3904 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3905
3906         * Makeconfig (run-program-env): New variable.
3907         (run-program-prefix-before-env): Likewise.
3908         (run-program-prefix-after-env): Likewise.
3909         (run-program-prefix): Define in terms of new variables.
3910         (built-program-cmd-before-env): New variable.
3911         (built-program-cmd-after-env): Likewise.
3912         (built-program-cmd): Define in terms of new variables.
3913         (test-program-prefix-before-env): New variable.
3914         (test-program-prefix-after-env): Likewise.
3915         (test-program-prefix): Define in terms of new variables.
3916         (test-program-cmd-before-env): New variable.
3917         (test-program-cmd-after-env): Likewise.
3918         (test-program-cmd): Define in terms of new variables.
3919         * Rules (make-test-out): Use $(run-program-env).
3920         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3921         (help): Do not mention environment variables.  Mention
3922         --timeoutfactor option.
3923         (timeoutfactor): New variable.
3924         (blacklist_exports): Remove function.
3925         (exports): Remove variable.
3926         (command): Do not include ${exports}.
3927         * manual/install.texi (Configuring and compiling): Do not mention
3928         test wrappers preserving environment variables.  Mention that last
3929         assignment to a variable must take precedence.
3930         * INSTALL: Regenerated.
3931         * benchtests/Makefile (run-bench): Use $(run-program-env).
3932         * catgets/Makefile ($(objpfx)test1.cat): Use
3933         $(built-program-cmd-before-env), $(run-program-env) and
3934         $(built-program-cmd-after-env).
3935         ($(objpfx)test2.cat): Do not specify environment variables
3936         explicitly.
3937         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3938         $(run-program-env) and $(built-program-cmd-after-env).
3939         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3940         $(run-program-env) and $(test-program-cmd-after-env).
3941         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3942         explicitly.
3943         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3944         run_program_env and test_program_cmd_after_env arguments.
3945         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3946         * elf/tst-pathopt.sh: Use run_program_env argument.
3947         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3948         $(test-wrapper-env) and $(run-program-env).
3949         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3950         run_program_env arguments.
3951         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3952         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3953         $(test-program-prefix-before-env), $(run-program-env) and
3954         $(test-program-prefix-after-env).
3955         ($(objpfx)tst-gettext2.out): Likewise.
3956         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3957         run_program_env and test_program_prefix_after_env arguments.
3958         * intl/tst-gettext2.sh: Likewise.
3959         * intl/tst-gettext4.sh: Do not set environment variables
3960         explicitly.
3961         * intl/tst-gettext6.sh: Likewise.
3962         * intl/tst-translit.sh: Likewise.
3963         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3964         $(test-program-prefix-before-env), $(run-program-env) and
3965         $(test-program-prefix-after-env).
3966         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3967         run_program_env and test_program_prefix_after_env arguments.
3968         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3969         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3970         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3971         explicitly with each use of ${test_wrapper_env}.
3972         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3973         $(test-program-prefix-before-env), $(run-program-env) and
3974         $(test-program-prefix-after-env).
3975         * posix/tst-getconf.sh: Do not set environment variables
3976         explicitly.
3977         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3978         run_program_env and test_program_prefix_after_env arguments.
3979         * stdio-common/tst-printf.sh: Do not set environment variables
3980         explicitly.
3981         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3982         $(test-program-prefix-before-env), $(run-program-env) and
3983         $(test-program-prefix-after-env).
3984         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3985         run_program_env and test_program_prefix_after_env arguments.
3986         Split $test calls into $test_pre and $test.
3987         * timezone/Makefile (build-testdata): Use
3988         $(built-program-cmd-before-env), $(run-program-env) and
3989         $(built-program-cmd-after-env).
3990
3991 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3992
3993         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3994         strlen for non SHARED builds.
3995
3996 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3997
3998         * nptl/allocatestack.c (check_list): Inlined function...
3999         (__reclaim_stacks): ... here.
4000
4001 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4002
4003         [BZ #15698]
4004         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4005         memory overrun.
4006
4007 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4008
4009         * Rules (make-test-out): Include
4010         LOCPATH=$(common-objpfx)localedata in default environment.
4011         * debug/Makefile (tst-chk1-ENV): Remove variable.
4012         (tst-chk2-ENV): Likewise.
4013         (tst-chk3-ENV): Likewise.
4014         (tst-chk4-ENV): Likewise.
4015         (tst-chk5-ENV): Likewise.
4016         (tst-chk6-ENV): Likewise.
4017         (tst-lfschk1-ENV): Likewise.
4018         (tst-lfschk2-ENV): Likewise.
4019         (tst-lfschk3-ENV): Likewise.
4020         (tst-lfschk4-ENV): Likewise.
4021         (tst-lfschk5-ENV): Likewise.
4022         (tst-lfschk6-ENV): Likewise.
4023         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4024         (tst-iconv7-ENV): Likewise.
4025         * intl/Makefile (LOCPATH-ENV): Likewise.
4026         (tst-codeset-ENV): Likewise.
4027         (tst-gettext3-ENV): Likewise.
4028         (tst-gettext5-ENV): Likewise.
4029         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4030         (tst-fopenloc-ENV): Likewise.
4031         (tst-fgetws-ENV): Remove variable.
4032         (tst-ungetwc1-ENV): Likewise.
4033         (tst-ungetwc2-ENV): Likewise.
4034         (bug-ungetwc2-ENV): Likewise.
4035         (tst-swscanf-ENV): Likewise.
4036         (bug-ftell-ENV): Likewise.
4037         (tst-fgetwc-ENV): Likewise.
4038         (tst-fseek-ENV): Likewise.
4039         (tst-ftell-partial-wide-ENV): Likewise.
4040         (tst-ftell-active-handler-ENV): Likewise.
4041         (tst-ftell-append-ENV): Likewise.
4042         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4043         (tst-regexloc-ENV): Likewise.
4044         (bug-regex1-ENV): Likewise.
4045         (tst-regex-ENV): Likewise.
4046         (tst-regex2-ENV): Likewise.
4047         (bug-regex5-ENV): Likewise.
4048         (bug-regex6-ENV): Likewise.
4049         (bug-regex17-ENV): Likewise.
4050         (bug-regex18-ENV): Likewise.
4051         (bug-regex19-ENV): Likewise.
4052         (bug-regex20-ENV): Likewise.
4053         (bug-regex22-ENV): Likewise.
4054         (bug-regex23-ENV): Likewise.
4055         (bug-regex25-ENV): Likewise.
4056         (bug-regex26-ENV): Likewise.
4057         (bug-regex30-ENV): Likewise.
4058         (bug-regex32-ENV): Likewise.
4059         (bug-regex33-ENV): Likewise.
4060         (bug-regex34-ENV): Likewise.
4061         (bug-regex35-ENV): Likewise.
4062         (tst-rxspencer-ENV): Likewise.
4063         (tst-rxspencer-no-utf8-ENV): Likewise.
4064         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4065         (tst-sscanf-ENV): Likewise.
4066         (tst-swprintf-ENV): Likewise.
4067         (tst-swscanf-ENV): Likewise.
4068         (test-vfprintf-ENV): Likewise.
4069         (scanf13-ENV): Likewise.
4070         (bug14-ENV): Likewise.
4071         (tst-grouping-ENV): Likewise.
4072         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4073         (tst-strtod3-ENV): Likewise.
4074         (tst-strtod4-ENV): Likewise.
4075         (tst-strtod5-ENV): Likewise.
4076         (testmb2-ENV): Likewise./
4077         * string/Makefile (tst-strxfrm-ENV): Likewise.
4078         (tst-strxfrm2-ENV): Likewise.
4079         (bug-strcoll1-ENV): Likewise.
4080         (test-strcasecmp-ENV): Likewise.
4081         (test-strncasecmp-ENV): Likewise.
4082         * time/Makefile (tst-strptime-ENV): Likewise.
4083         (tst-ftime_l-ENV): Likewise.
4084         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4085         (tst-mbrtowc-ENV): Likewise.
4086         (tst-wcrtomb-ENV): Likewise.
4087         (tst-mbrtowc2-ENV): Likewise.
4088         (tst-c16c32-1-ENV): Likewise.
4089         (tst-mbsnrtowcs-ENV): Likewise.
4090
4091 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4092
4093         * manual/resource.texi (How to get information about the memory
4094         subsystem?): Fix typo.
4095         Reported by Peon de la Parra Ivan <peon@keba.com>
4096
4097 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4098
4099         [BZ #16882]
4100         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4101         (pthread_spin_lock): Branch out of spin loop to proper location.
4102         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4103         (pthread_spin_lock): Likewise.
4104
4105         * nptl/tst-spin4.c: New test.
4106         * nptl/Makefile (tests): Add tst-spin4.
4107
4108 2014-06-03  Andreas Schwab  <schwab@suse.de>
4109
4110         [BZ #15946]
4111         * resolv/res_send.c (send_dg): Reload file descriptor after
4112         calling reopen.
4113
4114 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4115
4116         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4117
4118 2014-06-03  Richard Henderson  <rth@redhat.com>
4119
4120         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4121         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4122         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4123         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4124         in the SAVE_PID block.
4125         (__libc_vfork): New alias.
4126         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4127
4128         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4129         child in registers, not on the stack.  Remove RESET_PID conditionals.
4130         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4131
4132 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4133
4134         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4135
4136 2014-06-03  Wilco  <wdijkstr@arm.com>
4137
4138         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4139         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4140         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4141         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4142         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4143         Likewise.
4144
4145 2014-06-03  Wilco  <wdijkstr@arm.com>
4146
4147         * sysdeps/aarch64/fpu/math_private.h
4148         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4149         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4150         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4151         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4152         Fix declarations.
4153
4154 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4155
4156         * crypt/crypt-private.h: Include ufc-crypt.h.
4157         (__b64_from_24bit): Declare extern.
4158         * crypt/crypt_util.c(__b64_from_24bit): New function.
4159         (b64t): New static const variable.
4160         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4161         (b64t): Remove variable.
4162         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4163         * crypt/sha256-crypt.c: Include crypt-private.h.
4164         (b64t): Remove variable.
4165         (__sha256_crypt_r): Remove b64_from_24bit and replace
4166         with __b64_from_24bit.
4167         * crypt/sha512-crypt.c: Likewise.
4168
4169 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4170
4171         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4172         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4173         Label the code __libc_vfork rather than __vfork.
4174         [!NOT_IN_libc] (vfork): Define as weak alias.
4175         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4176         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4177         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4178
4179 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4180
4181         * malloc/malloc.c (malloc_info): Fix format specifier for
4182         n_mmaps.
4183
4184 2014-06-02  Wilco  <wdijkstr@arm.com>
4185
4186         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4187         FPCR write.
4188
4189 2014-06-02  Wilco  <wdijkstr@arm.com>
4190
4191         [BZ #17009]
4192         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4193         Rewrite to reduce FPCR/FPSR accesses.
4194
4195 2014-06-01  David S. Miller  <davem@davemloft.net>
4196
4197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4198
4199 2014-05-31  David S. Miller  <davem@davemloft.net>
4200
4201         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4202         to occur in round to nearest mode when |x| >= 2.0
4203
4204 2014-05-30  Richard Henderson  <rth@twiddle.net>
4205
4206         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4207         (PSEUDO_RET_NOERRNO): Remove.
4208         (ret): Don't redefine.
4209         (ret_NOERRNO): Define in terms of ret.
4210         (ret_ERRVAL): Likewise.
4211
4212         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4213         use of PSEUDO_RET; perform the error check directly.
4214
4215 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4216
4217         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4218         with __int128_t.
4219
4220 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221
4222         * malloc/malloc (malloc_info): Fix formatting.
4223
4224 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4225             Roland McGrath  <roland@hack.frob.com>
4226
4227         * malloc/malloc (malloc_info): Also print mmapped statistics.
4228
4229 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4230
4231         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4232         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4233
4234 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4235
4236         * malloc/malloc.c (malloc_info): Inline mi_arena.
4237
4238 2014-05-29  Richard Henderson  <rth@twiddle.net>
4239
4240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4241         Remove comma before expanding ASM_ARGS_##nr.
4242         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4243         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4244         of ASM_ARGS_##nr.
4245         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4246         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4247         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4248         (ASM_ARGS_1): Add leading comma.
4249
4250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4251         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4252         to __errno_location.
4253         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4254         Remove the expected plt for __errno_location.
4255
4256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4257         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4258         call to __read_tp.
4259
4260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4261         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4262         it and break it down.
4263         (DOCARGS_0, DOCARGS_1): Do nothing.
4264         (DOCARGS_2): Update to store into the new stack frame.
4265         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4266         (UNDOCARGS_1): Update to restore from the new stack frame.
4267         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4268         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4269
4270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4271         (SINGLE_THREAD_P): New parameter for result regno.
4272         (PSEUDO): Update to match; use cbz instead of beq.
4273
4274         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4275         Use ENTRY to define the _nocancel entry point.  Share the syscall
4276         and syscall error check paths with the cancel path.
4277         (PSEUDO_END): New.
4278
4279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4280         whitespace; tabs before and after asm mnemonics.
4281
4282 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4283
4284         [BZ #15132]
4285         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4286         Call fstat64 or stat64 internally, depending on arguments passed.
4287         Replace stat buffer argument with file descriptor argument.
4288         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4289         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4290         Pass fd to __internal_statvfs instead of calling fstat64.
4291         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4292         Pass fd to __internal_statvfs64 instead of calling fstat64.
4293         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4294         Pass -1 to __internal_statvfs instead of calling stat64.
4295         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4296         Pass -1 to __internal_statvfs64 instead of calling stat64.
4297
4298 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4299
4300         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4301         that was previously under [RESET_PID].
4302         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4303
4304         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4305         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4306
4307 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4308
4309         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4310
4311         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4312         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4313
4314 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4315
4316         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4317
4318 2014-05-27  Andreas Schwab  <schwab@suse.de>
4319
4320         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4321         TLS_INIT_TP macro.
4322         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4323         * elf/rtld.c (init_tls, dl_main): Likewise.
4324         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4325         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4326         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4327         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4328         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4329         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4330         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4331         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4332         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4333         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4334         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4335         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4336         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4337         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4338         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4339         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4340         * sysdeps/generic/tls.h: Update description.
4341
4342 2014-05-27  Will Newton  <will.newton@linaro.org>
4343
4344         [BZ #16990]
4345         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4346         and restore r2 rather than just restoring.
4347
4348 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4349
4350         [BZ #16724]
4351         * libio/tst-ftell-append.c: New test case.
4352         * libio/Makefile (tests): Add test case.
4353         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4354         append mode.
4355         * libio/wfileops.c (do_ftell_wide): Likewise.
4356
4357 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4358
4359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4360
4361         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4362         ...
4363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4365         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4366         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4368         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4370         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4372         Moved ...
4373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4375         Moved ...
4376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4377         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4378         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4379         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4380         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4382         ...
4383         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4384         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4387         here.
4388         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4389         ...
4390         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4392         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4393
4394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4395         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4396         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4397         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4398
4399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4400         merge into ...
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4403         ...
4404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4406         ...
4407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4411         here.
4412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4413         Moved ...
4414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4418
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4420         conditional [RESET_PID].
4421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4423         removed.
4424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4425         removed.
4426
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4428         <tcb-offsets.h>.
4429         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4430         (__libc_vfork): New strong alias.
4431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4432         removed.
4433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4434         Removed.
4435
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4437         <tcb-offsets.h>.
4438         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4439         (__libc_vfork): New strong alias.
4440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4441         removed.
4442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4443         removed.
4444
4445 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4446
4447         * malloc/malloc.c (mi_arena): New function.
4448         (malloc_info): Remove nested function mi_arena. Call non-nosted
4449         function mi_arena.
4450
4451 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4452
4453         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4454         by insrwi.
4455         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4456         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4457         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4458         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4459         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4460         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4461         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4462
4463 2014-05-26  Andreas Schwab  <schwab@suse.de>
4464
4465         [BZ #16984]
4466         * locale/programs/repertoire.c (repertoire_read): Add slash
4467         between I18NPATH element and file name.
4468         * locale/programs/locfile.c (locfile_read): Likewise.
4469
4470 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4471
4472         * nptl/pthread_mutexattr_settype.c
4473         (__pthread_mutexattr_settype):
4474         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4475
4476 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4477
4478         * nptl/tst-mutex5 (do_test):
4479         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4480
4481 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4482
4483         * benchtests/README: Document 'init' directive.
4484         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4485         BENCH_INIT.
4486         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4487         (parse_file): Recognize 'init' directive.
4488
4489 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4490
4491         [BZ #16796]
4492         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4493         alignment of struct pthread.
4494
4495 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4496
4497         [BZ #16878]
4498         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4499         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4500         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4501         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4502
4503 2014-05-25  Richard Henderson  <rth@twiddle.net>
4504
4505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4506         (SINGLE_THREAD_P_PIC): Remove.
4507         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4508         (SINGLE_THREAD_P_PIC): Remove.
4509
4510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4511         branch to syscall error ...
4512         (PSEUDO): ... here.
4513         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4514         from __local_syscall_error to .Lsyscall_error.
4515         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4516         (SYSCALL_ERROR): Update label name.
4517
4518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4519         Do not use DOARGS/UNDOARGS.
4520         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4521         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4522         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4523         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4524         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4525
4526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4527         block comment.
4528
4529         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4530         define if !NOT_IN_libc.
4531         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4532         define with non-default symbol versions.
4533
4534 2014-05-23  Richard Henderson  <rth@twiddle.net>
4535
4536         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4537         (vfork, __vfork): Define via compat_symbol.
4538
4539         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4540         [!HAVE_IFUNC] (vfork_compat): Remove.
4541         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4542
4543 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4544
4545         [BZ #16978]
4546         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4547         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4548         variable.
4549
4550 2014-05-23  Richard Henderson  <rth@twiddle.net>
4551
4552         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4553         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4554         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4555         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4556
4557         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4558         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4559         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4560         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4561         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4562         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4563         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4564         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4565         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4566         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4567         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4568         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4569         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4570         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4571         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4572         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4573         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4574         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4576         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4578         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4580         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4581         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4582         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4583         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4584         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4585         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4586         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4587         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4588         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4589         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4590         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4592         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4593         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4594         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4596         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4597         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4598         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4599         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4600         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4601         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4602         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4603         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4604         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4605         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4606         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4608         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4610         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4611         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4612         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4613
4614         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4615         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4616         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4617         before exiting on error.
4618         (__libc_vfork): New strong alias.
4619         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4620         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4621
4622         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4623         that was previously under [RESET_PID].
4624         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4625
4626         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4627
4628 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4629
4630         [BZ #16977]
4631         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4632         value when x - 1 is zero.
4633         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4634         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4635         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4636         0.0L for an argument of 1.0L.
4637         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4638         Likewise.
4639         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4640         value when x - 1 is zero.
4641         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4642         * sysdeps/i386/fpu/libm-test-ulps: Update.
4643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644
4645 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4646
4647         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4648         alphasort and versionsort.
4649
4650 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4651
4652         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4653         macro.
4654         [copysignf]: Likewise.
4655
4656 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4657
4658         * crypt/md5-crypt.c: Fix formatting.
4659
4660 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4661
4662         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4663         (b64_from_24bit): New function.
4664
4665 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4666
4667         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4668         libc_hidden_builtin_def to ifunc.
4669         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4670         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4671
4672 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4673
4674         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4675         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4676
4677 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4678
4679         * nscd/Depend (linuxthreads): Remove.
4680         (nptl): Add.
4681         * resolv/Depend (linuxthreads): Remove.
4682         * rt/Depend (linuxthreads): Remove.
4683
4684         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4685         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4686         $(common-objpfx)elf/.
4687         (link-libc-before-gnulib): Likewise.
4688         (elfobjdir): Remove variable.
4689         * Makefile (install): Use $(elf-objpfx) instead of
4690         $(common-objpfx)elf/.
4691         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4692         $(elfobjdir)/.
4693         (link-libc-deps): Likewise.
4694         ($(common-objpfx)libc.so): Likewise.
4695         ($(common-objpfx)linkobj/libc.so): Likewise.
4696         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4697         instead of $(common-objpfx)elf/.
4698         (symbolic-link-list): Likewise.
4699         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4700         [$(cross-compiling) = no]: Likewise.
4701         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4702         $(elfobjdir)/.
4703         (static-gnulib-arch): Likewise.
4704         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4705         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4706         $(common-objpfx)elf/.
4707
4708 2014-05-21  Richard Henderson  <rth@redhat.com>
4709
4710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4711         (SINGLE_THREAD_P): Use the correct width load.  Fold
4712         into the ldr offset.
4713
4714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4715         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4716
4717 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4718
4719         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4720         (libgcc_s_resume): Use __attribute_used__.
4721         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4722         Likewise.
4723
4724 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4725
4726         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4727         optimization when used with float constants.
4728
4729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4730
4731 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4732
4733         [BZ #16915]
4734         * locale/nl_langinfo_l.c: Make direct reference to every
4735         _nl_current_CATEGORY symbol.
4736         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4737         (tests-static): Add tst-langinfo-static.
4738         (tests-special): Add tst-langinfo-static.out.
4739         ($(objpfx)tst-langinfo.out): Redirect output.
4740         ($(objpfx)tst-langinfo-static.out): New.
4741         * localedata/tst-langinfo.sh: Send output to stdout.
4742         * localedata/tst-langinfo-static.c: New file.
4743
4744         [BZ #16965]
4745         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4746         when the shift amount is modulo the limb size.
4747
4748 2014-05-20  Richard Henderson  <rth@redhat.com>
4749
4750         [BZ #16967]
4751         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4752         Change type of sa_flags from unsigned int to int.
4753
4754         [BZ #16966]
4755         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4756
4757         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4758
4759 2014-05-20  Will Newton  <will.newton@linaro.org>
4760
4761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4762         Test the return value of the system call in the nocancel case.
4763
4764 2014-05-20  Will Newton  <will.newton@linaro.org>
4765             Yvan Roux  <yvan.roux@linaro.org>
4766
4767         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4768         #include of asm/ptrace.h.
4769         (PTRACE_GET_THREAD_AREA): Remove #undef.
4770         (PTRACE_GETHBPREGS): Likewise.
4771         (PTRACE_SETHBPREGS): Likewise.
4772         (struct user_regs_struct): New structure.
4773         (struct user_fpsimd_struct): New structure.
4774         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4775         #include of asm/ptrace.h and second #include of sys/user.h.
4776         (PTRACE_GET_THREAD_AREA): Remove #undef.
4777         (PTRACE_GETHBPREGS): Likewise.
4778         (PTRACE_SETHBPREGS): Likewise.
4779         (ELF_NGREG): Use new struct user_regs_struct.
4780         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4781
4782 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4783
4784         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4786
4787 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4788
4789         [BZ #16958]
4790         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4791         membar to avoid block loads/stores to overlap previous stores.
4792
4793 2014-05-17  Richard Henderson  <rth@redhat.com>
4794
4795         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4796         Create the __##syscall_name##_nocancel entry point.
4797         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4798         Remove; let the sysdep-cancel.h code create it.
4799
4800 2014-05-17  David S. Miller  <davem@davemloft.net>
4801
4802         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4803         Protect with __USE_GNU.
4804         (TIOCSET_TEMPT): Likewise.
4805         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4806         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4807         these are already provided in bits/ioctl-types.h
4808
4809 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4810
4811         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4812         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4813
4814         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4815         Use wait4 regardless of [__NR_waitpid].
4816
4817 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4818
4819         PR libgcc/60166
4820         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4821         (_FP_NANSIGN_Q): Set the quiet bit.
4822
4823 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4824
4825         * benchtests/Makefile
4826         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4827         not $(common-objpfx)math/libm.so.
4828         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4829         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4830         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4831         $(common-objpfx)dlfcn/libdl.so.
4832         ($(objpfx)tst-audit8): Depend on $(libm), not
4833         $(common-objpfx)math/libm.so.
4834         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4835         not $(common-objpfx)dlfcn/libdl.so.
4836         * math/Makefile
4837         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4838         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4839         [$(build-shared) = yes].
4840         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4841         $(common-objpfx)nptl/libpthread.so.
4842         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4843         $(common-objpfx)math/libm.so$(libm.so-version) or
4844         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4845         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4846         $(common-objpfx)dlfcn/libdl.so.
4847         * setjmp/Makefile (link-libm): Remove variable.
4848         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4849         * stdio-common/Makefile (link-libm): Remove variable.
4850         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4851         * stdlib/Makefile (link-libm): Remove variable.
4852         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4853         ($(objpfx)tst-strtod-round): Likewise.
4854         ($(objpfx)tst-tininess): Likewise.
4855         ($(objpfx)tst-strtod-underflow): Likewise.
4856         ($(objpfx)tst-strtod6): Likewise.
4857         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4858         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4859         $(common-objpfx)dlfcn/libdl.so.
4860
4861 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4862
4863         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4864         BSD terminal modes definitions.
4865
4866 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4867
4868         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4869         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4870
4871         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4872         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4873         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4874         Don't do #include_next.
4875         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4876         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4877         Don't do #include_next.
4878         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4879         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4880         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4881         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4882
4883 2014-05-16  Allan McRae  <allan@archlinux.org>
4884
4885         * po/sv.po: Update Swedish translation from translation project.
4886
4887         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4888         in sed expression.
4889
4890 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4891
4892         [BZ #16917]
4893         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4894         errno if the TIOCGPTN ioctl fails with an error different than
4895         EINVAL.
4896         * login/tst-ptsname.c: New file.
4897         * login/Makefile (tests): Add tst-ptsname.
4898
4899         [BZ #16943]
4900         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4901         and prlimit64.
4902
4903 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4904
4905         [BZ #16849]
4906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4907         herrno to return EAI_AGAIN.
4908
4909 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4910
4911         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4912         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4913         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4914         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4915         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4916         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4917         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4918         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4919         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4920         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4921         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4922         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4923         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4924         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4925         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4926         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4927         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4928         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4929         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4930         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4932         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4933         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4934         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4935         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4936         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4937         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4938         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4939         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4940         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4942         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4944         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4946         Moved ...
4947         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4949         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4951         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4953         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4955         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4957         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4959         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4961         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4963         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4967         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4969         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4971         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4973         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4975         Moved ...
4976         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4978         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4980         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4982         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4984         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4986         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4988         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4990         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4992         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4994         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4996         Moved ...
4997         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4999         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5000
5001         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5002         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5003         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5004         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5005         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5006         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5007         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5008         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5009         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5010         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5011         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5012         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5013         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5014         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5015         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5016         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5017         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5019         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5020         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5021         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5023         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5025         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5026         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5027         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5028         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5029         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5030         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5031         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5032
5033         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5034         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5035
5036         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5037         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5038         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5039         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5040         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5042         Moved ...
5043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5045         Moved ...
5046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5048         Moved ...
5049         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5050         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5051         Moved ...
5052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5053         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5054         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5055         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5056         Moved ...
5057         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5058         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5059         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5061         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5062         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5063         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5065         Moved ...
5066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5067         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5068         Moved ...
5069         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5070         ... here.
5071         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5072         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5073         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5074         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5075         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5076         Moved ...
5077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5078         ... here.
5079         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5080         Moved ...
5081         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5082         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5083         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5084         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5085         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5087         Moved ...
5088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5090         Moved ...
5091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5093         Moved ...
5094         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5095         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5096         Moved ...
5097         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5098         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5099         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5100         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5101         Moved ...
5102         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5103         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5104         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5106         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5107         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5108         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5110         Moved ...
5111         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5112         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5113         Moved ...
5114         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5115         ... here.
5116         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5117         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5118         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5119         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5120         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5121         Moved ...
5122         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5123         ... here.
5124         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5125         Moved ...
5126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5127         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5128         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5129         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5130         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5131         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5133         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5134         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5136         Moved ...
5137         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5138         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5139         Moved ...
5140         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5142         Moved ...
5143         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5144         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5145         Moved ...
5146         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5147         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5148         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5149         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5150         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5152         Moved ...
5153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5154         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5155         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5157         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5158         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5159         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5161         Moved ...
5162         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5164         Moved ...
5165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5166         ... here.
5167         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5168         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5170         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5172         Moved ...
5173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5174         ... here.
5175         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5176         Moved ...
5177         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5179         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5181         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5182         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5183         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5184         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5185         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5186         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5187         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5188
5189         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5190         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5191
5192         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5193         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5194
5195         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5196         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5197         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5198         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5199         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5201         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5202         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5203         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5204         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5205         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5206         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5208         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5209         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5211         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5213         Moved ...
5214         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5216         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5218         Moved ...
5219         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5223         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5225         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5230         Moved ...
5231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5233         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5235         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5237         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5239         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5240         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5241         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5242         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5243         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5244         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5245         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5246         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5247         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5248
5249         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5250         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5251         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5252         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5253         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5254
5255         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5256         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5257         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5258         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5259         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5260         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5261         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5262         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5263         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5264         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5265
5266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5268
5269         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5270         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5271         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5272         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5273         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5274         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5275         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5276         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5277         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5278         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5279         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5280         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5281         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5282         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5284         Update #include.
5285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5286         Likewise.
5287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5288         Likewise.
5289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5290         Likewise.
5291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5292         Likewise.
5293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5294         Likewise.
5295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5296         Likewise.
5297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5298         Likewise.
5299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5300         Likewise.
5301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5302         Likewise.
5303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5308         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5310         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5312         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5313         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5315         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5317         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5318
5319         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5320         that was previously under [RESET_PID].
5321         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5322         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5323         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5324
5325         * sysdeps/i386/nptl/Implies: New file.
5326         * sysdeps/x86_64/nptl/Implies: New file.
5327         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5328         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5330         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5331
5332         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5333         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5334         (__libc_vfork): New strong alias.
5335         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5336         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5337
5338         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5339         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5340         (__libc_vfork): New strong alias.
5341         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5342         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5343
5344         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5345         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5346         (__libc_vfork): New strong alias.
5347         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5348         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5349         * nptl/pt-vfork.c: New file.
5350         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5351         (libpthread: GLIBC_2.20): New version set (empty).
5352
5353 2014-05-14  Will Newton  <will.newton@linaro.org>
5354
5355         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5356         rather than #if.
5357
5358 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5359
5360         [BZ #16564]
5361         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5362         arguments with exponent 65 or above.
5363         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5364         arguments 0x1p113L or above.
5365         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5366         to arguments 0x1p107L or above.
5367         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5368         positive arguments with exponent 65 or above.
5369         * math/auto-libm-test-in: Add more tests of log1p.
5370         * math/auto-libm-test-out: Regenerated.
5371
5372         [BZ #16928]
5373         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5374         non-finite arguments is +0.
5375         * math/s_cacosf.c (__cacosf): Likewise.
5376         * math/s_cacosl.c (__cacosl): Likewise.
5377         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5378         * sysdeps/i386/fpu/libm-test-ulps: Update.
5379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5380
5381         [BZ #16927]
5382         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5383         value.
5384         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5385         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5386         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5387         for explicit high bit of mantissa when testing for argument equal
5388         to 1.
5389         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5390         * sysdeps/i386/fpu/libm-test-ulps: Update.
5391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
5393         [BZ #16516]
5394         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5395         (__erf): Scale by 16 instead of 8 in potentially underflowing
5396         case.  Ensure exception if result actually underflows.
5397         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5398         (__erff): Scale by 16 instead of 8 in potentially underflowing
5399         case.  Ensure exception if result actually underflows.
5400         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5401         (efx8): Remove variable.
5402         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5403         case.  Ensure exception if result actually underflows.
5404         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5405         (efx8): Remove variable.
5406         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5407         case.  Ensure exception if result actually underflows.
5408         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5409         (efx8): Remove variable.
5410         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5411         case.  Ensure exception if result actually underflows.
5412         * math/auto-libm-test-in: Add more tests of erf.
5413         * math/auto-libm-test-out: Regenerated.
5414
5415 2014-05-14  Andreas Schwab  <schwab@suse.de>
5416
5417         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5418         Remove code conditionalized on USE___THREAD.
5419
5420         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5421         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5422         not definedness.
5423
5424 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5425
5426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5427         Define unconditionally.
5428         (__ASSUME_O_CLOEXEC): Likewise.
5429         (__ASSUME_SOCK_CLOEXEC): Likewise.
5430         (__ASSUME_IN_NONBLOCK): Likewise.
5431         (__ASSUME_PIPE2): Likewise.
5432         (__ASSUME_EVENTFD2): Likewise.
5433         (__ASSUME_SIGNALFD4): Likewise.
5434         (__ASSUME_DUP3): Likewise.
5435         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5436         (__ASSUME_DUP3): Do not define.
5437         (__ASSUME_EVENTFD2): Likewise.
5438         (__ASSUME_IN_NONBLOCK): Likewise.
5439         (__ASSUME_O_CLOEXEC): Likewise.
5440         (__ASSUME_PIPE2): Likewise.
5441         (__ASSUME_SIGNALFD4): Likewise.
5442         (__ASSUME_SOCK_CLOEXEC): Likewise.
5443         (__ASSUME_UTIMES): Undefine.
5444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5445         (__ASSUME_UTIMES): Do not define.
5446         (__ASSUME_O_CLOEXEC): Likewise.
5447         (__ASSUME_SOCK_CLOEXEC): Likewise.
5448         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5449         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5450         0x020621].
5451         (__ASSUME_PIPE2): Likewise.
5452         (__ASSUME_EVENTFD2): Likewise.
5453         (__ASSUME_SIGNALFD4): Likewise.
5454         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5455         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5456         Do not define.
5457         (__ASSUME_EVENTFD2): Likewise.
5458         (__ASSUME_SIGNALFD4): Likewise.
5459         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5460         (__ASSUME_32BITUIDS): Likewise.
5461         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5462         (__ASSUME_IPC64): Likewise.
5463         (__ASSUME_ST_INO_64_BIT): Likewise.
5464         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5465         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5466         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5467         (__ASSUME_UTIMES): Do not define.
5468         (__ASSUME_PSELECT): Likewise.
5469         (__ASSUME_PPOLL): Likewise.
5470         (__ASSUME_O_CLOEXEC): Likewise.
5471         (__ASSUME_SOCK_CLOEXEC): Likewise.
5472         (__ASSUME_IN_NONBLOCK): Likewise.
5473         (__ASSUME_PIPE2): Likewise.
5474         (__ASSUME_EVENTFD2): Likewise.
5475         (__ASSUME_SIGNALFD4): Likewise.
5476         (__ASSUME_DUP3): Likewise.
5477         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5478         (__ASSUME_UTIMES): Likewise.
5479         (__ASSUME_O_CLOEXEC): Likewise.
5480         (__ASSUME_SOCK_CLOEXEC): Likewise.
5481         (__ASSUME_IN_NONBLOCK): Likewise.
5482         (__ASSUME_PIPE2): Likewise.
5483         (__ASSUME_EVENTFD2): Likewise.
5484         (__ASSUME_SIGNALFD4): Likewise.
5485         (__ASSUME_DUP3): Likewise.
5486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5487         (__ASSUME_UTIMES): Likewise.
5488         (__ASSUME_O_CLOEXEC): Likewise.
5489         (__ASSUME_SOCK_CLOEXEC): Likewise.
5490         (__ASSUME_IN_NONBLOCK): Likewise.
5491         (__ASSUME_PIPE2): Likewise.
5492         (__ASSUME_EVENTFD2): Likewise.
5493         (__ASSUME_SIGNALFD4): Likewise.
5494         (__ASSUME_DUP3): Likewise.
5495         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5496         Likewise.
5497         (__ASSUME_UTIMES): Likewise.
5498         (__ASSUME_EVENTFD2): Likewise.
5499         (__ASSUME_SIGNALFD4): Likewise.
5500         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5501         (__ASSUME_O_CLOEXEC): Likewise.
5502         (__ASSUME_SOCK_CLOEXEC): Likewise.
5503         (__ASSUME_IN_NONBLOCK): Likewise.
5504         (__ASSUME_PIPE2): Likewise.
5505         (__ASSUME_EVENTFD2): Likewise.
5506         (__ASSUME_SIGNALFD4): Likewise.
5507         (__ASSUME_DUP3): Likewise.
5508         (__ASSUME_UTIMES): Undefine.
5509
5510         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5511         feclearexcept.  Remove symbol versioning code.
5512         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5513         symbol versioning code.
5514         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5515         symbol versioning code.
5516         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5517         feupdateenv.  Remove symbol versioning code.
5518         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5519         fegetexceptflag.  Remove symbol versioning code.
5520         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5521         fesetexceptflag.  Remove symbol versioning code.
5522         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5523         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5524         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5525         (__posix_fadvise64_l32): Remove prototype.
5526         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5527         code.
5528
5529 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5530
5531         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5532         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5533         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5534         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5535
5536 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5537
5538         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5539         current working directory
5540
5541 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5542
5543         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5544         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5545         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5546         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5547         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5548         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5549         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5550         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5551         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5552         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5553         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5554         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5555         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5556         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5557         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5558         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5559         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5560         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5561         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5562         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5563         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5564         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5565         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5566         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5567         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5568         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5569         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5570         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5571         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5572         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5573         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5574         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5575         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5576         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5577         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5578         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5579         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5580         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5581         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5582         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5583         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5584         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5585
5586         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5587         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5588
5589         * sysdeps/unix/sysv/linux/arm/Makefile
5590         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5591         Add rt-aeabi_unwind_cpp_pr1.
5592         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5593         Add nptl-aeabi_unwind_cpp_pr1.
5594         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5595         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5596         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5597         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5598         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5599         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5600
5601         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5602         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5603         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5604         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5605
5606         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5607         Deconditionalize the code that was previously under [RESET_PID].
5608         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5609
5610         * sysdeps/generic/exit-thread.h: New file.
5611         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5612         * include/unistd.h (__exit_thread): Remove declaration.
5613         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5614         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5615         * csu/libc-start.c: Include <exit-thread.h>.
5616         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5617         * nptl/pthread_create.c: Include <exit-thread.h>.
5618         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5619         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5620         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5621         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5622         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5623         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5624         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5625         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5626         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5627         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5628         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5629         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5630         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5631         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5632         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5633         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5634         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5635
5636 2014-05-13  Andreas Schwab  <schwab@suse.de>
5637
5638         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5639
5640 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5641
5642         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5643         (__ASSUME_UTIMES): Do not condition on kernel version.
5644         (__ASSUME_PSELECT): Define unconditionally.
5645         (__ASSUME_PPOLL): Likewise.
5646         (__ASSUME_ATFCTS): Likewise.
5647         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5648         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5649         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5650         (__ASSUME_UTIMENSAT): Define unconditionally.
5651         (__ASSUME_PRIVATE_FUTEX): Likewise.
5652         (__ASSUME_FALLOCATE): Likewise.
5653         (__ASSUME_O_CLOEXEC): Likewise.
5654         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5655         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5656         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5657         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5658         (__ASSUME_IN_NONBLOCK): Likewise.
5659         (__ASSUME_PIPE2): Likewise.
5660         (__ASSUME_EVENTFD2): Likewise.
5661         (__ASSUME_SIGNALFD4): Likewise.
5662         (__ASSUME_DUP3): Likewise.
5663         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5664         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5665         (__ASSUME_AT_RANDOM): Likewise.
5666         (__ASSUME_PREADV): Likewise.
5667         (__ASSUME_PWRITEV): Likewise.
5668         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5669         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5670         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5671         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5672         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5673         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5674         (__ASSUME_O_CLOEXEC): Define unconditionally.
5675         (__ASSUME_PSELECT): Do not undefine conditionally.
5676         (__ASSUME_PPOLL): Likewise.
5677         (__ASSUME_ATFCTS): Likewise.
5678         (__ASSUME_SET_ROBUST_LIST): Likewise.
5679         (__ASSUME_UTIMENSAT): Likewise.
5680         (__ASSUME_FDATASYNC): Define unconditionally.
5681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5682         (__ASSUME_SIGFRAME_V2): Likewise.
5683         )__ASSUME_EVENTFD2): Likewise.
5684         (__ASSUME_SIGNALFD4): Likewise.
5685         (__ASSUME_PSELECT): Do not undefine conditionally.
5686         (__ASSUME_PPOLL): Likewise.
5687         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5688         (__ASSUME_PSELECT): Define unconditionally.
5689         (__ASSUME_PPOLL): Likewise.
5690         (__ASSUME_O_CLOEXEC): Likewise.
5691         (__ASSUME_SOCK_CLOEXEC): Likewise.
5692         (__ASSUME_IN_NONBLOCK): Likewise.
5693         (__ASSUME_PIPE2): Likewise.
5694         (__ASSUME_EVENTFD2): Likewise.
5695         (__ASSUME_SIGNALFD4): Likewise.
5696         (__ASSUME_DUP3): Likewise.
5697         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5698         (__ASSUME_O_CLOEXEC): Likewise.
5699         (__ASSUME_SOCK_CLOEXEC): Likewise.
5700         (__ASSUME_IN_NONBLOCK): Likewise.
5701         (__ASSUME_PIPE2): Likewise.
5702         (__ASSUME_EVENTFD2): Likewise.
5703         (__ASSUME_SIGNALFD4): Likewise.
5704         (__ASSUME_DUP3): Likewise.
5705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5706         (__ASSUME_EVENTFD2): Likewise.
5707         (__ASSUME_SIGNALFD4): Likewise.
5708         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5709
5710 2014-05-12  Andreas Schwab  <schwab@suse.de>
5711
5712         [BZ #16932]
5713         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5714         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5715         than maximum RPC packet size.
5716         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5717         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5718         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5719         (_nss_nis_getservbyport_r): Likewise.
5720
5721 2014-05-12  Will Newton  <will.newton@linaro.org>
5722
5723         * malloc/Makefile (tests): Add tst-mallopt.
5724         * malloc/tst-mallopt.c: New file.
5725
5726 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5727
5728         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5729         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5730
5731 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732
5733         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5734         (tst-tlsmod6.so): Likewise.
5735
5736 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5737
5738         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5739
5740 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5741
5742         [BZ #16064]
5743         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5744         and <dl-procinfo.h>.
5745         (__fegetenv): Save SSE state in envp->__eip if supported.
5746         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5747         envp->__eip if supported.
5748         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5749         and <dl-procinfo.h>.
5750         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5751         __data_offset and __data_selector in environment to 0.  Set SSE
5752         state if supported.
5753         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5754         test-fenv-sse.
5755         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5756         -mfpmath=sse.
5757         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5758
5759 2014-05-09  Will Newton  <will.newton@linaro.org>
5760
5761         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5762         and libc_relro_required for ARM.
5763         * sysdeps/arm/preconfigure: Regenerate.
5764
5765 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5766             Stefan Liebler  <stli@linux.vnet.ibm.com>
5767
5768         * config.make.in (enable-lock-elision): New Makefile variable.
5769         * configure.ac: Likewise.
5770         * configure: Regenerate.
5771         * sysdeps/s390/configure.ac:
5772         Add check for gcc transactions support.
5773         * sysdeps/s390/configure: Regenerate.
5774         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5775         Build elision files if enabled.
5776         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5777         Add lock elision support for s390.
5778         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5779         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5780         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5781         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5782         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5783         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5784         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5785         Likewise.
5786         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5787         Likewise.
5788         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5789         Likewise.
5790         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5791         Likewise.
5792         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5793         (__lll_timedlock_elision, __lll_lock_elision)
5794         (__lll_unlock_elision, __lll_trylock_elision)
5795         (lll_timedlock_elision, lll_lock_elision)
5796         (lll_unlock_elision, lll_trylock_elision): Add.
5797         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5798         (pthread_mutex_t): Add lock elision support for s390.
5799
5800 2014-05-14  Wilco  <wdijkstr@arm.com>
5801
5802         * sysdeps/arm/fclrexcpt.c: Cleanup.
5803         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5804         * sysdeps/arm/feenablxcpt.c: Cleanup.
5805         * sysdeps/arm/fegetenv.c: Cleanup.
5806         * sysdeps/arm/fegetexcept.c: Cleanup.
5807         * sysdeps/arm/fegetround.c: Cleanup.
5808         * sysdeps/arm/feholdexcpt.c: Cleanup.
5809         * sysdeps/arm/fesetenv.c: Cleanup.
5810         * sysdeps/arm/fesetround.c: Cleanup.
5811         * sysdeps/arm/feupdateenv.c: Cleanup.
5812         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5813         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5814         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5815         * sysdeps/arm/ftestexcept.c: Cleanup.
5816         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5817         * sysdeps/arm/setfpucw.c: Cleanup.
5818
5819 2014-05-09  Will Newton  <will.newton@linaro.org>
5820
5821         * sysdeps/arm/armv7/strcmp.S: New file.
5822         * NEWS: Mention addition of ARMv7 optimized strcmp.
5823
5824 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5825
5826         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5827         look for %.ac rather than %.in.
5828
5829         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5830         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5831         * sysdeps/mach/hurd/configure: Regenerated.
5832         * sysdeps/unix/sysv/linux/configure: Regenerated.
5833
5834         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5835
5836 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5837
5838         [BZ# 16922]
5839         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5840         (LONG_SUB): Ditto.
5841         (PTR_SUB): Ditto.
5842
5843 2014-05-07  Andreas Schwab  <schwab@suse.de>
5844
5845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5846         when skipping over non-matching result from nscd.
5847
5848 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5849
5850         [BZ #16876]
5851         * nptl/sockperf.c (client): Check socket return value.
5852
5853         [BZ #16877]
5854         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5855         nscd security class.
5856
5857 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5858
5859         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5860         * sysdeps/arm/unwind.h: ... here.
5861
5862 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5863
5864         [BZ# 16916]
5865         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5866         Define.
5867
5868 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5869
5870         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5871         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5872         multiarch strncpy for PPC64.
5873         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5874         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5876         multiarch optimizations.
5877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5878         (__libc_ifunc_impl_list): Likewise.
5879         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5880         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5881         multiarch stpncpy for PPC64.
5882         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5883         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5884
5885 2014-05-06  Andreas Schwab  <schwab@suse.de>
5886
5887         [BZ #16912]
5888         * gmon/mcount.c (_MCOUNT_DECL): Use
5889         atomic_compare_and_exchange_bool_acq instead of
5890         catomic_compare_and_exchange_bool_acq.
5891
5892 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5893
5894         * elf/Makefile (others, install-bin): Remove pldd.
5895         (pldd-modules): Variable removed.
5896         ($(objpfx)pldd): Target removed.
5897         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5898         (others, install-bin): Append pldd here.
5899         ($(objpfx)pldd): New target.
5900
5901         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5902         to 0, so the first #if test emitted later doesn't see it undefined.
5903         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5904         * sysdeps/gnu/errlist.c: Regenerated.
5905
5906 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5907
5908         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5909         [libc_hidden_builtin_def]: Define to empty value.
5910         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5911         [libc_hidden_builtin_def]: Likewise.
5912         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5913         [libc_hidden_builtin_def]: Likewise.
5914         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5915         [libc_hidden_builtin_def]: Likewise.
5916         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5917         __redirect_memcpy and define ifunc as default hidden symbol.
5918         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5919         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5920
5921 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5922
5923         * locale/iso-4217.def: Reintroduce XDR currency.
5924
5925 2014-05-04  Allan McRae  <allan@archlinux.org>
5926
5927         * po/eo.po: Update Esperanto translation from translation project.
5928
5929 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5930
5931         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5932         and FEATURE_INDEX_MAX to 1.
5933         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5934
5935 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5936
5937         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5938         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5939         * iconvdata/big5.c (ONE_DIRECTION): Define.
5940         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5941         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5942         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5943         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5944         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5945         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5946         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5947         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5948         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5949         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5950         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5951         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5952         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5953         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5954         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5955         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5956         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5957         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5958         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5959         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5960         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5961         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5962         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5963         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5964         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5965         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5966         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5967         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5968         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5969         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5970         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5971         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5972         * iconvdata/johab.c (ONE_DIRECTION): Define.
5973         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5974         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5975         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5976         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5977         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5978         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5979         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5980         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5981         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5982         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5983
5984 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5985
5986         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5987         (_IO_JUMPS_OFFSET): Define to 0.
5988
5989         * nptl/sysdeps/pthread/bits/libc-lock.h
5990         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5991         (__libc_lock_define_initialized_recursive): Always define using
5992         initializer.  Modern compilers treat uninitialized (implicit zero) and
5993         explicit zero initializers the same (i.e. put the datum in bss).
5994
5995 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5996
5997         * nscd/nscd-client.h: Include <string.h>.
5998
5999 2014-05-01  David S. Miller  <davem@davemloft.net>
6000
6001         [BZ #16885]
6002         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6003         multiple zero bytes exist at the end of a string.
6004         Reported by Aurelien Jarno <aurelien@aurel32.net>
6005
6006         * string/test-strcmp.c (check): Add explicit test for situations where
6007         there are multiple zero bytes after the first.
6008
6009 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6010
6011         [BZ #16890]
6012         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6013         when compiling wprintf.
6014         * stdio-common/tstdiomisc.c (t3): New function.
6015         (main): Call it.
6016
6017 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6018
6019         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6020         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6021         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6022         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6023
6024 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6025
6026         * stdlib/longlong.h: Updated from GCC.
6027
6028 2014-05-01  Will Newton  <will.newton@linaro.org>
6029             Bernard Ogden  <bernie.ogden@linaro.org>
6030
6031         * NEWS: Update fixed bug list.
6032
6033         [BZ #15119]
6034         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6035
6036 2014-04-30  David S. Miller  <davem@davemloft.net>
6037
6038         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6039         (libc_feholdexcept_setround_sparc_ctx): New function.
6040         (libc_fesetenv_sparc_ctx): Likewise.
6041         (libc_feupdateenv_sparc_ctx): Likewise.
6042         (libc_feholdsetround_sparc_ctx): Likewise.
6043         (libc_feholdexcept_setround_ctx): Define.
6044         (libc_feholdexcept_setroundf_ctx): Likewise.
6045         (libc_feholdexcept_setroundl_ctx): Likewise.
6046         (libc_fesetenv_ctx): Likewise.
6047         (libc_fesetenvf_ctx): Likewise.
6048         (libc_fesetenvl_ctx): Likewise.
6049         (libc_feupdateenv_ctx): Likewise.
6050         (libc_feupdateenvf_ctx): Likewise.
6051         (libc_feupdateenvl_ctx): Likewise.
6052         (libc_feresetround_ctx): Likewise.
6053         (libc_feresetroundf_ctx): Likewise.
6054         (libc_feresetroundl_ctx): Likewise.
6055         (libc_feholdsetround_ctx): Likewise.
6056         (libc_feholdsetroundf_ctx): Likewise.
6057         (libc_feholdsetroundl_ctx): Likewise.
6058
6059         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6060         with __USE_GNU instead of XOPEN cpp guards.
6061
6062         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6063         0.
6064
6065         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6066         with XOPEN cpp guards.
6067
6068 2014-04-30  Julian Brown  <julian@codesourcery.com>
6069
6070         [BZ #16888]
6071         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6072         handling.
6073
6074 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6075
6076         [BZ #9894]
6077         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6078         Change to 2.6.32.
6079         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6080         * sysdeps/unix/sysv/linux/configure: Regenerated.
6081         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6082         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6083         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6084         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6085         * README: Update reference to required Linux kernel version.
6086         * manual/install.texi (Linux): Update reference to required Linux
6087         kernel headers version.
6088         * INSTALL: Regenerated.
6089
6090         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6091         header inclusion.
6092         [POSIX] (limits.h): Likewise.
6093         [POSIX] (math.h): Likewise.
6094         [POSIX] (sys/wait.h): Likewise.
6095         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6096         function.
6097         [POSIX] (stddef.h): Do not allow header inclusion.
6098
6099 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6100
6101         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6102
6103 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6104
6105         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6106         Return immediately after lll_futex_wake.
6107
6108 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6109
6110         [BZ #16791]
6111         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6112         structure.
6113         (datahead_init_pos): Call datahead_init_common early.
6114         (datahead_init_neg): Likewise.
6115
6116         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6117         datahead_init_neg): New functions.
6118         * nscd/aicache.c (addhstaiX): Use them.
6119         * nscd/grpcache.c (cache_addgr): Likewise.
6120         * nscd/hstcache.c (cache_addhst): Likewise.
6121         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6122         * nscd/netgroupcache.c (do_notfound): Likewise.
6123         (addgetnetgrentX): Likewise.
6124         (addinnetgrX): Likewise.
6125         * nscd/pwdcache.c (cache_addpw): Likewise.
6126         * nscd/servicescache.c (cache_addserv): Likewise.
6127
6128 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6129             Atsushi Onoe  <atsushi@onoe.org>
6130
6131         [BZ #14308]
6132         [BZ #12994]
6133         [BZ #13651]
6134         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6135         one response is valid.
6136         * resolv/res_send.c (send_dg): Check for validity of other
6137         response if the current response is a referral.
6138
6139 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6140
6141         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6142
6143 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6144
6145         [BZ #16823]
6146         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6147         Always divide by positive zero when computing -Inf result.
6148         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6149         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6150
6151 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6152
6153         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6154         FPSCR if value do not change.
6155         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6156         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6157         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6158         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6159         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6160         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6161         function.
6162
6163 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6164
6165         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6166         * sysdeps/unix/sysv/linux/hppa: Move directory from
6167         ports/systeps/unix/sysv/linux/hppa.
6168         * README: Update listing for hppa-*-linux-gnu.
6169
6170 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6171
6172         [BZ #16754]
6173         * manual/stdio.texi (Hook functions): Fix types of stream hook
6174         functions.
6175         [BZ #16854]
6176         * socket/sys/socket.h: Fix typo in comment.
6177
6178 2014-04-28  Wilco  <wdijkstr@arm.com>
6179
6180         * sysdeps/arm/fenv_private.h: New file.
6181         * sysdeps/arm/math_private.h: New file.
6182         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6183
6184 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6185
6186         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6187         with __int128_t.
6188         (La_x86_64_retval): Likewise.
6189
6190 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6191
6192         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6193         fpsr if value didn't change.
6194         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6195         to fpcr if value didn't change.
6196         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6197         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6198         fpsr or fpcr if value didn't change.
6199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6200         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6201         fpcr if value didn't change.
6202         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6203         to fpsr if value didn't change.
6204
6205 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6206
6207         * nptl/tst-sem3.c: Use test-skeleton.c
6208         (main): Rename to do_test.  Use return instead of
6209         exit.
6210         * nptl/tst-sem4.c: Use test-skeleton.c
6211         (main): Rename to do_test.
6212
6213 2014-04-22  David S. Miller  <davem@davemloft.net>
6214
6215         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6216         (struct sigaction): New struct member __glibc_reserved0, change
6217         type of sa_flags to int.
6218
6219 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6220
6221         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6222         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6223
6224 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6225
6226         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6227         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6228
6229 2014-04-22  Will Newton  <will.newton@linaro.org>
6230             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6231
6232         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6233         (__longjmp): Add longjmp and longjmp_target SystemTap
6234         probes.
6235         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6236         (__sigsetjmp): Add setjmp SystemTap probe.
6237
6238 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6239
6240         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6241         match manual order.
6242
6243 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6244
6245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6246
6247         * sysdeps/powerpc/fpu/fenv_private.h
6248         (libc_feholdexcept_setroundl_ctx): Define to
6249         libc_feholdexcept_setround_ppc_ctx.
6250         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6251         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6252         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6253         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6254
6255 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6256
6257         * sysdeps/aarch64/math-tests.h: New file.
6258
6259 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6260
6261         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6262         New.
6263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6264         Check and set bit_AVX2_Usable.
6265         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6266         macro.
6267         (bit_AVX2): Likewise.
6268         (index_AVX2_Usable): Likewise.
6269         (CPUID_AVX2): Likewise.
6270         (HAS_AVX2): Likewise.
6271
6272 2014-04-17  Will Newton  <will.newton@linaro.org>
6273
6274         * manual/setjmp.texi (System V contexts): Add note that
6275         calling setcontext on a context created by a call to a
6276         signal handler is undefined.  Update text to note that
6277         setcontext from a signal handler is possible but not
6278         recommended.
6279
6280         [BZ #16629]
6281         * stdlib/tst-setcontext.c: Include signal.h.
6282         (main): Check that the signal stack before and
6283         after swapcontext is the same.
6284
6285         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6286         Re-implement to restore registers in user code and avoid
6287         rt_sigreturn system call.
6288
6289 2014-04-17  Wilco  <wdijkstr@arm.com>
6290
6291         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6292         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6293         * math/test-fenv.c: Skip exception trap tests on targets which only
6294         support non-stop mode.
6295
6296 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6297             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6298
6299         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6300         (libc_feholdsetround_aarch64_ctx)
6301         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6302         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6303         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6304         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6305         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6306         (libc_feresetround_noexl_ctx): Define.
6307
6308 2014-04-16  Richard Henderson  <rth@redhat.com>
6309
6310         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6311
6312         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6313         unwind tables.
6314
6315         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6316         const from the non-libc, non-ldso copy.
6317
6318         * sysdeps/alpha/libm-test-ulps: Regenerate.
6319
6320 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6321             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6322
6323         * sysdeps/aarch64/fpu/math_private.h: New file.
6324
6325 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6326
6327         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6328
6329 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6330
6331         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6332         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6334         Intel MPX bound registers before _dl_profile_fixup.
6335         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6336         registers after _dl_profile_fixup.  Save and restore bound
6337         registers bnd0/bnd1 when calling _dl_call_pltexit.
6338         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6339         (LR_BND_OFFSET): Likewise.
6340         (LRV_BND0_OFFSET): Likewise.
6341         (LRV_BND1_OFFSET): Likewise.
6342
6343 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6344
6345         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6346         to...
6347         * sysdeps/mach/hurd/i386/tls.h: ... here.
6348         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6349         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6350         fields.
6351
6352 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6353
6354         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6355
6356 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6357
6358         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6359
6360 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6361
6362         [BZ #14770]
6363         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6364         * sysdeps/s390/configure: Regenerate.
6365
6366         [BZ #16824]
6367         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6368         Set round-to-nearest internally to reduce error accumulation.
6369
6370 2014-04-16  Alan Modra  <amodra@gmail.com>
6371
6372         [BZ #16740]
6373         [BZ #16619]
6374         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6375         * math/libm-test.inc (frexp_test_data): Add tests.
6376         * NEWS: Update fixed bug list.
6377
6378 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6379
6380         * benchtests/Makefile: Depend on libraries in build directory.
6381         (bench-math): Separate out math tests.
6382         (bench-pthread): Separate out pthread tests.
6383         (bench): Include math and pthread tests.
6384
6385 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6386
6387         [BZ #16831]
6388         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6389         _dl_debug_initialize.
6390
6391         * configure.ac: Remove SELinux header check.
6392         * configure: Regenerate.
6393         * nscd/selinux.c (perms): Array of const char* to permission names.
6394         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6395         default policy. Call string_to_security_class and string_to_av_perm to
6396         translate strings. Enforce default policy and call avs_has_perm with
6397         results of translated strings.
6398
6399 2014-04-13  David S. Miller  <davem@davemloft.net>
6400
6401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6402
6403 2014-04-12  Allan McRae  <allan@archlinux.org>
6404
6405         [BZ #16838]
6406         * manual/string.texi (Collation Functions): Fix qsort argument
6407         order in example.
6408         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6409
6410 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6411
6412         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6413         Make the test a no-op if there are no exceptions defined.
6414
6415 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6416
6417         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6418         enable-hardcoded-path-in-tests
6419
6420 2014-04-11  Will Newton  <will.newton@linaro.org>
6421
6422         * benchtests/Makefile (extra-objs): Add json-lib.o.
6423         (bench-func): Tidy up JSON output.
6424         * benchtests/bench-skeleton.c: Include json-lib.h.
6425         (main): Use JSON library functions to do output of
6426         benchmark results.
6427         * benchtests/bench-timing-type.c (main): Output the
6428         timing type simply, leaving formatting to the user.
6429         * benchtests/json-lib.c: New file.
6430         * benchtests/json-lib.h: Likewise.
6431
6432 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6433
6434         [BZ #15215]
6435         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6436         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6437         memory barriers.  Add comments.
6438         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6439         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6440         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6441         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6442         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6443         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6444
6445 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6446
6447         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6448         * sysdeps/s390/s390-64/configure.ac: ... this ...
6449         * sysdeps/s390/configure.ac: ... to here.
6450         * sysdeps/s390/s390-32/configure: Delete file.
6451         * sysdeps/s390/s390-64/configure: Delete file.
6452         * sysdeps/s390/configure: Regenerate.
6453
6454 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6455
6456         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6457
6458 2014-04-11  Will Newton  <will.newton@linaro.org>
6459
6460         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6461         to zero if it is not defined elsewhere.  (mtrim): Test
6462         the value of MALLOC_DEBUG with #if rather than #ifdef.
6463
6464 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6465
6466         * benchtests/pthread_once-inputs: New file.
6467         * benchtests/pthread_once-source.c: New file.
6468         * benchtests/README: Update documentation.
6469
6470 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6471             H.J. Lu  <hongjiu.lu@intel.com>
6472
6473         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6474         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6475         * sysdeps/x86_64/configure: Regenerated.
6476         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6477         macro.
6478         (REGISTER_SAVE_RAX): Likewise.
6479         (REGISTER_SAVE_RCX): Likewise.
6480         (REGISTER_SAVE_RDX): Likewise.
6481         (REGISTER_SAVE_RSI): Likewise.
6482         (REGISTER_SAVE_RDI): Likewise.
6483         (REGISTER_SAVE_R8): Likewise.
6484         (REGISTER_SAVE_R9): Likewise.
6485         (REGISTER_SAVE_BND0): Likewise.
6486         (REGISTER_SAVE_BND1): Likewise.
6487         (REGISTER_SAVE_BND2): Likewise.
6488         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6489         bound registers when calling _dl_fixup.
6490
6491 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6492
6493         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6494         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6495         of its definition.
6496         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6497         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6498         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6499         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6500         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6501         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6502         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6503
6504 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6505
6506         [BZ #15514]
6507         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6508         pathconf(_PC_NAME_MAX).
6509
6510 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6511
6512         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6513         Remove macro usage.
6514         (__PTHREAD_SPINS): Move definition to ...
6515         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6516         (__PTHREAD_SPINS): ... here.
6517         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6518         (__PTHREAD_SPIN): Likewise.
6519         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6520         (__PTHREAD_SPIN): Likewise.
6521         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6522         (__PTHREAD_SPIN): Likewise.
6523         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6524         (__PTHREAD_SPIN): Likewise.
6525         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6526         (__PTHREAD_SPIN): Likewise.
6527         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6528         (__PTHREAD_SPIN): Likewise.
6529         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6530         (__PTHREAD_SPIN): Likewise.
6531         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6532         (__PTHREAD_SPIN): Likewise.
6533         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6534         (__PTHREAD_SPIN): Likewise.
6535         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6536         (__PTHREAD_SPIN): Likewise.
6537         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6538         (__PTHREAD_SPIN): Likewise.
6539         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6540         (__PTHREAD_SPIN): Likewise.
6541
6542         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6543         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6544         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6545         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6546         imply folder.
6547         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6548         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6549         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6550         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6551         correct imply path.
6552         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6553         strlen symbol for non multi-arch builds.
6554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6555         missing hidden_def and weak_alias.
6556
6557 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6558
6559         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6560
6561 2014-04-07  Will Newton  <will.newton@linaro.org>
6562
6563         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6564         and contents.  [!_LIBC] Remove #ifndef and contents.
6565         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6566         * string/memccpy.c (__memccpy): Use ANSI prototype.
6567         * string/memfrob.c (memfrob): Likewise.
6568         * string/strcoll.c (STRCOLL): Likewise.
6569         * string/strlen.c (strlen): Likewise.
6570         * string/strtok.c (STRTOK): Likewise.
6571         * string/strcat.c: Remove unused #include of memcopy.h.
6572         (strcat): Use ANSI prototype.
6573         * string/strchr.c: Remove unused #include of memcopy.h.
6574         (strchr): Use ANSI prototype.
6575         * string/strcmp.c: Remove unused #include of memcopy.h.
6576         (strcmp): Use ANSI prototype.
6577         * string/strcpy.c: Remove unused #include of memcopy.h.
6578         (strcpy): Use ANSI prototype.
6579
6580 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6581
6582         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6583         * config.make.in (config-extra-cppflags): Set it from
6584         libc_extra_cppflags.
6585         * configure.ac (libc_extra_cflags): Make it accumulate over
6586         configure fragments.
6587         (libc_extra_cppflags): New flag.
6588         * configure. Regenerate.
6589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6590         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6591         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6593
6594         [BZ #16815]
6595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6596         result for FE_DOWNWARD rounding mode.
6597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6598         Likewise.
6599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6600
6601 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6602
6603         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6604         in function argument name.
6605
6606 2014-04-03  David Svoboda  <svoboda@cert.org>
6607
6608         [BZ #5666]
6609         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6610         explicitly.
6611
6612 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6613
6614         * elf/dl-unmap-segments.h: New file.
6615         * sysdeps/generic/ldsodefs.h
6616         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6617         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6618         * elf/dl-fptr.c: Likewise.
6619         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6620         * sysdeps/aarch64/tlsdesc.c: Likewise.
6621         * sysdeps/arm/tlsdesc.c: Likewise.
6622         * sysdeps/i386/tlsdesc.c: Likewise.
6623         * sysdeps/tile/dl-runtime.c: Likewise.
6624         * sysdeps/x86_64/tlsdesc.c: Likewise.
6625         * elf/dl-load.h: New file.
6626         * elf/dl-load.c: Include it.
6627         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6628         Macros moved to dl-load.h.
6629         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6630         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6631         Use _dl_unmap_segments in place of __munmap.
6632         Break out segment-mapping loop into ...
6633         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6634
6635 2014-04-03  Will Newton  <will.newton@linaro.org>
6636
6637         * elf/dl-lookup.c (do_lookup_x): Remove comment
6638         referring to nested function and move variable
6639         declarations down to before first use.
6640
6641 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6642
6643         [BZ #16799]
6644         [BZ #16800]
6645         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6646         with 0 numerator.
6647         * math/s_catanf.c (__catanf): Likewise.
6648         * math/s_catanh.c (__catanh): Likewise.
6649         * math/s_catanhf.c (__catanhf): Likewise.
6650         * math/s_catanhl.c (__catanhl): Likewise.
6651         * math/s_catanl.c (__catanl): Likewise.
6652         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6653         by positive zero when computing -Inf result.
6654         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6655         (catanh_test): Likewise.
6656         * sysdeps/i386/fpu/libm-test-ulps: Update.
6657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6658
6659         [BZ #16789]
6660         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6661         instead of using underflowing value in computing result.
6662         * math/s_clog10.c (__clog10): Likewise.
6663         * math/s_clog10f.c (__clog10f): Likewise.
6664         * math/s_clog10l.c (__clog10l): Likewise.
6665         * math/s_clogf.c (__clogf): Likewise.
6666         * math/s_clogl.c (__clogl): Likewise.
6667         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6668         (clog10_test): Likewise.
6669         * sysdeps/i386/fpu/libm-test-ulps: Update.
6670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671
6672 2014-04-02  Alan Modra  <amodra@gmail.com>
6673
6674         [BZ #16739]
6675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6676         output when value is near a power of two.  Use int64_t for lx and
6677         remove casts.  Use decimal rather than hex exponent constants.
6678         Don't use long double multiplication when double will suffice.
6679         * math/libm-test.inc (nextafter_test_data): Add tests.
6680         * NEWS: Add 16739 and 16786 to bug list.
6681
6682         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6683
6684         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6685
6686 2014-04-01  Will Newton  <will.newton@linaro.org>
6687
6688         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6689         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6690
6691 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6692
6693         [BZ #13347]
6694         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6695         * nptl/tst-setuid2.c: New file.
6696         * nptl/Makefile (xtests): Add tst-setuid2.
6697
6698 2014-04-01  Alan Modra  <amodra@gmail.com>
6699
6700         [BZ #16786]
6701         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6702
6703 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6704
6705         [BZ #6803]
6706         [BZ #6804]
6707         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6708         set errno as appropriate.
6709         * math/w_scalbf.c (__scalbf): Likewise.
6710         * math/w_scalbl.c (__scalbl): Likewise.
6711         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6712         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6713         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6714         Add more NaN tests.
6715
6716         [BZ #16349]
6717         * math/w_atan2.c: Include <errno.h>.
6718         (__atan2): Set errno for result underflowing to zero.
6719         * math/w_atan2f.c: Include <errno.h>.
6720         (__atan2f): Set errno for result underflowing to zero.
6721         * math/w_atan2l.c: Include <errno.h>.
6722         (__atan2l): Set errno for result underflowing to zero.
6723         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6724         tests.
6725         * math/auto-libm-test-out: Regenerated.
6726
6727 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6728
6729         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6730         Encode instruction correctly in little endian.
6731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6732         Likewise.
6733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6734         Likewise.
6735         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6736         Likewise.
6737         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6738         Likewise.
6739
6740 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6741
6742         [BZ #9894]
6743         * sysdeps/unix/sysv/linux/kernel-features.h
6744         [__sparc__ && !__arch64__ && !__sparc_v9__]
6745         (__ASSUME_SET_ROBUST_LIST): Do not define.
6746         [__sparc__ && !__arch64__ && !__sparc_v9__]
6747         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6748         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6749         Likewise.
6750         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6751         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6752         (__ASSUME_REQUEUE_PI): Likewise.
6753         (__ASSUME_SET_ROBUST_LIST): Likewise.
6754         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6755         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6756         Undefine.
6757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6758         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6759         Likewise.
6760         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6761         Likewise.
6762         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6763         Likewise.
6764         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6765         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6766         Undefine.
6767         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6768         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6769         Likewise.
6770
6771         [BZ #16648]
6772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6774         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6775
6776 2014-03-31  Will Newton  <will.newton@linaro.org>
6777
6778         * benchtests/Makefile (bench): Add ffs and ffsll to list
6779         of tests.
6780         * benchtests/ffs-inputs: New file.
6781         * benchtests/ffsll-inputs: Likewise.
6782
6783 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6784
6785         [BZ #16770]
6786         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6787         too large before casting to int.
6788         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6789         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6790         * math/libm-test.inc (scalb_test_data): Add more tests.
6791
6792 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6793
6794         * benchtests/Makefile (DETAILED_OPT): New make option.
6795         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6796         set.
6797         * benchtests/bench-skeleton.c: Include stdbool.h.
6798         (main): Store and print timings per input.
6799         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6800         member to each argument value.
6801         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6802         (_print_arg_data): Initialize per-input timing to 0.
6803
6804         * benchtests/Makefile (timing-type): New binary.
6805         (bench-clean): Also remove bench-timing-type.
6806         (bench): New target for timing-type.
6807         (bench-func): Print output in JSON format.
6808         * benchtests/bench-skeleton.c (main): Print output in JSON
6809         format.
6810         * benchtests/bench-timing-type.c: New file.
6811         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6812         (TIMING_PRINT_STATS): Remove.
6813         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6814         name separately.
6815
6816         * benchtests/bench-modf.c: Remove.
6817         * benchtests/modf-inputs: New inputs file.
6818
6819 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6820
6821         [BZ #16362]
6822         * math/s_clog10.c (M_PI_LOG10E): New macro.
6823         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6824         imaginary parts are 0.
6825         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6826         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6827         imaginary parts are 0.
6828         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6829         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6830         imaginary parts are 0.
6831         * math/libm-test.inc (clog10_test_data): Update expected results
6832         for when real and imaginary parts are 0.
6833
6834 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6835
6836         * elf/dl-load.c: Finish conversion of __builtin_expect into
6837         __glibc_{un}likely.
6838
6839 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6840
6841         [BZ #16348]
6842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6843         1+x for argument with exponent below -67.
6844         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6845         Likewise.
6846         * math/auto-libm-test-in: Add more tests of exp.
6847         * math/auto-libm-test-out: Regenerated.
6848
6849 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6850
6851         [BZ #16759]
6852         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6853         (nscd_getnetgrent): Use it.
6854
6855         [BZ #16760]
6856         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6857         of stpcpy.
6858
6859 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6860
6861         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6862         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6863         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6864         (lll_robust_unlock): Remove out of line section. Use cfi
6865         intrinsics.
6866         (LLL_STUB_UNWIND_INFO*): Remove.
6867         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6868         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6869         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6870         (lll_robust_unlock): Remove out of line section. Use cfi
6871         intrinsics.
6872         (LLL_STUB_UNWIND_INFO*): Remove.
6873
6874 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6875
6876         [BZ #16758]
6877         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6878         blank values.
6879
6880 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6881
6882         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6883
6884 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6885
6886         [BZ #16198]
6887         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6888         fnstenv.
6889         * math/test-fenv-preserve.c: New file.
6890         * math/Makefile (tests): Add test-fenv-preserve.
6891
6892 2014-03-26  Will Newton <will.newton@linaro.org>
6893
6894         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6895
6896 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6897
6898         * scripts/versionlist.awk: Partition the version sets and emit all
6899         GLIBC_* (sorted) before all others (sorted).
6900
6901 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6902
6903         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6904         GLIBC_2.2.5 version.
6905
6906 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6907
6908         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6909         calls.
6910
6911         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6912         previous change.
6913
6914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6915
6916 2014-03-25  Andreas Schwab  <schwab@suse.de>
6917
6918         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6919         label to be used after in6ailist is initialized.
6920
6921 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6922
6923         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6924         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6925
6926 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6927
6928         [BZ #16357]
6929         [BZ #16599]
6930         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6931         min_plus_half.
6932         (fp_formats): Update initializers.
6933         (init_fp_formats): Initialize new field.
6934         (output_for_one_input_case): Allow underflow for results up to
6935         min_plus_half.
6936         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6937         * math/auto-libm-test-in: Don't mark some underflows from asin and
6938         atanh as spurious.
6939         * math/auto-libm-test-out: Regenerated.
6940         * sysdeps/i386/fpu/libm-test-ulps: Update.
6941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942
6943 2014-03-25  Andreas Schwab  <schwab@suse.de>
6944
6945         * libio/Makefile (tst-ftell-partial-wide-ENV)
6946         (tst-ftell-active-handler-ENV): Define.
6947
6948 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6949
6950         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6951
6952 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6953
6954         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6955
6956 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6957
6958         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6959         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6960         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6961
6962 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6963
6964         [BZ #16634]
6965         * elf/dl-load.c (open_verify): Add mode parameter.
6966         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6967         (open_path): Change from boolean 'secure' to complete flag 'mode'
6968         (_dl_map_object): Adjust.
6969         * elf/Makefile (tests): Add tst-dlopen-aout.
6970         * elf/tst-dlopen-aout.c: New test.
6971
6972 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6973
6974         [BZ #16714]
6975         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6976         (struct stat): Rename member pad0 to __glibc_reserved0.
6977
6978         [BZ #16712]
6979         * sysdeps/s390/s390-32/bits/wordsize.h
6980         (__WORDSIZE32_SIZE_ULONG): New define.
6981         * sysdeps/s390/s390-64/bits/wordsize.h
6982         (__WORDSIZE32_SIZE_ULONG): Likewise.
6983         * sysdeps/generic/stdint.h (SIZE_MAX):
6984         Define as UL if __WORDSIZE32_SIZE_ULONG.
6985
6986         [BZ #16713]
6987         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6988         (__glibc_reserved0): New variable.
6989         (sa_flags): Change type to int.
6990
6991         * posix/Makefile (before-compile): Use += before-compile instead
6992         of a :=.
6993
6994         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6995         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6996
6997 2014-03-20  Andreas Schwab  <schwab@suse.de>
6998
6999         [BZ #16743]
7000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7001         non-matching result from nscd.
7002
7003 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7004
7005         * scripts/bench.py: Moved to ...
7006         * benchtests/scripts/bench.py: ... here.
7007         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7008
7009 2014-03-24  Andreas Schwab  <schwab@suse.de>
7010
7011         [BZ #16002]
7012         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7013         alloca_account and account alloca use for struct in6ailist.
7014
7015 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7016
7017         [BZ #16284]
7018         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7019         rounding mode to recompute results that overflow to infinity or
7020         underflow to zero.
7021         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7022         bug 16284.
7023         * math/auto-libm-test-out: Regenerated.
7024         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7025         (ccosh_test): Likewise.
7026         (csin_test_data): Use plus_oflow.
7027         (csin_test): Use ALL_RM_TEST.
7028         (csinh_test_data): Use plus_oflow.
7029         (csinh_test): Use ALL_RM_TEST.
7030         * sysdeps/i386/fpu/libm-test-ulps: Update.
7031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7032
7033 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7034
7035         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7036         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7037         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7038
7039         [BZ #16731]
7040         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7041         when x - 1 is zero.
7042         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7043         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7044         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7045         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7046         argument is 1.
7047         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7048         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7049         zero.
7050         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7051         * sysdeps/i386/fpu/libm-test-ulps: Update.
7052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053
7054 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7055
7056         * scripts/bench.pl: Remove file.
7057         * scripts/bench.py: New benchmark script.
7058         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7059         * benchtests/README: Mention python dependency.
7060         * scripts/pylintrc: New file.
7061         * scripts/pylint: New file.
7062
7063         * bits/mathdef.h: Use #ifdef instead of #if.
7064         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7065         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7066         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7067         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7068         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7069         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7070
7071 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7072             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7073
7074         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7076         and strpbrk-ppc64 objects.
7077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7078         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7079         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7080         multiarch strpbrk for POWER7.
7081         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7082         multiarch strpbrk for PPC64.
7083         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7084         ifunc selector.
7085         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7086         strpbrk for POWER7.
7087
7088 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7089
7090         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7091         (atan_test): Likewise.
7092         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7093         (atanh_test): Use ALL_RM_TEST.
7094         (atan2_test_data): Likewise.
7095         (cabs_test): Likewise.
7096         (cacosh_test): Likewise.
7097         (carg_test): Likewise.
7098         (casin_test): Likewise.
7099         (casinh_test): Likewise.
7100         (cbrt_test): Likewise.
7101         (csqrt_test): Likewise.
7102         (erf_test): Likewise.
7103         (erfc_test): Likewise.
7104         (pow10_test): Likewise.
7105         (exp2_test): Likewise.
7106         (hypot_test): Likewise.
7107         (j0_test): Likewise.
7108         (j1_test): Likewise.
7109         (lgamma_test): Likewise.
7110         (gamma_test): Likewise.
7111         (sincos_test): Likewise.
7112         (tanh_test): Likewise.
7113         (y0_test): Likewise.
7114         (y1_test): Likewise.
7115         * sysdeps/i386/fpu/libm-test-ulps: Update.
7116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117
7118 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7119
7120         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7122         and strcspn-ppc64 objects.
7123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7124         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7125         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7126         multiarch strcspn for POWER7.
7127         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7128         multiarch strcspn for PPC64.
7129         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7130         ifunc selector.
7131         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7132         strcspn for POWER7.
7133
7134 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7135
7136         * math/gen-libm-test.pl (generate_testfile): Expect only function
7137         name as argument to AUTO_TESTS_* and pass results for all rounding
7138         modes to parse_args.
7139         (parse_auto_input): Separate inputs of automatic tests from
7140         outputs before storing in %auto_tests.
7141         * math/libm-test.inc (acos_test_data): Update call to
7142         AUTO_TESTS_f_f.
7143         (acos_test): Use ALL_RM_TEST.
7144         (acos_tonearest_test_data): Remove.
7145         (acos_test_tonearest): Likewise.
7146         (acos_towardzero_test_data): Likewise.
7147         (acos_test_towardzero): Likewise.
7148         (acos_downward_test_data): Likewise.
7149         (acos_test_downward): Likewise.
7150         (acos_upward_test_data): Likewise.
7151         (acos_test_upward): Likewise.
7152         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7153         (asin_test_data): Likewise.
7154         (asin_test): Use ALL_RM_TEST.
7155         (asin_tonearest_test_data): Remove.
7156         (asin_test_tonearest): Likewise.
7157         (asin_towardzero_test_data): Likewise.
7158         (asin_test_towardzero): Likewise.
7159         (asin_downward_test_data): Likewise.
7160         (asin_test_downward): Likewise.
7161         (asin_upward_test_data): Likewise.
7162         (asin_test_upward): Likewise.
7163         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7164         (atan_test_data): Likewise.
7165         (atanh_test_data): Likewise.
7166         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7167         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7168         (carg_test_data): Likewise.
7169         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7170         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7171         (ccosh_test_data): Likewise.
7172         (cexp_test_data): Likewise.
7173         (clog_test_data): Likewise.
7174         (clog10_test_data): Likewise.
7175         (cos_test_data): Update call to AUTO_TESTS_f_f.
7176         (cos_test): Use ALL_RM_TEST.
7177         (cos_tonearest_test_data): Remove.
7178         (cos_test_tonearest): Likewise.
7179         (cos_towardzero_test_data): Likewise.
7180         (cos_test_towardzero): Likewise.
7181         (cos_downward_test_data): Likewise.
7182         (cos_test_downward): Likewise.
7183         (cos_upward_test_data): Likewise.
7184         (cos_test_upward): Likewise.
7185         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7186         (cosh_test): Use ALL_RM_TEST.
7187         (cosh_tonearest_test_data): Remove.
7188         (cosh_test_tonearest): Likewise.
7189         (cosh_towardzero_test_data): Likewise.
7190         (cosh_test_towardzero): Likewise.
7191         (cosh_downward_test_data): Likewise.
7192         (cosh_test_downward): Likewise.
7193         (cosh_upward_test_data): Likewise.
7194         (cosh_test_upward): Likewise.
7195         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7196         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7197         (ctan_test_data): Likewise.
7198         (ctan_test): Use ALL_RM_TEST.
7199         (ctan_tonearest_test_data): Remove.
7200         (ctan_test_tonearest): Likewise.
7201         (ctan_towardzero_test_data): Likewise.
7202         (ctan_test_towardzero): Likewise.
7203         (ctan_downward_test_data): Likewise.
7204         (ctan_test_downward): Likewise.
7205         (ctan_upward_test_data): Likewise.
7206         (ctan_test_upward): Likewise.
7207         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7208         (ctanh_test): Use ALL_RM_TEST.
7209         (ctanh_tonearest_test_data): Remove.
7210         (ctanh_test_tonearest): Likewise.
7211         (ctanh_towardzero_test_data): Likewise.
7212         (ctanh_test_towardzero): Likewise.
7213         (ctanh_downward_test_data): Likewise.
7214         (ctanh_test_downward): Likewise.
7215         (ctanh_upward_test_data): Likewise.
7216         (ctanh_test_upward): Likewise.
7217         (erf_test_data): Update call to AUTO_TESTS_f_f.
7218         (erfc_test_data): Likewise.
7219         (exp_test_data): Likewise.
7220         (exp_test): Use ALL_RM_TEST.
7221         (exp_tonearest_test_data): Remove.
7222         (exp_test_tonearest): Likewise.
7223         (exp_towardzero_test_data): Likewise.
7224         (exp_test_towardzero): Likewise.
7225         (exp_downward_test_data): Likewise.
7226         (exp_test_downward): Likewise.
7227         (exp_upward_test_data): Likewise.
7228         (exp_test_upward): Likewise.
7229         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7230         (exp10_test): Use ALL_RM_TEST.
7231         (exp10_tonearest_test_data): Remove.
7232         (exp10_test_tonearest): Likewise.
7233         (exp10_towardzero_test_data): Likewise.
7234         (exp10_test_towardzero): Likewise.
7235         (exp10_downward_test_data): Likewise.
7236         (exp10_test_downward): Likewise.
7237         (exp10_upward_test_data): Likewise.
7238         (exp10_test_upward): Likewise.
7239         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7240         (expm1_test_data): Likewise.
7241         (expm1_test): Use ALL_RM_TEST.
7242         (expm1_tonearest_test_data): Remove.
7243         (expm1_test_tonearest): Likewise.
7244         (expm1_towardzero_test_data): Likewise.
7245         (expm1_test_towardzero): Likewise.
7246         (expm1_downward_test_data): Likewise.
7247         (expm1_test_downward): Likewise.
7248         (expm1_upward_test_data): Likewise.
7249         (expm1_test_upward): Likewise.
7250         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7251         (fma_test): Use ALL_RM_TEST.
7252         (fma_towardzero_test_data): Remove.
7253         (fma_test_towardzero): Likewise.
7254         (fma_downward_test_data): Likewise.
7255         (fma_test_downward): Likewise.
7256         (fma_upward_test_data): Likewise.
7257         (fma_test_upward): Likewise.
7258         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7259         (j0_test_data): Update call to AUTO_TESTS_f_f.
7260         (j1_test_data): Likewise.
7261         (jn_test_data): Update call to AUTO_TESTS_if_f.
7262         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7263         (log_test_data): Update call to AUTO_TESTS_f_f.
7264         (log10_test_data): Likewise.
7265         (log1p_test_data): Likewise.
7266         (log2_test_data): Likewise.
7267         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7268         (pow_tonearest_test_data): Likewise.
7269         (sin_test_data): Update call to AUTO_TESTS_f_f.
7270         (sin_test): Use ALL_RM_TEST.
7271         (sin_tonearest_test_data): Remove.
7272         (sin_test_tonearest): Likewise.
7273         (sin_towardzero_test_data): Likewise.
7274         (sin_test_towardzero): Likewise.
7275         (sin_downward_test_data): Likewise.
7276         (sin_test_downward): Likewise.
7277         (sin_upward_test_data): Likewise.
7278         (sin_test_upward): Likewise.
7279         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7280         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7281         (sinh_test): Use ALL_RM_TEST.
7282         (sinh_tonearest_test_data): Remove.
7283         (sinh_test_tonearest): Likewise.
7284         (sinh_towardzero_test_data): Likewise.
7285         (sinh_test_towardzero): Likewise.
7286         (sinh_downward_test_data): Likewise.
7287         (sinh_test_downward): Likewise.
7288         (sinh_upward_test_data): Likewise.
7289         (sinh_test_upward): Likewise.
7290         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7291         (sqrt_test): Use ALL_RM_TEST.
7292         (sqrt_tonearest_test_data): Remove.
7293         (sqrt_test_tonearest): Likewise.
7294         (sqrt_towardzero_test_data): Likewise.
7295         (sqrt_test_towardzero): Likewise.
7296         (sqrt_downward_test_data): Likewise.
7297         (sqrt_test_downward): Likewise.
7298         (sqrt_upward_test_data): Likewise.
7299         (sqrt_test_upward): Likewise.
7300         (tan_test_data): Update call to AUTO_TESTS_f_f.
7301         (tan_test): Use ALL_RM_TEST.
7302         (tan_tonearest_test_data): Remove.
7303         (tan_test_tonearest): Likewise.
7304         (tan_towardzero_test_data): Likewise.
7305         (tan_test_towardzero): Likewise.
7306         (tan_downward_test_data): Likewise.
7307         (tan_test_downward): Likewise.
7308         (tan_upward_test_data): Likewise.
7309         (tan_test_upward): Likewise.
7310         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7311         (tgamma_test_data): Likewise.
7312         (y0_test_data): Likewise.
7313         (y1_test_data): Likewise.
7314         (yn_test_data): Update call to AUTO_TESTS_if_f.
7315         (main): Do not call removed functions.
7316
7317 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7318
7319         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7320         (ldexp_test_data): Remove.
7321         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7322         scalbn_test_data.
7323         (scalb_test): Use ALL_RM_TEST.
7324
7325 2014-03-19  Andreas Schwab  <schwab@suse.de>
7326
7327         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7328
7329 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7330
7331         [BZ #16649]
7332         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7333         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7334         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7336         (__ASSUME_PREADV): Undefine.
7337         (__ASSUME_PWRITEV): Likewise.
7338
7339 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7340
7341         * bits/mman-linux.h: Add comment about non-Linux use.
7342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7343         bits/mman-linux.h resting place.
7344
7345         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7346         * bits/mman-linux.h: ... here.
7347
7348 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7349
7350         * conform/conformtest.pl: Add standard definition when calling C
7351         preprocessor on data files.
7352         (checknamespace): Remove unused variable.
7353
7354 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7355
7356         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7357         minus_oflow, plus_uflow and minus_uflow in expected results.
7358         * math/libm-test.inc (scalbn_test_data): Add more tests of
7359         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7360         minus_uflow.
7361         (scalbn_test): Use ALL_RM_TEST.
7362         (scalbln_test_data): Add more tests of negative arguments.  Use
7363         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7364         (scalbln_test): Use ALL_RM_TEST.
7365
7366 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7367
7368         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7369
7370 2014-03-18  Will Newton  <will.newton@linaro.org>
7371
7372         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7373         inaccurate comment.
7374
7375 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7376
7377         * Makerules [!subdir] (check-abi): Exit with error status if a
7378         test failed.
7379
7380 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7381
7382         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7383         for rint.  Include results for all rounding modes.
7384         (nearbyint_test): Use ALL_RM_TEST.
7385         (rint_test_data): Include all tests used for nearbyint.
7386
7387 2014-03-17  Will Newton  <will.newton@linaro.org>
7388
7389         * nptl/sysdeps/pthread/pthread.h: Revert previous
7390         change.
7391
7392         * sysdeps/generic/ldsodefs.h: Revert previous
7393         change.
7394
7395         * libio/genops.c: Revert previous change.
7396         * libio/libioP.h: Likewise.
7397         * stdio-common/vfprintf.c: Likewise.
7398
7399         * sysdeps/generic/math_private.h: Revert previous
7400         change.
7401
7402         * sysdeps/generic/math_private.h: Check whether
7403         HAVE_RM_CTX is defined with #ifdef rather
7404         than #if.
7405
7406         * argp/argp-fmtstream.h: Check whether
7407         __STRICT_ANSI__ is defined with #ifdef rather
7408         than #if.
7409         * argp/argp.h: Likewise.
7410
7411         * libio/genops.c: Check whether
7412         _IO_JUMPS_OFFSET is defined with #ifdef rather
7413         than #if.
7414         * libio/libioP.h: Likewise.
7415         * stdio-common/vfprintf.c: Likewise.
7416
7417         * sysdeps/generic/ldsodefs.h: Check whether
7418         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7419         than #if.
7420
7421         * nptl/sysdeps/pthread/pthread.h: Check
7422         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7423         its value.
7424
7425 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7426
7427         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7428         setting O_APPEND.
7429         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7430         test case.
7431
7432         [BZ #16680]
7433         * libio/fileops.c (_IO_file_open): Seek to end of file but
7434         don't cache the offset.
7435         (get_file_offset): Remove function.
7436         (do_ftell): Use cached offset when available.
7437         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7438         don't cache the offset.
7439         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7440         case.
7441         (do_one_test): Call it.
7442         (do_ftell_test): Fix up expected old offset for a+ mode.
7443         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7444         available.
7445
7446         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7447         up test status with function return status.
7448         (do_write_test): Likewise.
7449         (do_append_test): Likewise.
7450
7451         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7452         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7453         Remove.
7454
7455 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7456
7457         * math/gen-libm-test.pl (parse_args): Handle results specified for
7458         each rounding mode separately.
7459         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7460         tests and results from lrint_tonearest_test_data,
7461         lrint_towardzero_test_data, lrint_downward_test_data and
7462         lrint_upward_test_data.
7463         (lrint_test): Use ALL_RM_TEST.
7464         (lrint_tonearest_test_data): Remove.
7465         (lrint_test_tonearest): Likewise.
7466         (lrint_towardzero_test_data): Likewise.
7467         (lrint_test_towardzero): Likewise.
7468         (lrint_downward_test_data): Likewise.
7469         (lrint_test_downward): Likewise.
7470         (lrint_upward_test_data): Likewise.
7471         (lrint_test_upward): Likewise.
7472         (llrint_test_data): Merge in per-rounding-mode tests and results
7473         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7474         llrint_downward_test_data and llrint_upward_test_data.
7475         (llrint_test): Use ALL_RM_TEST.
7476         (llrint_tonearest_test_data): Remove.
7477         (llrint_test_tonearest): Likewise.
7478         (llrint_towardzero_test_data): Likewise.
7479         (llrint_test_towardzero): Likewise.
7480         (llrint_downward_test_data): Likewise.
7481         (llrint_test_downward): Likewise.
7482         (llrint_upward_test_data): Likewise.
7483         (llrint_test_upward): Likewise.
7484         (rint_test_data): Merge in per-rounding-mode tests and results
7485         from rint_tonearest_test_data, rint_towardzero_test_data,
7486         rint_downward_test_data and rint_upward_test_data.  Add
7487         per-rounding-mode results for tests not in those arrays.
7488         (rint_test): Use ALL_RM_TEST.
7489         (rint_tonearest_test_data): Remove.
7490         (rint_test_tonearest): Likewise.
7491         (rint_towardzero_test_data): Likewise.
7492         (rint_test_towardzero): Likewise.
7493         (rint_downward_test_data): Likewise.
7494         (rint_test_downward): Likewise.
7495         (rint_upward_test_data): Likewise.
7496         (rint_test_upward): Likewise.
7497         (main): Don't call removed functions.
7498
7499 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7500
7501         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7502         "Compiled on ..." crapola.  It is anti-useful.
7503
7504 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7505
7506         * scripts/evaluate-test.sh: Handle fourth argument to determine
7507         whether test run should stop on failure.
7508         * Makeconfig (stop-on-test-failure): New variable.
7509         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7510         $(stop-on-test-failure).
7511         * Makefile (tests): Give a summary of results from testing and
7512         exit with failure status if they include an ERROR or FAIL.
7513         (xtests): Likewise.
7514         * manual/install.texi (Configuring and compiling): Mention
7515         stop-on-test-failure=y.
7516         * INSTALL: Regenerated.
7517
7518 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7519
7520         * scripts/versionlist.awk: New file.
7521         * Makerules [$(build-shared) = yes]
7522         (postclean-generated): Add Versions.def, not Versions.def.v and
7523         Versions.def.v.i.
7524         ($(common-objpfx)Versions.def.v.i): Target removed.
7525         ($(common-objpfx)Versions.def): New target.
7526         ($(common-objpfx)Versions.all): Depend on that rather that
7527         $(common-objpfx)Versions.def.v.
7528         * Versions.def: File removed.
7529
7530         * Makeconfig (+gccwarn): Add -Wundef.
7531         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7532         a dl-sysdep.h breaking its contract.
7533         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7534         * include/stackinfo.h: New file.
7535         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7536         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7537         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7538         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7539         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7540         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7541         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7542         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7543         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7544         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7545         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7546         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7547         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7548         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7549         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7550
7551 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7552
7553         [BZ #16707]
7554         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7555         implementation.
7556         * math/libm-test.inc (round_test_data): Add more tests.
7557
7558         [BZ #16706]
7559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7560         implementation.
7561         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7562
7563         [BZ #16701]
7564         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7565         implementation.
7566         * math/libm-test.inc (ceil_test_data): Add more tests.
7567
7568         * math/libm-test.inc (trunc_test_data): Add more tests related to
7569         BZ#16414.
7570
7571 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7572
7573         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7574         with #if rather than #ifdef.
7575         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7576
7577 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7578
7579         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7580         first.  Disable AVX-512 GCC support if assembler doesn't support
7581         it.
7582         * sysdeps/x86_64/configure: Regenerated.
7583
7584 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7585
7586         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7587         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7588         (__old_pthread_attr_setstack): Likewise.
7589         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7590         [!_STACK_GROWS_DOWN]: Likewise.
7591
7592 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7593
7594         * config.make.in (have-bash2): Delete.
7595         * configure.ac (libc_cv_have_bash2): Delete.
7596         * configure: Regenerate.
7597         * elf/Makefile (common-ldd-rewrite): Rename to ...
7598         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7599         (sh-ldd-rewrite): Delete.
7600         (bash-ldd-rewrite): Delete.
7601         (have-bash2): Delete checks.
7602         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7603         ldd-rewrite.
7604
7605         * config.make.in (have-ksh): Delete.
7606         (KSH): Delete.
7607         * configure.ac (libc_cv_have_ksh): Delete.
7608         * configure: Regenerate.
7609
7610         * elf/Makefile: Delete $(have-ksh) check.
7611         ($(objpfx)sotruss): Change KSH to BASH.
7612         * elf/sotruss.ksh: Rename to ...
7613         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7614         function style to match POSIX.  Drop ksh vim mode setting.
7615
7616         * manual/time.texi (Specifying the Time Zone with TZ): Change
7617         Tuesday to Thursday.
7618
7619         * debug/tst-longjmp_chk2.c: Update header comment.
7620         (stackoverflow_handler): Add comment.  Call assert on pass value.
7621
7622 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7623
7624         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7625         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7626         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7627         (La_x86_64_vector): Add zmm.
7628         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7629         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7630         ($(objpfx)tst-audit10): New target.
7631         ($(objpfx)tst-audit10.out): Likewise.
7632         (tst-audit10-ENV): New.
7633         (AVX512-CFLAGS): Likewise.
7634         (CFLAGS-tst-audit10.c): Likewise.
7635         (CFLAGS-tst-auditmod10a.c): Likewise.
7636         (CFLAGS-tst-auditmod10b.c): Likewise.
7637         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7638         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7639         * sysdeps/x86_64/configure: Regenerated.
7640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7641         AVX-512 zmm register support.
7642         (_dl_x86_64_save_sse): Likewise.
7643         (_dl_x86_64_restore_sse): Likewise.
7644         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7645         size vector registers.
7646         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7647         (ZMM_SIZE): Likewise.
7648         * sysdeps/x86_64/tst-audit10.c: New file.
7649         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7650         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7651
7652 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7653
7654         * configure.ac (HAVE_EHDR_START): New check.
7655         * configure: Regenerated.
7656         * config.h.in (HAVE_EHDR_START): New #undef.
7657         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7658         assuming the lowest-addressed segment maps the start of the file.
7659
7660 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7661
7662         * INSTALL: Regenerated.
7663
7664 2014-03-13  Will Newton  <will.newton@linaro.org>
7665
7666         * manual/setjmp.texi (System V contexts): Improve
7667         clarity and grammar of documentation.
7668
7669 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7670
7671         [BZ #16381]
7672         * elf/Makefile (tests): Add tst-pie2.
7673         (tests-pie): Add tst-pie2.
7674         * elf/tst-pie2.c: New file.
7675         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7676         for ET_EXEC.
7677         * elf/rtld.c (map_doit): Load executable as lt_executable.
7678         (dl_main): Likewise.
7679
7680 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7681
7682         [BZ #16642]
7683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7684         (__ASSUME_PSELECT): Undefine.
7685
7686 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7687
7688         [BZ #16689]
7689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7690         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7691         static build.
7692         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7693         selector for static builds.
7694
7695 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7696
7697         [BZ #16695]
7698         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7699         key in the buffer.
7700
7701 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7702
7703         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7704         IFUNC selector for static builds.
7705
7706 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7707
7708         * sysdeps/mips/math_private.h [__mips_hard_float]
7709         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7710         libc_feresetround_mips_ctx.
7711         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7712         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7713         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7714
7715         [BZ #16677]
7716         * math/s_nextafter.c (__nextafter): Do not return value from
7717         overflowing computation.
7718         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7719         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7720         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7721         Likewise.
7722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7723         Likewise.
7724         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7725         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7726
7727 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7728
7729         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7730         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7731         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7732         the new mov targetting sp.
7733
7734 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7735
7736         [BZ #16683]
7737         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7738         Define it for static builds as well.
7739         (NO_BZERO_IMPL): Likewise.
7740
7741 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7742
7743         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7744         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7745         multiarch strspn for PPC64.
7746         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7747         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7749         (__libc_ifunc_impl_list): Likewise.
7750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7751         multiarch optimizations
7752         * string/strspn.c (strspn): Using macro to redefine symbol name.
7753
7754 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7755             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7756
7757         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7758         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7759         multiarch strncat for PPC64.
7760         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7761         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7763         (__libc_ifunc_impl_list): Likewise.
7764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7765         multiarch optimizations
7766
7767 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7768
7769         [BZ #16639]
7770         * nscd/nscd.service: Make service type forking.
7771
7772 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7773
7774         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7775         sign in non default rounding modes.
7776         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7777
7778 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7779
7780         * math/libm-test.inc (ALL_RM_TEST): New macro.
7781         (ceil_test): Use ALL_RM_TEST.
7782         (cimag_test): Likewise.
7783         (conj_test): Likewise.
7784         (copysign_test): Likewise.
7785         (cproj_test): Likewise.
7786         (creal_test): Likewise.
7787         (fabs_test): Likewise.
7788         (floor_test): Likewise.
7789         (fmax_test): Likewise.
7790         (fmin_test): Likewise.
7791         (fmod_test): Likewise.
7792         (fpclassify_test): Likewise.
7793         (frexp_test): Likewise.
7794         (ilogb_test): Likewise.
7795         (isfinite_test): Likewise.
7796         (finite_test): Likewise.
7797         (isgreater_test): Likewise.
7798         (isgreaterequal_test): Likewise.
7799         (isinf_test): Likewise.
7800         (isless_test): Likewise.
7801         (islessequal_test): Likewise.
7802         (islessgreater_test): Likewise.
7803         (isnan_test): Likewise.
7804         (isnormal_test): Likewise.
7805         (issignaling_test): Likewise.
7806         (isunordered_test): Likewise.
7807         (logb_test): Likewise.
7808         (logb_downward_test_data): Remove.
7809         (logb_test_downward): Likewise.
7810         (lround_test): Use ALL_RM_TEST.
7811         (llround_test): Likewise.
7812         (modf_test): Likewise.
7813         (nexttoward_test): Likewise.
7814         (remainder_test): Likewise.
7815         (drem_test): Likewise.
7816         (remainder_tonearest_test_data): Likewise.
7817         (remainder_test_tonearest): Likewise.
7818         (drem_test_tonearest): Likewise.
7819         (remainder_towardzero_test_data): Likewise.
7820         (remainder_test_towardzero): Likewise.
7821         (drem_test_towardzero): Likewise.
7822         (remainder_downward_test_data): Likewise.
7823         (remainder_test_downward): Likewise.
7824         (drem_test_downward): Likewise.
7825         (remainder_upward_test_data): Likewise.
7826         (remainder_test_upward): Likewise.
7827         (drem_test_upward): Likewise.
7828         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7829         (round_test): Use ALL_RM_TEST.
7830         (signbit_test): Likewise.
7831         (trunc_test): Likewise.
7832         (significand_test): Likewise.
7833         (main): Don't call removed functions.
7834
7835 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7836
7837         [BZ #16674]
7838         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7839         || __USE_XOPEN2K8].
7840         (ILL_ILLOPN): Likewise.
7841         (ILL_ILLADR): Likewise.
7842         (ILL_ILLTRP): Likewise.
7843         (ILL_PRVOPC): Likewise.
7844         (ILL_PRVREG): Likewise.
7845         (ILL_COPROC): Likewise.
7846         (ILL_BADSTK): Likewise.
7847         (FPE_INTDIV): Likewise.
7848         (FPE_INTOVF): Likewise.
7849         (FPE_FLTDIV): Likewise.
7850         (FPE_FLTOVF): Likewise.
7851         (FPE_FLTUND): Likewise.
7852         (FPE_FLTRES): Likewise.
7853         (FPE_FLTINV): Likewise.
7854         (FPE_FLTSUB): Likewise.
7855         (SEGV_MAPERR): Likewise.
7856         (SEGV_ACCERR): Likewise.
7857         (BUS_ADRALN): Likewise.
7858         (BUS_ADRERR): Likewise.
7859         (BUS_OBJERR): Likewise.
7860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7861         (TRAP_TRACE): Likewise.
7862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7863         __USE_XOPEN2K8].
7864         (CLD_KILLED): Likewise.
7865         (CLD_DUMPED): Likewise.
7866         (CLD_TRAPPED): Likewise.
7867         (CLD_STOPPED): Likewise.
7868         (CLD_CONTINUED): Likewise.
7869         (POLL_IN): Likewise.
7870         (POLL_OUT): Likewise.
7871         (POLL_MSG): Likewise.
7872         (POLL_ERR): Likewise.
7873         (POLL_PRI): Likewise.
7874         (POLL_HUP): Likewise.
7875         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7876         Likewise.
7877         (ILL_ILLOPN): Likewise.
7878         (ILL_ILLADR): Likewise.
7879         (ILL_ILLTRP): Likewise.
7880         (ILL_PRVOPC): Likewise.
7881         (ILL_PRVREG): Likewise.
7882         (ILL_COPROC): Likewise.
7883         (ILL_BADSTK): Likewise.
7884         (FPE_INTDIV): Likewise.
7885         (FPE_INTOVF): Likewise.
7886         (FPE_FLTDIV): Likewise.
7887         (FPE_FLTOVF): Likewise.
7888         (FPE_FLTUND): Likewise.
7889         (FPE_FLTRES): Likewise.
7890         (FPE_FLTINV): Likewise.
7891         (FPE_FLTSUB): Likewise.
7892         (SEGV_MAPERR): Likewise.
7893         (SEGV_ACCERR): Likewise.
7894         (BUS_ADRALN): Likewise.
7895         (BUS_ADRERR): Likewise.
7896         (BUS_OBJERR): Likewise.
7897         (BUS_MCEERR_AR): Likewise.
7898         (BUS_MCEERR_AO): Likewise.
7899         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7900         (TRAP_TRACE): Likewise.
7901         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7902         __USE_XOPEN2K8].
7903         (CLD_KILLED): Likewise.
7904         (CLD_DUMPED): Likewise.
7905         (CLD_TRAPPED): Likewise.
7906         (CLD_STOPPED): Likewise.
7907         (CLD_CONTINUED): Likewise.
7908         (POLL_IN): Likewise.
7909         (POLL_OUT): Likewise.
7910         (POLL_MSG): Likewise.
7911         (POLL_ERR): Likewise.
7912         (POLL_PRI): Likewise.
7913         (POLL_HUP): Likewise.
7914         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7915         (ILL_ILLOPN): Likewise.
7916         (ILL_ILLADR): Likewise.
7917         (ILL_ILLTRP): Likewise.
7918         (ILL_PRVOPC): Likewise.
7919         (ILL_PRVREG): Likewise.
7920         (ILL_COPROC): Likewise.
7921         (ILL_BADSTK): Likewise.
7922         (FPE_INTDIV): Likewise.
7923         (FPE_INTOVF): Likewise.
7924         (FPE_FLTDIV): Likewise.
7925         (FPE_FLTOVF): Likewise.
7926         (FPE_FLTUND): Likewise.
7927         (FPE_FLTRES): Likewise.
7928         (FPE_FLTINV): Likewise.
7929         (FPE_FLTSUB): Likewise.
7930         (SEGV_MAPERR): Likewise.
7931         (SEGV_ACCERR): Likewise.
7932         (BUS_ADRALN): Likewise.
7933         (BUS_ADRERR): Likewise.
7934         (BUS_OBJERR): Likewise.
7935         (BUS_MCEERR_AR): Likewise.
7936         (BUS_MCEERR_AO): Likewise.
7937         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7938         (TRAP_TRACE): Likewise.
7939         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7940         __USE_XOPEN2K8].
7941         (CLD_KILLED): Likewise.
7942         (CLD_DUMPED): Likewise.
7943         (CLD_TRAPPED): Likewise.
7944         (CLD_STOPPED): Likewise.
7945         (CLD_CONTINUED): Likewise.
7946         (POLL_IN): Likewise.
7947         (POLL_OUT): Likewise.
7948         (POLL_MSG): Likewise.
7949         (POLL_ERR): Likewise.
7950         (POLL_PRI): Likewise.
7951         (POLL_HUP): Likewise.
7952         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7953         Likewise.
7954         (ILL_ILLOPN): Likewise.
7955         (ILL_ILLADR): Likewise.
7956         (ILL_ILLTRP): Likewise.
7957         (ILL_PRVOPC): Likewise.
7958         (ILL_PRVREG): Likewise.
7959         (ILL_COPROC): Likewise.
7960         (ILL_BADSTK): Likewise.
7961         (ILL_BADIADDR): Likewise.
7962         (ILL_BREAK): Likewise.
7963         (FPE_INTDIV): Likewise.
7964         (FPE_INTOVF): Likewise.
7965         (FPE_FLTDIV): Likewise.
7966         (FPE_FLTOVF): Likewise.
7967         (FPE_FLTUND): Likewise.
7968         (FPE_FLTRES): Likewise.
7969         (FPE_FLTINV): Likewise.
7970         (FPE_FLTSUB): Likewise.
7971         (FPE_DECOVF): Likewise.
7972         (FPE_DECDIV): Likewise.
7973         (FPE_DECERR): Likewise.
7974         (FPE_INVASC): Likewise.
7975         (FPE_INVDEC): Likewise.
7976         (SEGV_MAPERR): Likewise.
7977         (SEGV_ACCERR): Likewise.
7978         (SEGV_PSTKOVF): Likewise.
7979         (BUS_ADRALN): Likewise.
7980         (BUS_ADRERR): Likewise.
7981         (BUS_OBJERR): Likewise.
7982         (BUS_MCEERR_AR): Likewise.
7983         (BUS_MCEERR_AO): Likewise.
7984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7985         (TRAP_TRACE): Likewise.
7986         (TRAP_BRANCH): Likewise.
7987         (TRAP_HWBKPT): Likewise.
7988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7989         __USE_XOPEN2K8].
7990         (CLD_KILLED): Likewise.
7991         (CLD_DUMPED): Likewise.
7992         (CLD_TRAPPED): Likewise.
7993         (CLD_STOPPED): Likewise.
7994         (CLD_CONTINUED): Likewise.
7995         (POLL_IN): Likewise.
7996         (POLL_OUT): Likewise.
7997         (POLL_MSG): Likewise.
7998         (POLL_ERR): Likewise.
7999         (POLL_PRI): Likewise.
8000         (POLL_HUP): Likewise.
8001         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8002         (ILL_ILLOPN): Likewise.
8003         (ILL_ILLADR): Likewise.
8004         (ILL_ILLTRP): Likewise.
8005         (ILL_PRVOPC): Likewise.
8006         (ILL_PRVREG): Likewise.
8007         (ILL_COPROC): Likewise.
8008         (ILL_BADSTK): Likewise.
8009         (FPE_INTDIV): Likewise.
8010         (FPE_INTOVF): Likewise.
8011         (FPE_FLTDIV): Likewise.
8012         (FPE_FLTOVF): Likewise.
8013         (FPE_FLTUND): Likewise.
8014         (FPE_FLTRES): Likewise.
8015         (FPE_FLTINV): Likewise.
8016         (FPE_FLTSUB): Likewise.
8017         (SEGV_MAPERR): Likewise.
8018         (SEGV_ACCERR): Likewise.
8019         (BUS_ADRALN): Likewise.
8020         (BUS_ADRERR): Likewise.
8021         (BUS_OBJERR): Likewise.
8022         (BUS_MCEERR_AR): Likewise.
8023         (BUS_MCEERR_AO): Likewise.
8024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8025         (TRAP_TRACE): Likewise.
8026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8027         __USE_XOPEN2K8].
8028         (CLD_KILLED): Likewise.
8029         (CLD_DUMPED): Likewise.
8030         (CLD_TRAPPED): Likewise.
8031         (CLD_STOPPED): Likewise.
8032         (CLD_CONTINUED): Likewise.
8033         (POLL_IN): Likewise.
8034         (POLL_OUT): Likewise.
8035         (POLL_MSG): Likewise.
8036         (POLL_ERR): Likewise.
8037         (POLL_PRI): Likewise.
8038         (POLL_HUP): Likewise.
8039         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8040         (ILL_ILLOPN): Likewise.
8041         (ILL_ILLADR): Likewise.
8042         (ILL_ILLTRP): Likewise.
8043         (ILL_PRVOPC): Likewise.
8044         (ILL_PRVREG): Likewise.
8045         (ILL_COPROC): Likewise.
8046         (ILL_BADSTK): Likewise.
8047         (FPE_INTDIV): Likewise.
8048         (FPE_INTOVF): Likewise.
8049         (FPE_FLTDIV): Likewise.
8050         (FPE_FLTOVF): Likewise.
8051         (FPE_FLTUND): Likewise.
8052         (FPE_FLTRES): Likewise.
8053         (FPE_FLTINV): Likewise.
8054         (FPE_FLTSUB): Likewise.
8055         (SEGV_MAPERR): Likewise.
8056         (SEGV_ACCERR): Likewise.
8057         (BUS_ADRALN): Likewise.
8058         (BUS_ADRERR): Likewise.
8059         (BUS_OBJERR): Likewise.
8060         (BUS_MCEERR_AR): Likewise.
8061         (BUS_MCEERR_AO): Likewise.
8062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8063         (TRAP_TRACE): Likewise.
8064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8065         __USE_XOPEN2K8].
8066         (CLD_KILLED): Likewise.
8067         (CLD_DUMPED): Likewise.
8068         (CLD_TRAPPED): Likewise.
8069         (CLD_STOPPED): Likewise.
8070         (CLD_CONTINUED): Likewise.
8071         (POLL_IN): Likewise.
8072         (POLL_OUT): Likewise.
8073         (POLL_MSG): Likewise.
8074         (POLL_ERR): Likewise.
8075         (POLL_PRI): Likewise.
8076         (POLL_HUP): Likewise.
8077         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8078         (ILL_ILLOPN): Likewise.
8079         (ILL_ILLADR): Likewise.
8080         (ILL_ILLTRP): Likewise.
8081         (ILL_PRVOPC): Likewise.
8082         (ILL_PRVREG): Likewise.
8083         (ILL_COPROC): Likewise.
8084         (ILL_BADSTK): Likewise.
8085         (FPE_INTDIV): Likewise.
8086         (FPE_INTOVF): Likewise.
8087         (FPE_FLTDIV): Likewise.
8088         (FPE_FLTOVF): Likewise.
8089         (FPE_FLTUND): Likewise.
8090         (FPE_FLTRES): Likewise.
8091         (FPE_FLTINV): Likewise.
8092         (FPE_FLTSUB): Likewise.
8093         (SEGV_MAPERR): Likewise.
8094         (SEGV_ACCERR): Likewise.
8095         (BUS_ADRALN): Likewise.
8096         (BUS_ADRERR): Likewise.
8097         (BUS_OBJERR): Likewise.
8098         (BUS_MCEERR_AR): Likewise.
8099         (BUS_MCEERR_AO): Likewise.
8100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8101         (TRAP_TRACE): Likewise.
8102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8103         __USE_XOPEN2K8].
8104         (CLD_KILLED): Likewise.
8105         (CLD_DUMPED): Likewise.
8106         (CLD_TRAPPED): Likewise.
8107         (CLD_STOPPED): Likewise.
8108         (CLD_CONTINUED): Likewise.
8109         (POLL_IN): Likewise.
8110         (POLL_OUT): Likewise.
8111         (POLL_MSG): Likewise.
8112         (POLL_ERR): Likewise.
8113         (POLL_PRI): Likewise.
8114         (POLL_HUP): Likewise.
8115         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8116         (ILL_ILLOPN): Likewise.
8117         (ILL_ILLADR): Likewise.
8118         (ILL_ILLTRP): Likewise.
8119         (ILL_PRVOPC): Likewise.
8120         (ILL_PRVREG): Likewise.
8121         (ILL_COPROC): Likewise.
8122         (ILL_BADSTK): Likewise.
8123         (ILL_DBLFLT): Likewise.
8124         (ILL_HARDWALL): Likewise.
8125         (FPE_INTDIV): Likewise.
8126         (FPE_INTOVF): Likewise.
8127         (FPE_FLTDIV): Likewise.
8128         (FPE_FLTOVF): Likewise.
8129         (FPE_FLTUND): Likewise.
8130         (FPE_FLTRES): Likewise.
8131         (FPE_FLTINV): Likewise.
8132         (FPE_FLTSUB): Likewise.
8133         (SEGV_MAPERR): Likewise.
8134         (SEGV_ACCERR): Likewise.
8135         (BUS_ADRALN): Likewise.
8136         (BUS_ADRERR): Likewise.
8137         (BUS_OBJERR): Likewise.
8138         (BUS_MCEERR_AR): Likewise.
8139         (BUS_MCEERR_AO): Likewise.
8140         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8141         (TRAP_TRACE): Likewise.
8142         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8143         __USE_XOPEN2K8].
8144         (CLD_KILLED): Likewise.
8145         (CLD_DUMPED): Likewise.
8146         (CLD_TRAPPED): Likewise.
8147         (CLD_STOPPED): Likewise.
8148         (CLD_CONTINUED): Likewise.
8149         (POLL_IN): Likewise.
8150         (POLL_OUT): Likewise.
8151         (POLL_MSG): Likewise.
8152         (POLL_ERR): Likewise.
8153         (POLL_PRI): Likewise.
8154         (POLL_HUP): Likewise.
8155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8156         (ILL_ILLOPN): Likewise.
8157         (ILL_ILLADR): Likewise.
8158         (ILL_ILLTRP): Likewise.
8159         (ILL_PRVOPC): Likewise.
8160         (ILL_PRVREG): Likewise.
8161         (ILL_COPROC): Likewise.
8162         (ILL_BADSTK): Likewise.
8163         (FPE_INTDIV): Likewise.
8164         (FPE_INTOVF): Likewise.
8165         (FPE_FLTDIV): Likewise.
8166         (FPE_FLTOVF): Likewise.
8167         (FPE_FLTUND): Likewise.
8168         (FPE_FLTRES): Likewise.
8169         (FPE_FLTINV): Likewise.
8170         (FPE_FLTSUB): Likewise.
8171         (SEGV_MAPERR): Likewise.
8172         (SEGV_ACCERR): Likewise.
8173         (BUS_ADRALN): Likewise.
8174         (BUS_ADRERR): Likewise.
8175         (BUS_OBJERR): Likewise.
8176         (BUS_MCEERR_AR): Likewise.
8177         (BUS_MCEERR_AO): Likewise.
8178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8179         (TRAP_TRACE): Likewise.
8180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8181         __USE_XOPEN2K8].
8182         (CLD_KILLED): Likewise.
8183         (CLD_DUMPED): Likewise.
8184         (CLD_TRAPPED): Likewise.
8185         (CLD_STOPPED): Likewise.
8186         (CLD_CONTINUED): Likewise.
8187         (POLL_IN): Likewise.
8188         (POLL_OUT): Likewise.
8189         (POLL_MSG): Likewise.
8190         (POLL_ERR): Likewise.
8191         (POLL_PRI): Likewise.
8192         (POLL_HUP): Likewise.
8193         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8194         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8195
8196         [BZ #16670]
8197         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8198         before #include of <time.h>.
8199         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8200         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8201         (test-xfail-UNIX98/sched.h/conform): Likewise.
8202
8203 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8204
8205         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8206         error absence of trapping exception support.
8207         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8208
8209 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8210
8211         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8212         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8213         * timezone/Makefile (testdata): Move definition above include of
8214         Rules.
8215         (test-zones): New variable.
8216         (tests-special): Add zone files.
8217         (build-testdata): Use $(evaluate-test).
8218
8219         * elf/Makefile (tests-special): Rename tests to end with .out.
8220         ($(objpfx)noload-mem): Likewise.
8221         ($(objpfx)tst-leaks1-mem): Likewise.
8222         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8223         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8224         $(objpfx)test-iconvconfig.out.
8225         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8226         set -e inside subshell and redirect output to file.
8227         * iconvdata/Makefile (generated): Rename tests to end with .out.
8228         Correct type.
8229         (tests-special): Rename tests to end with .out.
8230         ($(objpfx)mtrace-tst-loading): Likewise.
8231         * intl/Makefile (generated): Likewise.
8232         (tests-special): Likewise.
8233         ($(objpfx)mtrace-tst-gettext): Likewise.
8234         * misc/Makefile (generated): Likewise.
8235         (tests-special): Likewise.
8236         ($(objpfx)tst-error1-mem): Likewise.
8237         * nptl/Makefile (tests-special): Likewise.
8238         ($(objpfx)tst-stack3-mem): Likewise.
8239         (generated): Likewise.
8240         * posix/Makefile (generated): Likewise.
8241         (tests-special): Likewise.
8242         (xtests-special): Likewise.
8243         ($(objpfx)tst-fnmatch-mem): Likewise.
8244         ($(objpfx)bug-regex2-mem): Likewise.
8245         ($(objpfx)bug-regex14-mem): Likewise.
8246         ($(objpfx)bug-regex21-mem): Likewise.
8247         ($(objpfx)bug-regex31-mem): Likewise.
8248         ($(objpfx)tst-vfork3-mem): Likewise.
8249         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8250         ($(objpfx)tst-pcre-mem): Likewise.
8251         ($(objpfx)tst-boost-mem): Likewise.
8252         ($(objpfx)bug-ga2-mem): Likewise.
8253         ($(objpfx)bug-glob2-mem): Likewise.
8254         * resolv/Makefile (generate): Likewise.
8255         (tests-special): Likewise.
8256         (xtests-special): Likewise.
8257         (generated): Likewise.
8258         ($(objpfx)mtrace-tst-leaks): Likewise.
8259         ($(objpfx)mtrace-tst-leaks2): Likewise.
8260
8261         * scripts/merge-test-results.sh: New file.
8262         * Makefile (tests-special-notdir): New variable.
8263         (tests): Run merge-test-results.sh.
8264         (xtests): Likewise.
8265         * Rules (tests-special-notdir): New variable.
8266         (xtests-special-notdir): Likewise.
8267         (tests): Run merge-test-results.sh
8268         (xtests): Likewise.
8269
8270         * Makeconfig (test-xfail-name): New variable.
8271         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8272         compute variable name for expected failures.
8273         * conform/Makefile (conformtest-headers-data): New variable.
8274         (conformtest-standards): Likewise.
8275         (conformtest-headers-ISO): Likewise.
8276         (conformtest-headers-ISO99): Likewise.
8277         (conformtest-headers-ISO11): Likewise.
8278         (conformtest-headers-POSIX): Likewise.
8279         (conformtest-headers-XPG3): Likewise.
8280         (conformtest-headers-XPG4): Likewise.
8281         (conformtest-headers-UNIX98): Likewise.
8282         (conformtest-headers-XOPEN2K): Likewise.
8283         (conformtest-headers-POSIX2008): Likewise.
8284         (conformtest-headers-XOPEN2K8): Likewise.
8285         (conformtest-header-list-base): Likewise.
8286         (conformtest-header-list-tests): Likewise.
8287         (conformtest-header-base): Likewise.
8288         (conformtest-header-tests): Likewise.
8289         (tests-special): Add $(conformtest-header-list-tests).  If
8290         [$(fast-check) && !$(cross-compiling)], add
8291         $(conformtest-header-tests) instead of
8292         $(objpfx)run-conformtest.out.
8293         (generated): Add $(conformtest-header-list-base).  If
8294         [$(fast-check) && !$(cross-compiling)], add
8295         $(conformtest-header-base).  Remove previous setting.
8296         ($(conformtest-header-list-tests)): New target.
8297         (test-xfail-run-conformtest): Remove variable.
8298         ($(objpfx)run-conformtest.out): Remove target.
8299         (test-xfail-ISO11/complex.h/conform): New variable.
8300         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8301         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8302         (test-xfail-XPG3/varargs.h/conform): Likewise.
8303         (test-xfail-XPG4/varargs.h/conform): Likewise.
8304         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8305         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8306         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8307         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8308         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8309         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8310         (test-xfail-XPG3/ftw.h/conform): Likewise.
8311         (test-xfail-XPG3/grp.h/conform): Likewise.
8312         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8313         (test-xfail-XPG3/limits.h/conform): Likewise.
8314         (test-xfail-XPG3/pwd.h/conform): Likewise.
8315         (test-xfail-XPG3/search.h/conform): Likewise.
8316         (test-xfail-XPG3/signal.h/conform): Likewise.
8317         (test-xfail-XPG3/stdio.h/conform): Likewise.
8318         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8319         (test-xfail-XPG3/string.h/conform): Likewise.
8320         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8321         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8322         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8323         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8324         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8325         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8326         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8327         (test-xfail-XPG3/termios.h/conform): Likewise.
8328         (test-xfail-XPG3/time.h/conform): Likewise.
8329         (test-xfail-XPG3/unistd.h/conform): Likewise.
8330         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8331         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8332         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8333         (test-xfail-XPG4/netdb.h/conform): Likewise.
8334         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8335         (test-xfail-XPG4/signal.h/conform): Likewise.
8336         (test-xfail-XPG4/stdio.h/conform): Likewise.
8337         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8338         (test-xfail-XPG4/stropts.h/conform): Likewise.
8339         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8340         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8341         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8342         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8343         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8344         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8345         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8346         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8347         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8348         (test-xfail-XPG4/termios.h/conform): Likewise.
8349         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8350         (test-xfail-XPG4/unistd.h/conform): Likewise.
8351         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8352         (test-xfail-POSIX/sched.h/conform): Likewise.
8353         (test-xfail-POSIX/signal.h/conform): Likewise.
8354         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8355         (test-xfail-POSIX/tar.h/conform): Likewise.
8356         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8357         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8358         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8359         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8360         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8361         (test-xfail-UNIX98/sched.h/conform): Likewise.
8362         (test-xfail-UNIX98/signal.h/conform): Likewise.
8363         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8364         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8365         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8366         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8367         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8368         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8369         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8370         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8371         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8372         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8373         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8374         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8375         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8376         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8377         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8378         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8379         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8380         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8381         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8382         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8383         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8384         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8385         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8386         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8387         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8388         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8389         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8390         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8391         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8392         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8393         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8394         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8395         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8396         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8397         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8398         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8399         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8400         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8401         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8402         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8403         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8404         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8405         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8406         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8407         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8408         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8409         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8410         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8411         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8412         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8413         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8414         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8415         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8416         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8417         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8418         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8419         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8420         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8421         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8422         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8423         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8424         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8425         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8426         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8427         (conformtest-cc-flags): Likewise.
8428         ($(conformtest-header-tests): New target.
8429         * conform/check-header-lists.sh: New file.
8430         * conform/run-conformtest.sh: Remove.
8431
8432         * conform/conformtest.pl: Allow ' and \ in values given for
8433         constants.
8434         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8435         inclusion.
8436         [POSIX] (sys/types.h): Likewise.
8437         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8438         inclusion.
8439         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8440         inclusion.
8441         * conform/data/signal.h-data (SIGIO): Remove expectation.
8442         [XPG3] (SIGBUS): Do not expect.
8443         [POSIX || XPG3] (SIGPOLL): Likewise.
8444         [POSIX || XPG3] (SIGPROF): Likewise.
8445         [POSIX || XPG3] (SIGSYS): Likewise.
8446         [XPG3] (SIGTRAP): Likewise.
8447         [POSIX || XPG3] (SIGURG): Likewise.
8448         [POSIX || XPG3] (SIGVTALRM): Likewise.
8449         [POSIX || XPG3] (SIGXCPU): Likewise.
8450         [POSIX || XPG3] (SIGXFSZ): Likewise.
8451         [POSIX] (SA_SIGINFO): Expect.
8452         [XPG3] (siginfo_t): Do not expect type or contents.
8453         [POSIX] (si_pid): Do not expect element.
8454         [POSIX] (si_uid): Likewise.
8455         [POSIX] (si_addr): Likewise.
8456         [POSIX] (si_status): Likewise.
8457         [POSIX] (si_band): Likewise.
8458         [XPG4] (si_value): Likewise.
8459         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8460         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8461         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8462         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8463         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8464         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8465         [POSIX || XPG3] (ILL_COPROC): Likewise.
8466         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8467         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8468         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8469         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8470         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8471         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8472         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8473         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8474         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8475         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8476         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8477         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8478         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8479         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8480         [POSIX || XPG3] (CLD_EXITED): Likewise.
8481         [POSIX || XPG3] (CLD_KILLED): Likewise.
8482         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8483         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8484         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8485         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8486         [POSIX || XPG3] (POLL_IN): Likewise.
8487         [POSIX || XPG3] (POLL_OUT): Likewise.
8488         [POSIX || XPG3] (POLL_MSG): Likewise.
8489         [POSIX || XPG3] (POLL_ERR): Likewise.
8490         [POSIX || XPG3] (POLL_PRI): Likewise.
8491         [POSIX || XPG3] (POLL_HUP): Likewise.
8492         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8493         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8494         (SIG*): Do not allow.
8495         [XPG3] (si_*): Likewise.
8496         [XPG3] (SI_*): Likewise.
8497         [XPG3 || XPG4] (sigev_*): Likewise.
8498         [XPG3 || XPG4] (SIGEV_*): Likewise.
8499         [XPG3 || XPG4] (sival_*): Likewise.
8500         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8501         [POSIX || XPG3] (BUS_*): Likewise.
8502         [POSIX || XPG3] (CLD_*): Likewise.
8503         [POSIX || XPG3] (FPE_*): Likewise.
8504         [POSIX || XPG3] (ILL_*): Likewise.
8505         [POSIX || XPG3] (POLL_*): Likewise.
8506         [POSIX || XPG3] (SEGV_*): Likewise.
8507         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8508         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8509         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8510         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8511         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8512         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8513         Specify type and value.
8514         (TVERSLEN): Likewise.
8515         (REGTYPE): Likewise.
8516         (AREGTYPE): Likewise.
8517         (LNKTYPE): Likewise.
8518         (SYMTYPE): Likewise.
8519         (CHRTYPE): Likewise.
8520         (BLKTYPE): Likewise.
8521         (DIRTYPE): Likewise.
8522         (FIFOTYPE): Likewise.
8523         (CONTTYPE): Likewise.
8524         (TSUID): Likewise.
8525         (TSGID): Likewise.
8526         (TSVTX): Likewise.
8527         (TUREAD): Likewise.
8528         (TUWRITE): Likewise.
8529         (TUEXEC): Likewise.
8530         (TGREAD): Likewise.
8531         (TGWRITE): Likewise.
8532         (TGEXEC): Likewise.
8533         (TOREAD): Likewise.
8534         (TOWRITE): Likewise.
8535         (TOEXEC): Likewise.
8536         [POSIX] (TSVTX): Expect constant.
8537
8538 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8539
8540         * Makefile (tests): Change dependencies to ....
8541         (tests-special): ... additions to this variable.
8542         (tests): Depend on $(tests-special).
8543         * Makerules (check-abi-list): New variable.
8544         (check-abi): Depend on $(check-abi-list).
8545         [$(subdir) = elf] (tests-special): Add
8546         $(objpfx)check-abi-libc.out.
8547         [$(build-shared) = yes && subdir] (tests-special): Add
8548         $(check-abi-list).
8549         [$(build-shared) = yes && subdir] (tests): Do not depend on
8550         check-abi.
8551         * Rules (tests): Depend on $(tests-special).
8552         (xtests): Depend on $(xtests-special).
8553         * catgets/Makefile (tests): Change dependencies to ....
8554         (tests-special): ... additions to this variable.
8555         * conform/Makefile (tests): Change dependencies to ....
8556         (tests-special): ... additions to this variable.
8557         * elf/Makefile (tests): Change dependencies to ....
8558         (tests-special): ... additions to this variable.
8559         * grp/Makefile (tests): Change dependencies to ....
8560         (tests-special): ... additions to this variable.
8561         * iconv/Makefile (xtests): Change dependencies to ....
8562         (xtests-special): ... additions to this variable.
8563         * iconvdata/Makefile (tests): Change dependencies to ....
8564         (tests-special): ... additions to this variable.
8565         * intl/Makefile (tests): Change dependencies to ....
8566         (tests-special): ... additions to this variable.  Also add
8567         $(objpfx)tst-gettext.out.
8568         * io/Makefile (tests): Change dependencies to ....
8569         (tests-special): ... additions to this variable.
8570         * libio/Makefile (tests): Change dependencies to ....
8571         (tests-special): ... additions to this variable.
8572         * malloc/Makefile (tests): Change dependencies to ....
8573         (tests-special): ... additions to this variable.
8574         * misc/Makefile (tests): Change dependencies to ....
8575         (tests-special): ... additions to this variable.
8576         * nptl/Makefile (tests): Change dependencies to ....
8577         (tests-special): ... additions to this variable.
8578         * nptl_db/Makefile (tests): Change dependencies to ....
8579         (tests-special): ... additions to this variable.
8580         * posix/Makefile (tests): Change dependencies to ....
8581         (tests-special): ... additions to this variable.
8582         (xtests): Change dependencies to ....
8583         (xtests-special): ... additions to this variable.
8584         * resolv/Makefile (tests): Change dependencies to ....
8585         (tests-special): ... additions to this variable.
8586         (xtests): Change dependencies to ....
8587         (xtests-special): ... additions to this variable.
8588         * stdio-common/Makefile (tests): Change dependencies to ....
8589         (tests-special): ... additions to this variable.
8590         (do-tst-unbputc): Remove target.
8591         (do-tst-printf): Likewise.
8592         * stdlib/Makefile (tests): Change dependencies to ....
8593         (tests-special): ... additions to this variable.
8594         * string/Makefile (tests): Change dependencies to ....
8595         (tests-special): ... additions to this variable.
8596         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8597         (tests-special): ... additions to this variable.
8598
8599         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8600         whole file.
8601         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8602         whole file.
8603         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8604         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8605
8606         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8607         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8608         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8609         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8610         * conform/data/libgen.h-data [XPG3]: Likewise.
8611         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8612         * conform/data/ndbm.h-data [XPG3]: Likewise.
8613         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8614         * conform/data/netdb.h-data [XPG3]: Likewise.
8615         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8616         * conform/data/poll.h-data [XPG3]: Likewise.
8617         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8618         * conform/data/strings.h-data [XPG3]: Likewise.
8619         * conform/data/stropts.h-data [XPG3]: Likewise.
8620         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8621         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8622         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8623         Likewise.
8624         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8625         * conform/data/sys/time.h-data [XPG3]: Likewise.
8626         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8627         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8628         * conform/data/sys/un.h-data [XPG3]: Likewise.
8629         * conform/data/syslog.h-data [XPG3]: Likewise.
8630         * conform/data/ucontext.h-data [XPG3]: Likewise.
8631         * conform/data/utmpx.h-data [XPG3]: Likewise.
8632         * conform/data/varargs.h-data [UNIX98]: Enable file.
8633
8634         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8635
8636         * math/libm-test.inc (struct test_f_f_data): Move expected results
8637         into structure for each rounding mode.
8638         (struct test_ff_f_data): Likewise.
8639         (struct test_ff_f_data_nexttoward): Likewise.
8640         (struct test_fi_f_data): Likewise.
8641         (struct test_fl_f_data): Likewise.
8642         (struct test_if_f_data): Likewise.
8643         (struct test_fff_f_data): Likewise.
8644         (struct test_c_f_data): Likewise.
8645         (struct test_f_f1_data): Likewise.
8646         (struct test_fF_f1_data): Likewise.
8647         (struct test_ffI_f1_data): Likewise.
8648         (struct test_c_c_data): Likewise.
8649         (struct test_cc_c_data): Likewise.
8650         (struct test_f_i_data): Likewise.
8651         (struct test_ff_i_data): Likewise.
8652         (struct test_f_l_data): Likewise.
8653         (struct test_f_L_data): Likewise.
8654         (struct test_fFF_11_data): Likewise.
8655         (RM_): New macro.
8656         (RM_FE_DOWNWARD): Likewise.
8657         (RM_FE_TONEAREST): Likewise.
8658         (RM_FE_TOWARDZERO): Likewise.
8659         (RM_FE_UPWARD): Likewise.
8660         (RUN_TEST_LOOP_f_f): Update references to expected results.
8661         (RUN_TEST_LOOP_2_f): Likewise.
8662         (RUN_TEST_LOOP_fff_f): Likewise.
8663         (RUN_TEST_LOOP_c_f): Likewise.
8664         (RUN_TEST_LOOP_f_f1): Likewise.
8665         (RUN_TEST_LOOP_fF_f1): Likewise.
8666         (RUN_TEST_LOOP_fI_f1): Likewise.
8667         (RUN_TEST_LOOP_ffI_f1): Likewise.
8668         (RUN_TEST_LOOP_c_c): Likewise.
8669         (RUN_TEST_LOOP_cc_c): Likewise.
8670         (RUN_TEST_LOOP_f_i): Likewise.
8671         (RUN_TEST_LOOP_f_i_tg): Likewise.
8672         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8673         (RUN_TEST_LOOP_f_b): Likewise.
8674         (RUN_TEST_LOOP_f_b_tg): Likewise.
8675         (RUN_TEST_LOOP_f_l): Likewise.
8676         (RUN_TEST_LOOP_f_L): Likewise.
8677         (RUN_TEST_LOOP_fFF_11): Likewise.
8678         * math/gen-libm-test.pl (parse_args): Output four copies of
8679         expected results for each test.
8680
8681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8682         (__ASSUME_UTIMES): Remove.
8683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8684         (__ASSUME_UTIMES): Likewise.
8685
8686         * math/gen-auto-libm-tests.c: Update comment on output format.
8687         (output_for_one_input_case): Generate before-rounding and
8688         after-rounding information as conditions on output flags not
8689         floating-point format.
8690         * math/auto-libm-test-out: Regenerated.
8691         * math/gen-libm-test.pl (cond_value): New function.
8692         (or_cond_value): Use cond_value.
8693         (generate_testfile): Handle conditional exceptions.
8694
8695 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8696
8697         * math/libm-test.inc (max_valid_error): New variable.
8698         (init_max_error): Take new argument specifying whether function
8699         results are exactly determined.  Set max_valid_error and bound
8700         other variables for errors based on this argument.
8701         (set_max_error): Do not record results above max_valid_error.
8702         (check_float_internal): Only accept errors of up to 0.5ulps if
8703         also at most max_valid_error.
8704         (START): Take new argument EXACT and pass it to init_max_error.
8705         (acos_test): Update call to START.
8706         (acos_test_tonearest): Likewise.
8707         (acos_test_towardzero): Likewise.
8708         (acos_test_downward): Likewise.
8709         (acos_test_upward): Likewise.
8710         (acosh_test): Likewise.
8711         (asin_test): Likewise.
8712         (asin_test_tonearest): Likewise.
8713         (asin_test_towardzero): Likewise.
8714         (asin_test_downward): Likewise.
8715         (asin_test_upward): Likewise.
8716         (asinh_test): Likewise.
8717         (atan_test): Likewise.
8718         (atanh_test): Likewise.
8719         (atan2_test): Likewise.
8720         (cabs_test): Likewise.
8721         (cacos_test): Likewise.
8722         (cacosh_test): Likewise.
8723         (carg_test): Likewise.
8724         (casin_test): Likewise.
8725         (casinh_test): Likewise.
8726         (catan_test): Likewise.
8727         (catanh_test): Likewise.
8728         (cbrt_test): Likewise.
8729         (ccos_test): Likewise.
8730         (ccosh_test): Likewise.
8731         (ceil_test): Likewise.
8732         (cexp_test): Likewise.
8733         (cimag_test): Likewise.
8734         (clog_test): Likewise.
8735         (clog10_test): Likewise.
8736         (conj_test): Likewise.
8737         (copysign_test): Likewise.
8738         (cos_test): Likewise.
8739         (cos_test_tonearest): Likewise.
8740         (cos_test_towardzero): Likewise.
8741         (cos_test_downward): Likewise.
8742         (cos_test_upward): Likewise.
8743         (cosh_test): Likewise.
8744         (cosh_test_tonearest): Likewise.
8745         (cosh_test_towardzero): Likewise.
8746         (cosh_test_downward): Likewise.
8747         (cosh_test_upward): Likewise.
8748         (cpow_test): Likewise.
8749         (cproj_test): Likewise.
8750         (creal_test): Likewise.
8751         (csin_test): Likewise.
8752         (csinh_test): Likewise.
8753         (csqrt_test): Likewise.
8754         (ctan_test): Likewise.
8755         (ctan_test_tonearest): Likewise.
8756         (ctan_test_towardzero): Likewise.
8757         (ctan_test_downward): Likewise.
8758         (ctan_test_upward): Likewise.
8759         (ctanh_test): Likewise.
8760         (ctanh_test_tonearest): Likewise.
8761         (ctanh_test_towardzero): Likewise.
8762         (ctanh_test_downward): Likewise.
8763         (ctanh_test_upward): Likewise.
8764         (erf_test): Likewise.
8765         (erfc_test): Likewise.
8766         (exp_test): Likewise.
8767         (exp_test_tonearest): Likewise.
8768         (exp_test_towardzero): Likewise.
8769         (exp_test_downward): Likewise.
8770         (exp_test_upward): Likewise.
8771         (exp10_test): Likewise.
8772         (exp10_test_tonearest): Likewise.
8773         (exp10_test_towardzero): Likewise.
8774         (exp10_test_downward): Likewise.
8775         (exp10_test_upward): Likewise.
8776         (pow10_test): Likewise.
8777         (exp2_test): Likewise.
8778         (expm1_test): Likewise.
8779         (expm1_test_tonearest): Likewise.
8780         (expm1_test_towardzero): Likewise.
8781         (expm1_test_downward): Likewise.
8782         (expm1_test_upward): Likewise.
8783         (fabs_test): Likewise.
8784         (fdim_test): Likewise.
8785         (floor_test): Likewise.
8786         (fma_test): Likewise.
8787         (fma_test_towardzero): Likewise.
8788         (fma_test_downward): Likewise.
8789         (fma_test_upward): Likewise.
8790         (fmax_test): Likewise.
8791         (fmin_test): Likewise.
8792         (fmod_test): Likewise.
8793         (fpclassify_test): Likewise.
8794         (frexp_test): Likewise.
8795         (hypot_test): Likewise.
8796         (ilogb_test): Likewise.
8797         (isfinite_test): Likewise.
8798         (finite_test): Likewise.
8799         (isgreater_test): Likewise.
8800         (isgreaterequal_test): Likewise.
8801         (isinf_test): Likewise.
8802         (isless_test): Likewise.
8803         (islessequal_test): Likewise.
8804         (islessgreater_test): Likewise.
8805         (isnan_test): Likewise.
8806         (isnormal_test): Likewise.
8807         (issignaling_test): Likewise.
8808         (isunordered_test): Likewise.
8809         (j0_test): Likewise.
8810         (j1_test): Likewise.
8811         (jn_test): Likewise.
8812         (ldexp_test): Likewise.
8813         (lgamma_test): Likewise.
8814         (gamma_test): Likewise.
8815         (lrint_test): Likewise.
8816         (lrint_test_tonearest): Likewise.
8817         (lrint_test_towardzero): Likewise.
8818         (lrint_test_downward): Likewise.
8819         (lrint_test_upward): Likewise.
8820         (llrint_test): Likewise.
8821         (llrint_test_tonearest): Likewise.
8822         (llrint_test_towardzero): Likewise.
8823         (llrint_test_downward): Likewise.
8824         (llrint_test_upward): Likewise.
8825         (log_test): Likewise.
8826         (log10_test): Likewise.
8827         (log1p_test): Likewise.
8828         (log2_test): Likewise.
8829         (logb_test): Likewise.
8830         (logb_test_downward): Likewise.
8831         (lround_test): Likewise.
8832         (llround_test): Likewise.
8833         (modf_test): Likewise.
8834         (nearbyint_test): Likewise.
8835         (nextafter_test): Likewise.
8836         (nexttoward_test): Likewise.
8837         (pow_test): Likewise.
8838         (pow_test_tonearest): Likewise.
8839         (pow_test_towardzero): Likewise.
8840         (pow_test_downward): Likewise.
8841         (pow_test_upward): Likewise.
8842         (remainder_test): Likewise.
8843         (drem_test): Likewise.
8844         (remainder_test_tonearest): Likewise.
8845         (drem_test_tonearest): Likewise.
8846         (remainder_test_towardzero): Likewise.
8847         (drem_test_towardzero): Likewise.
8848         (remainder_test_downward): Likewise.
8849         (drem_test_downward): Likewise.
8850         (remainder_test_upward): Likewise.
8851         (drem_test_upward): Likewise.
8852         (remquo_test): Likewise.
8853         (rint_test): Likewise.
8854         (rint_test_tonearest): Likewise.
8855         (rint_test_towardzero): Likewise.
8856         (rint_test_downward): Likewise.
8857         (rint_test_upward): Likewise.
8858         (round_test): Likewise.
8859         (scalb_test): Likewise.
8860         (scalbn_test): Likewise.
8861         (scalbln_test): Likewise.
8862         (signbit_test): Likewise.
8863         (sin_test): Likewise.
8864         (sin_test_tonearest): Likewise.
8865         (sin_test_towardzero): Likewise.
8866         (sin_test_downward): Likewise.
8867         (sin_test_upward): Likewise.
8868         (sincos_test): Likewise.
8869         (sinh_test): Likewise.
8870         (sinh_test_tonearest): Likewise.
8871         (sinh_test_towardzero): Likewise.
8872         (sinh_test_downward): Likewise.
8873         (sinh_test_upward): Likewise.
8874         (sqrt_test): Likewise.
8875         (sqrt_test_tonearest): Likewise.
8876         (sqrt_test_towardzero): Likewise.
8877         (sqrt_test_downward): Likewise.
8878         (sqrt_test_upward): Likewise.
8879         (tan_test): Likewise.
8880         (tan_test_tonearest): Likewise.
8881         (tan_test_towardzero): Likewise.
8882         (tan_test_downward): Likewise.
8883         (tan_test_upward): Likewise.
8884         (tanh_test): Likewise.
8885         (tgamma_test): Likewise.
8886         (trunc_test): Likewise.
8887         (y0_test): Likewise.
8888         (y1_test): Likewise.
8889         (yn_test): Likewise.
8890         (significand_test): Likewise.
8891
8892         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8893         individual tests in comment.
8894         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8895         (prev_max_error): New variable.
8896         (prev_real_max_error): Likewise.
8897         (prev_imag_max_error): Likewise.
8898         (compare_ulp_data): Don't refer to test names in comment.
8899         (find_test_ulps): Remove function.
8900         (find_function_ulps): Likewise.
8901         (find_complex_function_ulps): Likewise.
8902         (init_max_error): Take function name as argument.  Look up ulps
8903         for that function.
8904         (print_ulps): Remove function.
8905         (print_max_error): Use prev_max_error instead of calling
8906         find_function_ulps.
8907         (print_complex_max_error): Use prev_real_max_error and
8908         prev_imag_max_error instead of calling find_complex_function_ulps.
8909         (check_float_internal): Take max_ulp parameter instead of calling
8910         find_test_ulps.  Don't call print_ulps.
8911         (check_float): Update call to check_float_internal.
8912         (check_complex): Update calls to check_float_internal.
8913         (START): Pass argument to init_max_error.
8914         * math/gen-libm-test.pl (%results): Don't include "kind"
8915         information.
8916         (parse_ulps): Don't handle ulps of individual tests.
8917         (print_ulps_file): Likewise.
8918         (output_ulps): Likewise.
8919         * math/README.libm-test: Update.
8920         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8921         individual tests.
8922         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8923         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8924         * sysdeps/arm/libm-test-ulps: Likewise.
8925         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8926         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8927         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8928         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8929         * sysdeps/microblaze/libm-test-ulps: Likewise.
8930         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8931         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8932         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8933         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8934         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8935         * sysdeps/sh/libm-test-ulps: Likewise.
8936         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8937         * sysdeps/tile/libm-test-ulps: Likewise.
8938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8939
8940 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8941
8942         * math/libm-test.inc (print_complex_max_error): Check separately
8943         whether real and imaginary errors are within allowed range and
8944         pass 0 to print_complex_function_ulps instead of value within
8945         allowed range.
8946
8947 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8948
8949         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8950         formatting.
8951         (get_handles_fopen): Likewise.
8952         (do_write_test): Likewise.
8953
8954         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8955
8956         * libio/fileops.c (do_ftell): Use cached offset when
8957         available.
8958         * libio/iofwide.c (do_ftell_wide): Likewise.
8959         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8960         _IO_file_attach.
8961         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8962
8963         [BZ #16532]
8964         * libio/libioP.h (get_file_offset): New function.
8965         * libio/fileops.c (get_file_offset): Likewise.
8966         (do_ftell): Likewise.
8967         (_IO_new_file_seekoff): Split out ftell logic.
8968         * libio/wfileops.c (do_ftell_wide): Likewise.
8969         (_IO_wfile_seekoff): Split out ftell logic.
8970         * libio/tst-ftell-active-handler.c: New test case.
8971         * libio/Makefile (tests): Add it.
8972
8973 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8974
8975         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8976         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8977
8978 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8979
8980         [BZ #16639]
8981         * nscd/connections.c (nscd_init): Call do_exit.
8982         (start_threads): Call do_exit and notify_parent.
8983         (begin_drop_privileges): Call do_exit.
8984         (finish_drop_privileges): Likewise.
8985         * nscd/selinux.c (preserve_capabilities): Likewise.
8986         (install_real_capabilities): Likewise.
8987         (nscd_selinux_enabled): Likewise.
8988         (avc_create_thread): Likewise.
8989         (avc_alloc_lock): Likewise.
8990         (nscd_avc_init): Likewise.
8991         * nscd/nscd.c (parent_fd): New static variable.
8992         (main): Create a pipe between parent and child processes.
8993         Skip closing parent_fd.
8994         (monitor_child): New function.
8995         (do_exit): Likewise.
8996         (notify_parent): Likewise.
8997         * nscd/nscd.h (notify_parent): Likewise.
8998         (do_exit): Likewise.
8999
9000 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9001
9002         * malloc/malloc.c (__libc_calloc): Revert last change.
9003
9004 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9005
9006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9007
9008 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9009
9010         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9012         implementation.
9013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9014         (__libc_ifunc_impl_list): Likewise.
9015         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9016         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9017         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9018         * string/strrchr.c: Define STRRCHR.
9019
9020 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9021
9022         * benchtest/bench-strtok.c (simple_strtok): Delete.
9023         (strtok_string): Use as benchmark.
9024         * string/strtok (STRTOK): New macro.
9025
9026 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9027
9028         * manual/threads.texi: Add header and standard comments to all
9029         functions.
9030
9031         * elf/dl-lookup.c (check_match): New function.
9032         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9033         (do_lookup_x): Remove nested function check_match. Use non-nested
9034         function check_match.
9035
9036 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9037
9038         * csu/Makefile (generated, before-compile): Use += rather than =.
9039         * catgets/Makefile (generated, generated-dirs): Likewise.
9040         * debug/Makefile (generated): Likewise.
9041         * dlfcn/Makefile (generated): Likewise.
9042         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9043         * iconvdata/Makefile (before-compile, generated): Likewise.
9044         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9045         * libio/Makefile (generated): Likewise.
9046         * malloc/Makefile (generated): Likewise.
9047         * manual/Makefile (generated, generated-dirs): Likewise.
9048         * misc/Makefile (generated): Likewise.
9049         * posix/Makefile (generated): Likewise.
9050         * resolv/Makefile (generated): Likewise.
9051         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9052         * timezone/Makefile (generated, generated-dirs): Likewise.
9053
9054         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9055
9056 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9057
9058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9059         power8 implementation.
9060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9061         file: POWER8 llround ifunc implementation.
9062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9063         (__lllround): Add POWER8 implementation.
9064         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9065         POWER8 llround implementation.
9066
9067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9068         power8 implementation.
9069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9070         file: POWER8 llrint ifunc implementation.
9071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9072         Add POWER8 implementation.
9073         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9074         POWER8 llrint implementation.
9075
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9077         power8 implementation.
9078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9079         file: POWER8 finite ifunc implementation.
9080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9081         Add POWER8 implementation.
9082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9083         Likewise.
9084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9085         POWER8 finite implementation.
9086         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9087
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9089         power8 implementation.
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9091         file: POWER8 isinf ifunc implementation.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9093         POWER8 implementation.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9095         Likewise.
9096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9097         isinf implementation.
9098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9099
9100         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9101         (INIT_ARCH): Add hwcap2 initialization.
9102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9103         power8 implementation.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9105         file: POWER8 isnan ifunc implementation.
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9107         POWER8 implementation.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9109         Likewise.
9110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9111         isnan implementation.
9112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9113
9114 2014-02-27  Joey Ye  <joey.ye@arm.com>
9115
9116         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9117         (_FP_NANFRAC_Q): Set to zero.
9118
9119 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9120
9121         [BZ #16623]
9122         * math/auto-libm-test-in: New test inputs.
9123         * math/auto-libm-test-out: Regenerate.
9124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9125         and DA.
9126         (__cos): Likewise.
9127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9128
9129 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9130
9131         * scripts/evaluate-test.sh: Take new argument indicating whether
9132         failure is expected.
9133         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9134         indicating whether failure is expected.
9135         * conform/Makefile (test-xfail-run-conformtest): New variable.
9136         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9137         level.
9138         * posix/Makefile (test-xfail-annexc): New variable.
9139         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9140
9141 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9142
9143         * argp/Makefile: Include Makeconfig immediately after defining
9144         subdir.
9145         * assert/Makefile: Likewise.
9146         * benchtests/Makefile: Likewise.
9147         * catgets/Makefile: Likewise.
9148         * conform/Makefile: Likewise.
9149         * crypt/Makefile: Likewise.
9150         * csu/Makefile: Likewise.
9151         (all): Remove target.
9152         * ctype/Makefile: Include Makeconfig immediately after defining
9153         subdir.
9154         * debug/Makefile: Likewise.
9155         * dirent/Makefile: Likewise.
9156         * dlfcn/Makefile: Likewise.
9157         * gmon/Makefile: Likewise.
9158         * gnulib/Makefile: Likewise.
9159         * grp/Makefile: Likewise.
9160         * gshadow/Makefile: Likewise.
9161         * hesiod/Makefile: Likewise.
9162         * hurd/Makefile: Likewise.
9163         (all): Remove target.
9164         * iconvdata/Makefile: Include Makeconfig immediately after
9165         defining subdir.
9166         * inet/Makefile: Likewise.
9167         * intl/Makefile: Likewise.
9168         * io/Makefile: Likewise.
9169         * libio/Makefile: Likewise.
9170         (all): Remove target.
9171         * locale/Makefile: Include Makeconfig immediately after defining
9172         subdir.
9173         * login/Makefile: Likewise.
9174         * mach/Makefile: Likewise.
9175         (all): Remove target.
9176         * malloc/Makefile: Include Makeconfig immediately after defining
9177         subdir.
9178         (all): Remove target.
9179         * manual/Makefile: Include Makeconfig immediately after defining
9180         subdir.
9181         * math/Makefile: Likewise.
9182         * misc/Makefile: Likewise.
9183         * nis/Makefile: Likewise.
9184         * nss/Makefile: Likewise.
9185         * po/Makefile: Likewise.
9186         (all): Remove target.
9187         * posix/Makefile: Include Makeconfig immediately after defining
9188         subdir.
9189         * pwd/Makefile: Likewise.
9190         * resolv/Makefile: Likewise.
9191         * resource/Makefile: Likewise.
9192         * rt/Makefile: Likewise.
9193         * setjmp/Makefile: Likewise.
9194         * shadow/Makefile: Likewise.
9195         * signal/Makefile: Likewise.
9196         * socket/Makefile: Likewise.
9197         * soft-fp/Makefile: Likewise.
9198         * stdio-common/Makefile: Likewise.
9199         * stdlib/Makefile: Likewise.
9200         * streams/Makefile: Likewise.
9201         * string/Makefile: Likewise.
9202         * sunrpc/Makefile: Likewise.
9203         (all): Remove target.
9204         * sysvipc/Makefile: Include Makeconfig immediately after defining
9205         subdir.
9206         * termios/Makefile: Likewise.
9207         * time/Makefile: Likewise.
9208         * timezone/Makefile: Likewise.
9209         (all): Remove target.
9210         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9211         subdir.
9212         * wctype/Makefile: Likewise.
9213
9214 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9215
9216         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9217         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9218         (libc_feholdexcept_setround_mips): Ditto.
9219         (libc_feholdsetround): New.
9220         (libc_feholdsetroundf): New.
9221         (libc_feholdsetroundl): New.
9222         (libc_feupdateenv_test_mips): New.
9223         (libc_feupdateenv_test): New.
9224         (libc_feupdateenv_testf): New.
9225         (libc_feupdateenv_testl): New.
9226         (libc_feresetround): New.
9227         (libc_feresetroundf): New.
9228         (libc_feresetroundl): New.
9229         (libc_fetestexcept_mips): New.
9230         (libc_fetestexcept): New.
9231         (libc_fetestexceptf): New.
9232         (libc_fetestexceptl): New.
9233         (HAVE_RM_CTX): New.
9234         (libc_feholdexcept_setround_mips_ctx): New.
9235         (libc_feholdexcept_setround_ctx): New.
9236         (libc_feholdexcept_setroundf_ctx): New.
9237         (libc_feholdexcept_setroundl_ctx): New.
9238         (libc_fesetenv_mips_ctx): New.
9239         (libc_fesetenv_ctx): New.
9240         (libc_fesetenv_ctxf): New.
9241         (libc_fesetenv_ctxl): New.
9242         (libc_feupdateenv_mips_ctx): New.
9243         (libc_feupdateenv_ctx): New.
9244         (libc_feupdateenvf_ctx): New.
9245         (libc_feupdateenvl_ctx): New.
9246         (libc_feholdsetround_mips_ctx): New.
9247         (libc_feholdsetround_ctx): New.
9248         (libc_feholdsetroundf_ctx): New.
9249         (libc_feholdsetroundl_ctx): New.
9250         (libc_feresetround_mips_ctx): New.
9251         (libc_feresetround_ctx): New.
9252         (libc_feresetroundf_ctx): New.
9253         (libc_feresetroundl_ctx): New.
9254
9255 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9256
9257         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9258
9259         * manual/ipc.texi: New file.
9260         * manual/Makefile (chapters): Add ipc.
9261         * manual/job.texi: Add "Inter-Process Communication" to next.
9262         * manual/process.texi: Add "Inter-Process Communication" to prev.
9263
9264 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9265
9266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9267
9268 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9269
9270         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9271
9272         * manual/arith.texi: Fix spaces after sentences.
9273         * manual/charset.texi: Likewise.
9274         * manual/errno.texi: Likewise.
9275         * manual/install.texi: Likewise.
9276         * manual/llio.texi: Likewise.
9277         * manual/locale.texi: Likewise.
9278         * manual/maint.texi: Likewise.
9279         * manual/math.texi: Likewise.
9280         * manual/memory.texi: Likewise.
9281         * manual/message.texi: Likewise.
9282         * manual/probes.texi: Likewise.
9283         * manual/resource.texi: Likewise.
9284         * manual/signal.texi: Likewise.
9285         * manual/socket.texi: Likewise.
9286         * manual/stdio.texi: Likewise.
9287         * manual/string.texi: Likewise.
9288         * manual/time.texi: Likewise.
9289         * manual/users.texi: Likewise.
9290
9291 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9292
9293         [BZ #16632]
9294         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9295         _DEFAULT_SOURCE is defined.
9296
9297 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9298             Carlos O'Donell  <carlos@redhat.com>
9299
9300         [BZ #16613]
9301         * elf/dl-tls.c (_dl_count_modids): New function.
9302         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9303         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9304         audit library and increment generation counter.
9305         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9306         * elf/tst-audit9.c: New file.
9307         * elf/tst-auditmod9a.c: New file.
9308         * elf/tst-auditmod9b.c: New file.
9309         * elf/Makefile: Add rules to build and run tst-audit9.
9310
9311 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9312
9313         [BZ #15347]
9314         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9315
9316 2014-02-25  Will Newton  <will.newton@linaro.org>
9317
9318         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9319         (__longjmp): Restore sp and lr before restoring callee
9320         saved registers.  Add longjmp and longjmp_target
9321         SystemTap probe point.
9322         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9323         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9324         Define to zero to match jmpbuf layout.
9325         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9326         (__sigsetjmp): Save sp and lr before saving callee
9327         saved registers.  Add setjmp SystemTap probe point.
9328
9329 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9330
9331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9332
9333 2014-02-24  Andreas Schwab  <schwab@suse.de>
9334
9335         [BZ #15804]
9336         * elf/pldd.c (wait_for_ptrace_stop): New function.
9337         (main): Call it after attaching.
9338
9339 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9340
9341         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9342         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9343         Versions files is now verboten.
9344         * hurd/Versions (libc: GLIBC_2.0):
9345         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9346         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9347         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9348         * mach/Versions: Likewise.
9349
9350         * csu/Versions: Remove unused %include.
9351         * resolv/Versions: Likewise.
9352
9353 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9354
9355         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9356         ($(objpfx)check-local-headers.out): Likewise.
9357         ($(objpfx)begin-end-check.out): Likewise.
9358         * Makerules (check-abi-%.out): Likewise.
9359         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9360         ($(objpfx)test2.cat): Likewise.
9361         ($(objpfx)de/libc.cat): Likewise.
9362         ($(objpfx)test-gencat.out): Likewise.
9363         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9364         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9365         ($(objpfx)noload-mem): Likewise.
9366         ($(objpfx)tst-pathopt.out): Likewise.
9367         ($(objpfx)tst-rtld-load-self.out): Likewise.
9368         ($(objpfx)tst-array1-cmp.out): Likewise.
9369         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9370         ($(objpfx)tst-array2-cmp.out): Likewise.
9371         ($(objpfx)tst-array3-cmp.out): Likewise.
9372         ($(objpfx)tst-array4-cmp.out): Likewise.
9373         ($(objpfx)tst-array5-cmp.out): Likewise.
9374         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9375         ($(objpfx)check-textrel.out): Likewise.
9376         ($(objpfx)check-execstack.out): Likewise.
9377         ($(objpfx)check-localplt.out): Likewise.
9378         ($(objpfx)order2-cmp.out): Likewise.
9379         ($(objpfx)tst-leaks1-mem): Likewise.
9380         ($(objpfx)tst-leaks1-static-mem): Likewise.
9381         ($(objpfx)tst-initorder-cmp.out): Likewise.
9382         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9383         ($(objpfx)tst-unused-dep.out): Likewise.
9384         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9385         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9386         * iconv/Makefile (test-iconvconfig): Likewise.
9387         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9388         ($(objpfx)iconv-test.out): Likewise.
9389         ($(objpfx)tst-tables.out): Likewise.
9390         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9391         ($(objpfx)tst-gettext.out): Likewise.
9392         ($(objpfx)tst-translit.out): Likewise.
9393         ($(objpfx)tst-gettext2.out): Likewise.
9394         ($(objpfx)tst-gettext4.out): Likewise.
9395         ($(objpfx)tst-gettext6.out): Likewise.
9396         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9397         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9398         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9399         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9400         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9401         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9402         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9403         ($(objpfx)wordexp-tst.out): Likewise.
9404         ($(objpfx)annexc.out): Likewise.
9405         ($(objpfx)tst-fnmatch-mem): Likewise.
9406         ($(objpfx)bug-regex2-mem): Likewise.
9407         ($(objpfx)bug-regex14-mem): Likewise.
9408         ($(objpfx)bug-regex21-mem): Likewise.
9409         ($(objpfx)bug-regex31-mem): Likewise.
9410         ($(objpfx)tst-vfork3-mem): Likewise.
9411         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9412         ($(objpfx)tst-pcre-mem): Likewise.
9413         ($(objpfx)tst-boost-mem): Likewise.
9414         ($(objpfx)tst-getconf.out): Likewise.
9415         ($(objpfx)bug-ga2-mem): Likewise.
9416         ($(objpfx)bug-glob2-mem): Likewise.
9417         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9418         ($(objpfx)mtrace-tst-leaks2): Likewise.
9419         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9420         ($(objpfx)tst-printf.out): Likewise.
9421         ($(objpfx)tst-setvbuf1.out): Likewise.
9422         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9423         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9424         ($(objpfx)tst-fmtmsg.out): Likewise.
9425         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9426         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9427
9428         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9429         * bits/sigaction.h [__USE_MISC]: Likewise.
9430         * bits/waitstatus.h: Update #endif comments.
9431         * ctype/ctype.h: Likewise.
9432         * dirent/dirent.h: Likewise.
9433         [__USE_MISC]: Remove redundant conditionals.
9434         * grp/grp.h: Update #endif comments.
9435         [__USE_GNU]: Remove redundant conditionals.
9436         [__USE_MISC]: Likewise.
9437         * inet/netinet/in.h [__USE_GNU]: Likewise.
9438         * io/sys/stat.h [__USE_MISC]: Likewise.
9439         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9440         * libio/bits/stdio.h: Update #endif comments.
9441         [__USE_MISC]: Remove redundant conditionals.
9442         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9443         * libio/stdio.h: Update #endif comments.
9444         [__USE_MISC]: Remove redundant conditionals.
9445         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9446         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9447         * math/math.h: Update #else and #endif comments.
9448         [__USE_MISC]: Remove redundant conditionals.
9449         * misc/sys/uio.h: Update #endif comments.
9450         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9451         * posix/glob.h [__USE_MISC]: Likewise.
9452         * posix/sys/types.h: Update #endif comments.
9453         [__USE_MISC]: Remove redundant conditionals.
9454         * posix/sys/wait.h: Update #endif comments.
9455         [__USE_MISC]: Remove redundant conditionals.
9456         * posix/unistd.h: Update #endif comments.
9457         [__USE_MISC]: Remove redundant conditionals.
9458         * pwd/pwd.h [__USE_GNU]: Likewise.
9459         [__USE_MISC]: Likewise.
9460         * resolv/netdb.h [__USE_GNU]: Likewise.
9461         * signal/signal.h: Update #endif comments.
9462         [__USE_MISC]: Remove redundant conditionals.
9463         * stdlib/stdlib.h: Update #else and #endif comments.
9464         [__USE_MISC]: Remove redundant conditionals.
9465         [__USE_GNU]: Likewise.
9466         * string/bits/string2.h [__USE_MISC]: Likewise.
9467         * string/string.h: Update #endif comments.
9468         [__USE_MISC]: Remove redundant conditionals.
9469         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9470         Likewise.
9471         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9472         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9473         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9474         Likewise.
9475         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9478         comments.
9479         [__USE_MISC]: Remove redundant conditionals.
9480         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9481         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9482         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9483         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9484         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9485         Likewise.
9486         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9487         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9488         Likewise.
9489         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9490         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9491         Likewise.
9492         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9493         Likewise.
9494         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9495         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9496         Likewise.
9497         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9498         Likewise.
9499         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9500         * sysdeps/x86/bits/string.h: Update #endif comments.
9501         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9502         conditionals.
9503         * time/sys/time.h: Update #endif comments.
9504         * time/time.h: Likewise.
9505         [__USE_MISC]: Remove redundant conditionals.
9506
9507 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9508
9509         [BZ #16600]
9510         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9511
9512 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9513
9514         * Versions.def (librt): Add GLIBC_2.17.
9515
9516 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9517
9518         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9519         synonym for _SYS_AUXV_H to allow direct inclusion.
9520         * sysdeps/sparc/bits/hwcap.h: Likewise.
9521         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9522         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9523         * sysdeps/sparc/sysdep.h: Likewise.
9524
9525 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9526
9527         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9528
9529 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9530
9531         * benchtests/bench-strrchr.c: Print length instead of position.
9532
9533 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9534
9535         [BZ #16611]
9536         * sysdeps/unix/sysv/linux/kernel-features.h
9537         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9538         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9539         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9540         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9541         Likewise.
9542         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9543         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9544         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9545         (__ASSUME_SENDMMSG): Define instead of using previous
9546         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9547         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9548         (__ASSUME_SENDMMSG_SYSCALL): Define.
9549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9550         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9551         Likewise.
9552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9554         Likewise.
9555         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9556         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9557         Likewise.
9558         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9559         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9560         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9561         [__ASSUME_SENDMMSG]: Change conditionals to
9562         [__ASSUME_SENDMMSG_SOCKETCALL].
9563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9564         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9565         Define.
9566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9567         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9568         Likewise.
9569         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9570         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9571         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9572         [!__ASSUME_SENDMMSG]: Change conditional to
9573         [!__ASSUME_SENDMMSG_SOCKETCALL].
9574         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9575         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9576         Define.
9577
9578         [BZ #16610]
9579         * sysdeps/unix/sysv/linux/kernel-features.h
9580         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9581         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9582         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9583         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9584         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9585         [__i386__ || __sparc__]
9586         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9587         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9588         (__ASSUME_RECVMMSG): Define instead of using previous
9589         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9590         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9591         (__ASSUME_RECVMMSG_SYSCALL): Define.
9592         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9594         Likewise.
9595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9597         Likewise.
9598         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9600         Likewise.
9601         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9602         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9603         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9604         [__ASSUME_RECVMMSG]: Change condition to
9605         [__ASSUME_RECVMMSG_SOCKETCALL].
9606         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9607         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9608         Define.
9609         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9610         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9612         Likewise.
9613         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9614         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9615         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9616         [!__ASSUME_RECVMMSG]: Change condition to
9617         [!__ASSUME_RECVMMSG_SOCKETCALL].
9618         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9619         (__ASSUME_RECVMMSG_SYSCALL): Define.
9620
9621         [BZ #16609]
9622         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9623         __powerpc__ || __s390__ || __sh__ || __sparc__]
9624         (__ASSUME_SOCKETCALL): Define.
9625         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9626         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9627         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9628         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9629         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9630         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9631         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9632         (__ASSUME_ACCEPT4): Define instead of using previous
9633         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9634         __powerpc__ || __sparc__ || __s390__)] condition.
9635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9636         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9637         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9638         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9639         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9640         [!__ASSUME_ACCEPT4]: Change condition to
9641         [!__ASSUME_ACCEPT4_SOCKETCALL].
9642         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9643         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9644         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9645         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9646         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9647         __ASSUME_ACCEPT4_SYSCALL.
9648         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9649         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9650         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9651         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9652         __ASSUME_ACCEPT4_SYSCALL.
9653         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9654         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9655         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9656         [__ASSUME_ACCEPT4]: Change condition to
9657         [__ASSUME_ACCEPT4_SOCKETCALL].
9658         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9659         (__ASSUME_SOCKETCALL): Define.
9660         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9662         (__ASSUME_SOCKETCALL): Define.
9663         (__ASSUME_ACCEPT4): Remove.
9664         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9665         Define.
9666         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9667         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9670         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9671
9672         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9673         macro.
9674         (HWCAP_ARM_LPAE): Likewise.
9675         (HWCAP_ARM_EVTSTRM): Likewise.
9676         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9677         Add vpfd32, lpae and evtstrm.
9678         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9679         Increase to 22.
9680
9681 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9682
9683         * math/auto-libm-test-in: Add tests of clog10.
9684         * math/auto-libm-test-out: Regenerated.
9685         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9686         * sysdeps/i386/fpu/libm-test-ulps: Update.
9687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9688
9689 2014-02-18  Andreas Schwab  <schwab@suse.de>
9690
9691         [BZ #16574]
9692         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9693         Store non-zero if the second buffer was newly allocated.
9694         (send_dg): Likewise.
9695         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9696         to send_vc and send_dg.
9697         (res_nsend): Pass NULL for ansp2_malloced.
9698         * resolv/res_query.c (__libc_res_nquery): Add parameter
9699         answerp2_malloced and pass it down to __libc_res_nsend.
9700         (res_nquery): Pass additional NULL to __libc_res_nquery.
9701         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9702         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9703         second answer buffer if answerp2_malloced was set.
9704         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9705         (__libc_res_nquerydomain): Add parameter
9706         answerp2_malloced and pass it down to __libc_res_nquery.
9707         (res_nquerydomain): Pass additional NULL to
9708         __libc_res_nquerydomain.
9709         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9710         additional NULL to __libc_res_nsend and __libc_res_nquery.
9711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9712         additional NULL to __libc_res_nsearch.
9713         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9714         parameter of __libc_res_nsearch to check for separately allocated
9715         second buffer.
9716         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9717         __libc_res_nquery.
9718         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9719         additional NULL to __libc_res_nquery.
9720         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9721         __libc_res_nsearch.
9722         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9723         * include/resolv.h: Update prototypes of __libc_res_nquery,
9724         __libc_res_nsearch, __libc_res_nsend.
9725
9726 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9727
9728         * math/auto-libm-test-in: Add tests of fma.
9729         * math/auto-libm-test-out: Regenerated.
9730         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9731         (fma_towardzero_test_data): Likewise.
9732         (fma_downward_test_data): Likewise.
9733         (fma_upward_test_data): Likewise.
9734         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9735         mpc_mode.
9736         (rounding_modes): Add values for new field.
9737         (func_calc_method): Add value mpfr_fff_f.
9738         (func_calc_desc): Add mpfr_fff_f union field.
9739         (test_function): Add field exact_args.
9740         (FUNC): Add macro argument EXACT_ARGS.
9741         (FUNC_mpfr_f_f): Update call to FUNC.
9742         (FUNC_mpfr_f_f): Likewise.
9743         (FUNC_mpfr_ff_f): Likewise.
9744         (FUNC_mpfr_if_f): Likewise.
9745         (FUNC_mpc_c_f): Likewise.
9746         (FUNC_mpc_c_c): Likewise.
9747         (test_functions): Add fma.  Update calls to FUNC.
9748         (handle_input_arg): Add argument exact_args.
9749         (add_test): Update call to handle_input_arg.
9750         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9751         (output_for_one_input_case): Update call to calc_generic_results.
9752         Recalculate exact zero results in each rounding mode.
9753
9754         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9755         non-negative before setting low bit.
9756         * math/auto-libm-test-in: Mark one asin test possibly having
9757         spurious underflow.
9758         * math/auto-libm-test-out: Regenerated.
9759         * sysdeps/i386/fpu/libm-test-ulps: Update.
9760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9761
9762 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9763
9764         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9765         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9766         ports/sysdeps/unix/sysv/linux/microblaze.
9767         * README: Add missing listing for microblaze*-*-linux-gnu.
9768
9769 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
9770
9771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9772         duplicate code
9773
9774 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9775
9776         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9777         * sysdeps/unix/sysv/linux/ia64: Move directory from
9778         ports/sysdeps/unix/sysv/linux/ia64.
9779         * README: Update listing for ia64-*-linux-gnu.
9780
9781 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9782             Joseph Myers  <joseph@codesourcery.com>
9783
9784         * Makeconfig (test-name): New variable.
9785         (evaluate-test): Likewise.
9786         * Makerules (do-test-clean): Remove .test-result files.
9787         (common-mostlyclean): Likewise.
9788         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9789         * scripts/evaluate-test.sh: New file.
9790
9791 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9792
9793         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9794         separate $(objpfx)tst-fopenloc-cmp.out and
9795         $(objpfx)tst-fopenloc-mem.out targets.
9796         (tests): Update dependencies.
9797         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9798         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9799         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9800         (tst-rxspencer-no-utf8-ARGS): New variable.
9801         (tst-rxspencer-no-utf8-ENV): Likewise.
9802         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9803         instead of $(objpfx)tst-rxspencer-mem.
9804         ($(objpfx)tst-rxspencer-mem): Change target to
9805         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9806         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9807         * posix/tst-rxspencer-no-utf8.c: New file.
9808
9809         * elf/Makefile ($(objpfx)order.out): Remove rule.
9810         [$(run-built-tests) = yes] (tests): Depend on
9811         $(objpfx)order-cmp.out.
9812         ($(objpfx)order-cmp.out): New rule.
9813         [$(run-built-tests) = yes] (tests): Depend on
9814         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9815         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9816         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9817         $(objpfx)tst-array5-static-cmp.out.
9818         ($(objpfx)tst-array1.out): Remove rule.
9819         ($(objpfx)tst-array1-cmp.out): New rule.
9820         ($(objpfx)tst-array1-static.out): Remove rule.
9821         ($(objpfx)tst-array1-static-cmp.out): New rule.
9822         ($(objpfx)tst-array2.out): Remove rule.
9823         ($(objpfx)tst-array2-cmp.out): New rule.
9824         ($(objpfx)tst-array3.out): Remove rule.
9825         ($(objpfx)tst-array3-cmp.out): New rule.
9826         ($(objpfx)tst-array4.out): Remove rule.
9827         ($(objpfx)tst-array4-cmp.out): New rule.
9828         ($(objpfx)tst-array5.out): Remove rule.
9829         ($(objpfx)tst-array5-cmp.out): New rule.
9830         ($(objpfx)tst-array5-static.out): Remove rule.
9831         ($(objpfx)tst-array5-static-cmp.out): New rule.
9832         [$(run-built-tests) = yes] (tests): Depend on
9833         $(objpfx)order2-cmp.out.
9834         ($(objpfx)order2.out): Remove rule.
9835         ($(objpfx)order2-cmp.out): New rule.
9836         ($(objpfx)tst-initorder.out): Remove rule.
9837         [$(run-built-tests) = yes] (tests): Depend on
9838         $(objpfx)tst-initorder-cmp.out.
9839         ($(objpfx)tst-initorder-cmp.out): New rule.
9840         ($(objpfx)tst-initorder2.out): Remove rule.
9841         [$(run-built-tests) = yes] (tests): Depend on
9842         $(objpfx)tst-initorder2-cmp.out.
9843         ($(objpfx)tst-initorder2-cmp.out): New rule.
9844         [$(run-built-tests) = yes] (tests): Depend on
9845         $(objpfx)tst-unused-dep-cmp.out.
9846         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9847         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9848         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9849         on $(objpfx)tst-setvbuf1-cmp.out.
9850         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9851         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9852         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9853         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9854         ($(objpfx)tst-svc.out): Remove rule.
9855         ($(objpfx)tst-svc-cmp.out): New rule.
9856
9857 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9858
9859         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9860         * ctype/ctype.h [__USE_MISC]: Likewise.
9861         * dirent/dirent.h [__USE_MISC]: Likewise.
9862         * grp/grp.h [__USE_MISC]: Likewise.
9863         * io/fcntl.h [__USE_MISC]: Likewise.
9864         * io/sys/stat.h [__USE_MISC]: Likewise.
9865         * libio/stdio.h [__USE_MISC]: Likewise.
9866         * posix/unistd.h [__USE_MISC]: Likewise.
9867         * pwd/pwd.h [__USE_MISC]: Likewise.
9868         * stdlib.h [__USE_MISC]: Likewise.
9869         * string/bits/string2.h [__USE_MISC]: Likewise.
9870         * string/string.h [__USE_MISC]: Likewise.
9871         * time/time.h [__USE_MISC]: Likewise.
9872
9873 2014-02-13  Andreas Schwab  <schwab@suse.de>
9874
9875         [BZ #16574]
9876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9877         second answer buffer if it was separately allocated.
9878
9879 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9880
9881         * sysdeps/mips/math-tests.h: Include <features.h>.
9882         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9883         (ROUNDING_TESTS_long_double): Do not define.
9884         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9885         (EXCEPTION_TESTS_long_double): Likewise.
9886         * sysdeps/mips/mips64/libm-test-ulps: Update.
9887
9888         * include/features.h (__USE_BSD): Remove macro definitions.
9889         (__USE_SVID): Likewise.
9890         (_BSD_SOURCE): Likewise.
9891         (_SVID_SOURCE): Likewise.
9892         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9893         from definition of _DEFAULT_SOURCE.
9894         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9895         [_DEFAULT_SOURCE].
9896         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9897         * bits/mman.h [__USE_BSD]: Likewise.
9898         * bits/termios.h [__USE_BSD]: Likewise.
9899         * bits/waitstatus.h [__USE_BSD]: Likewise.
9900         * ctype/ctype.h [__USE_SVID]: Likewise.
9901         * dirent/dirent.h [__USE_BSD]: Likewise.
9902         * grp/grp.h [__USE_SVID]: Likewise.
9903         [__USE_BSD]: Likewise.
9904         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9905         * io/fcntl.h [__USE_BSD]: Likewise.
9906         * io/ftw.h [__USE_BSD]: Likewise.
9907         * io/sys/stat.h [__USE_BSD]: Likewise.
9908         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9909         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9910         * libio/stdio.h [__USE_SVID]: Likewise.
9911         [__USE_BSD]: Likewise.
9912         * math/math.h [__USE_SVID]: Likewise.
9913         [__USE_BSD]: Likewise.
9914         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9915         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9916         * misc/search.h [__USE_SVID]: Likewise.
9917         * misc/sys/mman.h [__USE_BSD]: Likewise.
9918         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9919         * misc/sys/uio.h [__USE_BSD]: Likewise.
9920         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9921         * posix/glob.h [__USE_BSD]: Likewise.
9922         * posix/regex.h [__USE_BSD]: Likewise.
9923         * posix/sys/types.h [__USE_BSD]: Likewise.
9924         [__USE_SVID]: Likewise.
9925         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9926         * posix/sys/wait.h [__USE_BSD]: Likewise.
9927         [__USE_SVID]: Likewise.
9928         * posix/unistd.h [__USE_BSD]: Likewise.
9929         [__USE_SVID]: Likewise.
9930         * pwd/pwd.h [__USE_SVID]: Likewise.
9931         * resolv/netdb.h [__USE_BSD]: Likewise.
9932         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9933         * signal/signal.h [__USE_BSD]: Likewise.
9934         [__USE_SVID]: Likewise.
9935         * socket/sys/socket.h [__USE_BSD]: Likewise.
9936         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9937         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9938         [__USE_SVID]: Likewise.
9939         * string/bits/string2.h [__USE_BSD]: Likewise.
9940         [__USE_SVID]: Likewise.
9941         * string/bits/string3.h [__USE_BSD]: Likewise.
9942         * string/endian.h [__USE_BSD]: Likewise.
9943         * string/string.h [__USE_SVID]: Likewise.
9944         [__USE_BSD]: Likewise.
9945         * string/strings.h [__USE_BSD]: Likewise.
9946         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9947         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9948         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9949         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9950         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9951         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9952         Likewise.
9953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9954         Likewise.
9955         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9956         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9957         Likewise.
9958         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9959         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9960         Likewise.
9961         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9964         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9966         Likewise.
9967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9968         Likewise.
9969         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9970         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9971         * termios/termios.h [__USE_BSD]: Likewise.
9972         * time/sys/time.h [__USE_BSD]: Likewise.
9973         * time/time.h [__USE_BSD]: Likewise.
9974         [__USE_SVID]: Likewise.
9975
9976         * Makefile (subdir_targets): Remove subdir_lint.out.
9977
9978         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9979         (do-tst-printf): Likewise.
9980         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9981         $(objpfx)tst-printf.out.
9982
9983         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9984
9985         * Makerules (check-abi-%): Change target to
9986         $(objpfx)check-abi-%.out.
9987         (check-abi target): Update dependencies.
9988         (check-abi-pattern variable): Redirect output of diff to $@.
9989         (check-abi variable): Likewise.
9990         * elf/Makefile (check-abi): Update dependencies.
9991
9992         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9993         unused.
9994         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9995         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9996         subnormal range.
9997         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9998         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9999         value has largest subnormal exponent.
10000         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10001         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10002         * sysdeps/aarch64/soft-fp/sfp-machine.h
10003         (_FP_TININESS_AFTER_ROUNDING): New macro.
10004         * sysdeps/alpha/soft-fp/sfp-machine.h
10005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10006         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10007         Likewise.
10008         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10010         * sysdeps/mips/soft-fp/sfp-machine.h
10011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10012         * sysdeps/powerpc/soft-fp/sfp-machine.h
10013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10014         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10015         Likewise.
10016         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10017         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10018         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10019         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10020         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10021         Likewise.
10022
10023 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10024
10025         [BZ #16545]
10026         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10027         model 1.
10028
10029 2014-02-12  Richard Henderson  <rth@redhat.com>
10030
10031         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10032         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10033         * sysdeps/unix/sysv/linux/alpha: Move directory from
10034         ports/sysdeps/unix/sysv/linux/alpha.
10035         * README: Update listing for alpha-*-linux-gnu.
10036
10037 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10038
10039         * include/features.h: Update comment documenting feature test
10040         macros.
10041         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10042         _DEFAULT_SOURCE.
10043         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10044         (_SVID_SOURCE): Likewise.
10045         (_DEFAULT_SOURCE): Update description of default features.
10046         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10047         with _GNU_SOURCE.
10048         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10049         (S_ISVTX): Likewise.
10050         * manual/math.texi (Mathematical Constants): Likewise.
10051         * manual/signal.texi (Interrupted Primitives): Likewise.
10052         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10053         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10054         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10055         Don't refer to _SVID_SOURCE in warning text.
10056
10057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10058
10059         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10060         already defined.
10061         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10062         * sysdeps/mips/dl-lookup.c: Remove.
10063         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10064
10065 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10066
10067         [BZ #16447]
10068         * math/auto-libm-test-in: Add testcase for expl.
10069         * math/auto-libm-test-out: Regenerate.
10070         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10071         calculation of unsafe.
10072         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10073
10074 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10075
10076         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10077         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10078         ports/sysdeps/unix/sysv/linux/aarch64.
10079         * README: Update listing for aarch64*-*-linux-gnu.
10080
10081 2014-02-11  Will Newton  <will.newton@linaro.org>
10082
10083         * manual/probes.texi (Mathematical Function Probes): Use
10084         "triggered" instead of "hit".
10085
10086         * manual/probes.texi (Internal Probes): Add documentation
10087         of setjmp, longjmp and longjmp_target probes.
10088
10089         * include/stap-probe.h: Add comment about probe argument
10090         format.
10091
10092         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10093         definition.  (tr_where, tr_freehook, tr_mallochook,
10094         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10095
10096 2014-02-11  David S. Miller  <davem@davemloft.net>
10097
10098         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10099         processing int_tests.
10100
10101 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10102
10103         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10104         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10105         * sysdeps/unix/sysv/linux/mips: Move directory from
10106         ports/sysdeps/unix/sysv/linux/mips.
10107         * README: Update listing for mips-*-linux-gnu and
10108         mips64-*-linux-gnu.
10109
10110 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10111
10112         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10113         * sysdeps/unix/sysv/linux/m68k: Move directory from
10114         ports/sysdeps/unix/sysv/linux/m68k.
10115         * README: Update listing for m68k-*-linux-gnu.
10116
10117 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10118
10119         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10120         * sysdeps/unix/sysv/linux/generic: Move directory from
10121         ports/sysdeps/unix/sysv/linux/generic.
10122         * sysdeps/unix/sysv/linux/tile: Move directory from
10123         ports/sysdeps/unix/sysv/linux/tile.
10124         * README: Update listing for tile*-*-linux-gnu.
10125
10126 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10127
10128         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10129         __builtin_expect.
10130         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10131         * catgets/open_catalog.c (__open_catalog): Likewise.
10132         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10133         * debug/confstr_chk.c: Likewise.
10134         * debug/fread_chk.c (__fread_chk): Likewise.
10135         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10136         * debug/getgroups_chk.c: Likewise.
10137         * debug/mbsnrtowcs_chk.c: Likewise.
10138         * debug/mbsrtowcs_chk.c: Likewise.
10139         * debug/mbstowcs_chk.c: Likewise.
10140         * debug/memcpy_chk.c: Likewise.
10141         * debug/memmove_chk.c: Likewise.
10142         * debug/mempcpy_chk.c: Likewise.
10143         * debug/memset_chk.c: Likewise.
10144         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10145         * debug/strcat_chk.c (__strcat_chk): Likewise.
10146         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10147         * debug/strncat_chk.c (__strncat_chk): Likewise.
10148         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10149         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10150         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10151         * debug/wcpncpy_chk.c: Likewise.
10152         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10153         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10154         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10155         * debug/wcsncpy_chk.c: Likewise.
10156         * debug/wcsnrtombs_chk.c: Likewise.
10157         * debug/wcsrtombs_chk.c: Likewise.
10158         * debug/wcstombs_chk.c: Likewise.
10159         * debug/wmemcpy_chk.c: Likewise.
10160         * debug/wmemmove_chk.c: Likewise.
10161         * debug/wmempcpy_chk.c: Likewise.
10162         * debug/wmemset_chk.c: Likewise.
10163         * dirent/scandirat.c (SCANDIRAT): Likewise.
10164         * dlfcn/dladdr1.c (dladdr1): Likewise.
10165         * dlfcn/dladdr.c (dladdr): Likewise.
10166         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10167         * dlfcn/dlerror.c (__dlerror): Likewise.
10168         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10169         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10170         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10171         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10172         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10173         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10174         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10175         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10176         Likewise.
10177         * elf/dl-conflict.c: Likewise.
10178         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10179         * elf/dl-dst.h: Likewise.
10180         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10181         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10182         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10183         * elf/dl-init.c (call_init, _dl_init): Likewise.
10184         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10185         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10186         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10187         Likewise.
10188         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10189         Likewise.
10190         * elf/dl-minimal.c (__libc_memalign): Likewise.
10191         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10192         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10193         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10194         * elf/dl-sym.c (do_sym): Likewise.
10195         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10196         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10197         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10198         * elf/dl-writev.h (_dl_writev): Likewise.
10199         * elf/ldconfig.c (search_dir): Likewise.
10200         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10201         (dl_main): Likewise.
10202         * elf/setup-vdso.h (setup_vdso): Likewise.
10203         * grp/compat-initgroups.c (compat_call): Likewise.
10204         * grp/fgetgrent.c (fgetgrent): Likewise.
10205         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10206         * grp/putgrent.c (putgrent): Likewise.
10207         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10208         Likewise.
10209         * hurd/hurdinit.c: Likewise.
10210         * iconvdata/8bit-gap.c (struct): Likewise.
10211         * iconvdata/ansi_x3.110.c : Likewise.
10212         * iconvdata/big5.c : Likewise.
10213         * iconvdata/big5hkscs.c : Likewise.
10214         * iconvdata/cp1255.c: Likewise.
10215         * iconvdata/cp1258.c : Likewise.
10216         * iconvdata/cp932.c : Likewise.
10217         * iconvdata/euc-cn.c: Likewise.
10218         * iconvdata/euc-jisx0213.c : Likewise.
10219         * iconvdata/euc-jp.c: Likewise.
10220         * iconvdata/euc-jp-ms.c : Likewise.
10221         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10222         * iconvdata/gb18030.c : Likewise.
10223         * iconvdata/gbbig5.c (const): Likewise.
10224         * iconvdata/gbgbk.c: Likewise.
10225         * iconvdata/gbk.c : Likewise.
10226         * iconvdata/ibm1364.c : Likewise.
10227         * iconvdata/ibm930.c : Likewise.
10228         * iconvdata/ibm932.c: Likewise.
10229         * iconvdata/ibm933.c : Likewise.
10230         * iconvdata/ibm935.c : Likewise.
10231         * iconvdata/ibm937.c : Likewise.
10232         * iconvdata/ibm939.c : Likewise.
10233         * iconvdata/ibm943.c: Likewise.
10234         * iconvdata/iso_11548-1.c: Likewise.
10235         * iconvdata/iso-2022-cn.c : Likewise.
10236         * iconvdata/iso-2022-cn-ext.c : Likewise.
10237         * iconvdata/iso-2022-jp-3.c: Likewise.
10238         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10239         * iconvdata/iso-2022-kr.c : Likewise.
10240         * iconvdata/iso646.c (gconv_end): Likewise.
10241         * iconvdata/iso_6937-2.c : Likewise.
10242         * iconvdata/iso_6937.c : Likewise.
10243         * iconvdata/iso8859-1.c: Likewise.
10244         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10245         * iconvdata/shift_jisx0213.c : Likewise.
10246         * iconvdata/sjis.c : Likewise.
10247         * iconvdata/t.61.c : Likewise.
10248         * iconvdata/tcvn5712-1.c : Likewise.
10249         * iconvdata/tscii.c: Likewise.
10250         * iconvdata/uhc.c : Likewise.
10251         * iconvdata/unicode.c (gconv_end): Likewise.
10252         * iconvdata/utf-16.c (gconv_end): Likewise.
10253         * iconvdata/utf-32.c (gconv_end): Likewise.
10254         * iconvdata/utf-7.c (base64): Likewise.
10255         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10256         * iconv/gconv_close.c (__gconv_close): Likewise.
10257         * iconv/gconv_open.c (__gconv_open): Likewise.
10258         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10259         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10260         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10261         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10262         (ucs4le_internal_loop_single): Likewise.
10263         * iconv/iconv.c (iconv): Likewise.
10264         * iconv/iconv_close.c: Likewise.
10265         * iconv/loop.c (SINGLE): Likewise.
10266         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10267         * include/atomic.h: Likewise.
10268         * inet/inet6_option.c (option_alloc): Likewise.
10269         * intl/bindtextdom.c (set_binding_values): Likewise.
10270         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10271         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10272         * intl/localealias.c (read_alias_file): Likewise.
10273         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10274         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10275         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10276         * libio/fmemopen.c (fmemopen): Likewise.
10277         * libio/iofgets.c (_IO_fgets): Likewise.
10278         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10279         * libio/iofgetws.c (fgetws): Likewise.
10280         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10281         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10282         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10283         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10284         * locale/findlocale.c (_nl_find_locale): Likewise.
10285         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10286         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10287         Likewise.
10288         * locale/setlocale.c (setlocale): Likewise.
10289         * login/programs/pt_chown.c (main): Likewise.
10290         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10291         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10292         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10293         (mmap, mmap64, mremap, munmap): Likewise.
10294         * math/e_exp2l.c: Likewise.
10295         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10296         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10297         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10298         * math/s_catan.c (__catan): Likewise.
10299         * math/s_catanf.c (__catanf): Likewise.
10300         * math/s_catanh.c (__catanh): Likewise.
10301         * math/s_catanhf.c (__catanhf): Likewise.
10302         * math/s_catanhl.c (__catanhl): Likewise.
10303         * math/s_catanl.c (__catanl): Likewise.
10304         * math/s_ccosh.c (__ccosh): Likewise.
10305         * math/s_ccoshf.c (__ccoshf): Likewise.
10306         * math/s_ccoshl.c (__ccoshl): Likewise.
10307         * math/s_cexp.c (__cexp): Likewise.
10308         * math/s_cexpf.c (__cexpf): Likewise.
10309         * math/s_cexpl.c (__cexpl): Likewise.
10310         * math/s_clog10.c (__clog10): Likewise.
10311         * math/s_clog10f.c (__clog10f): Likewise.
10312         * math/s_clog10l.c (__clog10l): Likewise.
10313         * math/s_clog.c (__clog): Likewise.
10314         * math/s_clogf.c (__clogf): Likewise.
10315         * math/s_clogl.c (__clogl): Likewise.
10316         * math/s_csin.c (__csin): Likewise.
10317         * math/s_csinf.c (__csinf): Likewise.
10318         * math/s_csinh.c (__csinh): Likewise.
10319         * math/s_csinhf.c (__csinhf): Likewise.
10320         * math/s_csinhl.c (__csinhl): Likewise.
10321         * math/s_csinl.c (__csinl): Likewise.
10322         * math/s_csqrt.c (__csqrt): Likewise.
10323         * math/s_csqrtf.c (__csqrtf): Likewise.
10324         * math/s_csqrtl.c (__csqrtl): Likewise.
10325         * math/s_ctan.c (__ctan): Likewise.
10326         * math/s_ctanf.c (__ctanf): Likewise.
10327         * math/s_ctanh.c (__ctanh): Likewise.
10328         * math/s_ctanhf.c (__ctanhf): Likewise.
10329         * math/s_ctanhl.c (__ctanhl): Likewise.
10330         * math/s_ctanl.c (__ctanl): Likewise.
10331         * math/w_pow.c: Likewise.
10332         * math/w_powf.c: Likewise.
10333         * math/w_powl.c: Likewise.
10334         * math/w_scalb.c (sysv_scalb): Likewise.
10335         * math/w_scalbf.c (sysv_scalbf): Likewise.
10336         * math/w_scalbl.c (sysv_scalbl): Likewise.
10337         * misc/error.c (error_tail): Likewise.
10338         * misc/pselect.c (__pselect): Likewise.
10339         * nis/nis_callback.c (__nis_create_callback): Likewise.
10340         * nis/nis_call.c (__nisfind_server): Likewise.
10341         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10342         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10343         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10344         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10345         * nis/nis_lookup.c (nis_lookup): Likewise.
10346         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10347         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10348         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10349         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10350         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10351         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10352         * nis/nss_compat/compat-initgroups.c (add_group)
10353         (internal_getgrent_r): Likewise.
10354         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10355         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10356         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10357         (internal_getspnam_r): Likewise.
10358         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10359         (_nss_nis_getaliasbyname_r): Likewise.
10360         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10361         (_nss_nis_getntohost_r): Likewise.
10362         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10363         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10364         (_nss_nis_getgrgid_r): Likewise.
10365         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10366         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10367         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10368         (_nss_nis_gethostbyname4_r): Likewise.
10369         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10370         (initgroups_netid): Likewise.
10371         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10372         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10373         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10374         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10375         (_nss_nis_getprotobynumber_r): Likewise.
10376         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10377         (_nss_nis_getsecretkey): Likewise.
10378         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10379         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10380         (_nss_nis_getpwuid_r): Likewise.
10381         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10382         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10383         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10384         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10385         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10386         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10387         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10388         Likewise.
10389         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10390         (_nss_nisplus_getntohost_r): Likewise.
10391         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10392         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10393         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10394         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10395         Likewise.
10396         * nis/nss_nisplus/nisplus-initgroups.c
10397         (_nss_nisplus_initgroups_dyn): Likewise.
10398         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10399         (_nss_nisplus_getnetbyaddr_r): Likewise.
10400         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10401         (_nss_nisplus_getprotobynumber_r): Likewise.
10402         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10403         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10404         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10405         Likewise.
10406         * nis/nss_nisplus/nisplus-service.c
10407         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10408         (_nss_nisplus_getservbyport_r): Likewise.
10409         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10410         (_nss_nisplus_getspnam_r): Likewise.
10411         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10412         Likewise.
10413         * nscd/aicache.c (addhstaiX): Likewise.
10414         * nscd/cache.c (cache_search, prune_cache): Likewise.
10415         * nscd/connections.c (register_traced_file, send_ro_fd)
10416         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10417         (main_loop_epoll): Likewise.
10418         * nscd/grpcache.c (addgrbyX): Likewise.
10419         * nscd/hstcache.c (addhstbyX): Likewise.
10420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10421         * nscd/mem.c (gc, mempool_alloc): Likewise.
10422         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10423         (addinnetgrX): Likewise.
10424         * nscd/nscd-client.h (__nscd_acquire_maplock)
10425         (__nscd_drop_map_ref): Likewise.
10426         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10427         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10428         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10429         Likewise.
10430         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10431         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10432         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10433         (__nscd_get_map_ref): Likewise.
10434         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10435         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10436         Likewise.
10437         * nscd/pwdcache.c (addpwbyX): Likewise.
10438         * nscd/selinux.c (preserve_capabilities): Likewise.
10439         * nscd/servicescache.c (addservbyX): Likewise.
10440         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10441         * posix/fnmatch.c (fnmatch): Likewise.
10442         * posix/getopt.c (_getopt_internal_r): Likewise.
10443         * posix/glob.c (glob, glob_in_dir): Likewise.
10444         * posix/wordexp.c (exec_comm_child): Likewise.
10445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10446         (getanswer_r, gaih_getanswer_slice): Likewise.
10447         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10448         * resolv/res_init.c: Likewise.
10449         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10450         * resolv/res_query.c (__libc_res_nquery): Likewise.
10451         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10452         Likewise.
10453         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10454         * stdio-common/perror.c (perror): Likewise.
10455         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10456         * stdio-common/tmpnam.c (tmpnam): Likewise.
10457         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10458         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10459         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10460         Likewise.
10461         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10462         * stdlib/putenv.c (putenv): Likewise.
10463         * stdlib/setenv.c (__add_to_environ): Likewise.
10464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10465         * stdlib/strtol_l.c (INTERNAL): Likewise.
10466         * string/memmem.c (memmem): Likewise.
10467         * string/strerror.c (strerror): Likewise.
10468         * string/strnlen.c (__strnlen): Likewise.
10469         * string/test-memmem.c (simple_memmem): Likewise.
10470         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10471         * sunrpc/pm_getport.c (__get_socket): Likewise.
10472         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10473         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10474         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10475         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10476         Likewise.
10477         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10478         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10479         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10480         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10481         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10482         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10483         Likewise.
10484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10485         Likewise.
10486         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10487         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10489         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10490         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10493         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10494         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10495         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10496         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10498         Likewise.
10499         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10500         Likewise.
10501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10502         Likewise.
10503         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10506         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10507         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10508         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10509         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10510         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10512         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10513         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10516         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10519         Likewise.
10520         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10521         Likewise.
10522         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10523         Likewise.
10524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10525         Likewise.
10526         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10528         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10529         Likewise.
10530         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10531         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10532         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10533         * sysdeps/posix/sleep.c: Likewise.
10534         * sysdeps/posix/tempname.c: Likewise.
10535         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10536         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10537         Likewise.
10538         * sysdeps/powerpc/powerpc32/dl-machine.h
10539         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10540         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10542         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10543         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10544         Likewise.
10545         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10547         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10549         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10550         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10551         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10552         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10554         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10556         (elf_machine_lazy_rel): Likewise.
10557         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10559         (elf_machine_lazy_rel): Likewise.
10560         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10561         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10562         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10563         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10564         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10565         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10566         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10568         Likewise.
10569         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10570         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10571         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10572         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10573         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10574         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10575         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10576         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10577         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10578         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10579         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10582         (__posix_fallocate64_l64): Likewise.
10583         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10584         (posix_fallocate): Likewise.
10585         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10588         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10589         (getifaddrs_internal): Likewise.
10590         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10591         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10592         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10593         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10594         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10595         (__posix_fallocate64_l64): Likewise.
10596         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10597         Likewise.
10598         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10600         (__get_clockfreq): Likewise.
10601         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10602         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10603         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10606         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10607         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10609         Likewise.
10610         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10611         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10612         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10615         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10616         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10619         (posix_fallocate): Likewise.
10620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10621         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10622         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10623         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10624         (elf_machine_rela, elf_machine_rela_relative)
10625         (elf_machine_lazy_rel): Likewise.
10626         * time/asctime.c (asctime_internal): Likewise.
10627         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10628         * time/tzset.c (__tzset_parse_tz): Likewise.
10629         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10630         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10631         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10632         * wcsmbs/wcsmbsload.h: Likewise.
10633
10634         [BZ #15894]
10635         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10636
10637         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10638         (arena_get2): Remove THREAD_STATS conditionals.
10639         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10640         (__malloc_stats, int): Likewise.
10641
10642 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10643
10644         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10645         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10646
10647         * manual/setjmp.texi: Fix typos/grammar errors.
10648
10649         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10650         Only return early when n is <= 0.  Delete unused return statement.
10651
10652         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10653         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10654         * debug/tst-longjmp_chk3.c: New file.
10655
10656         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10657         (test_main): Replace code with set_fortify_handler call.
10658         * debug/test-strcpy_chk.c: Likewise.
10659         * debug/tst-chk1.c: Likewise.
10660         * debug/tst-longjmp_chk.c: Likewise.
10661         * test-skeleton.c: Include fcntl.h & paths.h
10662         (set_fortify_handler): Define.
10663
10664         * debug/tst-longjmp_chk.c: Add header comment and include
10665         ../test-skeleton.c.
10666         (do_test): Mark static.
10667         (TEST_FUNCTION): Define.
10668
10669         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10670         (IP_PMTUDISC_INTERFACE): Likewise.
10671         (IP_MULTICAST_IF): Likewise.
10672         (IP_MULTICAST_TTL): Likewise.
10673         (IP_MULTICAST_LOOP): Likewise.
10674         (IP_ADD_MEMBERSHIP): Likewise.
10675         (IP_DROP_MEMBERSHIP): Likewise.
10676         (IP_UNBLOCK_SOURCE): Likewise.
10677         (IP_BLOCK_SOURCE): Likewise.
10678         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10679         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10680         (IP_MSFILTER): Likewise.
10681         (MCAST_JOIN_GROUP): Likewise.
10682         (MCAST_BLOCK_SOURCE): Likewise.
10683         (MCAST_UNBLOCK_SOURCE): Likewise.
10684         (MCAST_LEAVE_GROUP): Likewise.
10685         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10686         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10687         (MCAST_MSFILTER): Likewise.
10688         (IP_MULTICAST_ALL): Likewise.
10689         (IP_UNICAST_IF): Likewise.
10690
10691         * timezone/Makefile: Delete $(have-ksh) check.
10692         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10693         * timezone/tzselect.ksh: Add +x mode bits.
10694
10695         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10696         (ANON_INODE_FS_MAGIC): Likewise.
10697         (BDEVFS_MAGIC): Likewise.
10698         (BINFMTFS_MAGIC): Likewise.
10699         (BTRFS_TEST_MAGIC): Likewise.
10700         (CRAMFS_MAGIC_WEND): Likewise.
10701         (DEBUGFS_MAGIC): Likewise.
10702         (ECRYPTFS_SUPER_MAGIC): Likewise.
10703         (EXT3_SUPER_MAGIC): Likewise.
10704         (EXT4_SUPER_MAGIC): Likewise.
10705         (FUTEXFS_SUPER_MAGIC): Likewise.
10706         (HOSTFS_SUPER_MAGIC): Likewise.
10707         (HUGETLBFS_MAGIC): Likewise.
10708         (MINIX3_SUPER_MAGIC): Likewise.
10709         (MTD_INODE_FS_MAGIC): Likewise.
10710         (NILFS_SUPER_MAGIC): Likewise.
10711         (OPENPROM_SUPER_MAGIC): Likewise.
10712         (PIPEFS_MAGIC): Likewise.
10713         (PSTOREFS_MAGIC): Likewise.
10714         (QNX6_SUPER_MAGIC): Likewise.
10715         (RAMFS_MAGIC): Likewise.
10716         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10717         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10718         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10719         (SECURITYFS_MAGIC): Likewise.
10720         (SELINUX_MAGIC): Likewise.
10721         (SMACK_MAGIC): Likewise.
10722         (SOCKFS_MAGIC): Likewise.
10723         (SQUASHFS_MAGIC): Likewise.
10724         (STACK_END_MAGIC): Likewise.
10725         (TMPFS_MAGIC): Likewise.
10726         (USBDEVICE_SUPER_MAGIC): Likewise.
10727         (V9FS_MAGIC): Likewise.
10728         (XENFS_SUPER_MAGIC): Likewise.
10729         (CRAMFS_MAGIC): Fix typo in comment.
10730         (EXT2_SUPER_MAGIC): Update comment.
10731         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10732
10733 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10734
10735         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10736         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10737         * sysdeps/unix/sysv/linux/arm: Move directory from
10738         ports/sysdeps/unix/sysv/linux/arm.
10739         * README: Update listing for arm-*-linux-gnueabi.
10740
10741         * README: Remove mention of am33.
10742
10743 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10744
10745         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10746         than the comma operator, to avoid "rhs of comma has no effect"
10747         compiler warnings.
10748         (__sigfillset, __sigandset, __sigorset): Likewise.
10749         * include/signal.h (__sigemptyset): Likewise.
10750         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10751
10752 2014-02-07  Allan McRae  <allan@archlinux.org>
10753
10754         * version.h (RELEASE): Set to "development".
10755         (VERSION): Set to "2.19.90"
10756         * NEWS: Add 2.20 section.
10757
10758 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10759
10760         [BZ #16529]
10761         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10762
10763 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10764
10765         * manual/contrib.texi: Update entry for Carlos O'Donell,
10766         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10767
10768 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10769
10770         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10771
10772         * sysdeps/unix/sysv/linux/kernel-features.h
10773         [__LINUX_KERNEL_VERSION >= 0x020621]
10774         (__ASSUME_PROC_PID_TASK_COMM): Define.
10775
10776 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10777
10778         [BZ #16398]
10779         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10780         conversion when destination buffer does not have enough space.
10781         * libio/tst-ftell-partial-wide.c: New test case.
10782         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10783
10784         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10785         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10786         Leonard and Allan McRae.
10787
10788 2014-02-04  David S. Miller  <davem@davemloft.net>
10789
10790         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10791         32-bit.
10792
10793 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10794
10795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10796         New file
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10798         New file
10799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10800         New file.
10801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10802         New file.
10803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10804         New file.
10805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10806         New file.
10807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10808         New file.
10809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10810         New file.
10811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10812         New file.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10814         New file.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10816         New file.
10817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10818         New file.
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10820         New file.
10821
10822 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10823
10824         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10825         * shlib-versions: Likewise.
10826
10827 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10828             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10829
10830         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10831         (abilist-pattern): New variable, set to %-le.abilist.
10832
10833         * Makerules (abilist-pattern): New variable.
10834         (vpath): Use $(abilist-pattern) in place of %.abilist.
10835         (check-abi-% pattern rule): Likewise.
10836         (check-abi, update-abi): Likewise.
10837
10838 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10839
10840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10841
10842 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10843
10844         * manual/startup.texi: Add next, previous, and top entries for
10845         the `Program Arguments' and `Environment Variables' nodes.
10846
10847 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10848
10849         * manual/macros.texi: Add comments before MTASC-safety macros.
10850
10851         * manual/users.texi: Document MTASC-safety properties.
10852
10853         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10854         (pthread_getspecific, pthread_setspecific): Format with
10855         @deftypefun, and add @safety note.
10856         * manual/signal.texi: Move comments that analyze the above
10857         functions to their home place.
10858
10859 2014-02-03  Allan McRae  <allan@archlinux.org>
10860
10861         * po/sl.po: Update Slovenian translation from translation project.
10862
10863 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10864
10865         * manual/time.texi (timegm): Add missing blank after @c.
10866         Reported by Joseph Myers <joseph@codesourcery.com>.
10867
10868 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10869
10870         * manual/check-safety.sh: New.
10871         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10872
10873         * manual/terminal.texi: Document MTASC-safety properties.
10874
10875         * manual/filesys.texi: Document MTASC-safety properties.
10876
10877         * manual/errno.texi: Document MTASC-safety properties.
10878
10879         * manual/intro.texi: Document safety identifiers and
10880         conditionals.
10881
10882         * manual/string.texi (wcstok): Fix prototype.
10883         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10884
10885         * manual/time.texi: Document MTASC-safety properties.
10886
10887         * manual/string.texi: Document MTASC-safety properties.
10888
10889         * manual/threads.texi: Document MTASC-safety properties.
10890
10891         * manual/stdio.texi: Document MTASC-safety properties.
10892
10893         * manual/syslog.texi: Document MTASC-safety properties.
10894
10895         * manual/sysinfo.texi: Document MTASC-safety properties.
10896
10897         * manual/startup.texi: Document MTASC-safety properties.
10898
10899         * manual/socket.texi: Document MTASC-safety properties.
10900
10901         * manual/signal.texi: Document MTASC-safety properties.
10902
10903 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10904
10905         * manual/setjmp.texi: Document MTASC-safety properties.
10906
10907         * manual/search.texi: Document MTASC-safety properties.
10908
10909         * manual/resource.texi: Document MTASC-safety properties.
10910
10911         * manual/process.texi: Document MTASC-safety properties.
10912
10913         * manual/platform.texi: Document MTASC-safety properties.
10914
10915         * manual/pipe.texi: Document MTASC-safety properties.
10916
10917         * manual/pattern.texi: Document MTASC-safety properties.
10918
10919         * manual/message.texi: Document MTASC-safety properties.
10920
10921         [BZ #12751]
10922         * manual/memory.texi: Document MTASC-safety properties.
10923
10924         * manual/math.texi: Document MTASC-safety properties.
10925
10926         * manual/locale.texi: Document MTASC-safety properties.
10927
10928         * manual/llio.texi: Document MTASC-safety properties.
10929
10930         * manual/libdl.texi: New.
10931
10932         * manual/lang.texi: Document MTASC-safety properties.
10933
10934         * manual/job.texi: Document MTASC-safety properties.
10935
10936         * manual/getopt.texi: Document MTASC-safety properties.
10937
10938         * manual/ctype.texi: Document MTASC-safety properties.
10939
10940 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10941
10942         [BZ #16046]
10943         * csu/libc-tls.c (static_map): Remove variable.
10944         (__libc_setup_tls): Use main executable's link map for TLS data.
10945         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10946         casing for LM_ID_BASE and GL(dl_nns).
10947         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10948         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10949         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10950         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10951         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10952         member.
10953         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10954         l_phnum members.
10955
10956 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10957
10958         * manual/debug.texi: Document MTASC-safety properties.
10959
10960 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10961
10962         [BZ #16510]
10963         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10964         of __x86_64__ when disabling x87 inline functions.
10965
10966 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10967
10968         * manual/charset.texi: Document MTASC-safety properties.
10969
10970         * manual/crypt.texi: Document MTASC-safety properties.
10971
10972         * manual/conf.texi: Document MTASC-safety properties.
10973
10974         * manual/arith.texi: Document MTASC-safety properties.
10975
10976         * manual/argp.texi: Document MTASC-safety properties.
10977
10978         * manual/macros.texi: Introduce macros to document multi
10979         thread, asynchronous signal and asynchronous cancellation
10980         safety properties.
10981         * manual/intro.texi: Introduce the properties themselves.
10982
10983 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10984
10985         * sysdeps/sh/sh4/Makefile: New file.
10986
10987 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10988
10989         * math/gen-libm-test.pl ($srcdir): New variable.
10990         ($auto_input): Use it.
10991
10992 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10993
10994         [BZ #16506]
10995         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10996         access beyond array bounds when parsing netgroups file.
10997
10998         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10999         the old buffer before realloc.
11000
11001 2014-01-27  Allan McRae  <allan@archlinux.org>
11002
11003         * po/fr.po: Update French translation from translation project.
11004
11005 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11006
11007         * sysdeps/sh/libm-test-ulps: Regenerate.
11008
11009 2014-01-24  David S. Miller  <davem@davemloft.net>
11010
11011         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11012
11013 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11014
11015         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11016         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11017
11018 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11019
11020         [BZ #16474]
11021         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11022         string pointers after reallocation.
11023
11024 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11025
11026         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11027         __SH4A__ instead of __SH_FPU_ANY__.
11028
11029 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11030
11031         * sysdeps/sh/fpu_control.h: New file.
11032         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11033         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11034         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11035         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11036         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11037         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11038         * sysdeps/sh/sys/ucontext.h: Remove.
11039         * sysdeps/sh/sys: Remove directory.
11040
11041 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11042
11043         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11044         s390/sys/ucontext.h.
11045         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11046         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11047
11048 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11049
11050         [BZ #15605]
11051         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11052
11053 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11054
11055         [BZ#16431]
11056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11057         Adjust the vDSO correctly for internal calls.
11058         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11059
11060 2014-01-20  Allan McRae  <allan@archlinux.org>
11061
11062         * po/ca.po: Update Catalan translation from translation project.
11063
11064 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11065
11066         * sysdeps/s390/sotruss-lib.c: New file.
11067
11068 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11069
11070         [BZ#16430]
11071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11072         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11073         local calls issues by not having a PLT stub required for IFUNC calls.
11074         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11075
11076 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11077
11078         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11079         * math/test-fpucw-static.c: Likewise.
11080
11081 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11082
11083         [BZ #16453]
11084         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11085
11086 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11087
11088         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11089         implementation for powerpc.
11090
11091 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11092
11093         [BZ #14782]
11094         * sysdeps/posix/system.c (__libc_system): Do not enable
11095         asynchronous cancellation.
11096
11097 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11098
11099         [BZ #16427]
11100         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11101         handling only for numbers special also in the IEEE case.
11102
11103 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11104
11105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11106
11107 2014-01-11  Allan McRae  <allan@archlinux.org>
11108
11109         * po/bg.po: Update Bulgarian translation from translation project.
11110
11111         * po/de.po: Update German translation from translation project.
11112
11113 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11114
11115         * sysdeps/generic/gcc-compat.h: New file.
11116
11117 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11118
11119         * benchtests/asin-inputs: Correct slow inputs.
11120         * benchtests/acos-inputs: Likewise.
11121
11122 2014-01-10  Allan McRae  <allan@archlinux.org>
11123
11124         * po:sv.po: Update Swedish translation from translation project.
11125
11126         * po/vi.po: Update Vietnamese translation from translation project.
11127
11128         * po/eo.po: Update Esperanto translation from translation project.
11129
11130         * po/cs.po: Update Czech translation from translation project.
11131
11132         * po/nl.po: Update Dutch translation from translation project.
11133
11134         * po/pl.po: Update Polish translation from translation project.
11135
11136         * po/ru.po: Update Russian translation from translation project.
11137
11138         * po/uk.po: Update Ukrainian translation from translation project.
11139
11140 2014-01-08  Brooks Moses  <bmoses@google.com>
11141
11142         * elf/dl-load.c: Fix comment typo.
11143
11144 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11145
11146         * po/header.pot: Rename to...
11147         * po/pot.header: ... this.
11148         * po/Makefile: Use pot.header.
11149
11150 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11151             Maxim Kuvyrkov  <maxim@kugelworks.com>
11152
11153         [BZ #16394]
11154         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11155         SRC and DEST against LEN.
11156
11157 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11158
11159         [BZ #16414]
11160         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11161         implementation.
11162         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11163
11164 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11165
11166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11167
11168 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11169
11170         [BZ #16408]
11171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11172         for large positive arguments.
11173
11174 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11175
11176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11177
11178         * math/auto-libm-test-in: Mark various tests with
11179         xfail-rounding:ldbl-128ibm.
11180         * math/auto-libm-test-out: Regenerated.
11181
11182         [BZ #16407]
11183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11184         Increase overflow threshold.
11185
11186 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11187
11188         [BZ #14286]
11189         * stdio-common/vfprintf.c: Check for integer overflow.
11190
11191 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11192
11193         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11194         the first argument and return value of __tls_get_addr_internal.
11195
11196 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11197
11198         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11199         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11200
11201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11202
11203         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11204         * sysdeps/s390/rtld-global-offsets.sym: New file.
11205         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11206         GLIBC_2.19 symbol.
11207         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11210         ... this.
11211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11213         ... this.
11214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11215         Regenerate.
11216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11217         Regenerate.
11218         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11219         halfs of GPRs for high_gprs contexts.
11220         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11221         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11222         field.
11223         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11224         uc_flags field.
11225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11226         64 bit versions:
11227         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11228         for high GPRs (uc_high_gprs) and for future extensions
11229         (__reserved).
11230         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11231         for future extensions (__reserved).
11232         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11233         64 bit versions:
11234         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11235         SC_HIGHGPRS offset definition.
11236         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11237         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11238
11239         * Versions.def: Add GLIBC_2.19 for libpthread.
11240         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11241         siglongjmp for libpthread with GLIBC_2.19 symver.
11242         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11243         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11244         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11245         * sysdeps/s390/__longjmp.c: New file.
11246         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11247         * sysdeps/s390/longjmp.c: New file.
11248         * sysdeps/s390/setjmp.S: New file.
11249         * sysdeps/s390/sigjmp.S: New file.
11250         * sysdeps/s390/v1-longjmp.c: New file.
11251         * sysdeps/s390/v1-setjmp.h: New file.
11252         * sysdeps/s390/v1-sigjmp.c: New file.
11253         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11254         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11255         GLIBC_2.19 version.
11256         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11257         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11258         versioned symbols for ____longjmp_chk.
11259         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11260         Likewise.
11261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11262         Regenerate.
11263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11264         Regenerate.
11265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11266         Regenerate.
11267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11268         Regenerate.
11269         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11270         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11271         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11272         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11273         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11274         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11275         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11276         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11277         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11278         * sysdeps/s390/rtld-__longjmp.c: New file.
11279         * sysdeps/s390/rtld-setjmp.S: New file.
11280
11281 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11282
11283         [BZ #16400]
11284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11285         Return -__logl (x) for small positive arguments without evaluating
11286         a polynomial.
11287
11288 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11289
11290         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11291         Rename to ...
11292         (__ptrace_peeksiginfo_args): ... this.
11293         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11296
11297 2014-01-06  Allan McRae  <allan@archlinux.org>
11298
11299         * inet/netinet/in.h: Fix typo in comment.
11300
11301 2014-01-05  Andreas Jaeger  <aj@suse.de>
11302
11303         * sysdeps/i386/fpu/libm-test-ulps: Update.
11304
11305 2014-01-05  Allan McRae  <allan@archlinux.org>
11306
11307         * po/libc.pot: Regenerated.
11308
11309         * malloc/memusagestat.c: Fix gettext call formatting.
11310
11311 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11312
11313         * nscd/nscd.c: Improve usage() output.
11314
11315 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11316
11317         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11318         * sysdeps/unix/sysv/linux/configure: Regenerated.
11319         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11320         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11321
11322 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11323
11324         [BZ #16390]
11325         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11326         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11327
11328 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11329
11330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11331         extra tokens at end of #undef directive.
11332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11335
11336 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11337
11338         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11339
11340         * math/auto-libm-test-in: Mark various tests with
11341         xfail-rounding:ldbl-128ibm.
11342         * math/auto-libm-test-out: Regenerated.
11343
11344 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11345
11346         [BZ #16386]
11347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11348         numbers with subnormal high part when calculating exponent.
11349
11350         [BZ #16385]
11351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11352         fabs.
11353
11354         [BZ #16384]
11355         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11356         M_LN2l.
11357         (__ieee754_acoshl): Use __log1pl not __log1p.
11358
11359 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11360
11361         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11362         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11363         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11364         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11365         (reused_arena, arena_get2): Convert to GNU style.
11366         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11367         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11368         (memalign_check, __malloc_set_state): Likewise.
11369         * malloc/mallocbug.c (main): Likewise.
11370         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11371         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11372         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11373         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11374         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11375         (__posix_memalign, malloc_info): Likewise.
11376         * malloc/malloc.h: Likewise.
11377         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11378         (mallochook, memalignhook, reallochook, mabort): Likewise.
11379         * malloc/mcheck.h: Likewise.
11380         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11381         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11382         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11383         * malloc/morecore.c (__default_morecore): Likewise.
11384         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11385         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11386         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11387         (print_and_abort): Likewise.
11388         * malloc/obstack.h: Likewise.
11389         * malloc/set-freeres.c (__libc_freeres): Likewise.
11390         * malloc/tst-mallocstate.c (main): Likewise.
11391         * malloc/tst-mtrace.c (main): Likewise.
11392         * malloc/tst-realloc.c (do_test): Likewise.
11393
11394 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11395
11396         [BZ #16366]
11397         * nscd/netgroupcache.c (do_notfound): New function.
11398         (addgetnetgrentX): Use it.
11399
11400         [BZ # 16365]
11401         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11402         NSS_STATUS_NOTFOUND.
11403
11404 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11405
11406         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11408
11409 2014-01-01  Allan McRae  <allan@archlinux.org>
11410
11411         * scripts/update-copyrights: Update configure input file suffix.
11412
11413         * NEWS: Update copyright year.
11414         * catgets/gencat.c: Likewise.
11415         * csu/version.c: Likewise.
11416         * debug/catchsegv.sh: Likewise.
11417         * debug/pcprofiledump.c: Likewise.
11418         * debug/xtrace.sh: Likewise.
11419         * elf/ldconfig.c: Likewise.
11420         * elf/ldd.bash.in: Likewise.
11421         * elf/pldd.c: Likewise.
11422         * elf/sotruss.ksh: Likewise.
11423         * elf/sprof.c: Likewise.
11424         * iconv/iconv_prog.c: Likewise.
11425         * iconv/iconvconfig.c: Likewise.
11426         * locale/programs/locale.c: Likewise.
11427         * locale/programs/localedef.c: Likewise.
11428         * login/programs/pt_chown.c: Likewise.
11429         * malloc/memusage.sh: Likewise.
11430         * malloc/memusagestat.c: Likewise.
11431         * malloc/mtrace.pl: Likewise.
11432         * manual/libc.texinfo: Likewise.
11433         * nscd/nscd.c: Likewise.
11434         * nss/getent.c: Likewise.
11435         * nss/makedb.c: Likewise.
11436         * posix/getconf.c: Likewise.
11437         * scripts/test-installation.pl: Likewise.
11438
11439         * All files with FSF copyright notices: Update copyright dates
11440         using scripts/update-copyrights.
11441         * intl/plural.c: Regenerated.
11442         * locale/programs/charmap-kw.h: Likewise.
11443         * locale/programs/locfile-kw.h: Likewise.
11444
11445 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11446
11447         * sysdeps/unix/sysv/linux/configure: Regenerated.
11448         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11449         the linux/fanotify.h header.
11450         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11451         HAVE_LINUX_FANOTIFY_H is defined.
11452
11453 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11454
11455         * benchtests/cos-inputs: New inputs.
11456         * benchtests/sin-inputs: Likewise.
11457
11458         * benchtests/atan-inputs: New inputs. Fix name of multiple
11459         precision fallback inputs.
11460
11461         * benchtests/atanh-inputs: New inputs.
11462         * benchtests/tanh-inputs: Likewise.
11463
11464         * benchtests/acosh-inputs: New inputs.
11465         * benchtests/asinh-inputs: Likewise.
11466
11467         * benchtests/cosh-inputs: New inputs.
11468         * benchtests/sinh-inputs: Likewise.
11469
11470         * benchtests/acos-inputs: Add more inputs.
11471         * benchtests/asin-inputs: Likewise.
11472
11473 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11474
11475         [BZ #16375]
11476         * manual/arith.texi: Fix spelling.
11477         * manual/charset.texi: Likewise.
11478         * manual/errno.texi: Likewise.
11479         * manual/filesys.texi: Likewise.
11480         * manual/lang.texi: Likewise.
11481         * manual/llio.texi: Likewise.
11482         * manual/locale.texi: Likewise.
11483         * manual/message.texi: Likewise.
11484         * manual/resource.texi: Likewise.
11485         * manual/search.texi: Likewise.
11486         * manual/setjmp.texi: Likewise.
11487         * manual/stdio.texi: Likewise.
11488         * manual/string.texi: Likewise.
11489         * manual/sysinfo.texi: Likewise.
11490         * manual/time.texi: Likewise.
11491
11492 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11493
11494         * po/sl.po: New file.
11495
11496 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11497
11498         * .gitignore: Add core/.gdbinit/.gdb_history.
11499
11500 2013-12-27  Allan McRae  <allan@archlinux.org>
11501
11502         [BZ #16369]
11503         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11504         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11505
11506 2013-12-24  Brooks Moses  <bmoses@google.com>
11507
11508         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11509         all compilers that claim C++98 compliance, not just GCC.
11510         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11511         Likewise.
11512
11513 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11514
11515         * NEWS: Restore accidentally deleted bug-fix entries.
11516
11517 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11518             Ondřej Bílka  <neleai@seznam.cz>
11519
11520         [BZ #15073]
11521         * malloc/malloc.c (_int_free): Perform sanity check only if we
11522         have_lock.
11523
11524 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11525
11526         [BZ #12986]
11527         * manual/stdio.texi (String Input Conversions): Clarify that character
11528         classes are not supported.
11529
11530 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11531
11532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11533
11534 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11535
11536         [BZ #16337]
11537         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11538         Calculate results for small negative arguments directly rather
11539         than using reflection formula with special underflow handling.
11540
11541         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11542         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11543         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11544         (fchflags): Likewise.
11545         (revoke): Likewise.
11546         (setlogin): Likewise.
11547         (sigaltstack): Likewise.
11548         (wait4): Likewise.
11549         (sigblock): Remove.
11550         (sigsetmask): Likewise.
11551         (wait3): Likewise.
11552         (waitpid): Likewise.
11553         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11554         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11555         file.
11556         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11557         * sysdeps/unix/bsd/Makefile: ... here.
11558         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11559         * sysdeps/unix/bsd/Versions: ... here.
11560         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11561         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11562         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11563         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11564         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11565         * sysdeps/unix/bsd/sigblock.c: ... here.
11566         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11567         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11568         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11569         * sysdeps/unix/bsd/sigvec.c: ... here.
11570         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11571         * sysdeps/unix/bsd/tcdrain.c: ... here.
11572         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11573         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11574         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11575         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11576         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11577         * sysdeps/unix/bsd/wait.c: ... here.
11578         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11579         * sysdeps/unix/bsd/wait3.c: ... here.
11580         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11581         * sysdeps/unix/bsd/waitpid.c: ... here.
11582
11583 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11584
11585         [BZ #16356]
11586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11587         round-to-nearest for [!USE_AS_EXPM1L].
11588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11589         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11590         more tests of exp and exp10.  Expect some exp10 tests to miss
11591         exceptions or fail in directed rounding modes.
11592         * math/auto-libm-test-out: Regenerated.
11593         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11594         (exp10_test_tonearest): New function.
11595         (exp10_towardzero_test_data): New array.
11596         (exp10_test_towardzero): New function.
11597         (exp10_downward_test_data): New array.
11598         (exp10_test_downward): New function.
11599         (exp10_upward_test_data): New array.
11600         (exp10_test_upward): New function.
11601         (main): Call the new functions.
11602         * sysdeps/i386/fpu/libm-test-ulps: Update.
11603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604
11605 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11606
11607         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11608         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11609         * math/auto-libm-test-out: Regenerated.
11610         * math/libm-test.inc (acosh_test_data): Add more tests.
11611         (atanh_test_data): Likewise.
11612         (ceil_test_data): Likewise.
11613         (copysign_test_data): Likewise.
11614         * sysdeps/i386/fpu/libm-test-ulps: Update.
11615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11616
11617         * timezone/checktab.awk: Update from tzcode 2013i.
11618         * timezone/private.h: Likewise.
11619         * timezone/scheck.c: Likewise.
11620         * timezone/tzfile.h: Likewise.
11621         * timezone/tzselect.ksh: Likewise.
11622         * timezone/zdump.c: Likewise.
11623         * timezone/zic.c: Likewise.
11624
11625         * math/auto-libm-test-in: Add tests of cpow.
11626         * math/auto-libm-test-out: Regenerated.
11627         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11628         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11629         mpc_cc_c.
11630         (func_calc_desc): Add mpc_cc_c union field.
11631         (test_functions): Add cpow.
11632         (special_fill_2pi): New function.
11633         (special_real_inputs): Add 2pi.
11634         (calc_generic_results): Handle mpc_cc_c.
11635         * sysdeps/i386/fpu/libm-test-ulps: Update.
11636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11637
11638         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11639         csqrt, ctan and ctanh.
11640         * math/auto-libm-test-out: Regenerated.
11641         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11642         (TEST_COND_x86): Likewise.
11643         (ccos_test_data): Use AUTO_TESTS_c_c.
11644         (ccosh_test_data): Likewise.
11645         (cexp_test_data): Likewise.
11646         (clog_test_data): Likewise.
11647         (csqrt_test_data): Likewise.
11648         (ctan_test_data): Likewise.
11649         (ctan_tonearest_test_data): Likewise.
11650         (ctan_towardzero_test_data): Likewise.
11651         (ctan_downward_test_data): Likewise.
11652         (ctan_upward_test_data): Likewise.
11653         (ctanh_test_data): Likewise.
11654         (ctanh_tonearest_test_data): Likewise.
11655         (ctanh_towardzero_test_data): Likewise.
11656         (ctanh_downward_test_data): Likewise.
11657         (ctanh_upward_test_data): Likewise.
11658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11659         mpc_c_c.
11660         (func_calc_desc): Add mpc_c_c union field.
11661         (FUNC_mpc_c_c): New macro.
11662         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11663         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11664         ctanh.
11665         (special_fill_min_subnorm_p120): New function.
11666         (special_real_inputs): Add min_subnorm_p120.
11667         (calc_generic_results): Handle mpc_c_c.
11668         * sysdeps/i386/fpu/libm-test-ulps: Update.
11669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11670
11671 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11672
11673         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11674         (do_sin_slow): New functions.
11675         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11676         (cslow2, csloww1, csloww2): Use the new functions.
11677
11678         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11679         Use M to change sign of result instead of X.  Assume X is
11680         positive.
11681         (csloww1): Likewise.
11682         (__sin): Adjust.
11683         (__cos): Adjust.
11684
11685         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11686         arguments A and DA.
11687         (__sin): Adjust.
11688         (__cos): Likewise.
11689
11690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11691         (__cos): Likewise.
11692         (sloww1): Don't adjust sign of DX.
11693         (csloww1): Likewise.
11694         (sloww2): Use X directly and don't adjust sign of DX.
11695         (csloww2): Likewise.
11696
11697 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11698
11699         * math/auto-libm-test-in: Add tests of cabs and carg.
11700         * math/auto-libm-test-out: Regenerated.
11701         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11702         (carg_test_data): Likewise.
11703         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11704         mpc_c_f.
11705         (func_calc_desc): Add mpc_c_f union field.
11706         (test_functions): Add cabs and carg.
11707         (calc_generic_results): Handle mpc_c_f.
11708
11709         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11710         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11711         as a macro and a compat symbol.
11712         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11713         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11714         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11715         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11716         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11718         not use .hidden.
11719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11720         Likewise.
11721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11722         Likewise.
11723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11724         Likewise.
11725         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11726         Likewise.
11727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11728         Likewise.
11729         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11730         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11731         from GLIBC_2.3.2.
11732
11733 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11734
11735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11736
11737 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11738
11739         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11740         trailing whitespace removed.
11741         * scripts/config.guess: Update to version 2013-11-29.
11742         * scripts/config.sub: Update to version 2013-10-01.
11743
11744         * math/auto-libm-test-in: Add tests of sincos.
11745         * math/auto-libm-test-out: Regenerated.
11746         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11748         mpfr_f_11.
11749         (func_calc_desc): Add mpfr_f_11 union field.
11750         (test_functions): Add sincos.
11751         (calc_generic_results): Handle mpfr_f_11.
11752         * sysdeps/i386/fpu/libm-test-ulps: Update.
11753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11754
11755 2013-12-19  Andreas Schwab  <schwab@suse.de>
11756
11757         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11758         CALL_MCOUNT.
11759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11761         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11762
11763 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11764
11765         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11766         * sysdeps/i386/fpu/libm-test-ulps: Update.
11767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11768
11769         [BZ #16293]
11770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11771         round-to-nearest mode when using frndint.
11772         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11773         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11775         Likewise.
11776         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11777         sinh test to fail.
11778         * math/auto-libm-test-out: Regenerated.
11779         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11780         (TEST_COND_x86): Likewise.
11781         (expm1_tonearest_test_data): New array.
11782         (expm1_test_tonearest): New function.
11783         (expm1_towardzero_test_data): New array.
11784         (expm1_test_towardzero): New function.
11785         (expm1_downward_test_data): New array.
11786         (expm1_test_downward): New function.
11787         (expm1_upward_test_data): New array.
11788         (expm1_test_upward): New function.
11789         (main): Run the new test functions.
11790         * sysdeps/i386/fpu/libm-test-ulps: Update.
11791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11792
11793         * include/features.h: Update comment documenting feature test
11794         macros.  Mention _DEFAULT_SOURCE in comment.
11795         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11796         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11797         _BSD_SOURCE and _SVID_SOURCE.
11798         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11799         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11800         !_SVID_SOURCE]: Likewise.
11801         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11802         (__USE_POSIX_IMPLICITLY): Define.
11803         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11804         (_POSIX_SOURCE): Undefine and redefine.
11805         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11806         (_POSIX_C_SOURCE): Likewise.
11807         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11808         (Feature Test Macros): Update documentation of default features.
11809
11810 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11811
11812         * benchtests/Makefile: Add bench-strtok.
11813         * benchtests/bench-strtok.c: New file: strtok benchtest.
11814
11815 2013-12-19  Allan McRae  <allan@archlinux.org>
11816
11817         * manual/install.texi: Suppress menu for plain text output.
11818         * INSTALL: Regenerated.
11819
11820 2013-12-18  Brooks Moses  <bmoses@google.com>
11821
11822         [BZ #15846]
11823         * misc/getauxval.c: Include errno.h.
11824         (__getauxval): Set errno to ENOENT if the requested type is not
11825         found.
11826         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11827         don't declare with __attribute_const__.
11828         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11829         * manual/startup.texi: Document that getauxval sets errno.
11830
11831 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11832
11833         * math/auto-libm-test-in: Add tests of jn and yn.
11834         * math/auto-libm-test-out: Regenerated.
11835         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11836         (yn_test_data): Likewise.
11837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11838         mpfr_if_f.
11839         (func_calc_desc): Add mpfr_if_f union field.
11840         (FUNC_mpfr_if_f): New macro.
11841         (test_functions): Add jn and yn.
11842         (calc_generic_results): Assert type of second input for
11843         mpfr_ff_f.  Handle mpfr_if_f.
11844         (output_for_one_input_case): Disable all checking for arguments
11845         fitting floating-point types in case of an integer argument.
11846         * sysdeps/i386/fpu/libm-test-ulps: Update.
11847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11850         Don't expect fegetround reference in libm.so.
11851
11852 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11853
11854         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11855         $(config-cflags-nofma).
11856
11857 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11858
11859         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11860         * math/auto-libm-test-out: Regenerated.
11861
11862         [BZ #16338]
11863         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11864         to determine exponent and adjust argument to have exponent of -1.
11865         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11866         log2.
11867         * math/auto-libm-test-out: Regenerated.
11868         * sysdeps/i386/fpu/libm-test-ulps: Update.
11869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11870
11871 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11872
11873         * manual/probes.texi: Remove cases when per-thread arenas are
11874         disabled.
11875
11876 2013-12-18  Andreas Schwab  <schwab@suse.de>
11877
11878         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11879         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11880         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11881         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11882         * sysdeps/i386/i686/multiarch/Makefile: Update.
11883         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11884
11885 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11886
11887         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11888         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11889
11890 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11891
11892         [BZ #15968]
11893         Support TZ transition times < 00:00:00.
11894         This is needed for version-3 tz-format files; it supports time
11895         stamps past 2037 for America/Godthab (the only entry in the tz
11896         database for which this change is relevant).
11897         * manual/time.texi (TZ Variable): Document transition times
11898         from -167:59:59 through -00:00:01.
11899         * time/tzset.c (tz_rule): Time of day is now signed.
11900         (__tzset_parse_tz): Parse negative time of day.
11901
11902         Document TZ transition times >= 25:00:00.
11903         * manual/time.texi (TZ Variable): Document transition times from
11904         25:00:00 through 167:59:59.  These are already supported, and this
11905         support will help with version-3 tz-format files.
11906
11907         * manual/time.texi (TZ Variable): Modernize North America example
11908         to reflect current (i.e., 2007-and-later) daylight saving rules.
11909
11910         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11911
11912 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11913
11914         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11915         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11918         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11919         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11920         * sysdeps/unix/bsd/clock.c: Likewise.
11921         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11922         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11923         * sysdeps/unix/bsd/init-posix.c: Likewise.
11924         * sysdeps/unix/bsd/poll.c: Likewise.
11925         * sysdeps/unix/bsd/ptsname.c: Likewise.
11926         * sysdeps/unix/bsd/seekdir.c: Likewise.
11927         * sysdeps/unix/bsd/setegid.c: Likewise.
11928         * sysdeps/unix/bsd/seteuid.c: Likewise.
11929         * sysdeps/unix/bsd/setgid.c: Likewise.
11930         * sysdeps/unix/bsd/setrgid.c: Likewise.
11931         * sysdeps/unix/bsd/setruid.c: Likewise.
11932         * sysdeps/unix/bsd/setsid.c: Likewise.
11933         * sysdeps/unix/bsd/setuid.c: Likewise.
11934         * sysdeps/unix/bsd/sigaction.c: Likewise.
11935         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11936         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11937         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11938         * sysdeps/unix/bsd/telldir.c: Likewise.
11939         * sysdeps/unix/bsd/times.c: Likewise.
11940         * sysdeps/unix/bsd/usleep.c: Likewise.
11941
11942         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11943         ($(objpfx)libbsd-compat.a): Remove rule.
11944
11945         * include/features.h (__FAVOR_BSD): Do not define.
11946         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11947         features conflicting with POSIX.
11948         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11949         (_BSD_SOURCE): Remove description of not being a subset of other
11950         feature test macros.
11951         * manual/job.texi (getpgrp): Do not document BSD version.
11952         (getpgid): Do not document by reference to BSD getpgrp.
11953         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11954         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11955         * signal/signal.h [__FAVOR_BSD]: Likewise.
11956         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11957         instead of making contents conditional on [__FAVOR_BSD].
11958         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11959
11960 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11961
11962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11963
11964 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11965
11966         [BZ #16314]
11967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11968         values below 2**-450, not 2**-500.
11969         * math/auto-libm-test-in: Don't allow spurious underflow from
11970         hypot.
11971         * math/auto-libm-test-out: Regenerated.
11972
11973         [BZ #16316]
11974         [BZ #16330]
11975         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11976         values of ha and hb and sort them after adjusting subnormal
11977         arguments.
11978         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11979         Likewise.
11980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11981         values of ea and eb and sort them after adjusting subnormal
11982         arguments.
11983         * math/auto-libm-test-in: Do not expect some hypot tests of
11984         subnormals to fail.  Add more hypot tests.
11985         * math/auto-libm-test-out: Regenerated.
11986
11987 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11988
11989         [BZ #13304]
11990         * sysdeps/sh/s_fma.c: New file.
11991         * sysdeps/sh/s_fmaf.c: New file.
11992         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11993         version.
11994         * sysdeps/sh/Implies: Add sh/soft-fp.
11995
11996 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11997
11998         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11999         level of indirection to members `objname', `errstring', `malloced'.
12000         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12001         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12002         it as the __longjmp argument (just pass 1 instead).
12003         (_dl_catch_error): Initialize C with argument pointers and address of
12004         volatile local ERRCODE rather than copying values out of C at return.
12005
12006 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12007
12008         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12009         * math/auto-libm-test-out: Regenerated.
12010         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12011         (hypot_test_data): Likewise.
12012         (pow_test_data): Likewise.
12013         (pow_tonearest_test_data): Likewise.
12014         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12015         mpfr_ff_f.
12016         (func_calc_desc): Add mpfr_ff_f union field.
12017         (FUNC_mpfr_ff_f): New macro.
12018         (test_functions): Add atan2, hypot and pow.
12019         (special_fill_min): New function.
12020         (special_fill_minus_min): Likewise.
12021         (special_fill_min_subnorm): Likewise.
12022         (special_fill_minus_min_subnorm): Likewise.
12023         (special_real_inputs): Add min, -min, min_subnorm and
12024         -min_subnorm.
12025         (calc_generic_results): Handle mpfr_ff_f.
12026         * sysdeps/i386/fpu/libm-test-ulps: Update.
12027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12028
12029 2013-12-16  Will Newton  <will.newton@linaro.org>
12030
12031         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12032         (Aligned Memory Blocks): Add documentation for aligned_alloc
12033         and suggest it as an alternative to posix_memalign.
12034         (Hooks for Malloc): Document __memalign_hook is also called
12035         for aligned_alloc.  (Summary of Malloc): Add summary for
12036         aligned alloc.  Document __memalign_hook is also called
12037         for aligned_alloc.
12038
12039 2013-12-16  Will Newton  <will.newton@linaro.org>
12040
12041         * manual/memory.texi (Malloc Examples): Clarify default
12042         alignment documentation.  Suggest posix_memalign rather
12043         than memalign or valloc.
12044         (Aligned Memory Blocks): Remove suggestion to use memalign
12045         or valloc.  Remove obsolete comment about BSD.
12046         Document memalign errno values and mark the function obsolete.
12047         Document posix_memalign returned error codes.  Mark valloc
12048         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12049         called for posix_memalign and valloc.
12050         (Summary of Malloc): Add posix_memalign to function summary.
12051         __memalign_hook is also called for posix_memalign and valloc.
12052
12053 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12054
12055         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12056         TAYLOR_SIN.
12057         (__sin): Adjust.
12058         (__cos): Likewise.
12059         (sloww): Use mynumber union.  Expand ternary operator into
12060         if-else statements.
12061         (cslow): use mynumber union.
12062
12063 2013-12-16  Allan McRae  <allan@archlinux.org>
12064
12065         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12066         * configure: Regenerated.
12067
12068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12069
12070         [BZ #14120]
12071         * configure.ac: Added --enable-maintainer-mode. Check for
12072         autoconf when enabled.
12073         * configure: Regenerated.
12074
12075         * nscd/nscd.service: New file.
12076         * nscd/nscd.tmpfiles: New file.
12077
12078 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12079
12080         [BZ #12100]
12081         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12082         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12083         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12084         (strstr): Add __strstr_sse2_unaligned ifunc.
12085         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12086         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12087         (strcasestr): Remove __strcasestr_sse42 ifunc.
12088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12091
12092 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12093
12094         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12095         * sysdeps/sh/bits/fenv.h: ... here.
12096         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12097
12098 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12099
12100         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12101
12102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12103         hypotf multiarch implementations.
12104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12107         multiarch hypot for PPC64.
12108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12111         multiarch hypotf for PPC64.
12112
12113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12114         modff multiarch implementations.
12115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12118         multiarch modf for PPC64.
12119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12122         multiarch modff for PPC64.
12123
12124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12125         and logl multiarch implementations.
12126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12129         multiarch logb for PPC64.
12130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12133         multiarch logb for PPC64.
12134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12137         multiarch logb for PPC64.
12138
12139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12140         isinff multiarch implementation.
12141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12142         file.
12143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12145         multiarch isinf for PPC64.
12146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12147         file.
12148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12149         multiarch isinff for PPC64.
12150
12151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12152         finitef multiarch implementation.
12153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12154         file.
12155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12157         multiarch finite for PPC64.
12158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12159         file.
12160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12161         multiarch finitef for PPC64.
12162
12163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12164         lrint multiarch implementation.
12165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12166         file.
12167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12169         multiarch llrint for PPC64.
12170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12171         multiarch lrint for PPC64.
12172
12173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12174         copysignf multiarch implementation.
12175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12176         file.
12177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12178         file.
12179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12180         multiarch copysign for PPC64.
12181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12182         multiarch copysignf for PPC64.
12183
12184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12185         multiarch implementation.
12186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12187         file.
12188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12189         file.
12190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12191         file.
12192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12193         file.
12194         multiarch llround for PPC64.
12195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12196         multiarch trunc for PPC64.
12197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12198         multiarch truncf for PPC64.
12199
12200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12201         multiarch implementation.
12202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12203         file.
12204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12205         file.
12206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12207         file.
12208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12209         file.
12210         multiarch llround for PPC64.
12211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12212         multiarch round for PPC64.
12213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12214         multiarch roundf for PPC64.
12215
12216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12217         multiarch implementation.
12218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12219         file.
12220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12221         file.
12222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12223         file.
12224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12225         file.
12226         multiarch llround for PPC64.
12227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12228         multiarch floor for PPC64.
12229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12230         multiarch floorf for PPC64.
12231
12232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12233         multiarch implementation.
12234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12235         file.
12236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12237         file.
12238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12239         file.
12240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12241         file.
12242         multiarch llround for PPC64.
12243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12244         multiarch ceil for PPC64.
12245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12246         multiarch ceilf for PPC64.
12247
12248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12249         multiarch implementation.
12250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12251         file.
12252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12253         file.
12254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12255         file.
12256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12257         multiarch llround for PPC64.
12258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12259         multiarch lround for PPC64.
12260
12261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12262         multiarch implementation.
12263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12266         file.
12267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12270         multiarch isnan for PPC64.
12271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12272         multiarch isnanf for PPC64.
12273
12274         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12275         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12276         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12277         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12278         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12280
12281         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12282         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12285
12286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12287         multiarch implementations.
12288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12289         (__libc_ifunc_impl_list): Likewise.
12290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12293         multiarch stpcpy for PPC64.
12294
12295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12296         multiarch implementations.
12297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12298         (__libc_ifunc_impl_list): Likewise.
12299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12301         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12302         multiarch strcpy for PPC64.
12303
12304         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12305         redefine function name.
12306         (_wordcopy_fwd_dest_aligned): Likewise.
12307         (_wordcopy_bwd_aligned): Likewise.
12308         (_wordcopy_bwd_dest_aligned): Likewise.
12309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12310         multiarch implementations.
12311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12312         (__libc_ifunc_impl_list): Likewise.
12313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12315         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12316         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12317         multiarch wcscpy for PPC64.
12318
12319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12320         multiarch implementations.
12321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12322         (__libc_ifunc_impl_list): Likewise.
12323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12324         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12325         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12327         multiarch wcscpy for PPC64.
12328
12329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12330         multiarch implementations.
12331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12332         (__libc_ifunc_impl_list): Likewise.
12333         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12334         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12335         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12336         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12337         multiarch wcsrchr for PPC64.
12338
12339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12340         multiarch implementations.
12341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12342         (__libc_ifunc_impl_list): Likewise.
12343         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12344         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12345         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12347         multiarch wcschr for PPC64.
12348
12349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12350         multiarch implementations.
12351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12352         (__libc_ifunc_impl_list): Likewise.
12353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12355         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12356         multiarch strchrnul for PPC64.
12357
12358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12359         implementations.
12360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12361         (__libc_ifunc_impl_list): Likewise.
12362         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12363         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12364         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12365         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12366         strchr for PPC64.
12367
12368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12369         implementations.
12370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12371         (__libc_ifunc_impl_list): Likewise.
12372         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12373         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12374         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12376         strncmp for PPC64.
12377
12378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12379         multiarch implementations.
12380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12381         (__libc_ifunc_impl_list): Likewise.
12382         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12383         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12384         strncasecmp for PPC64.
12385         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12386         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12387         multiarch strncasecmp_l for PPC64.
12388
12389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12390         multiarch implementations.
12391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12392         (__libc_ifunc_impl_list): Likewise.
12393         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12395         multiarch strcasecmp for PPC64.
12396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12397         file.
12398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12399         multiarch strcasecmp_l for PPC64.
12400
12401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12402         implementations.
12403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12404         (__libc_ifunc_impl_list): Likewise.
12405         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12406         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12407         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12408         strnlen for PPC64.
12409
12410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12411         implementations.
12412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12413         (__libc_ifunc_impl_list): Likewise.
12414         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12415         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12417         strlen for PPC64.
12418
12419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12420         implementations.
12421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12422         (__libc_ifunc_impl_list): Likewise.
12423         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12424         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12425         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12426         rawmemrchr for PPC64.
12427
12428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12429         implementation.
12430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431         (__libc_ifunc_impl_list): Likewise.
12432         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12433         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12434         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12435         memrchr for PPC64.
12436
12437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12438         implementation.
12439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12440         (__libc_ifunc_impl_list): Likewise.
12441         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12442         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12443         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12444         memchr for PPC64.
12445
12446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12447         implementation.
12448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12449         (__libc_ifunc_impl_list): Likewise.
12450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12451         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12452         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12453         mempcpy for PPC64.
12454
12455         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12456         avoid cretion of __bzero symbol.
12457         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12458         Likewise.
12459         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12460         Likewise.
12461         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12462         Likewise.
12463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12464         multiarch implementations.
12465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466         (__libc_ifunc_impl_list): Likewise.
12467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12470         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12471         bzero for PPC32.
12472         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12473         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12474         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12475         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12476         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12477         memset for PPC64.
12478         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12479
12480         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12482         implementations.
12483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12484         (__libc_ifunc_impl_list): Likewise.
12485         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12487         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12488         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12489         memcmp for PPC64.
12490
12491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12492         multiarch for POWER/PPC64.
12493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12494         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12501         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12502         memcpy for PPC64.
12503
12504         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12505         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12506         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12507         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12508         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12509         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12510         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12511         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12512         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12513         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12514         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12515         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12516         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12517         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12518         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12526
12527 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12528
12529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12530
12531 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12532
12533         * benchtests/Makefile (bench): Add exp2 and log2.
12534         (LDLIBS-bench-exp2): Add -lm.
12535         (LDLIBS-bench-log2): Likewise.
12536         * benchtests/exp2-inputs: New inputs file.
12537         * benchtests/log2-inputs: New inputs file.
12538         * benchtests/log-inputs: Add new inputs.
12539         * benchtests/tan-inputs: Likewise.
12540
12541 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12542
12543         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12544         definition...
12545         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12546         (csloww2): ... from here.
12547
12548         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12549         instead of structures.
12550         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12551         (POLYNOMIAL): Likewise.
12552         (TAYLOR_SLOW): Likewise.
12553         (__sin): Likewise.
12554         (__cos): Likewise.
12555         (slow1): Likewise.
12556         (slow2): Likewise.
12557         (sloww): Likewise.
12558         (sloww1); Likewise.
12559         (sloww2): Likewise.
12560         (bsloww1): Likewise.
12561         (bsloww2): Likewise.
12562         (cslow2): Likewise.
12563         (csloww): Likewise.
12564         (csloww1): Likewise.
12565         (csloww2): Likewise.
12566
12567 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12568
12569         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12570         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12571         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12572         * malloc/hooks.c (realloc_check): Likewise.
12573
12574         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12575         * malloc/arena.c: Remove PER_THREAD conditional.
12576         [!PER_THREAD]: Remove code.
12577         (ptmalloc_unlock_all2): Likewise.
12578         (ptmalloc_init): Likewise.
12579         (_int_new_arena): Likewise.
12580         (arena_get2): Likewise.
12581         * malloc/hooks.c (__malloc_get_state): Likewise.
12582         (__malloc_set_state): Likewise.
12583         * malloc/malloc.c: Likewise.
12584         (struct malloc_state): Likewise.
12585         (struct malloc_par): Likewise.
12586         (__libc_realloc): Likewise.
12587         (__libc_mallopt): Likewise.
12588
12589 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12590
12591         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12592
12593 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12594
12595         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12596         macro to a function.  Check for zero perturb_byte.
12597         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12598
12599         * malloc/malloc.c: (force_reg): Remove.
12600         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12601         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12602         force_reg by atomic_forced_read.
12603         * malloc/arena.c (ptmalloc_init): Likewise.
12604         * malloc/hooks.c (top_check): Likewise.
12605
12606 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12607
12608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12609
12610 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12611
12612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12613
12614 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12615
12616         * math/auto-libm-test-in: Add tests of lgamma.
12617         * math/auto-libm-test-out: Regenerated.
12618         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12619         (M_LOG_2_SQRT_PIl): Likewise.
12620         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12622         mpfr_f_f1.
12623         (func_calc_desc): Add mpfr_f_f1 union field.
12624         (ARGS1): New macro.
12625         (ARGS2): Likewise.
12626         (ARGS3): Likewise.
12627         (ARGS4): Likewise.
12628         (RET1): Likewise.
12629         (RET2): Likewise.
12630         (CALC): Likewise.
12631         (FUNC): Likewise.
12632         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12633         (test_functions): Add lgamma.
12634         (calc_generic_results): Handle mpfr_f_f1.
12635         * sysdeps/i386/fpu/libm-test-ulps: Update.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12637
12638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12639
12640         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12641         __mpn_add_n for PowerPC64/POWER7.
12642         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12643         __mpn_sub_n for PowerPC64/POWER7.
12644
12645         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12646         __mpn_addmul_1 for PowerPC64.
12647         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12648         __mpn_submul_1 for PowerPC64.
12649         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12650         for PowerPC64.
12651         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12652         for PowerPC64.
12653
12654 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12655
12656         [BZ #15089]
12657         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12658
12659 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12660
12661         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12662
12663         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12664         add multiarch folders.
12665         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12666         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12667         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12668         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12669         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12670         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12671         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12672         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12673         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12674         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12675         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12682
12683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12684         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12686         New file.
12687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12688         New file.
12689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12690         multiarch __ieee754_hypot for PowerPC32.
12691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12692         New file.
12693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12694         New file.
12695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12696         multiarch __ieee754_hypotf for PowerPC32.
12697
12698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12699         long_double_symbol only if __logbl is defined.
12700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12701         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12703         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12705         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12707         path for implementation.
12708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12709         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12711         logb, and logbl multiarch implementations for PowerPC32.
12712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12713         file.
12714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12715         file.
12716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12717         multiarch logb for PowerPC32.
12718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12719         file.
12720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12721         file.
12722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12723         multiarch logbf for PowerPC32.
12724         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12726         file.
12727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12728         multiarch logbl implementation for PowerPC32.
12729
12730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12731         and modff multiarch implementations.
12732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12733         New file.
12734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12735         New file.
12736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12737         multiarch modf for PowerPC32.
12738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12739         New file.
12740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12741         New file.
12742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12743         multiarch modff for PowerPC32.
12744
12745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12746         and lrintf multiarch implementations.
12747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12748         New file.
12749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12750         New file.
12751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12752         multiarch lrint for PowerPC32.
12753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12754         file: multiarch lrintf for PowerPC32.
12755
12756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12757         and lroundf multiarch implementations.
12758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12759         New file.
12760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12761         New file.
12762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12763         New file.
12764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12765         multiarch lround for PowerPC32.
12766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12767         file: multiarch lroundf for PowerPC32.
12768
12769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12770         copysign and copysignf multiarch implementations.
12771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12772         New file.
12773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12774         New file.
12775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12776         file: multiarch copysign for PowerPC32.
12777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12778         file: multiarch copysignf for PowerPC32.
12779
12780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12781         and truncf multiarch implementations.
12782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12783         New file.
12784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12785         file.
12786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12787         multiarch trunc for PowerPC32.
12788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12789         New file.
12790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12791         New file.
12792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12793         multiarch truncf for PowerPC32.
12794
12795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12796         and roundf multiarch implementations.
12797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12798         New file.
12799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12800         file.
12801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12802         multiarch round for PowerPC32.
12803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12804         New file.
12805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12806         New file.
12807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12808         multiarch roundf for PowerPC32.
12809
12810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12811         and floorf multiarch implementations.
12812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12813         New file.
12814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12815         file.
12816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12817         multiarch floor for PowerPC32.
12818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12819         New file.
12820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12821         New file.
12822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12823         multiarch floorf for PowerPC32.
12824
12825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12826         and ceilf multiarch implementations.
12827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12828         New file.
12829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12830         file.
12831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12832         multiarch ceil for PowerPC32.
12833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12834         New file.
12835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12836         file.
12837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12838         multiarch ceilf for PowerPC32.
12839
12840         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12841         is defined.
12842         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12843         FINITEF is defined.
12844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12845         and finitef multiarch implementations.
12846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12847         New file.
12848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12849         file.
12850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12851         multiarch finite for PowerPC32.
12852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12853         New file.
12854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12855         file: multiarch finitef for PowerPC32.
12856
12857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12858         and isinff multiarch implementations.
12859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12860         file.
12861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12862         file.
12863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12864         multiarch isinf for PowerPC32.
12865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12866         New file.
12867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12868         multiarch isinff for PowerPC32.
12869
12870         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12871         alias when __isnan is defined.
12872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12873         and isnanf multiarch implementations.
12874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12875         file.
12876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12877         file.
12878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12879         file.
12880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12881         file.
12882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12883         multiarch isnan for PowerPC32.
12884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12885         New file.
12886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12887         New file.
12888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12889         multiarch isnanf for PowerPC32.
12890
12891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12892         and sqrtf multiarch implementations.
12893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12894         file.
12895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12896         file.
12897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12898         multiarch sqrt for PowerPC32.
12899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12900         file.
12901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12902         file.
12903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12904         multiarch sqrtf for PowerPC32.
12905
12906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12907         and llroundf multiarch implementations.
12908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12909         New file.
12910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12911         New file.
12912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12913         New file.
12914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12915         file: multiarch llround for PowerPC32.
12916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12917         file: multiarch llroundf for PowerPC32.
12918
12919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12920         multiarch PowerPC32 fpu implementations.
12921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12922         New file.
12923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12924         New file.
12925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12926         multiarch llrint for PowerPC32.
12927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12928         New file.
12929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12930         New file.
12931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12932         file.
12933
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12935
12936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12937         file.
12938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12939         file.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12941         file.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12943         multiarch wordcopy for PPC32.
12944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12945         wordcopy objects.
12946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12947         (__libc_ifunc_impl_list): Likewise.
12948         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12949         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12950         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12951         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12953         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12954
12955         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12957         file.
12958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12959         file.
12960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12961         file.
12962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12963         multiarch wcscpy for PPC32.
12964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12965         multiarch objects.
12966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12967         (__libc_ifunc_impl_list): Likewise.
12968         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12969         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12970         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12971         sysdeps/powerpc/power6/wcscpy.c.
12972
12973         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12975         file.
12976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12977         file.
12978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12979         file.
12980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12981         multiarch wcsrchr for PPC32.
12982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12983         multiarch objects.
12984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12985         (__libc_ifunc_impl_list): Likewise.
12986         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12987         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12988         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12989         sysdeps/powerpc/power6/wcsrchr.c.
12990
12991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12992         file.
12993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12994         file.
12995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12997         multiarch wcschr for PPc32.
12998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12999         multiarch objects.
13000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13001         (__libc_ifunc_impl_list): Likewise.
13002         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13003         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13004         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13005         sysdeps/powerpc/power6/wcschr.c.
13006
13007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13008         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13009         file.
13010         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13011         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13012         file: multiarch strchr for PPC32.
13013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13014         multiarch objects.
13015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13016         (__libc_ifunc_impl_list): Likewise.
13017
13018         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13019         name.
13020         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13021         file.
13022         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13023         file.
13024         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13025         multiarch strchrnul for PPC32.
13026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13027         multiarch objects.
13028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13029         (__libc_ifunc_impl_list): Likewise.
13030
13031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13032         file.
13033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13034         multiarch strncasecmp for PPC32.
13035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13036         file.
13037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13038         multiarch strncasecmp_l for PPC32.
13039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13040         strncasecmp multiarch objects.
13041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13042         (__libc_ifunc_impl_list): Likewise.
13043
13044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13045         file.
13046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13047         multiarch strncasecmp for PPC32.
13048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13049         New file.
13050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13051         multiarch strcasecmp_l for PPC32.
13052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13053         multiarch objects.
13054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13055         (__libc_ifunc_impl_list): Likewise.
13056
13057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13058         file.
13059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13060         file.
13061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13062         multiarch strncmp for PPC32.
13063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13064         multiarch objects.
13065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13066         (__libc_ifunc_impl_list): Likewise.
13067
13068         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13069         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13070         file.
13071         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13072         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13074         multiarch objects.
13075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13076         (__libc_ifunc_impl_list): Likewise.
13077
13078         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13079         file.
13080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13081         file.
13082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13084         multiarch objects.
13085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13086         (__libc_ifunc_impl_list): Likewise.
13087
13088         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13089         file.
13090         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13091         file.
13092         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13093         multiarch rawmemchr for PPC32.
13094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13095         multiarch objects.
13096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13097         (__libc_ifunc_impl_list): Likewise.
13098
13099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13100         file.
13101         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13102         file.
13103         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13104         file: memrchr multiarch for PPC32.
13105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13106         multiarch objects.
13107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13108         (__libc_ifunc_impl_list): Likewise.
13109
13110         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13112         file.
13113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13114         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13115         multiarch memchr for PPC32.
13116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13117         multiarch objects.
13118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13119         (__libc_ifunc_impl_list): Likewise.
13120
13121         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13123         file.
13124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13125         file.
13126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13127         file: multiarch mempcpy for PPC32.
13128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13129         multiarch objects.
13130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13131         (__libc_ifunc_impl_list): Likewise.
13132
13133         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13134         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13135         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13137         multiarch bzero for PPC32.
13138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13139         file.
13140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13141         file.
13142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13143         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13144         file: multiarch memset for PPC32.
13145         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13147         memset multiarch objects.
13148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13149         (__libc_ifunc_impl_list): Likewise.
13150
13151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13152         file.
13153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13155         memcmp for PPC32.
13156         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13158         multiarch objects.
13159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13160         (__libc_ifunc_impl_list): Likewise.
13161
13162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13165         file.
13166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13167         file.
13168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13169         file.
13170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13171         multiarch memcpy for PPC32.
13172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13173         multiarch objects.
13174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13175         (__libc_ifunc_impl_list): Likewise.
13176
13177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13178         support multiarch for POWER/PPC32.
13179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13180         Likewise.
13181         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13183         Implies file to make multiarch folder appers before the fpu and
13184         default folder for power4 configuration.
13185
13186 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13187
13188         * scripts/bench.pl: Append volatile keyword to type.
13189
13190 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13191
13192         * sysdeps/sh/sotruss-lib.c: New file.
13193         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13194
13195 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13196
13197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13198
13199 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13200
13201         [BZ #6810]
13202         * math/w_tgamma.c: Include <errno.h>.
13203         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13204         * math/w_tgammaf.c: Include <errno.h>.
13205         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13206         * math/w_tgammal.c: Include <errno.h>.
13207         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13208         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13209         underflow.  Add more tgamma tests.
13210         * math/auto-libm-test-out: Regenerated.
13211         * sysdeps/i386/fpu/libm-test-ulps: Update.
13212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13213
13214         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13215         sin, sinh, tan, tanh, tgamma, y0 and y1.
13216         * math/auto-libm-test-out: Regenerated.
13217         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13218         (TEST_COND_x86): Likewise.
13219         (M_E2l): Remove macro.
13220         (M_E3l): Likewise.
13221         (M_2_SQRT_PIl): Likewise.
13222         (M_SQRT_PIl): Likewise.
13223         (M_1_DIV_El): Likewise.
13224         (log_test_data): Use AUTO_TESTS_f_f.
13225         (log10_test_data): Likewise.
13226         (log1p_test_data): Likewise.
13227         (log2_test_data): Likewise.
13228         (sin_test_data): Likewise.
13229         (sin_tonearest_test_data): Likewise.
13230         (sin_towardzero_test_data): Likewise.
13231         (sin_downward_test_data): Likewise.
13232         (sin_upward_test_data): Likewise.
13233         (sinh_test_data): Likewise.
13234         (sinh_tonearest_test_data): Likewise.
13235         (sinh_towardzero_test_data): Likewise.
13236         (sinh_downward_test_data): Likewise.
13237         (sinh_upward_test_data): Likewise.
13238         (tan_test_data): Likewise.
13239         (tan_tonearest_test_data): Likewise.
13240         (tan_towardzero_test_data): Likewise.
13241         (tan_downward_test_data): Likewise.
13242         (tan_upward_test_data): Likewise.
13243         (tanh_test_data): Likewise.
13244         (tgamma_test_data): Likewise.
13245         (y0_test_data): Likewise.
13246         (y1_test_data): Likewise.
13247         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13248         (special_real_inputs): Add pi/4.
13249         * sysdeps/i386/fpu/libm-test-ulps: Update.
13250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251
13252 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13253
13254         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13255         "longjmp_target" static probes.
13256         (__longjmp): Rename to __longjmp_symbol.
13257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13258         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13259         on which longjmp to generate.
13260         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13262         probe.
13263         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13264         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13265         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13266         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13267         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13268         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13270         __longjmp_symbol based on which __longjmp to generate.
13271         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13272         probe.
13273         (setjmp): Rename to setjmp_symbol.
13274         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13275         (_setjmp): Rename to _setjmp_symbol.
13276         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13277         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13278         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13279         which setjmp to generate.
13280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13281         "longjmp_target" static probes.
13282
13283 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284
13285         * benchtests/README: Add note about output arguments.
13286         * benchtests/bench-sincos.c: Remove file.
13287         * benchtests/sincos-inputs: New file.
13288         * scripts/bench.pl: Identify output arguments and define
13289         static variables for them.
13290
13291         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13292
13293         [BZ #15941]
13294         * Makefile (INSTALL): Add install-plain.texi as the primary
13295         dependency.
13296         * manual/install-plain.texi: New file.
13297         * manual/install.texi: Include node directive only for
13298         non-plaintext output.
13299
13300 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13301
13302         * stdlib/longlong.h: Update from GCC.
13303
13304         [BZ #6807]
13305         [BZ #15901]
13306         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13307         * math/w_j0f.c (y0f): Likewise.
13308         * math/w_j0l.c (__y0l): Likewise.
13309         * math/w_j1.c (y1): Likewise.
13310         * math/w_j1f.c (y1f): Likewise.
13311         * math/w_j1l.c (__y1l): Likewise
13312         * math/w_jn.c (yn): Likewise.
13313         * math/w_jnf.c (ynf): Likewise.
13314         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13315         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13316         value for Bessel function domain errors outside _SVID_ mode.
13317         Adjust sign of return value for yn (negative integer, 0).
13318         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13319         by zero in return for negative x and set sign appropriately for
13320         negative n.
13321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13323         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13324         expectations in error cases.
13325         (y1_test_data): Likewise.
13326         (yn_test_data): Likewise.
13327         * sysdeps/i386/fpu/libm-test-ulps: Update.
13328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13329
13330 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13331
13332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13333         "64" to "64-v1".  Add "64-v2".
13334         (abi-64-options): Rename to ...
13335         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13336         (abi-64-condition): Rename to ...
13337         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13338         (abi-64-ld-soname): Rename to ...
13339         (abi-64-v1-ld-soname): ... this.
13340         (abi-64-v2-options): Define.
13341         (abi-64-v2-condition): Likewise.
13342         (abi-64-v2-ld-soname): Likewise.
13343         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13344         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13348
13349 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13350             Alan Modra  <amodra@gmail.com>
13351
13352         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13353         New versions for use with the ELFv2 ABI.
13354         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13355         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13356         declaration.
13357         (struct La_ppc64v2_retval): Likewise.
13358         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13359         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13360         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13361         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13362         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13364         Do not save or restore CR.
13365         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13366         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13367         return values for ELFv2 ABI.  Fix location of FPR return registers.
13368         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13369         updated values for _CALL_ELF == 2.
13370         (La_regs, La_retval, int_retval): Likewise.
13371
13372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13373
13374         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13375         (FRAME_MIN_SIZE_PARM): Likewise.
13376         (FRAME_BACKCHAIN): Likewise.
13377         (FRAME_CR_SAVE): Likewise.
13378         (FRAME_LR_SAVE): Likewise.
13379         (FRAME_TOC_SAVE): Likewise.
13380         (FRAME_PARM_SAVE): Likewise.
13381         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13382         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13383         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13384         (call_mcount_parm_offset): New macro.
13385         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13386         (PROF): Use symbolic stack frame offsets.
13387         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13388         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13389         Redefine in terms of FRAME_MIN_SIZE.
13390         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13391         (_dl_profile_resolve): Likewise.  Update comment.
13392         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13393         symbols stack frame offsets.
13394         (__sigsetjmp): Likewise.
13395         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13396         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13397         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13398         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13399
13400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13401         (FRAME_BACKCHAIN): Remove.
13402         (FRAME_CR_SAVE): Likewise.
13403         (FRAME_LR_SAVE): Likewise.
13404         (FRAME_COMPILER_DW): Likewise.
13405         (FRAME_LINKER_DW): Likewise.
13406         (FRAME_TOC_SAVE): Likewise.
13407         (FRAME_PARM_SAVE): Likewise.
13408         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13409         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13410         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13412         (CHECK_SP): Use symbolic stack frame offsets.
13413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13414         zone" instead of caller's parameter save area for temp storage.
13415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13416         Likewise.  Also, use symbolic stack frame offsets.
13417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13418         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13419         our own stack frame instead of the caller's.
13420         (__socket): Use symbolic stack frame offsets.
13421
13422 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13423             Alan Modra  <amodra@gmail.com>
13424
13425         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13426         Define.
13427         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13428         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13429         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13430         New function.
13431         (elf_machine_fixup_plt): Call it.
13432         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13433         reloc arguments.
13434         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13435         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13436         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13437         r2 before calling target.
13438
13439 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13440             Alan Modra  <amodra@gmail.com>
13441
13442         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13443         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13444         versions of macros to support ELFv2 ABI.
13445         (LOCALENTRY): New macro.
13446         (ENTRY, EALIGN): Use it.
13447         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13448         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13449         fall through into ENTRY entry point.
13450         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13451         Only define if _CALL_ELF != 2.
13452
13453         (elf_machine_matches_host): Verify ABI version matches.
13454         (RTLD_START): Use LOCALENTRY.
13455         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13456         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13457         (PLT_ENTRY_WORDS): New macro.
13458         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13459         (elf_machine_runtime_setup): Support ELFv2 ABI.
13460         (elf_machine_fixup_plt): Likewise.
13461         (elf_machine_plt_conflict): Likewise.
13462         (resolve_ifunc): Likewise.
13463         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13464         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13465         Likewise.
13466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13467         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13469         (makecontext): Support ELFv2 ABI.
13470         * elf/elf.h (EF_PPC64_ABI): Define.
13471
13472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13473
13474         * sysdeps/powerpc/powerpc64/sysdep.h
13475         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13476         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13477         (ENTRY) [ASSEMBLER]: ... but instead here ...
13478         (EALIGN) [ASSEMBLER]: ... and here.
13479         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13480         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13481         (ENTRY_2) [!ASSEMBLER]: Use it.
13482         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13483         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13484         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13485         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13486         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13488         Use PPC64_LOAD_FUNCPTR.
13489
13490         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13491
13492 2013-12-04  Alan Modra  <amodra@gmail.com>
13493
13494         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13495         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13496         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13497         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13498
13499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13500         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13501         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13502         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13503         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13504         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13505
13506 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13507
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13509         (__makecontext): Fix incorrect CFI when backtracing out of
13510         context created via makecontext.
13511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13512         (__setcontext): Fix incorrect CFI during switch to new context.
13513         (__novec_setcontext): Likewise.
13514
13515 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13516
13517         [BZ #4772]
13518         * time/strptime_l.c (__strptime_internal): Allow modifiers
13519         in strptime.
13520         * time/tst-strptime.c (day_tests): Add testcase.
13521
13522 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13523
13524         * scripts/bench.pl: Skip over blank lines.
13525
13526 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13527
13528         [BZ #926]
13529         * manual/time.texi (Calendar Time): Clarify what timezone functions
13530         use.
13531
13532 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13533
13534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13535
13536 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13537
13538         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13539         implementation.
13540         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13541         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13542         * debug/memset_chk.c (__memset_chk): Likewise.
13543         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13544         * debug/strncpy_chk.c: Likewise.
13545
13546 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13547
13548         [BZ #15268]
13549         [BZ #15425]
13550         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13551         (__ieee754_exp): For possibly underflowing results, check size of
13552         result and force underflow exception if required.
13553         * math/auto-libm-test-in: Add more tests of exp.
13554         * math/auto-libm-test-out: Regenerated.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13557
13558         [BZ #16283]
13559         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13560         * math/w_exp2f.c (__exp2f): Likewise.
13561         * math/w_exp2l.c (__exp2l): Likewise.
13562         * math/auto-libm-test-in: Do not allow missing errno on exp2
13563         underflow.
13564         * math/auto-libm-test-out: Regenerated.
13565
13566 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13567
13568         [BZ #16274]
13569         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13570         handle filename validation.
13571         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13572         (do_open): Delete.
13573
13574 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13575
13576         [BZ #6786]
13577         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13578         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13579         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13580         <float.h>.
13581         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13582         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13583         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13585         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13586         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13587         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13588         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13589         Add more erfc tests.
13590         * math/auto-libm-test-out: Regenerated.
13591         * sysdeps/i386/fpu/libm-test-ulps: Update.
13592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13593
13594         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13595         exp2, expm1, j0 and j1.
13596         * math/auto-libm-test-out: Regenerated.
13597         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13598         (erfc_test_data): Likewise.
13599         (exp_test_data): Likewise.
13600         (exp_tonearest_test_data): Likewise.
13601         (exp_towardzero_test_data): Likewise.
13602         (exp_downward_test_data): Likewise.
13603         (exp_upward_test_data): Likewise.
13604         (exp10_test_data): Likewise.
13605         (exp2_test_data): Likewise.
13606         (expm1_test_data): Likewise.
13607         (j0_test_data): Likewise.
13608         (j1_test_data): Likewise.
13609         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13610         (input_flag_type): Add flag_xfail_rounding.
13611         (input_flags): Add xfail-rounding.
13612         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13613         (output_for_one_input_case): Handle flag_xfail_rounding.
13614         * sysdeps/i386/fpu/libm-test-ulps: Update.
13615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13616
13617 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13618
13619         [BZ #16289]
13620         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13621         division by 0.
13622
13623 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624
13625         [BZ #16195]
13626         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13627         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13628         (STAP_PROBE0): New macro.
13629         (STAP_PROBE1): Likewise.
13630         (STAP_PROBE2): Likewise.
13631         (STAP_PROBE3): Likewise.
13632         (STAP_PROBE4): Likewise.
13633
13634 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13635
13636         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13637
13638 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13639
13640         * benchtests/Makefile (bench): Add sqrt.
13641         (LDLIBS-bench-sqrt): New.
13642         * benchtests/sqrt-input: New.
13643
13644 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13645
13646         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13647         (GAIH_EAI): Likewise.
13648         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13649         (gaih_inet): Likewise.
13650         (getaddrinfo): Don't use GAIH_EAI.
13651
13652         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13653         (struct gaih): Remove definition.
13654
13655 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13656
13657         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13658         Use HERRNOP directly.
13659
13660 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13661
13662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13663
13664 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13665
13666         * math/gen-auto-libm-tests.c (test_functions): Add more
13667         single-argument functions.
13668         (special_fill_pi_2): New function.
13669         (special_fill_minus_pi_2): Likewise.
13670         (special_fill_pi_6): Likewise.
13671         (special_fill_minus_pi_6): Likewise.
13672         (special_fill_pi_3): Likewise.
13673         (special_fill_2pi_3): Likewise.
13674         (special_fill_e): Likewise.
13675         (special_fill_1_e): Likewise.
13676         (special_fill_e_minus_1): Likewise.
13677         (special_real_inputs): Add more special inputs.
13678         (output_for_one_input_case): Do not require ERANGE on underflow to
13679         zero if round-to-nearest result does not underflow to zero, unless
13680         exact results required.
13681         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13682         atan, atanh, cbrt, cos and cosh.
13683         * math/auto-libm-test-out: Regenerated.
13684         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13685         (acos_tonearest_test_data): Likewise.
13686         (acos_towardzero_test_data): Likewise.
13687         (acos_downward_test_data): Likewise.
13688         (acos_upward_test_data): Likewise.
13689         (acosh_test_data): Likewise.
13690         (asin_test_data): Likewise.
13691         (asin_tonearest_test_data): Likewise.
13692         (asin_towardzero_test_data): Likewise.
13693         (asin_upward_test_data): Likewise.
13694         (asinh_test_data): Likewise.
13695         (atan_test_data): Likewise.
13696         (atanh_test_data): Likewise.
13697         (cbrt_test_data): Likewise.
13698         (cos_test_data): Likewise.
13699         (cos_tonearest_test_data): Likewise.
13700         (cos_towardzero_test_data): Likewise.
13701         (cos_downward_test_data): Likewise.
13702         (cos_upward_test_data): Likewise.
13703         (cosh_test_data): Likewise.
13704         (cosh_tonearest_test_data): Likewise.
13705         (cosh_towardzero_test_data): Likewise.
13706         (cosh_downward_test_data): Likewise.
13707         (cosh_upward_test_data): Likewise.
13708         * sysdeps/i386/fpu/libm-test-ulps: Update.
13709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710
13711 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13712
13713         [BZ #6787]
13714         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13715         * math/w_exp10f.c (__exp10f): Likewise.
13716         * math/w_exp10l.c (__exp10l): Likewise.
13717         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13718         errno settings in existing tests.
13719
13720         [BZ #14032]
13721         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13722         precision control set to double precision.
13723         * sysdeps/i386/fpu/w_sqrt.c: New file.
13724         * math/auto-libm-test-in: Add more tests.
13725         * math/auto-libm-test-out: Update.
13726
13727         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13728         (sqrt_test_tonearest): New function.
13729         (sqrt_towardzero_test_data): New variable.
13730         (sqrt_test_towardzero): New function.
13731         (sqrt_downward_test_data): New variable.
13732         (sqrt_test_downward): New function.
13733         (sqrt_upward_test_data): New variable.
13734         (sqrt_test_upward): New function.
13735         (main): Call the new functions.
13736
13737         * math/gen-auto-libm-tests.c: New file.
13738         * math/auto-libm-test-in: Likewise.
13739         * math/auto-libm-test-out: New generated file.
13740         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13741         variables.
13742         (%beautify): Add generated representations of zero.
13743         (top level): Set $auto_input and call parse_auto_input.
13744         (beautify): Remove trailing "f" from hex float constants.
13745         (parse_args): Handle XFAIL_TEST.
13746         (convert_condition): New function.
13747         (or_value): Likewise.
13748         (or_cond_value): Likewise.
13749         (generate_testfile): Handle AUTO_TESTS_* lines.
13750         (parse_auto_input): New function.
13751         * math/libm-test.inc (XFAIL_TEST): New macro.
13752         (ERRNO_UNCHANGED): Update value.
13753         (ERRNO_EDOM): Likewise.
13754         (ERRNO_ERANGE): Likewise.
13755         (IGNORE_RESULT): Likewise.
13756         (TEST_COND_flt_32): New macro.
13757         (TEST_COND_dbl_64): Likewise.
13758         (TEST_COND_ldbl_96_intel): Likewise.
13759         (TEST_COND_ldbl_96_m68k): Likewise.
13760         (TEST_COND_ldbl_128): Likewise.
13761         (TEST_COND_ldbl_128ibm): Likewise.
13762         (TEST_COND_long32): Likewise.
13763         (TEST_COND_long64): Likewise.
13764         (TEST_COND_before_rounding): Likewise.
13765         (TEST_COND_after_rounding): Likewise.
13766         (enable_test): Handle XFAIL_TEST flag.
13767         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13768         with finite results.
13769         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13770         auto-libm-test-out.
13771
13772 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13773             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13774
13775         [BZ #16214]
13776         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13777         __tls_get_addr_internal instead of __tls_get_offset in order to
13778         avoid GOT pointer dependency.  Make rtld export
13779         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13780         __tls_get_addr since we are a __tls_get_offset platform.
13781         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13782         GOT pointer being set up before.
13783         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13784
13785 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13786
13787         * manual/math.texi (Errors in Math Functions): Document accuracy
13788         goals.
13789
13790         [BZ #15004]
13791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13792         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13795         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13797         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13798         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13800         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13801         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13802         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13803         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13804         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13805         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13806         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13807
13808         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13809         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13810         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13811         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13812         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13813         Likewise.
13814         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13815         Likewise.
13816         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13817         Likewise.
13818         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13819         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13820         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13821         atomic-feupdateenv and flt-rounds.
13822         * sysdeps/powerpc/nofpu/Versions (libc): Add
13823         __atomic_feholdexcept, __atomic_feclearexcept,
13824         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13826         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13827         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13828         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13829         here.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13831         Update.
13832
13833         * manual/arith.texi (FP Exceptions): Document that exceptions may
13834         not be raised when matherr is used.
13835         (Math Error Reporting): Document overflow in directed rounding
13836         modes.  Document that errno may not be set when finite values are
13837         returned on overflow.  Document intent to set errno on underflow
13838         only for underflow to zero.
13839
13840         [BZ #16271]
13841         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13842         round-to-nearest then adjust result for other rounding modes.
13843         * include/fenv.h (fegetround): Use libm_hidden_proto.
13844         * math/fegetround.c (fegetround): Use libm_hidden_def.
13845         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13846         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13847         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13849         Likewise.
13850         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13851         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13852         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13853         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13854
13855 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13856
13857         [BZ #16077]
13858         * nss/Versions (libnss_files): Add
13859         _nss_files_gethostbyname3_r.
13860         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13861         New function.
13862         (HOST_DB_LOOKUP): Remove macro.
13863         (_nss_files_gethostbyname_r): Implement function without the
13864         HOST_DB_LOOKUP macro.
13865         (_nss_files_gethostbyname2_r): Likewise.
13866
13867 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13868
13869         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13870
13871 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13872
13873         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13874         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13875         warning.
13876
13877 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13878
13879         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13880         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13882         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13883         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13884         __fe_nomask_env_priv and attribute_hidden.
13885         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13886         (libc_feupdateenv_test_ppc): Likewise.
13887         (libc_feresetround_ppc): Likewise.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13889         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13890         compat_symbol macro.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13892         (__fe_nomask_env): Likewise.
13893         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13894
13895 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13896
13897         * string/Makefile: Remove ifunc tests.
13898         * string/test-string.h: Define TEST_IFUNC.
13899         * string/test-bcopy-ifunc.c: Remove.
13900         * string/test-bzero-ifunc.c: Likewise.
13901         * string/test-memccpy-ifunc.c: Likewise.
13902         * string/test-memchr-ifunc.c: Likewise.
13903         * string/test-memcmp-ifunc.c: Likewise.
13904         * string/test-memcpy-ifunc.c: Likewise.
13905         * string/test-memmem-ifunc.c: Likewise.
13906         * string/test-memmove-ifunc.c: Likewise.
13907         * string/test-mempcpy-ifunc.c: Likewise.
13908         * string/test-memrchr-ifunc.c: Likewise.
13909         * string/test-memset-ifunc.c: Likewise.
13910         * string/test-rawmemchr-ifunc.c: Likewise.
13911         * string/test-stpcpy-ifunc.c: Likewise.
13912         * string/test-stpncpy-ifunc.c: Likewise.
13913         * string/test-strcasecmp-ifunc.c: Likewise.
13914         * string/test-strcasestr-ifunc.c: Likewise.
13915         * string/test-strcat-ifunc.c: Likewise.
13916         * string/test-strchr-ifunc.c: Likewise.
13917         * string/test-strchrnul-ifunc.c: Likewise.
13918         * string/test-strcmp-ifunc.c: Likewise.
13919         * string/test-strcpy-ifunc.c: Likewise.
13920         * string/test-strcspn-ifunc.c: Likewise.
13921         * string/test-strlen-ifunc.c: Likewise.
13922         * string/test-strncasecmp-ifunc.c: Likewise.
13923         * string/test-strncat-ifunc.c: Likewise.
13924         * string/test-strncmp-ifunc.c: Likewise.
13925         * string/test-strncpy-ifunc.c: Likewise.
13926         * string/test-strnlen-ifunc.c: Likewise.
13927         * string/test-strpbrk-ifunc.c: Likewise.
13928         * string/test-strrchr-ifunc.c: Likewise.
13929         * string/test-strspn-ifunc.c: Likewise.
13930         * string/test-strstr-ifunc.c: Likewise.
13931
13932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13933
13934         * benchtests/Makefile: Remove ifunc tests.
13935         * benchtests/bench-string.h: Define TEST_IFUNC.
13936         * benchtests/bench-bcopy-ifunc.c: Remove.
13937         * benchtests/bench-bzero-ifunc.c: Likewise.
13938         * benchtests/bench-memccpy-ifunc.c: Likewise.
13939         * benchtests/bench-memchr-ifunc.c: Likewise.
13940         * benchtests/bench-memcmp-ifunc.c: Likewise.
13941         * benchtests/bench-memcpy-ifunc.c: Likewise.
13942         * benchtests/bench-memmem-ifunc.c: Likewise.
13943         * benchtests/bench-memmove-ifunc.c: Likewise.
13944         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13945         * benchtests/bench-memrchr-ifunc.c: Likewise.
13946         * benchtests/bench-memset-ifunc.c: Likewise.
13947         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13948         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13949         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13950         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13951         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13952         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13953         * benchtests/bench-strcat-ifunc.c: Likewise.
13954         * benchtests/bench-strchr-ifunc.c: Likewise.
13955         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13956         * benchtests/bench-strcmp-ifunc.c: Likewise.
13957         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13958         * benchtests/bench-strcpy-ifunc.c: Likewise.
13959         * benchtests/bench-strcspn-ifunc.c: Likewise.
13960         * benchtests/bench-strlen-ifunc.c: Likewise.
13961         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13962         * benchtests/bench-strncat-ifunc.c: Likewise.
13963         * benchtests/bench-strncmp-ifunc.c: Likewise.
13964         * benchtests/bench-strncpy-ifunc.c: Likewise.
13965         * benchtests/bench-strnlen-ifunc.c: Likewise.
13966         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13967         * benchtests/bench-strrchr-ifunc.c: Likewise.
13968         * benchtests/bench-strsep-ifunc.c: Likewise.
13969         * benchtests/bench-strspn-ifunc.c: Likewise.
13970         * benchtests/bench-strstr-ifunc.c: Likewise.
13971
13972 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13973
13974         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13975
13976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13977
13978         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13979         * rt/aio.h: Likewise.
13980         * sysdeps/gnu/bits/utmp.h: Likewise.
13981         * sysdeps/gnu/bits/utmpx.h: Likewise.
13982         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13983         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13984         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13985         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13986         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13987         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13988         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13989         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13990         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13991         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13993         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13994         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13996         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13997         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13998         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13999         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14000         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14001         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14002         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14003         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14004         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14005         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14006         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14008         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14009         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14010         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14011         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14012         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14013         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14014         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14015         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14016         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14017         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14018         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14020         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14022         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14023         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14024
14025 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14026
14027         [BZ #16245]
14028         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14029         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14030
14031 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14032
14033         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14034         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14035         Likewise.
14036
14037 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14038
14039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14040         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14041         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14042         (__fesetround): Remove define.
14043         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14044         rounding and exceptions handling.
14045         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14046         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14047         (__fe_nomask_env): Likewise.
14048         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14049         __fegetround instead of fegetround.
14050         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14051         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14052
14053 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14054
14055         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14056         it's there.
14057
14058         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14059
14060 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14061
14062         [BZ #11157]
14063         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14064         (encrypt_r): Likewise.
14065         * malloc/obstack.h (obstack_free): Likewise.
14066         * posix/unistd.h (encrypt): Likewise.
14067
14068 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14069
14070         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14071         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14072         DL_CALL_DT_FINI() that call the functions directly.
14073         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14074         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14075         * elf/dl-fini.c: Likewise.
14076
14077 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14078
14079         * malloc/hooks.c (memalign_check): Add alignment rounding.
14080         * malloc/malloc.c (_mid_memalign): New function.
14081         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14082         Implement by calling _mid_memalign.
14083         * manual/probes.texi (Memory Allocation Probes): Remove
14084         memory_valloc_retry and memory_pvalloc_retry.
14085
14086 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14087
14088         * locale/programs/locarchive.c (open_archive): Add const
14089         qualifier to ARCHIVEFNAME and copy default fname to
14090         DEFAULT_FNAME.
14091
14092         [BZ #15601]
14093         * libio/tst-widetext.input: Rename Oriya to Odia.
14094         * locale/iso-639.def: Likewise.
14095
14096         * manual/probes.texi (Mathematical Function Probes): Add
14097         documentation for sin, cos, asin and acos probes.
14098         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14099         (__sin32): Add slowasin probe.
14100         (__cos32): Add slowacos probe.
14101         (__mpsin): Add slowsin probe.
14102         (__mpcos): Add slowcos probe.
14103
14104 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14105
14106         [BZ #15483]
14107         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14108         thread-local __sim_exceptions_thread and global
14109         __sim_exceptions_global.
14110         (__sim_disabled_exceptions): Change to thread-local
14111         __sim_disabled_exceptions_thread and global
14112         __sim_disabled_exceptions_global.
14113         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14114         and global __sim_round_mode_global.
14115         (__simulate_exceptions): Use thread-local floating-point state and
14116         set global state from it as needed.
14117         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14118         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14119         __sim_round_mode_thread.
14120         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14121         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14122         and global __sim_exceptions_global.
14123         (__sim_disabled_exceptions): Change to thread-local
14124         __sim_disabled_exceptions_thread and global
14125         __sim_disabled_exceptions_global.
14126         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14127         and global __sim_round_mode_global.
14128         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14129         (SIM_SET_GLOBAL): Likewise.
14130         * sysdeps/powerpc/soft-fp/sfp-machine.h
14131         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14132         __sim_round_mode_thread.
14133         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14134         __sim_disabled_exceptions_thread.
14135         (__sim_exceptions): Change to __sim_exceptions_thread.
14136         (__sim_disabled_exceptions): Change to
14137         __sim_disabled_exceptions_thread.
14138         (__sim_round_mode): Change to __sim_round_mode_thread.
14139         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14140         thread-local floating-point state and set global state from it as
14141         needed.
14142         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14143         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14144         (__sim_disabled_exceptions): Remove extern declaration.
14145         (feenableexcept): Use thread-local floating-point state and set
14146         global state from it as needed.
14147         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14148         extern declaration.
14149         (__sim_disabled_exceptions): Likewise.
14150         (__sim_round_mode): Likewise.
14151         (__fegetenv): Use thread-local floating-point state.
14152         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14153         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14154         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14155         floating-point state and set global state from it as needed.
14156         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14157         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14158         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14159         Likewise.
14160         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14161         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14162         Likewise.
14163         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14164         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14165         Use __sim_round_mode_thread.
14166         * math/test-fenv-tls.c: New file.
14167         * math/Makefile (tests): Add test-fenv-tls.
14168         ($(objpfx)test-fenv-tls): Depend on
14169         $(common-objpfx)nptl/libpthread.so.
14170
14171 2013-11-19  Andreas Schwab  <schwab@suse.de>
14172
14173         * locale/programs/locale.c (show_info): Decode wordarray elements.
14174         * locale/categories.def (LC_MONETARY): Add element for
14175         _NL_MONETARY_CRNCYSTR.
14176         * locale/C-monetary.c (conversion_rate): New variable.
14177         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14178         element.
14179
14180 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14181
14182         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14183         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14184
14185 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14186
14187         * elf/Makefile (tst-auxv): New test.
14188         * elf/tst-auxv.c: New
14189         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14190
14191 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14192
14193         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14194         (hidden_proto): Caller changed.
14195         (hidden_tls_proto): New macro.
14196         (libc_hidden_tls_proto): Likewise.
14197         (rtld_hidden_tls_proto): Likewise.
14198         (libm_hidden_tls_proto): Likewise.
14199         (libresolv_hidden_tls_proto): Likewise.
14200         (librt_hidden_tls_proto): Likewise.
14201         (libdl_hidden_tls_proto): Likewise.
14202         (libnss_files_hidden_tls_proto): Likewise.
14203         (libnsl_hidden_tls_proto): Likewise.
14204         (libnss_nisplus_hidden_tls_proto): Likewise.
14205         (libutil_hidden_tls_proto): Likewise.
14206
14207 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14208
14209         [BZ #10253]
14210         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14211         (decompose_rpath): Defer expansion to fillin_rpath.
14212         (_dl_init_paths): Pass linkmap to fillin_rpath.
14213
14214 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14215
14216         * benchtests/Makefile: Add strsep.
14217         * benchtests/bench-strsep.c: New file: strsep benchtest.
14218         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14219
14220 2013-11-18  Andreas Schwab  <schwab@suse.de>
14221
14222         * locale/programs/locale.c (show_info) [case byte]: Check for
14223         '\377' instead of '\177'.
14224         * locale/C-monetary.c (not_available): Always use "\377".
14225         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14226         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14227         detect unavailable sign_posn locale elements.
14228         * locale/localeconv.c (__localeconv): For grouping and
14229         mon_grouping handle "\177" and "\377" like no grouping.
14230         (INT_ELEM): New macro.  Use it to set all numeric members.
14231         * locale/programs/ld-monetary.c (monetary_read)
14232         <tok_mon_grouping>: Normalize single -1 to the empty string.
14233         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14234         Likewise.
14235
14236 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14237
14238         [BZ #16055]
14239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14240         when we match (nil).
14241         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14242
14243 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14244
14245         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14246         (NO_TEST_INLINE): Update value.
14247         (ERRNO_UNCHANGED): Likewise.
14248         (ERRNO_EDOM): Likewise.
14249         (ERRNO_ERANGE): Likewise.
14250         (IGNORE_RESULT): Likewise.
14251         (check_float_internal): Check signs of NaN results if
14252         TEST_NAN_SIGN used.
14253         (check_complex): Pass TEST_NAN_SIGN flag through to second
14254         check_float_internal call.
14255         (copysign_test_data): Add tests with quiet NaNs as second
14256         argument.  Use TEST_NAN_SIGN.
14257         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14258         TEST_NAN_SIGN.
14259         (signbit_test_data): Add tests of quiet NaN argument.
14260         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14261
14262         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14263         $ignore_result.
14264         (parse_args): Handle function results specified as IGNORE.
14265         * math/libm-test.inc (IGNORE_RESULT): New macro.
14266         (check_float_internal): Do not check numerical result if flag
14267         IGNORE_RESULT set.
14268         (check_complex): Pass through IGNORE_RESULT to second
14269         check_float_internal call.
14270         (check_int): Do not check numerical result if flag IGNORE_RESULT
14271         set.
14272         (check_long): Likewise.
14273         (check_bool): Likewise.
14274         (check_longlong): Likewise.
14275         (lrint_test_data): Add tests of infinite and NaN arguments.
14276         (lrint_tonearest_test_data): Likewise.
14277         (lrint_towardzero_test_data): Likewise.
14278         (lrint_downward_test_data): Likewise.
14279         (lrint_upward_test_data): Likewise.
14280         (llrint_test_data): Likewise.
14281         (llrint_tonearest_test_data): Likewise.
14282         (llrint_towardzero_test_data): Likewise.
14283         (llrint_downward_test_data): Likewise.
14284         (llrint_upward_test_data): Likewise.
14285         (lround_test_data): Likewise.
14286         (llround_test_data): Likewise.
14287
14288         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14289         (ERRNO_UNCHANGED): Update value.
14290         (ERRNO_EDOM): Likewise.
14291         (ERRNO_ERANGE): Likewise.
14292         (NO_TEST_INLINE_FLOAT): New macro.
14293         (NO_TEST_INLINE_DOUBLE): Likewise.
14294         (enable_test): New function.
14295         (RUN_TEST_f_f): Check enable_test before running test.
14296         (RUN_TEST_2_f): Likewise.
14297         (RUN_TEST_fff_f): Likewise.
14298         (RUN_TEST_c_f): Likewise.
14299         (RUN_TEST_f_f1): Likewise.
14300         (RUN_TEST_fF_f1): Likewise.
14301         (RUN_TEST_fI_f1): Likewise.
14302         (RUN_TEST_ffI_f1): Likewise.
14303         (RUN_TEST_c_c): Likewise.
14304         (RUN_TEST_cc_c): Likewise.
14305         (RUN_TEST_f_i): Likewise.
14306         (RUN_TEST_f_i_tg): Likewise.
14307         (RUN_TEST_ff_i_tg): Likewise.
14308         (RUN_TEST_f_b): Likewise.
14309         (RUN_TEST_f_b_tg): Likewise.
14310         (RUN_TEST_f_l): Likewise.
14311         (RUN_TEST_f_L): Likewise.
14312         (RUN_TEST_fFF_11): Likewise.
14313         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14314         conditionals.
14315         (cosh_test_data): Likewise.
14316         (exp_test_data): Likewise.
14317         (expm1_test_data): Likewise.
14318         (hypot_test_data): Likewise.
14319         (pow_test_data): Likewise.
14320         (sinh_test_data): Likewise.
14321         (tanh_test_data): Likewise.
14322         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14323         flags argument.
14324
14325         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14326         tests with quiet NaN input and output.
14327         (acosh_test_data): Likewise.
14328         (asin_test_data): Likewise.
14329         (asinh_test_data): Likewise.
14330         (atan_test_data): Likewise.
14331         (atanh_test_data): Likewise.
14332         (atan2_test_data): Likewise.
14333         (cbrt_test_data): Likewise.
14334         (cos_test_data): Likewise.
14335         (cosh_test_data): Likewise.
14336         (erf_test_data): Likewise.
14337         (erfc_test_data): Likewise.
14338         (exp_test_data): Likewise.
14339         (exp10_test_data): Likewise.
14340         (exp2_test_data): Likewise.
14341         (expm1_test_data): Likewise.
14342         (hypot_test_data): Likewise.
14343         (j0_test_data): Likewise.
14344         (j1_test_data): Likewise.
14345         (jn_test_data): Likewise.
14346         (lgamma_test_data): Likewise.
14347         (log_test_data): Likewise.
14348         (log10_test_data): Likewise.
14349         (log1p_test_data): Likewise.
14350         (log2_test_data): Likewise.
14351         (pow_test_data): Likewise.
14352         (scalb_test_data): Likewise.
14353         (sin_test_data): Likewise.
14354         (sincos_test_data): Likewise.
14355         (sinh_test_data): Likewise.
14356         (tan_test_data): Likewise.
14357         (tanh_test_data): Likewise.
14358         (tgamma_test_data): Likewise.
14359         (y0_test_data): Likewise.
14360         (y1_test_data): Likewise.
14361         (yn_test_data): Likewise.
14362
14363         [BZ #16167]
14364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14365         argument being NaN and avoid computations with second argument in
14366         that case.
14367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14368         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14369         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14370
14371 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14372
14373         * locale/iso-639.def: Add Chitwani Tharu (the).
14374
14375 2013-11-14  Andreas Schwab  <schwab@suse.de>
14376
14377         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14378         word instead of empty string.
14379
14380 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14381
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14383         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14385         (__fe_nomask_env): Likewise.
14386
14387 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14388
14389         * benchtests/bench-timing.h: Include time.h.
14390
14391 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14392
14393         [BZ #15997]
14394         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14395         to 3.4.0 for x32.
14396         * sysdeps/unix/sysv/linux/configure: Regenerated.
14397
14398 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14399
14400         [BZ #16151]
14401         * stdlib/strtod_l.c (round_and_return): Do not consider
14402         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14403         exponent one less than half the least subnormal exponent.
14404         * stdlib/test-strtod-round-data: Add more tests.
14405         * stdlib/tst-strtod-round.c (tests): Regenerated.
14406
14407 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14408
14409         [BZ #14143]
14410         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14411         (__fe_mask_env): Likewise.
14412         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14413         libm_hidden_proto and add function prototype.
14414         (__fe_mask_env): Add function prototype.
14415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14416         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14418         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14420         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14421
14422 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14423
14424         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14425         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14426
14427 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14428
14429         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14430         of htab_find_slot().
14431
14432 2013-11-11  David S. Miller  <davem@davemloft.net>
14433
14434         [BZ #16150]
14435         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14436         symbol in the non-vis3 case in static builds.
14437         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14438         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14439         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14440         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14441
14442 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14443
14444         [BZ #387]
14445         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14446         it is empty.
14447
14448 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14449
14450         * benchtests/Makefile: Add bench-strtod.
14451         * benchtests/bench-strtod.c: New file: strtod benchtest
14452
14453 2013-11-11  Andreas Schwab  <schwab@suse.de>
14454
14455         [BZ #16153]
14456         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14457         terminating NUL in key length.
14458
14459 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14460
14461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14462         Add artificial ODP entry for vDSO symbol for PPC64.
14463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14464         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14465
14466 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14467
14468         [BZ #15374]
14469         * nss/getent.c (services_keys): Recognize services starting with digit.
14470
14471 2013-11-06  David S. Miller  <davem@davemloft.net>
14472
14473         [BZ #15985]
14474         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14475         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14476
14477 2013-11-06  Will Newton  <will.newton@linaro.org>
14478
14479         * manual/memory.texi (Malloc Examples): Remove register
14480         keyword from examples.
14481
14482 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14483
14484         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14485
14486 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14487
14488         [BZ #6981]
14489         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14490         depending on [__GCC_IEC_559 > 0].
14491         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14492         depending on [__GCC_IEC_559_COMPLEX > 0].
14493
14494 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14495
14496         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14497         to iso-639.def.
14498
14499 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14500
14501         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14502
14503 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14504
14505         [BZ #16112]
14506         * malloc/malloc (malloc_info): Do not handle first bin as
14507         special case.
14508
14509 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14510
14511         * locale/iso-639.def: Add Central Nahuatl (nhn).
14512
14513 2013-11-01  Bruno Haible  <bruno@clisp.org>
14514
14515         [BZ #7003]
14516         * manual/math.texi (BSD Random): Specify range upper bound as
14517         in POSIX.
14518
14519 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14520
14521         * locale/iso-639.def: Add Meadow Mari (mhr).
14522
14523 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14524
14525         [BZ #14752], [BZ #15763]
14526         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14527         Validate name.
14528         * rt/tst_shm.c: Add test for escaping directory.
14529
14530 2013-10-31  Andreas Schwab  <schwab@suse.de>
14531
14532         [BZ #15917]
14533         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14534         followed by 'x' as part of digit sequence.
14535         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14536
14537 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14538
14539         [BZ #16037]
14540         * configure.ac: allow GNU Make 4.0 and greater.
14541         * configure: Regenerated.
14542
14543 2013-10-30  Will Newton  <will.newton@linaro.org>
14544
14545         [BZ #16038]
14546         * malloc/hooks.c (memalign_check): Limit alignment to the
14547         maximum representable power of two.
14548         * malloc/malloc.c (__libc_memalign): Likewise.
14549         * malloc/tst-memalign.c (do_test): Add test for very
14550         large alignment values.
14551         * malloc/tst-posix_memalign.c (do_test): Likewise.
14552
14553 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14554
14555         [BZ #11087]
14556         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14557         (munmap_chunk): Likewise.
14558         (mremap_chunk): Likewise.
14559
14560 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14561
14562         [BZ #15799]
14563         * stdlib/div.c (div): Remove obsolete code.
14564         * stdlib/ldiv.c (ldiv): Likewise.
14565         * stdlib/lldiv.c (lldiv): Likewise.
14566
14567 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14568
14569         [BZ #16071]
14570         * nss/nss_files/files-XXX.c (get_contents_ret): New
14571         enumerator.
14572         (get_contents): New function.
14573         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14574
14575 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14576
14577         * configure.in: Moved to ...
14578         * configure.ac: ... here. Change reference to configure.in
14579         to configure.ac.
14580         * sysdeps/arm/preconfigure.ac: ... here.
14581         configure.in to configure.ac.
14582         * sysdeps/gnu/configure.in: Moved to ...
14583         * sysdeps/gnu/configure.ac: ... here.
14584         * sysdeps/i386/configure.in: Moved to ...
14585         * sysdeps/i386/configure.ac: ... here.
14586         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14587         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14588         * sysdeps/mach/configure.in: Moved to ...
14589         * sysdeps/mach/configure.ac: ... here.
14590         * sysdeps/mach/hurd/configure.in: Moved to ...
14591         * sysdeps/mach/hurd/configure.ac: ... here.
14592         * sysdeps/powerpc/configure.in: Moved to ...
14593         * sysdeps/powerpc/configure.ac: ... here.
14594         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14595         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14596         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14597         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14598         * sysdeps/s390/s390-32/configure.in: Moved to ...
14599         * sysdeps/s390/s390-32/configure.ac: ... here.
14600         * sysdeps/s390/s390-64/configure.in: Moved to ...
14601         * sysdeps/s390/s390-64/configure.ac: ... here.
14602         * sysdeps/sh/configure.in: Moved to ...
14603         * sysdeps/sh/configure.ac: ... here.
14604         * sysdeps/sparc/configure.in: Moved to ...
14605         * sysdeps/sparc/configure.ac: ... here.
14606         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14607         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14608         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14609         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14610         * sysdeps/x86_64/configure.in: Moved to ...
14611         * sysdeps/x86_64/configure.ac: ... here.
14612         * sysdeps/x86_64/preconfigure.in: Moved to ...
14613         * sysdeps/x86_64/preconfigure.ac: ... here.
14614         * aclocal.m4: Change reference to configure.in to configure.ac.
14615         * config.h.in: Likewise.
14616         * manual/install.texi: Likewise.
14617         * manual/maint.texi: Likewise.
14618         * Makefile: Likewise.
14619         * malloc/Makefile: Likewise.
14620         * nscd/Makefile: Likewise.
14621         * Makeconfig: Change reference to configure.in and
14622         preconfigure.in to configure.ac and preconfigure.ac
14623         respectively.
14624         * INSTALL: Regenerated.
14625         * configure: Likewise.
14626         * sysdeps/gnu/configure: Likewise.
14627         * sysdeps/i386/configure: Likewise.
14628         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14629         * sysdeps/mach/configure: Likewise.
14630         * sysdeps/mach/hurd/configure: Likewise.
14631         * sysdeps/powerpc/configure: Likewise.
14632         * sysdeps/powerpc/powerpc32/configure: Likewise.
14633         * sysdeps/powerpc/powerpc64/configure: Likewise.
14634         * sysdeps/s390/s390-32/configure: Likewise.
14635         * sysdeps/s390/s390-64/configure: Likewise.
14636         * sysdeps/sh/configure: Likewise.
14637         * sysdeps/sparc/configure: Likewise.
14638         * sysdeps/unix/sysv/linux/configure: Likewise.
14639         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14640         * sysdeps/x86_64/configure: Likewise.
14641         * sysdeps/x86_64/preconfigure: Likewise.
14642
14643 2013-10-29  Andreas Schwab  <schwab@suse.de>
14644
14645         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14646
14647 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14648
14649         * benchtests/pow-inputs: Add new inputs.
14650
14651         * benchtests/exp-inputs: Add new inputs.
14652
14653         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14654         conditional check for return value.
14655         (__cos32): Likewise.
14656
14657 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14658
14659         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14660         to provide a boost for large inputs with word alignment.
14661         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14662         implementation based on optimized PPC64 strcpy.
14663         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14664         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14665         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14666         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14667
14668 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14669
14670         [BZ #2801]
14671         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14672
14673 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14674
14675         [BZ #14876]
14676         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14677         * time/tst-strptime.c (day_tests): Add testcase.
14678
14679 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14680
14681         [BZ #14029]
14682         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14683
14684 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14685
14686         [BZ #16074]
14687         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14688         MAP_FAILED on error.
14689
14690 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14691
14692         [BZ #16072]
14693         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14694         heap for large requests.
14695
14696 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14697
14698         [BZ #9954]
14699         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14700         result if the result has no associated interface.
14701         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14702         interface for all 127.X.Y.Z addresses.
14703
14704 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14705
14706         * locale/iso-639.def: Add Ligurian (lij)
14707
14708 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14709
14710         [BZ #15825]
14711         * sunrpc/rpc_main.c: Document rpcgen -5.
14712
14713 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14714
14715         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14716
14717 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14718
14719         [BZ #10278]
14720         * posix/glob.c: Match only directories when trailing slash is present.
14721         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14722         (main): Add testcase.
14723
14724 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14725
14726         [BZ #15670]
14727         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14728
14729 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14730
14731         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14732         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14733         AUTH_DES and cindex for FIPS 140-2.
14734         (DES Encryption): Add cindex FIPS 46-3.
14735
14736         * locale/locarchive.h (struct locarhandle): Add fname.
14737         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14738         if an optional argument was specified to --list-archive,
14739         otherwise NULL.
14740         * locale/programs/locarchive.c (show_archive_content): Take new
14741         argument fname and pass it via ah.fname to open_archive.
14742         * locale/programs/localedef.h: Update decl.
14743         (open_archive): If AH->fname is non-null, open that file
14744         rather than the default file name, and don't ignore ENOENT.
14745         (create_archive): Set AH.fname to NULL.
14746         (delete_locales_from_archive): Likewise.
14747         (add_locales_to_archive): Likewise.
14748         * locale/programs/locfile.c (write_all_categories): Likewise.
14749
14750 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14751             Aldy Hernandez  <aldyh@redhat.com>
14752
14753         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14754         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14755         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14756         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14757         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14760         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14761         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14762         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14763         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14764         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14765         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14766         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14768         Likewise.
14769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14770         Likewise.
14771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14772         Likewise.
14773         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14774         Likewise.
14775         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14777         Likewise.
14778         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14779         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14780         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14781         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14782         Likewise.
14783         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14784         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14785         * sysdeps/powerpc/preconfigure: Likewise.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14787         Likewise.
14788         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14789         Replace contents of file by #include of <fenv_libc.h>.
14790         * sysdeps/powerpc/soft-fp/sfp-machine.h
14791         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14792         and <sys/prctl.h>.
14793         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14797         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14803         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14806         Allow copysignl PLT reference to be missing.
14807
14808 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14809             Joseph Myers  <joseph@codesourcery.com
14810
14811         [BZ #15948]
14812         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14813         single character.
14814         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14815
14816 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14817
14818         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14819         * elf/tst-tls1.c: Likewise.
14820         * elf/tst-tls10.h: Likewise.
14821         * elf/tst-tls14.c: Likewise.
14822         * elf/tst-tls2.c: Likewise.
14823         * elf/tst-tls3.c: Likewise.
14824         * elf/tst-tls4.c: Likewise.
14825         * elf/tst-tls5.c: Likewise.
14826         * elf/tst-tls6.c: Likewise.
14827         * elf/tst-tls7.c: Likewise.
14828         * elf/tst-tls8.c: Likewise.
14829         * elf/tst-tls9.c: Likewise.
14830         * elf/tst-tlsmod1.c: Likewise.
14831         * elf/tst-tlsmod13.c: Likewise.
14832         * elf/tst-tlsmod13a.c: Likewise.
14833         * elf/tst-tlsmod14a.c: Likewise.
14834         * elf/tst-tlsmod16a.c: Likewise.
14835         * elf/tst-tlsmod16b.c: Likewise.
14836         * elf/tst-tlsmod2.c: Likewise.
14837         * elf/tst-tlsmod3.c: Likewise.
14838         * elf/tst-tlsmod4.c: Likewise.
14839         * elf/tst-tlsmod5.c: Likewise.
14840         * elf/tst-tlsmod6.c: Likewise.
14841
14842 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14843
14844         [BZ #12486]
14845         * malloc/malloc.c: remove checks for statistics.
14846
14847 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14848
14849         [BZ #15277]
14850         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14851         * inet/tst-network.c: Add testcase.
14852
14853 2013-10-17  Andreas Schwab  <schwab@suse.de>
14854
14855         [BZ #15218]
14856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14857         to determine canonical name.
14858
14859 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14860
14861         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14862         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14866         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14868         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14870         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14871         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14875         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14876         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14878         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14880         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14884         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14885         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14887         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14888         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14889         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14890         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14891         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14893         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14895         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14896         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14898         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14899         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14900         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14901         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14902         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14903         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14904         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14905         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14908         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14909         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14910         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14911         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14912         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14916         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14918         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14919
14920 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14921
14922         [BZ #16041]
14923         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14924         make result into a quiet NaN.
14925
14926 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14927
14928         * soft-fp/adddf3.c: Fix horizontal whitespace.
14929         * soft-fp/addsf3.c: Likewise.
14930         * soft-fp/addtf3.c: Likewise.
14931         * soft-fp/divdf3.c: Likewise.
14932         * soft-fp/divsf3.c: Likewise.
14933         * soft-fp/divtf3.c: Likewise.
14934         * soft-fp/double.h: Likewise.
14935         * soft-fp/eqdf2.c: Likewise.
14936         * soft-fp/eqsf2.c: Likewise.
14937         * soft-fp/eqtf2.c: Likewise.
14938         * soft-fp/extenddftf2.c: Likewise.
14939         * soft-fp/extended.h: Likewise.
14940         * soft-fp/extendsfdf2.c: Likewise.
14941         * soft-fp/extendsftf2.c: Likewise.
14942         * soft-fp/extendxftf2.c: Likewise.
14943         * soft-fp/fixdfdi.c: Likewise.
14944         * soft-fp/fixdfsi.c: Likewise.
14945         * soft-fp/fixdfti.c: Likewise.
14946         * soft-fp/fixsfdi.c: Likewise.
14947         * soft-fp/fixsfsi.c: Likewise.
14948         * soft-fp/fixsfti.c: Likewise.
14949         * soft-fp/fixtfdi.c: Likewise.
14950         * soft-fp/fixtfsi.c: Likewise.
14951         * soft-fp/fixtfti.c: Likewise.
14952         * soft-fp/fixunsdfdi.c: Likewise.
14953         * soft-fp/fixunsdfsi.c: Likewise.
14954         * soft-fp/fixunsdfti.c: Likewise.
14955         * soft-fp/fixunssfdi.c: Likewise.
14956         * soft-fp/fixunssfsi.c: Likewise.
14957         * soft-fp/fixunssfti.c: Likewise.
14958         * soft-fp/fixunstfdi.c: Likewise.
14959         * soft-fp/fixunstfsi.c: Likewise.
14960         * soft-fp/fixunstfti.c: Likewise.
14961         * soft-fp/floatdidf.c: Likewise.
14962         * soft-fp/floatdisf.c: Likewise.
14963         * soft-fp/floatditf.c: Likewise.
14964         * soft-fp/floatsidf.c: Likewise.
14965         * soft-fp/floatsisf.c: Likewise.
14966         * soft-fp/floatsitf.c: Likewise.
14967         * soft-fp/floattidf.c: Likewise.
14968         * soft-fp/floattisf.c: Likewise.
14969         * soft-fp/floattitf.c: Likewise.
14970         * soft-fp/floatundidf.c: Likewise.
14971         * soft-fp/floatundisf.c: Likewise.
14972         * soft-fp/floatunditf.c: Likewise.
14973         * soft-fp/floatunsidf.c: Likewise.
14974         * soft-fp/floatunsisf.c: Likewise.
14975         * soft-fp/floatunsitf.c: Likewise.
14976         * soft-fp/floatuntidf.c: Likewise.
14977         * soft-fp/floatuntisf.c: Likewise.
14978         * soft-fp/floatuntitf.c: Likewise.
14979         * soft-fp/fmadf4.c: Likewise.
14980         * soft-fp/fmasf4.c: Likewise.
14981         * soft-fp/fmatf4.c: Likewise.
14982         * soft-fp/gedf2.c: Likewise.
14983         * soft-fp/gesf2.c: Likewise.
14984         * soft-fp/getf2.c: Likewise.
14985         * soft-fp/ledf2.c: Likewise.
14986         * soft-fp/lesf2.c: Likewise.
14987         * soft-fp/letf2.c: Likewise.
14988         * soft-fp/muldf3.c: Likewise.
14989         * soft-fp/mulsf3.c: Likewise.
14990         * soft-fp/multf3.c: Likewise.
14991         * soft-fp/negdf2.c: Likewise.
14992         * soft-fp/negsf2.c: Likewise.
14993         * soft-fp/negtf2.c: Likewise.
14994         * soft-fp/op-1.h: Likewise.
14995         * soft-fp/op-2.h: Likewise.
14996         * soft-fp/op-4.h: Likewise.
14997         * soft-fp/op-8.h: Likewise.
14998         * soft-fp/op-common.h: Likewise.
14999         * soft-fp/quad.h: Likewise.
15000         * soft-fp/single.h: Likewise.
15001         * soft-fp/soft-fp.h: Likewise.
15002         * soft-fp/sqrtdf2.c: Likewise.
15003         * soft-fp/sqrtsf2.c: Likewise.
15004         * soft-fp/sqrttf2.c: Likewise.
15005         * soft-fp/subdf3.c: Likewise.
15006         * soft-fp/subsf3.c: Likewise.
15007         * soft-fp/subtf3.c: Likewise.
15008         * soft-fp/truncdfsf2.c: Likewise.
15009         * soft-fp/trunctfdf2.c: Likewise.
15010         * soft-fp/trunctfsf2.c: Likewise.
15011         * soft-fp/trunctfxf2.c: Likewise.
15012         * soft-fp/unorddf2.c: Likewise.
15013         * soft-fp/unordsf2.c: Likewise.
15014         * soft-fp/unordtf2.c: Likewise.
15015
15016 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15017
15018         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15019         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15020
15021 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15022
15023         * elf/dl-libc.c: Clear initfini list after freeing.
15024
15025 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15026
15027         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15028         * soft-fp/addsf3.c: Likewise.
15029         * soft-fp/addtf3.c: Likewise.
15030         * soft-fp/divdf3.c: Likewise.
15031         * soft-fp/divsf3.c: Likewise.
15032         * soft-fp/divtf3.c: Likewise.
15033         * soft-fp/double.h: Likewise.
15034         * soft-fp/eqdf2.c: Likewise.
15035         * soft-fp/eqsf2.c: Likewise.
15036         * soft-fp/eqtf2.c: Likewise.
15037         * soft-fp/extenddftf2.c: Likewise.
15038         * soft-fp/extended.h: Likewise.
15039         * soft-fp/extendsfdf2.c: Likewise.
15040         * soft-fp/extendsftf2.c: Likewise.
15041         * soft-fp/extendxftf2.c: Likewise.
15042         * soft-fp/fixdfdi.c: Likewise.
15043         * soft-fp/fixdfsi.c: Likewise.
15044         * soft-fp/fixdfti.c: Likewise.
15045         * soft-fp/fixsfdi.c: Likewise.
15046         * soft-fp/fixsfsi.c: Likewise.
15047         * soft-fp/fixsfti.c: Likewise.
15048         * soft-fp/fixtfdi.c: Likewise.
15049         * soft-fp/fixtfsi.c: Likewise.
15050         * soft-fp/fixtfti.c: Likewise.
15051         * soft-fp/fixunsdfdi.c: Likewise.
15052         * soft-fp/fixunsdfsi.c: Likewise.
15053         * soft-fp/fixunsdfti.c: Likewise.
15054         * soft-fp/fixunssfdi.c: Likewise.
15055         * soft-fp/fixunssfsi.c: Likewise.
15056         * soft-fp/fixunssfti.c: Likewise.
15057         * soft-fp/fixunstfdi.c: Likewise.
15058         * soft-fp/fixunstfsi.c: Likewise.
15059         * soft-fp/fixunstfti.c: Likewise.
15060         * soft-fp/floatdidf.c: Likewise.
15061         * soft-fp/floatdisf.c: Likewise.
15062         * soft-fp/floatditf.c: Likewise.
15063         * soft-fp/floatsidf.c: Likewise.
15064         * soft-fp/floatsisf.c: Likewise.
15065         * soft-fp/floatsitf.c: Likewise.
15066         * soft-fp/floattidf.c: Likewise.
15067         * soft-fp/floattisf.c: Likewise.
15068         * soft-fp/floattitf.c: Likewise.
15069         * soft-fp/floatundidf.c: Likewise.
15070         * soft-fp/floatundisf.c: Likewise.
15071         * soft-fp/floatunsidf.c: Likewise.
15072         * soft-fp/floatunsisf.c: Likewise.
15073         * soft-fp/floatuntidf.c: Likewise.
15074         * soft-fp/floatuntisf.c: Likewise.
15075         * soft-fp/floatuntitf.c: Likewise.
15076         * soft-fp/fmadf4.c: Likewise.
15077         * soft-fp/fmasf4.c: Likewise.
15078         * soft-fp/fmatf4.c: Likewise.
15079         * soft-fp/gedf2.c: Likewise.
15080         * soft-fp/gesf2.c: Likewise.
15081         * soft-fp/getf2.c: Likewise.
15082         * soft-fp/ledf2.c: Likewise.
15083         * soft-fp/lesf2.c: Likewise.
15084         * soft-fp/letf2.c: Likewise.
15085         * soft-fp/muldf3.c: Likewise.
15086         * soft-fp/mulsf3.c: Likewise.
15087         * soft-fp/multf3.c: Likewise.
15088         * soft-fp/negdf2.c: Likewise.
15089         * soft-fp/negsf2.c: Likewise.
15090         * soft-fp/negtf2.c: Likewise.
15091         * soft-fp/op-1.h: Likewise.
15092         * soft-fp/op-2.h: Likewise.
15093         * soft-fp/op-4.h: Likewise.
15094         * soft-fp/op-8.h: Likewise.
15095         * soft-fp/op-common.h: Likewise.
15096         * soft-fp/quad.h: Likewise.
15097         * soft-fp/single.h: Likewise.
15098         * soft-fp/soft-fp.h: Likewise.
15099         * soft-fp/sqrtdf2.c: Likewise.
15100         * soft-fp/sqrtsf2.c: Likewise.
15101         * soft-fp/sqrttf2.c: Likewise.
15102         * soft-fp/subdf3.c: Likewise.
15103         * soft-fp/subsf3.c: Likewise.
15104         * soft-fp/subtf3.c: Likewise.
15105         * soft-fp/truncdfsf2.c: Likewise.
15106         * soft-fp/trunctfdf2.c: Likewise.
15107         * soft-fp/trunctfsf2.c: Likewise.
15108         * soft-fp/trunctfxf2.c: Likewise.
15109         * soft-fp/unorddf2.c: Likewise.
15110         * soft-fp/unordsf2.c: Likewise.
15111         * soft-fp/unordtf2.c: Likewise.
15112
15113 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15114
15115         [BZ #15672]
15116         * misc/error.c (error_tail): Fix possible buffer overflow.
15117
15118 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15119
15120         [BZ #13028]
15121         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15122         address.
15123
15124 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15125
15126         [BZ #832]
15127         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15128         testing pipefail option.
15129
15130 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15131
15132         * soft-fp/double.h: Indent preprocessor directives inside #if.
15133         * soft-fp/extended.h: Likewise.
15134         * soft-fp/op-2.h: Likewise.
15135         * soft-fp/op-4.h: Likewise.
15136         * soft-fp/op-common.h: Likewise.
15137         * soft-fp/quad.h: Likewise.
15138         * soft-fp/single.h: Likewise.
15139         * soft-fp/soft-fp.h: Likewise.
15140
15141 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15142
15143         * iconv/iconv_prog.c: Fix typos.
15144         * stdio-common/psiginfo-data.h: Likewise.
15145
15146 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15147
15148         [BZ #15764]
15149         * locale/setlocale.c: Fix typo.
15150
15151 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15152
15153         [BZ #16036]
15154         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15155         signaling NaN arguments.
15156         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15157         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15158
15159         [BZ #14910]
15160         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15161         unordered operands.
15162         * soft-fp/gesf2.c (__gesf2): Likewise.
15163         * soft-fp/getf2.c (__getf2): Likewise.
15164         * soft-fp/ledf2.c (__ledf2): Likewise.
15165         * soft-fp/lesf2.c (__lesf2): Likewise.
15166         * soft-fp/letf2.c (__letf2): Likewise.
15167
15168         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15169         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15170         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15171         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15172         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15173         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15174         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15175         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15176         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15177         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15178         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15179         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15180         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15181         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15182         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15183         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15184         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15185         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15186         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15187         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15188         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15189         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15190         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15191         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15192         * soft-fp/floattidf.c (__floattidf): Likewise.
15193         * soft-fp/floattisf.c (__floattisf): Likewise.
15194         * soft-fp/floattitf.c (__floattitf): Likewise.
15195         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15196         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15197         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15198         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15199         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15200         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15201         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15202         * soft-fp/gesf2.c (__gesf2): Likewise.
15203         * soft-fp/getf2.c (__getf2): Likewise.
15204         * soft-fp/ledf2.c (__ledf2): Likewise.
15205         * soft-fp/lesf2.c (__lesf2): Likewise.
15206         * soft-fp/letf2.c (__letf2): Likewise.
15207
15208         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15209         Undefine and redefine.
15210         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15211         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15212         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15213         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15214         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15215         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15216         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15217         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15218         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15219         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15220         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15221         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15222         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15223         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15224         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15225
15226         [BZ #16032]
15227         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15228         without decrementing exponent if mantissa >= that for the
15229         denominator, not >.
15230         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15231         denominator, not >.  Decrement exponent in < case instead of
15232         incrementing in >= case.
15233         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15234         without decrementing exponent if mantissa >= that for the
15235         denominator, not >.
15236
15237         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15238         computing saturated result for unsigned overflow.
15239
15240 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15241             Jeff Law  <law@redhat.com>
15242
15243         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15244         (atan2Mp): Add systemtap probe marker.
15245         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15246         (__ieee754_log): Add systemtap probe marker.
15247         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15248         (atanMp): Add systemtap probe marker.
15249         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15250         (tanMp): Add systemtap probe marker.
15251         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15252         (__slowexp): Add systemtap probe marker.
15253         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15254         (__slowpow): Add systemtap probe marker.
15255         * manual/probes.texi: Document probes.
15256
15257 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15258
15259         [BZ #15362]
15260         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15261         written.
15262         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15263         written.
15264         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15265         written to buffer but not flushed.
15266         * libio/iofwrite_u.c:  Likewise.
15267         * libio/iopadn.c:  Return bytes returned even if EOF was
15268         encountered.
15269         * libio/iowpadn.c:  Likewise.
15270         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15271         if _IO_padn does not write the whole buffer.
15272         [!COMPILE_WPRINTF] (PAD): Likewise.
15273
15274 2013-10-10  David S. Miller  <davem@davemloft.net>
15275
15276         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15277         directory block.
15278
15279 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15280
15281         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15282         instead of FSF address.
15283         * soft-fp/fixdfti.c: Likewise.
15284         * soft-fp/fixsfti.c: Likewise.
15285         * soft-fp/fixtfti.c: Likewise.
15286         * soft-fp/fixunsdfti.c: Likewise.
15287         * soft-fp/fixunssfti.c: Likewise.
15288         * soft-fp/fixunstfti.c: Likewise.
15289         * soft-fp/floattidf.c: Likewise.
15290         * soft-fp/floattisf.c: Likewise.
15291         * soft-fp/floattitf.c: Likewise.
15292         * soft-fp/floatuntidf.c: Likewise.
15293         * soft-fp/floatuntisf.c: Likewise.
15294         * soft-fp/floatuntitf.c: Likewise.
15295         * soft-fp/trunctfxf2.c: Likewise.
15296
15297         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15298         * soft-fp/fixdfti.c: Likewise.
15299         * soft-fp/fixsfti.c: Likewise.
15300         * soft-fp/fixtfti.c: Likewise.
15301         * soft-fp/fixunsdfti.c: Likewise.
15302         * soft-fp/fixunssfti.c: Likewise.
15303         * soft-fp/fixunstfti.c: Likewise.
15304         * soft-fp/floattidf.c: Likewise.
15305         * soft-fp/floattisf.c: Likewise.
15306         * soft-fp/floattitf.c: Likewise.
15307         * soft-fp/floatuntidf.c: Likewise.
15308         * soft-fp/floatuntisf.c: Likewise.
15309         * soft-fp/floatuntitf.c: Likewise.
15310         * soft-fp/trunctfxf2.c: Likewise.
15311
15312 2013-10-10  David S. Miller  <davem@davemloft.net>
15313
15314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15315
15316 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15317
15318         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15319         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15320         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15321         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15322         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15323         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15324         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15325
15326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15327         for NaNs before doing comparisons on argument.
15328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15329         Likewise.
15330
15331 2013-10-10  Will Newton  <will.newton@linaro.org>
15332
15333         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15334         passed to _int_memalign does not overflow.
15335
15336 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15337
15338         * scripts/bench.pl: Add include-sources directive.
15339         * benchtests/README: Update documentation.
15340
15341 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15342
15343         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15344         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15345         instead of FP_INIT_ROUNDMODE.
15346         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15347         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15348
15349         [BZ #16034]
15350         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15351         copy class of input value.
15352         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15353         not handle exceptions.
15354         * soft-fp/negsf2.c (__negsf2): Likewise.
15355         * soft-fp/negtf2.c (__negtf2): Likewise.
15356         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15357
15358 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15359
15360         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15361         semicolon.  From Linux kernel.
15362
15363 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15364
15365         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15366
15367 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15368
15369         [BZ #156]
15370         * manual/socket.texi: Added statement about buffer
15371         for gethostbyname2_r.
15372
15373 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15374
15375         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15376         Use .p2align directive instead, throughout.
15377         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15378         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15379         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15382         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15383         * sysdeps/x86_64/strchr.S: Likewise.
15384         * sysdeps/x86_64/strrchr.S: Likewise.
15385
15386 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15387
15388         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15389
15390         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15391
15392         * sysdeps/generic/math_private.h (__mpsin1): Remove
15393         declaration.
15394         (__mpcos1): Likewise.
15395         (__mpsin): New argument __range_reduce.
15396         (__mpcos): Likewise.
15397         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15398         (slow): Use __mpsin and __mpcos.
15399         (slow1): Likewise.
15400         (slow2): Likewise.
15401         (sloww): Likewise.
15402         (sloww1): Likewise.
15403         (sloww2): Likewise.
15404         (bsloww): Likewise.
15405         (bsloww1): Likewise.
15406         (bsloww2): Likewise.
15407         (cslow2): Likewise.
15408         (csloww): Likewise.
15409         (csloww1): Likewise.
15410         (csloww2): Likewise.
15411         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15412         range_reduce.  Merge in __mpsin1.
15413         (__mpcos): Likewise.
15414         (__mpsin1): Remove.
15415         (__mpcos1): Likewise.
15416
15417 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15418
15419         * locale/loadlocale.c (_nl_intern_locale_data): Use
15420         LOCFILE_ALIGNED_P.
15421         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15422         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15423         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15424         obstack data is appropriately aligned.
15425         (obstack_int32_grow_fast): Likewise.
15426         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15427         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15428         (add_locale_uint32_array): Likewise.
15429
15430 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15431
15432         * benchtests/Makefile: Remove ARGLIST and RET variables.
15433         ($(objpfx)bench-%.c): Pass only function name to the script.
15434         * benchtests/README: Update documentation.
15435         * benchtests/acos-inputs: Add new directives.
15436         * benchtests/acosh-inputs: Likewise.
15437         * benchtests/asin-inputs: Likewise.
15438         * benchtests/asinh-inputs: Likewise.
15439         * benchtests/atan-inputs: Likewise.
15440         * benchtests/atanh-inputs: Likewise.
15441         * benchtests/cos-inputs: Likewise.
15442         * benchtests/cosh-inputs: Likewise.
15443         * benchtests/exp-inputs: Likewise.
15444         * benchtests/log-inputs: Likewise.
15445         * benchtests/pow-inputs: Likewise.
15446         * benchtests/rint-inputs: Likewise.
15447         * benchtests/sin-inputs: Likewise.
15448         * benchtests/sinh-inputs: Likewise.
15449         * benchtests/tan-inputs: Likewise.
15450         * benchtests/tanh-inputs: Likewise.
15451         * scripts/bench.pl: Add support for new directives.
15452
15453 2013-10-07  Alan Modra  <amodra@gmail.com>
15454
15455         * README: Fix careless merge.
15456
15457 2013-10-05  Alan Modra  <amodra@gmail.com>
15458
15459         * NEWS: Mention powerpc64le support and bugs fixed.
15460         * README: Both big-endian and little-endian powerpc64 supported.
15461
15462 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15463
15464         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15465         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15466         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15467         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15468
15469 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15470
15471         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15472         match prototype.
15473
15474 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15475
15476         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15477         Move -mhard-float appending from
15478         ports/sysdeps/powerpc/powerpc32/Makefile.
15479         [$(with-fp) = yes] (ASFLAGS): Likewise.
15480         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15481         * sysdeps/powerpc/nofpu: Move directory from
15482         ports/sysdeps/powerpc/nofpu.
15483         * sysdeps/powerpc/soft-fp: Move directory from
15484         ports/sysdeps/powerpc/soft-fp.
15485         * sysdeps/powerpc/powerpc32/405: Move directory from
15486         ports/sysdeps/powerpc/powerpc32/405.
15487         * sysdeps/powerpc/powerpc32/440: Move directory from
15488         ports/sysdeps/powerpc/powerpc32/440.
15489         * sysdeps/powerpc/powerpc32/464: Move directory from
15490         ports/sysdeps/powerpc/powerpc32/464.
15491         * sysdeps/powerpc/powerpc32/476: Move directory from
15492         ports/sysdeps/powerpc/powerpc32/476.
15493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15502         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15503         * README: Update for powerpc-*-linux-gnu software floating point
15504         support in libc.
15505
15506         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15507         case to powerpc/powerpc32*.
15508         * sysdeps/unix/sysv/linux/configure: Regenerated.
15509
15510         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15511         (_FPU_MASK_OM): Define as 0x04.
15512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15514         0x00c10080.
15515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15516         0x0000003c.
15517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15518
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15520         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15521         getcontext_e500.
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15523         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15524         setcontext_e500.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15526         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15527         and setcontext_e500.
15528
15529 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15530
15531         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15532
15533 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15534
15535         * manual/threads.texi (Default Thread Attributes): Fix typo.
15536
15537 2013-10-04  Will Newton  <will.newton@linaro.org>
15538
15539         * malloc/Makefile: Add tst-memalign.
15540         * malloc/tst-memalign.c: New file.
15541
15542         * malloc/tst-posix_memalign.c: Add comments.
15543         (do_test): Add comments and call free on all potentially
15544         allocated pointers. Add space after cast.
15545
15546         * malloc/tst-pvalloc.c: Add comments.
15547         (do_test): Add comments and call free on all potentially
15548         allocated pointers. Remove duplicate check for NULL pointer.
15549         Add space after cast.
15550
15551         * malloc/tst-valloc.c: Add comments.
15552         (do_test): Add comments and call free on all potentially
15553         allocated pointers. Remove duplicate check for NULL pointer.
15554         Add space after cast.
15555
15556 2013-10-04  Alan Modra  <amodra@gmail.com>
15557
15558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15559         Use stdint types in rather than __attribute__((mode())).
15560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15561
15562 2013-10-04  Alan Modra  <amodra@gmail.com>
15563
15564         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15565         Correct handling of unaligned relocs for little-endian.
15566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15567
15568 2013-10-04  Alan Modra  <amodra@gmail.com>
15569
15570         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15571         * configure: Regenerate.
15572         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15573         * shlib-versions: Likewise.
15574
15575 2013-10-04  Alan Modra  <amodra@gmail.com>
15576
15577         * string/tester.c (test_memrchr): Increment reported test cycle.
15578
15579 2013-10-04  Alan Modra  <amodra@gmail.com>
15580
15581         * string/test-memcpy.c (do_one_test): When reporting errors, print
15582         string address and don't overrun end of string.
15583
15584 2013-10-04  Alan Modra  <amodra@gmail.com>
15585
15586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15587         insrdi.  Make better use of reg selection to speed exit slightly.
15588         Schedule entry path a little better.  Remove useless "are we done"
15589         checks on entry to main loop.  Handle wrapping around zero address.
15590         Correct main loop count.  Handle single left-over word from main
15591         loop inline rather than by using loop_small.  Remove extra word
15592         case in loop_small caused by wrong loop count.  Add little-endian
15593         support.
15594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15595         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15596         cache hint.
15597         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15599         support.  Avoid rlwimi.
15600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15601
15602 2013-10-04  Alan Modra  <amodra@gmail.com>
15603
15604         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15605         insrdi.  Formatting.
15606         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15607         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15608         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15609         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15610         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15611         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15612
15613 2013-10-04  Alan Modra  <amodra@gmail.com>
15614
15615         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15617         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15618         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15619         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15621         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15623         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15624         use of regs.  Use power7 mtocrf.  Tidy function tails.
15625
15626 2013-10-04  Alan Modra  <amodra@gmail.com>
15627
15628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15629         Formatting.  Consistently use rXXX register defines or rN defines.
15630         Use early exit labels that avoid restoring unused non-volatile regs.
15631         Make cr field use more consistent with rWORDn compares.  Rename
15632         regs used as shift registers for unaligned loop, using rN defines
15633         for short lifetime/multiple use regs.
15634         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15635         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15636         addi 1,1,64 to pop stack frame.  Simplify return value code.
15637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15638
15639 2013-10-04  Alan Modra  <amodra@gmail.com>
15640
15641         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15642         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15643         rather than rlwimi.
15644         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15645         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15646         little-endian support.  Correct typos.
15647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15648         rather than rlwimi.
15649         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15650         in loop and entry code to keep "and." results.
15651         (strchr): Add little-endian support.  Comment.  Move cntlzd
15652         earlier in tail.
15653         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15654
15655 2013-10-04  Alan Modra  <amodra@gmail.com>
15656
15657         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15658         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15659         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15660         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15661
15662 2013-10-04  Alan Modra  <amodra@gmail.com>
15663
15664         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15665         (rTMP): Define as r11.
15666         (strcmp): Add little-endian support.  Optimise tail.
15667         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15668         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15669         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15674
15675 2013-10-04  Alan Modra  <amodra@gmail.com>
15676
15677         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15678         little-endian support.  Remove unnecessary "are we done" tests.
15679         Handle "s" wrapping around zero and extremely large "size".
15680         Correct main loop count.  Handle single left-over word from main
15681         loop inline rather than by using small_loop.  Correct comments.
15682         Delete "zero" tail, use "end_max" instead.
15683         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15684
15685 2013-10-04  Alan Modra  <amodra@gmail.com>
15686
15687         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15688         support.  Don't branch over align.
15689         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15690         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15691         support.  Rearrange tmp reg use to suit.  Comment.
15692         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15693
15694 2013-10-04  Alan Modra  <amodra@gmail.com>
15695
15696         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15697
15698 2013-10-04  Alan Modra  <amodra@gmail.com>
15699
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15701         conditional form of branch and link when obtaining pc.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15703
15704 2013-10-04  Alan Modra  <amodra@gmail.com>
15705
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15707         HIWORD/LOWORD.
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15710
15711 2013-10-04  Alan Modra  <amodra@gmail.com>
15712
15713         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15714         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15715         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15716         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15717         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15718         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15719         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15720         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15721         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15722         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15723
15724 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15725             Alistair Popple <alistair@ozlabs.au.ibm.com>
15726             Alan Modra <amodra@gmail.com>
15727
15728         [BZ #15723]
15729         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15731         _dl_hwcap access for little-endian.
15732         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15733         destroy vmx regs when saving unaligned.
15734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15735         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15736         destroy vmx regs when saving unaligned.
15737
15738 2013-10-04  Alan Modra  <amodra@gmail.com>
15739
15740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15741         Don't use a union to pack hi/low value.
15742
15743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15744
15745         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15746         for little-endian.
15747         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15749         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15750         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15751         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15752
15753 2013-10-04  Alan Modra  <amodra@gmail.com>
15754
15755         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15756         constants to usual value for .cst8 section, and remove redundant
15757         high address load.
15758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15759         constant for 0x1p52.  Load little-endian words of double from
15760         correct stack offsets.
15761
15762 2013-10-04  Alan Modra  <amodra@gmail.com>
15763
15764         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15765         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15766         words of double from correct stack offsets.
15767         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15768         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15769         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15770         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15772         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15773         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15774         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15775         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15777         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15779         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15780         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15781         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15782         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15783         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15784
15785 2013-10-04  Alan Modra  <amodra@gmail.com>
15786
15787         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15788         64-bit int/double union.
15789         (_FPU_SETCW): Likewise.
15790         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15791         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15792
15793 2013-10-04  Alan Modra  <amodra@gmail.com>
15794
15795         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15796         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15797
15798 2013-10-04  Alan Modra  <amodra@gmail.com>
15799
15800         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15801         use vector int constants.
15802         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15803
15804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15805
15806         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15807         array with long long.
15808         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15809         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15810         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15811         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15812         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15813         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15814         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15815         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15816         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15817         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15818         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15819         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15820         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15821
15822 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15823
15824         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15825         (__signbit): Likewise.  Correct for little-endian.
15826         (__signbitl): Call __signbit.
15827         (lrint): Correct for little-endian.
15828         (lrintf): Call lrint.
15829
15830 2013-10-04  Alan Modra  <amodra@gmail.com>
15831
15832         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15833         union 32-bit int array member with 64-bit int array.
15834         (t515, tm256): Double rather than long double.
15835         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15836
15837 2013-10-04  Alan Modra  <amodra@gmail.com>
15838
15839         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15840         Delete.
15841         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15842         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15843         version of math_ldbl.h.
15844
15845 2013-10-04  Alan Modra  <amodra@gmail.com>
15846
15847         [BZ #15734], [BZ #15735]
15848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15849         all uses of ieee875 long double macros and unions.  Simplify test
15850         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15851         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15852         normalize after ldbl_extract_mantissa, and don't add hidden bit
15853         already handled.  Don't treat low word of ieee854 mantissa like
15854         low word of IBM long double and mask off bit when testing for
15855         zero.
15856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15857         all uses of ieee875 long double macros and unions.  Simplify tests
15858         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15859         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15860         two1022, instead use their values.  Recognise that tests for large
15861         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15862         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15863         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15864         test for 0.0L and nan.  Correct negation.
15865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15866         ieee875 long double macros and unions.  Correct output for large
15867         magnitude x.  Correct absolute value calculation.
15868         (__erfcl): Likewise.
15869         * math/libm-test.inc: Add tests for errors discovered in IBM long
15870         double versions of fmodl, remainderl, erfl and erfcl.
15871
15872 2013-10-04  Alan Modra  <amodra@gmail.com>
15873
15874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15875         all uses of ieee854 long double macros and unions.  Simplify tests
15876         for long doubles that are fully specified by the high double.
15877         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15878         Likewise.
15879         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15880         Remove dead code too.
15881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15882         (__ieee754_ynl): Likewise.
15883         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15886         Remove dead code too.
15887         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15889         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15891         Simplify.
15892         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15893         Simplify.
15894         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15895         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15897         Comment on variable precision.
15898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15900         Likewise.
15901         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15902         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15904         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15905         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15906
15907 2013-10-04  Alan Modra  <amodra@gmail.com>
15908
15909         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15910         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15911         all uses of ieee854 long double macros and unions.
15912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15918         Likewise.
15919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15923         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15924         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15925         Simplify sign and nan test too.
15926         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15927         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15928         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15929         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15930         Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15932         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15933         Likewise.
15934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15935         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15937         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15938         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15940
15941 2013-10-04  Alan Modra  <amodra@gmail.com>
15942
15943         * stdio-common/printf_size.c (__printf_size): Don't use
15944         union ieee854_long_double in fpnum union.
15945         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15946         signbit macro to retrieve sign from long double.
15947         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15948         retrieve sign from long double.
15949         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15950         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15951         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15952         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15953         * math/test-misc.c (main): Don't use union ieee854_long_double.
15954
15955 2013-10-04  Alan Modra  <amodra@gmail.com>
15956
15957         [BZ #15680]
15958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15959         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15960         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15961         calculation.  Remove unnecessary test for denormal exponent.
15962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15963         Correct handling of denormals.  Avoid undefined shift behaviour.
15964         Correct normalisation of low mantissa when low double is denormal.
15965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15966         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15967         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15968         Correct normalisation of low mantissa.  Test for overflow of high
15969         mantissa and normalise.
15970         (ldbl_nearbyint): Use more readable constant for two52.
15971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15972         (__mpn_construct_long_double): Fix test for overflow of high
15973         mantissa and correct normalisation.  Avoid undefined shift.
15974
15975 2013-10-04  Alan Modra  <amodra@gmail.com>
15976
15977         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15978         (union ibm_extended_long_double): Define as an array of ieee754_double.
15979         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15981         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15982         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15986         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15989         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15990
15991 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15992
15993         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15994         page size instead of calling getpagesize.
15995
15996         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15997         (LOCFILE_ALIGN_MASK): Likewise.
15998         (LOCFILE_ALIGN_UP): Likewise.
15999         (LOCFILE_ALIGNED_P): Likewise.
16000         * locale/programs/ld-collate.c (collate_output): Use the new
16001         macros instead of __alignof__ (int32_t).
16002         * locale/weight.h (findidx): Likewise.
16003
16004 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16005
16006         [BZ #431]
16007         * manual/string.texi: Fix strncat and wcsncat.
16008
16009 2013-10-03  Brooks Moses  <bmoses@google.com>
16010
16011         [BZ #15915]
16012         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16013         * Makerules: ...here, and adjust associated comments.
16014
16015 2013-10-02  Will Newton  <will.newton@linaro.org>
16016
16017         * malloc/Makefile: Add tst-pvalloc.
16018         * malloc/tst-pvalloc.c: New file.
16019
16020 2013-10-02  Will Newton  <will.newton@linaro.org>
16021
16022         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16023         improve test coverage.
16024
16025 2013-10-02  Will Newton  <will.newton@linaro.org>
16026
16027         * malloc/Makefile: Add tst-posix_memalign.
16028         * malloc/tst-posix_memalign.c: New file.
16029
16030 2013-10-01  Eric Blake  <eblake@redhat.com>
16031
16032         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16033         Use __THROWNL rather than __THROW on static functions.
16034
16035 2013-09-30  Petr Machata  <pmachata@redhat.com>
16036
16037         * elf/elf.h (R_AARCH64_ABS16): New macro.
16038         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16039         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16040         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16041         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16042         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16043         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16044         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16045         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16046         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16047         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16048         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16049         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16050         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16051         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16052         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16053         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16054         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16055         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16056         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16057         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16058         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16059         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16060         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16061         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16062         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16063         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16064         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16065         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16066         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16067         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16068         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16069         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16070         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16071         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16072         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16073         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16074         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16075         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16076         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16077         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16078         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16079         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16080         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16081         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16082         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16083         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16084         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16085         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16086         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16087         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16088         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16089         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16090         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16091         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16092         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16093         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16094         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16095         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16096         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16097         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16098         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16099         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16100         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16101         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16102         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16103         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16104         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16105         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16106         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16107         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16108         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16109         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16110         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16111         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16112         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16113         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16114         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16115         (R_AARCH64_TLSDESC_LDR): Likewise.
16116         (R_AARCH64_TLSDESC_ADD): Likewise.
16117         (R_AARCH64_TLSDESC_CALL): Likewise.
16118
16119 2013-09-30  Andreas Schwab  <schwab@suse.de>
16120
16121         [BZ #15048]
16122         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16123         the nss database lookup.
16124         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16126
16127 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16128
16129         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16130
16131 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16132
16133         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16134         ${Bash-specific parameter/pattern/string} parameter expansion.
16135         * sysdeps/unix/make-syscalls.sh: Likewise.
16136
16137 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16138
16139         * sysdeps/sh/stackguard-macros.h: New file.
16140
16141 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16142
16143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16145         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16146         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16147         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16148         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16149
16150 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16151
16152         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16153         Fix thread ID register.
16154
16155 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16156
16157         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16158         [POSIX || UNIX98]: Require rather than permitting all symbols from
16159         <time.h>.
16160         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16161         element of struct sched_param.
16162         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16163         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16164         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16165         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16166         constant.
16167
16168 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16169
16170         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16171         argument calculation.
16172
16173 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16174
16175         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16176         Expect macro.
16177         [POSIX] (pthread_attr_t): Do not require type.
16178         [POSIX] (pthread_cond_t): Likewise.
16179         [POSIX] (pthread_condattr_t): Likewise.
16180         [POSIX] (pthread_key_t): Likewise.
16181         [POSIX] (pthread_mutex_t): Likewise.
16182         [POSIX] (pthread_mutexattr_t): Likewise.
16183         [POSIX] (pthread_once_t): Likewise.
16184         [POSIX] (pthread_t): Likewise.
16185         [POSIX-based standards] (pthread_atfork): Expect function.
16186
16187 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16188             Richard Sandiford  <richard@codesourcery.com>
16189
16190         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16191         (swap_endianness_p): New extern variable.
16192         (set_big_endian): New inline function.
16193         (maybe_swap_uint32): Likewise.
16194         (maybe_swap_uint32_array): Likewise.
16195         (maybe_swap_uint32_obstack): Likewise.
16196         * locale/programs/locfile.c: Include <stdbool.h>.
16197         (swap_endianness_p): New variable.
16198         (add_locale_uint32): Call maybe_swap_uint32.
16199         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16200         (write_locale_data): Call maybe_swap_uint32_array.
16201         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16202         maybe_swap_uint32.
16203         (obstack_int32_grow_fast): Likewise.
16204         (output_weightwc): Call maybe_swap_uint32_obstack.
16205         (collate_output): Likewise.
16206         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16207         (OPT_LITTLE_ENDIAN): Likewise.
16208         (options): Add --little-endian and --big-endian options.
16209         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16210         * locale/programs/locarchive.c: Include "locfile.h".
16211         (GET): New macro.
16212         (SET): Likewise.
16213         (INC): Likewise.
16214         (create_archive): Use the new macros to access fields of
16215         structures directly mapped from or written to locale archives.
16216         (oldlocrecentcmp): Likewise.
16217         (enlarge_archive): Likewise.
16218         (insert_name): Likewise.
16219         (add_alias): Likewise.
16220         (add_locale): Likewise.
16221         (delete_locales_from_archive): Likewise.
16222         (show_archive_content): Likewise.
16223         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16224         locale data.
16225
16226 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16227
16228         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16229         http://www.gnu.org/doc/freemanuals.texi.
16230         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16231
16232 2013-09-24  Will Newton  <will.newton@linaro.org>
16233
16234         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16235         macro.
16236
16237 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16238
16239         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16240         unsigned char.
16241
16242 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16243
16244         * manual/threads.texi (POSIX Threads): Fix a typo.
16245
16246 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247
16248         [BZ #14547]
16249         * string/tst-strcoll-overflow.c: New test case.
16250         * string/Makefile (xtests): Add tst-strcoll-overflow.
16251         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16252         cache if string sizes may cause integer overflow.
16253
16254         [BZ #14547]
16255         * string/strcoll_l.c (coll_seq): New members rule, idx,
16256         save_idx and back_us.
16257         (get_next_seq_nocache): New function.
16258         (do_compare_nocache): New function.
16259         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16260         when malloc fails.
16261
16262 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16263
16264         [BZ #15754]
16265         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16266         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16267         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16268
16269         [BZ #15754]
16270         * elf/Makefile (tests): Add tst-ptrguard1.
16271         (tests-static): Add tst-ptrguard1-static.
16272         (tst-ptrguard1-ARGS): Define.
16273         (tst-ptrguard1-static-ARGS): Define.
16274         * elf/tst-ptrguard1.c: New file.
16275         * elf/tst-ptrguard1-static.c: New file.
16276         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16277         * sysdeps/i386/stackguard-macros.h: Likewise.
16278         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16279         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16280         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16281         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16282         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16283         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16284
16285 2013-09-23  Hector Marco  <hecmargi@upv.es>
16286             Ismael Ripoll  <iripoll@disca.upv.es>
16287             Carlos O'Donell  <carlos@redhat.com>
16288
16289         [BZ #15754]
16290         * sysdeps/generic/stackguard-macros.h: Define
16291         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16292         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16293         Define __pointer_chk_guard_local.
16294         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16295         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16296
16297 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16298
16299         [BZ #15859]
16300         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16301
16302 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16303
16304         * include/string.h (__ffs): Declare as hidden.
16305         * string/ffs.c (__ffs): Define as hidden.
16306         * sysdeps/i386/ffs.c (__ffs): Likewise.
16307         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16308         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16309         * sysdeps/s390/ffs.c (__ffs): Likewise.
16310         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16311
16312 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16313
16314         * NEWS: Mention malloc probes.
16315
16316         * malloc/arena.c (new_heap): New memory_heap_new probe.
16317         (grow_heap): New memory_heap_more probe.
16318         (shrink_heap): New memory_heap_less probe.
16319         (heap_trim): New memory_heap_free probe.
16320         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16321         (systrim): New memory_sbrk_less probe.
16322         * manual/probes.texi: Document them.
16323
16324         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16325         * manual/probes.texi: Document it.
16326
16327         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16328         (__libc_realloc): Add memory_realloc_retry probe.
16329         (__libc_memalign): Add memory_memalign_retry probe.
16330         (__libc_valloc): Add memory_valloc_retry probe.
16331         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16332         (__libc_calloc): Add memory_calloc_retry probe.
16333         * manual/probes.texi: Document them.
16334
16335         * malloc/arena.c (get_free_list): Add probe
16336         memory_arena_reuse_free_list.
16337         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16338         and memory_arena_reuse.
16339         (arena_get2) [!PER_THREAD]: Likewise.
16340         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16341         memory_arena_reuse_realloc.
16342         * manual/probes.texi: Document them.
16343
16344         * malloc/malloc.c (__libc_free): Add
16345         memory_mallopt_free_dyn_thresholds probe.
16346         (__libc_mallopt): Add multiple memory_mallopt probes.
16347         * manual/probes.texi: Document them.
16348
16349         * malloc/malloc.c: Include stap-probe.h.
16350         (__libc_mallopt): Add memory_mallopt probe.
16351         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16352         * manual/probes.texi: New.
16353         * manual/Makefile (chapters): Add probes.
16354         * manual/threads.texi: Set next node.
16355
16356 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16357
16358         [BZ #15963, #13985]
16359         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16360         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16361         Add `Chinese' to `nan' entry name.
16362
16363 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16364
16365         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16366         (POLYNOMIAL): Likewise.
16367         (TAYLOR_SINCOS): Likewise.
16368         (TAYLOR_SLOW): Likewise.
16369         (__sin): Use TAYLOR_SINCOS.
16370         (__cos): Likewise.
16371         (slow): Use TAYLOR_SLOW.
16372         (sloww): Likewise.
16373         (bsloww): Likewise.
16374         (csloww): Likewise.
16375
16376 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16377
16378         * stdlib/strtod_l.c: Fix buffer overrun.
16379
16380 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16381
16382         * benchtests/Makefile (bench): Add sincos.
16383         * benchtests/bench-sincos.c: New file.
16384
16385         * math/libm-test.inc (cos_test_data): New test inputs.
16386         (sin_test_data): Likewise.
16387
16388         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16389         macro.
16390         (__sin): Use it.
16391         (__cos): Likewise.
16392         (slow1): Likewise.
16393         (slow2): Likewise.
16394         (sloww1): Likewise.
16395         (sloww2): Likewise.
16396         (bsloww1): Likewise.
16397         (bsloww2): Likewise.
16398         (cslow2): Likewise.
16399         (csloww1): Likewise.
16400         (csloww2): Likewise.
16401
16402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16403         function.
16404         (__sin): Use it.
16405         (__cos): Likewise.
16406
16407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16408         gotos.
16409         (__cos): Likewise.
16410
16411 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16412
16413         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16414         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16415         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16416         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16417         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16418         * elf/cache.c (print_entry): Handle the new cache flags.
16419
16420 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16421             Aldy Hernandez  <aldyh@redhat.com>
16422
16423         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16424         Change condition to [_SOFT_FLOAT].
16425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16437         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16440         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16441         declaration.
16442
16443 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16444
16445         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16446         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16447         (__longjmp): Use LOAD_GP to load saved GPRs.
16448         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16449         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16450         (__sigsetjmp): Use SAVE_GP to save GPRs.
16451
16452         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16453         Do not append -msoft-float.
16454         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16455
16456 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16457
16458         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16459
16460 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16461
16462         [BZ #15966]
16463         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16464         (_FPU_GETCW): Use initial "__" on variable and field names but not
16465         on macro parameter name.
16466         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16467         parentheses around reference to macro parameter.
16468
16469 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16470
16471         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16472         prototype.
16473         (ctype_startup): Use uint32_t in cast and sizeof for
16474         ctype->charnames.
16475
16476 2013-09-11  Jia Liu  <proljc@gmail.com>
16477
16478         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16479         __daddr_t_defined.
16480         [__FreeBSD__]: Likewise.
16481
16482 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16483
16484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16485         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16486         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16487         (strchr): Remove __strchr_sse42 ifunc selection.
16488         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16489         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16490
16491 2013-09-11  Will Newton  <will.newton@linaro.org>
16492
16493         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16494         parameter to RES. Remove hardcoded 1000 value.
16495         * benchtests/bench-skeleton.c (main): Pass RES parameter
16496         to TIMING_INIT and multiply result by 1000.
16497
16498 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16499
16500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16501
16502 2013-09-11  Andreas Schwab  <schwab@suse.de>
16503
16504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16505         if not defined.
16506         (O_TMPFILE) [__USE_GNU]: Define.
16507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16508         Define.
16509
16510 2013-09-11  Will Newton  <will.newton@linaro.org>
16511
16512         [BZ #15857]
16513         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16514         does not overflow.
16515
16516 2013-09-11  Will Newton  <will.newton@linaro.org>
16517
16518         [BZ #15856]
16519         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16520         does not overflow.
16521
16522 2013-09-11  Will Newton  <will.newton@linaro.org>
16523
16524         [BZ #15855]
16525         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16526         does not overflow.
16527
16528 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16529
16530         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16532         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16533         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16534         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16535
16536 2013-09-10  Allan McRae  <allan@archlinux.org>
16537
16538         [BZ #15748]
16539         * manual/arith.texi (Parsing of Floats): Clarify
16540         cross-reference.
16541
16542         [BZ #15849]
16543         * manual/install.texi (Running make install): Mention
16544         --enable-pt-chown.
16545         * INSTALL: Regenerated.
16546
16547 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16548
16549         * csu/init-first.c (_init): Remove the !SHARED condition around
16550         FPU control word initialization.
16551         * elf/dl-support.c (_dl_fpu_control): New variable.
16552         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16553         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16554         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16555         * math/test-fpucw-static.c: New file.
16556         * math/test-fpucw-ieee.c: New file.
16557         * math/test-fpucw-ieee-static.c: New file.
16558         * math/Makefile (tests): Add `test-fpucw-ieee' and
16559         `$(tests-static)'.
16560         (tests-static): New variable.
16561         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16562         dependency to...
16563         [($(build-shared),yes)]
16564         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16565         ... this.
16566         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16567         New dependency.
16568
16569 2013-09-09  Allan McRae  <allan@archlinux.org>
16570
16571         [BZ #15939]
16572         * manual/string.texi (Collation Functions): Fix typo in
16573         strcoll example.
16574         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16575
16576         [BZ #15893]
16577         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16578
16579         [BZ #15892]
16580         * libio/memstream.c (open_memstream): Fix memory leak.
16581         * libio/wmemstream.c (open_wmemstream): Likewise.
16582
16583         [BZ #15895]
16584         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16585
16586 2013-09-09  Will Newton  <will.newton@linaro.org>
16587
16588         * malloc/Makefile: Add tst-realloc to tests.
16589         * malloc/tst-realloc.c: New file.
16590
16591 2013-09-09  Allan McRae  <allan@archlinux.org>
16592
16593         [BZ #15844]
16594         * COPYING: Update from GNU website to fix FSF address.
16595         * COPYING.LIB: Likewise.
16596
16597 2013-09-06  David S. Miller  <davem@davemloft.net>
16598
16599         * po/zh_TW.po: Update Chinese (traditional) translation from
16600         translation project.
16601
16602 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16603             Joseph Myers  <joseph@codesourcery.com>
16604
16605         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16606         "localeinfo.h".
16607         (obstack_chunk_alloc): New macro.
16608         (obstack_chunk_free): Likewise.
16609         (record_offset): New function.
16610         (init_locale_data): Likewise.
16611         (align_locale_data): Likewise.
16612         (add_locale_empty): Likewise.
16613         (add_locale_raw_data): Likewise.
16614         (add_locale_raw_obstack): Likewise.
16615         (add_locale_string): Likewise.
16616         (add_locale_wstring): Likewise.
16617         (add_locale_uint32): Likewise.
16618         (add_locale_uint32_array): Likewise.
16619         (add_locale_char): Likewise.
16620         (start_locale_structure): Likewise.
16621         (end_locale_structure): Likewise.
16622         (start_locale_prelude): Likewise.
16623         (end_locale_prelude): Likewise.
16624         (write_locale_data): Take locale_file structure rather than an
16625         iovec.
16626         * locale/programs/locfile.h: Include "obstack.h".
16627         (struct locale_file): Change to store locale file contents instead
16628         of header.
16629         (init_locale_data): New prototype.
16630         (align_locale_data): Likewise.
16631         (add_locale_empty): Likewise.
16632         (add_locale_raw_data): Likewise.
16633         (add_locale_raw_obstack): Likewise.
16634         (add_locale_string): Likewise.
16635         (add_locale_wstring): Likewise.
16636         (add_locale_uint32): Likewise.
16637         (add_locale_uint32_array): Likewise.
16638         (add_locale_char): Likewise.
16639         (start_locale_structure): Likewise.
16640         (end_locale_structure): Likewise.
16641         (start_locale_prelude): Likewise.
16642         (end_locale_prelude): Likewise.
16643         (write_locale_data): Update prototype.
16644         * locale/programs/3level.h (struct TABLE): Remove result field.
16645         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16646         Use new locale_file interface.
16647         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16648         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16649         * locale/programs/ld-address.c (address_output): Use new
16650         locale_file interface.
16651         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16652         NO_ADD_LOCALE.
16653         (collate_finish): Don't call collseq_table_finalize.
16654         (collate_output): Use new locale_file interface.
16655         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16656         in file.
16657         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16658         (TABLE): Move defines earlier in file.
16659         (ELEMENT): Likewise.
16660         (DEFAULT): Likewise.
16661         (wctrans_table_add): Move macro and inline function earlier in
16662         file.
16663         (struct wctype_table): Move type earlier in file.
16664         (add_locale_wctype_table): New static prototype.
16665         (struct locale_ctype_t): Use logical types instead of struct iovec
16666         pointers for members.
16667         (ctype_output): Use new locale_file interface.
16668         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16669         new locale_file interface.
16670         (allocate_arrays): Update for use of new locale_file interface.
16671         * locale/programs/ld-identification.c (identification_output): Use
16672         new locale_file interface.
16673         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16674         * locale/programs/ld-messages.c (messages_output): Likewise.
16675         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16676         * locale/programs/ld-name.c (name_output): Likewise.
16677         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16678         * locale/programs/ld-paper.c (paper_output): Likewise.
16679         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16680         * locale/programs/ld-time.c (time_output): Likewise.
16681
16682 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16683
16684         * benchtests/Makefile: Add memrchr benchmark.
16685         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16686         benchmark as memrchr.
16687         * benchtests/bench-memrchr-ifunc.c: New file.
16688         * benchtests/bench-memrchr.c: New file.
16689
16690 2013-09-06   Will Newton  <will.newton@linaro.org>
16691
16692         * benchtests/Makefile (string-bench): Add memcpy.
16693
16694 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16695             Cong Wang  <amwang@redhat.com>
16696
16697         [BZ #15850]
16698         * sysdeps/unix/sysv/linux/bits/in.h
16699         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16700         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16701         before __USE_KERNEL_IPV6_DEFS uses.
16702         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16703         IPPROTO_BEETPH.
16704         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16705         sockaddr_in6, or ipv6_mreq.
16706
16707 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16708
16709         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16710         memory access for final bytes in some large inputs.
16711         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16712
16713 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16714
16715         * string/test-memrchr.c: New file.
16716         * string/test-memrchr-ifunc.c: New file.
16717         * string/Makefile: Add new memrchr testcase.
16718
16719 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16720
16721         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16722         fanotify_init returns EPERM.
16723
16724 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16725
16726         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16727         errors.
16728         (top level): Treat second token from macro or constant entries for
16729         allowed headers as allowed.
16730         * include/complex.h: Condition internal declarations on
16731         [!_ISOMAC].
16732         * include/fenv.h: Condition include of <stdbool.h> and internal
16733         declarations on [!_ISOMAC].
16734
16735 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16736
16737         [BZ #15923]
16738         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16739
16740 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16741
16742         * configure.in (--enable-versioning): Remove configure option.
16743         (libc_cv_asm_symver_directive): Remove configure test.
16744         (libc_cv_ld_version_script_option): Likewise.
16745         (VERSIONING): Remove variable and AC_SUBST.
16746         (DO_VERSIONING): Remove AC_DEFINE.
16747         * configure: Regenerated.
16748         * config.h.in (DO_VERSIONING): Remove macro.
16749         * Makerules [$(versioning) = yes]: Change conditionals to
16750         [$(build-shared) = yes].
16751         * config.make.in (versioning): Remove variable.
16752         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16753         [$(build-shared) = yes].
16754         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16755         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16756         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16757         [$(build-shared) = yes].
16758         * extra-lib.mk [$(versioning) = yes]: Likewise.
16759         * hurd/Makefile [$(versioning) = yes]: Likewise.
16760         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16761         [SHARED].
16762         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16763         [SHARED].
16764         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16765         [SHARED && !NO_HIDDEN].
16766         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16767         [SHARED].
16768         [SHARED && DO_VERSIONING]: Likewise..
16769         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16770         [$(build-shared) = yes].
16771         * manual/install.texi (--disable-versioning): Remove
16772         documentation.
16773         * INSTALL: Regenerated.
16774         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16775         to [SHARED].
16776         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16777         [$(build-shared) = yes].
16778         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16779         * sysdeps/i386/i686/multiarch/strstr-c.c
16780         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16781         [SHARED && !NO_HIDDEN].
16782         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16783         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16784         * sysdeps/powerpc/powerpc32/dl-machine.c
16785         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16786         * sysdeps/powerpc/powerpc32/sysdep.h
16787         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16788         to [SHARED && PIC && !NO_HIDDEN].
16789         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16790         conditional to [SHARED].
16791
16792 2013-09-04   Will Newton  <will.newton@linaro.org>
16793
16794         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16795         * benchtests/bench-string.h: Include bench-timing.h instead
16796         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16797         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16798         call to HP_TIMING_DIFF_INIT.
16799         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16800         instead of hp-timing.h macros.
16801         * benchtests/bench-memchr.c: Likewise.
16802         * benchtests/bench-memcmp.c: Likewise.
16803         * benchtests/bench-memcpy.c: Likewise.
16804         * benchtests/bench-memmem.c: Likewise.
16805         * benchtests/bench-memmove.c: Likewise.
16806         * benchtests/bench-memset.c: Likewise.
16807         * benchtests/bench-rawmemchr.c: Likewise.
16808         * benchtests/bench-strcasecmp.c: Likewise.
16809         * benchtests/bench-strcasestr.c: Likewise.
16810         * benchtests/bench-strcat.c: Likewise.
16811         * benchtests/bench-strchr.c: Likewise.
16812         * benchtests/bench-strcmp.c: Likewise.
16813         * benchtests/bench-strcpy.c: Likewise.
16814         * benchtests/bench-strcpy_chk.c: Likewise.
16815         * benchtests/bench-strlen.c: Likewise.
16816         * benchtests/bench-strncasecmp.c: Likewise.
16817         * benchtests/bench-strncat.c: Likewise.
16818         * benchtests/bench-strncmp.c: Likewise.
16819         * benchtests/bench-strncpy.c: Likewise.
16820         * benchtests/bench-strnlen.c: Likewise.
16821         * benchtests/bench-strpbrk.c: Likewise.
16822         * benchtests/bench-strrchr.c: Likewise.
16823         * benchtests/bench-strspn.c: Likewise.
16824         * benchtests/bench-strstr.c: Likewise.
16825
16826 2013-09-04  Will Newton  <will.newton@linaro.org>
16827
16828         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16829
16830 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16831
16832         [BZ #15427]
16833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16834         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16835         * math/libm-test.inc (lgamma_test_data): Add more tests.
16836         * sysdeps/i386/fpu/libm-test-ulps: Update.
16837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16838
16839 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16840
16841         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16843         Add ifunc.
16844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16845         Add strcmp-sse2-unaligned
16846         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16847
16848 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16849
16850         * Versions.def (libc): Add GLIBC_2.19.
16851
16852 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16853
16854         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16855         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16856
16857 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16858
16859         [BZ #14155]
16860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16861         intermediate calculations in recurrence.
16862         (__ieee754_ynf): Likewise.
16863         * math/libm-test.inc (jn_test_data): Do not allow spurious
16864         underflow exception.  Add more tests.
16865         (yn_test_data): Add more tests.
16866         * sysdeps/i386/fpu/libm-test-ulps: Update.
16867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16868
16869 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16870
16871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16872
16873 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16874
16875         * csu/init-first.c: Fix then/than typos.
16876         * locale/programs/ld-collate.c: Likewise.
16877         * locale/programs/linereader.h: Likewise.
16878         * manual/charset.texi: Likewise.
16879         * manual/filesys.texi: Likewise.
16880         * manual/stdio.texi: Likewise.
16881         * manual/string.texi: Likewise.
16882         * stdlib/fmtmsg.c: Likewise.
16883         * sysdeps/i386/stpncpy.S: Likewise.
16884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16885         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16887         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16888
16889 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16890
16891         * elf/dl-open.c: Fix typos.
16892         * iconvdata/gbbig5.c: Likewise.
16893         * iconvdata/iso-2022-jp.c: Likewise.
16894         * iconv/gconv_int.h: Likewise.
16895         * iconv/loop.c: Likewise.
16896         * nis/rpcsvc/nis.h: Likewise.
16897         * resolv/ns_name.c: Likewise.
16898         * stdio-common/vfscanf.c: Likewise.
16899         * streams/stropts.h: Likewise.
16900         * sunrpc/rpc_thread.c: Likewise.
16901         * sysdeps/i386/strpbrk.S: Likewise.
16902         * sysdeps/ieee754/k_standard.c: Likewise.
16903         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16904         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16905         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16906         * sysdeps/mach/hurd/profil.c: Likewise.
16907         * sysdeps/s390/dl-procinfo.h: Likewise.
16908         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16909         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16910         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16911         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16912         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16913
16914 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16915
16916         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16918
16919 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16920
16921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16922         aix specific files.
16923         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16924         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16925         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16926         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16927         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16928         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16929         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16930         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16931
16932 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16933             Roland McGrath  <roland@hack.frob.com>
16934
16935         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16936         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16937
16938 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16939
16940         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16941         __executable_start symbol instead of _start.
16942
16943 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16944
16945         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16946         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16947         Move macros to...
16948         * sysdeps/gnu/ldsodefs.h: ... this new file.
16949
16950         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16951         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16952         instead of ELFOSABI_LINUX.
16953
16954         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16955         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16956         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16957         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16958         Likewise.
16959         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16960         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16961         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16962         Likewise.
16963         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16964         (ibm_extended_long_double): Add ieee_nan member.
16965         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16966         (do_test): New function.
16967
16968         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16969         TEST_TRUNC.
16970         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16971         functions, renamed from truncdfsf_test, trunctfsf_test,
16972         trunctfdf_test.
16973         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16974         functions.
16975         (do_test): Run all these.
16976
16977 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16978
16979         * argp/argp-help.c: Fix typos.
16980         * argp/argp-parse.c: Likewise.
16981         * debug/backtracesyms.c: Likewise.
16982         * elf/elf.h: Likewise.
16983         * malloc/malloc.c: Likewise.
16984         * nis/nis_print.c: Likewise.
16985         * resolv/res_comp.c: Likewise.
16986         * stdlib/stdlib.h: Likewise.
16987         * sunrpc/clnt_tcp.c: Likewise.
16988         * sunrpc/clnt_udp.c: Likewise.
16989         * sunrpc/clnt_unix.c: Likewise.
16990         * sysdeps/unix/bsd/ptsname.c: Likewise.
16991         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16992         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16994         Likewise.
16995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16996         Likewise.
16997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16998         Likewise.
16999         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17000
17001 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17002
17003         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17005
17006 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17007
17008         [BZ #15897]
17009         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17010         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17011         ($(objpfx)bug-dl-leaf): New rule.
17012         ($(objpfx)bug-dl-leaf.so): Likewise.
17013         ($(objpfx)bug-dl-leaf.out): Likewise.
17014         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17015         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17016         * dlfcn/bug-dl-leaf.c: New test.
17017         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17018         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17019         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17020         (dlclose): Likewise.
17021         (dlmopen): Likewise.
17022
17023 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17024
17025         * include/netdb.h [!_ISOMAC]:
17026         Don't include <tls.h>.
17027         (h_errno, __libc_h_errno): Move declaration and macros out of
17028         [_LIBC_REENTRANT].
17029
17030         * include/resolv.h [_RESOLV_H_]:
17031         Don't include <tls.h>.
17032         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17033         * resolv/res_libc.c: Don't include <tls.h>.
17034         (_res): Use __attribute__ ((nocommon)) in place of
17035         __attribute__ ((section (".bss"))).
17036
17037         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17038         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17039
17040         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17041
17042         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17043         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17044
17045         * resolv/res_mkquery.c: Include <sys/time.h>.
17046
17047         * inet/ifreq.c: Moved to ...
17048         * sysdeps/unix/ifreq.c: ... here.
17049         * inet/ifreq.c: New file, true stub version.
17050
17051         * socket/sa_len.c: New file.
17052         * socket/Makefile (aux): Add it.
17053         * sysdeps/unix/sysv/linux/Makefile
17054         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17055         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17056         and #include <socket/sa_len.c>.
17057         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17058         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17059
17060         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17061         * bits/socket.h: ... here.
17062
17063         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17064         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17065         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17066
17067 2013-08-27  Andreas Schwab  <schwab@suse.de>
17068
17069         [BZ #15736]
17070         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17071         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17072         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17073         * string/test-strcasecmp.c (test_main): Run tests in several
17074         locales.
17075         * string/test-strncasecmp.c (test_main): Likewise.
17076
17077         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17078         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17079         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17081         (__strncasecmp_ssse3) [PIC]: Likewise.
17082
17083 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17084
17085         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17086
17087         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17088         instead of explicitly declaring xdecrypt.
17089         * nis/nss_nis/nis-publickey.c: Likewise.
17090
17091 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092
17093         [BZ #15890]
17094         * nscd/aicache.c: Include res_hconf.h.
17095         (addhstaiX): Initialize res_hconf.
17096
17097 2013-08-26  Andreas Schwab  <schwab@suse.de>
17098
17099         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17100         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17101
17102 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17103
17104         * nscd/aicache.c (addhstaiX): Fix indentation.
17105
17106 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17107
17108         * configure.ac: Quote $build_pt_chown test.
17109         * configure: Regenerated.
17110
17111 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17112
17113         [BZ #15532]
17114         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17115         * math/s_cexpf.c (__cexpf): Likewise.
17116         * math/s_cexpl.c (__cexpl): Likewise.
17117         * math/libm-test.inc (cexp_test_data): Correct expected return
17118         value for NaN + i0.  Add another test.
17119
17120 2013-08-22  David S. Miller  <davem@davemloft.net>
17121
17122         * po/ca.po: Update Catalan translation from translation project.
17123         * po/uk.po: Add Ukrainian translations from translation project.
17124
17125 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17126
17127         [BZ #15797]
17128         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17129         is infinite, not alongside NaN test.
17130         * math/s_fdimf.c (__fdimf): Likewise.
17131         * math/s_fdiml.c (__fdiml): Likewise.
17132         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17133         errno is unchanged.
17134
17135 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17136
17137         * argp/argp-help.c: Fix typos.
17138         * crypt/speeds.c: Likewise.
17139         * csu/check_fds.c: Likewise.
17140         * elf/dl-load.c: Likewise.
17141         * elf/dl-open.c: Likewise.
17142         * elf/reldep3.c: Likewise.
17143         * elf/reldep.c: Likewise.
17144         * elf/sprof.c: Likewise.
17145         * iconv/iconv_charmap.c: Likewise.
17146         * iconv/skeleton.c: Likewise.
17147         * iconv/strtab.c: Likewise.
17148         * io/lockf64.c: Likewise.
17149         * libio/libioP.h: Likewise.
17150         * resolv/gai_notify.c: Likewise.
17151         * resolv/ns_name.c: Likewise.
17152         * resolv/ns_samedomain.c: Likewise.
17153         * resolv/res_send.c: Likewise.
17154         * stdlib/random.c: Likewise.
17155         * sunrpc/rpc/xdr.h: Likewise.
17156         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17157         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17158         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17159         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17164         * sysdeps/mach/hurd/check_fds.c: Likewise.
17165         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17166         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17167         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17169         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17170         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17171         * sysdeps/pthread/aio_notify.c: Likewise.
17172         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17173         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17174         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17176         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17177
17178 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17179
17180         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17181         version if bit_Slow_SSE4_2 is set.
17182         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17183         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17184
17185 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17186
17187         [BZ #15867]
17188         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17189         trampoline stack frame information.
17190         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17192         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17193         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17194         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17195         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17196         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17197         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17198         sa_flags value.
17199         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17200         interrupting a syscall and set with option SA_SIGINFO.
17201
17202 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17203
17204         [BZ #15531]
17205         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17206         argument is infinite.
17207         * math/s_cprojf.c (__cprojf): Likewise.
17208         * math/s_cprojl.c (__cprojl): Likewise.
17209         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17210         * math/libm-test.inc (cproj_test_data): Add more tests.
17211
17212         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17213
17214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17215         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17216         size.  Use __ffs to determine corresponding shift.
17217
17218 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17219             Roland McGrath  <roland@hack.frob.com>
17220
17221         * Makefile (INSTALL): Remove trailing blank lines from output of
17222         makeinfo.
17223
17224 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17225
17226         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17227         Align 32 bit compat elf_greg to 8 bytes.
17228
17229 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17230
17231         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17232
17233 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17234
17235         * string/strcoll_l.c (coll_seq): New structure.
17236         (get_next_seq_cached): New function.
17237         (get_next_seq): New function.
17238         (do_compare): New function.
17239         (STRCOLL): Use GNU style definition.  Simplify implementation
17240         by using get_next_seq, get_next_seq_cached and do_compare.
17241
17242 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17243
17244         [BZ #14699]
17245         CVE-2013-4237
17246         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17247         member.
17248         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17249         member.
17250         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17251         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17252         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17253         conditional.
17254         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17255         GETDENTS_64BIT_ALIGNED.
17256         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17257         * manual/filesys.texi (Reading/Closing Directory): Document
17258         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17259         strongly.
17260         * manual/conf.texi (Limits for Files): Add portability note to
17261         NAME_MAX, PATH_MAX.
17262         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17263
17264 2013-08-13  Andreas Schwab  <schwab@suse.de>
17265
17266         [BZ #15749]
17267         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17268         of fabs.
17269         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17270         LDBL_MAX_EXP >= 16384]: Add tests for it.
17271
17272 2013-08-12  David S. Miller  <davem@davemloft.net>
17273
17274         * version.h (RELEASE): Set to "development".
17275         (VERSION): Set to "2.18.90".
17276         * NEWS: Add 2.19 section.
17277
17278 2013-08-03  David S. Miller  <davem@davemloft.net>
17279
17280         * po/ko.po: Update Korean translation from translation project.
17281
17282 2013-08-01  David S. Miller  <davem@davemloft.net>
17283
17284         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17285         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17286         Bilka.
17287
17288 2013-07-30  David S. Miller  <davem@davemloft.net>
17289
17290         * po/fr.po: Update French translation from translation project.
17291
17292 2013-07-28  David S. Miller  <davem@davemloft.net>
17293
17294         * po/cs.po: Update Czech translation from translation project.
17295
17296         * po/sv.po: Update Swedish translation from translation project.
17297
17298 2013-07-27  David S. Miller  <davem@davemloft.net>
17299
17300         * po/eo.po: Update Esperanto translation from translation project.
17301
17302         * po/vi.po: Update Vietnamese translation from translation project.
17303
17304         * po/de.po: Update German translation from translation project.
17305
17306 2013-07-26  David S. Miller  <davem@davemloft.net>
17307
17308         * po/bg.po: Update Bulgarian translation from translation project.
17309
17310         * po/nl.po: Update Dutch translation from translation project.
17311         * po/pl.po: Update Polish translation from translation project.
17312         * po/ru.po: Update Russian translation from translation project.
17313
17314 2013-07-24  David S. Miller  <davem@davemloft.net>
17315
17316         * po/libc.pot: Update.
17317
17318 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17319
17320         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17321         variable page size.
17322         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17324         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17325
17326 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17327
17328         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17329
17330 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17331             Andreas Schwab  <schwab@suse.de>
17332             Roland McGrath  <roland@hack.frob.com>
17333             Joseph Myers  <joseph@codesourcery.com>
17334             Carlos O'Donell  <carlos@redhat.com>
17335
17336         [BZ #15755]
17337         * config.h.in: Define HAVE_PT_CHOWN.
17338         * config.make.in (build-pt-chown): New variable.
17339         * configure.in (--enable-pt_chown): New configure option.
17340         * configure: Regenerate.
17341         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17342         build-pt-chown is enabled.
17343         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17344         pt_chown to fix pty ownership.
17345         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17346         CLOSE_ALL_FDS.
17347         * manual/install.texi (Configuring and compiling): Mention
17348         --enable-pt_chown. Add @findex for grantpt.
17349         * INSTALL: Regenerate.
17350
17351 2013-07-20  David S. Miller  <davem@davemloft.net>
17352
17353         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17354         difference between 32-bit and 64-bit.
17355
17356 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17357
17358         [BZ #15711]
17359         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17360         Avoid system header dependency with -ffreestanding.
17361         ($(objpfx)bits/syscall%d): Likewise.
17362
17363 2013-07-13  David S. Miller  <davem@davemloft.net>
17364
17365         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17366         underflows from atanl/atan2l due to bug 15319.
17367         (casinh_test_data): Likewise.
17368
17369 2013-07-07  David S. Miller  <davem@davemloft.net>
17370
17371         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17372
17373 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17374
17375         * sysdeps/i386/fpu/libm-test-ulps: Update.
17376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17377
17378 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17379
17380         * configure.in (--enable-lock-elision): Fix message text.
17381         * INSTALL: Regenerate.
17382         * configure: Regenerate.
17383
17384 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17385
17386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17387
17388 2013-07-03  Andreas Jaeger  <aj@suse.de>
17389
17390         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17391         define.
17392         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17393         (ptrace_peeksiginfo_args): Add.
17394         (__ptrace_peeksiginfo_flags): Add.
17395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17397         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17398
17399 2013-07-03  Allan McRae  <allan@archlinux.org>
17400
17401         * sysdeps/i386/fpu/libm-test-ulps: Update.
17402
17403 2013-07-02  David S. Miller  <davem@davemloft.net>
17404
17405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17406
17407 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17408
17409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17410
17411 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17412
17413         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17415
17416 2013-07-02  Andi Kleen <ak@linux.intel.com>
17417
17418         * config.h.in (ENABLE_LOCK_ELISION): Add.
17419         * configure.in (--enable-lock-elision): Add option.
17420         * manual/install.texi: Document --enable lock elision.
17421         * configure: Regenerate
17422         * INSTALL: Regenerate.
17423
17424 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17425
17426         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17427         SSE4.2 strcasecmp for libc.a.
17428         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17429
17430 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17431
17432         [BZ #13304]
17433         * soft-fp/op-common.h (_FP_FMA): New macro.
17434         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17435         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17436         (_FP_MUL_MEAT_1_imm): ... here.
17437         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17438         (_FP_MUL_MEAT_1_wide): ... here.
17439         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17440         (_FP_MUL_MEAT_1_hard): ... here.
17441         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17442         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17443         (_FP_MUL_MEAT_2_wide): ... here.
17444         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17445         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17446         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17447         (_FP_MUL_MEAT_2_gmp): ... here.
17448         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17449         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17450         (_FP_MUL_MEAT_4_wide): ... here.
17451         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17452         (_FP_MUL_MEAT_4_gmp): ... here.
17453         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17454         (_FP_WFRACBITS_DW_S): Likewise.
17455         (_FP_WFRACXBITS_DW_S): Likewise.
17456         (_FP_HIGHBIT_DW_S): Likewise.
17457         (FP_FMA_S): Likewise.
17458         (_FP_FRAC_HIGH_DW_S): Likewise.
17459         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17460         (_FP_WFRACBITS_DW_D): Likewise.
17461         (_FP_WFRACXBITS_DW_D): Likewise.
17462         (_FP_HIGHBIT_DW_D): Likewise.
17463         (FP_FMA_D): Likewise.
17464         (_FP_FRAC_HIGH_DW_D): Likewise.
17465         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17466         (_FP_WFRACBITS_DW_E): Likewise.
17467         (_FP_WFRACXBITS_DW_E): Likewise.
17468         (_FP_HIGHBIT_DW_E): Likewise.
17469         (FP_FMA_E): Likewise.
17470         (_FP_FRAC_HIGH_DW_E): Likewise.
17471         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17472         (_FP_WFRACBITS_DW_Q): Likewise.
17473         (_FP_WFRACXBITS_DW_Q): Likewise.
17474         (_FP_HIGHBIT_DW_Q): Likewise.
17475         (FP_FMA_Q): Likewise.
17476         (_FP_FRAC_HIGH_DW_Q): Likewise.
17477         * soft-fp/fmasf4.c: New file.
17478         * soft-fp/fmadf4.c: Likewise.
17479         * soft-fp/fmatf4.c: Likewise.
17480
17481 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17482
17483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17484         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17485         Silvermont.
17486         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17487         macro.
17488         (index_Slow_SSE4_2): Likewise.
17489         (index_Prefer_PMINUB_for_stringop): Likewise.
17490         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17491         bit_Slow_SSE4_2 is set.
17492         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17494
17495 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17496
17497         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17498         rtld_global._dl_hwcap2.
17499         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17500         POWER8.
17501         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17502         POWER8 feature descriptions defined in _dl_hwcap2.
17503         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17504         string handling for POWER8 feature bits.
17505         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17506         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17507         _dl_powerpc_cap_flags.
17508         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17509         * sysdeps/powerpc/rtld-global-offsets.sym
17510         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17511         _dl_hwcap2 in the rtld_global_ro structure.
17512
17513 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17514
17515         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17516         hardware capabilities in support of AT_HWCAP2.
17517         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17518         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17519         GLRO(dl_hwcap2).
17520         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17521         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17522         explicitly the unknown a_type display mechanism is used.
17523         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17524         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17525         struct member.
17526         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17527         to macro prototype for AT_HWCAP2 support.
17528         * sysdeps/i386/dl-procinfo.h: Likewise.
17529         * sysdeps/s390/dl-procinfo.h: Likewise.
17530         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17531         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17532         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17533         return -1 for unknown a_type display fallback.
17534         * sysdeps/sparc/dl-procinfo.h: Likewise.
17535         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17536         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17537
17538 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17539
17540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17541         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17542
17543 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17544
17545         [BZ #12492]
17546         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17547         mprotect making __stack_prot writable.
17548
17549 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17550             Joseph Myers  <joseph@codesourcery.com>
17551
17552         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17553         as being properly aligned.
17554
17555 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17556
17557         * dlfcn/modstatic5.c: New file.
17558         * dlfcn/tststatic5.c: New file.
17559         * dlfcn/Makefile (tests): Add tststatic5.
17560         (tests-static): Likewise.
17561         (modules-names): Add modstatic5.
17562         (tststatic5-ENV): New variable.
17563         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17564
17565         [BZ #15022]
17566         * elf/dl-support.c (_dl_main_map): New variable.
17567         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17568         (_dl_nns, _dl_load_adds): Set to 1.
17569         (_dl_initial_searchlist): Refer to _dl_main_map.
17570         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17571         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17572         call to _dl_get_origin.
17573         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17574         around call_map.
17575         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17576         * dlfcn/modstatic3.c: New file.
17577         * dlfcn/tststatic3.c: New file.
17578         * dlfcn/tststatic4.c: New file.
17579         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17580         (tests-static): Likewise.
17581         (modules-names): Add modstatic3.
17582         (tststatic3-ENV, tststatic4-ENV): New variables.
17583         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17584         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17585
17586 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17587
17588         * configure.in (CC): Require GCC version 4.4 or later.
17589         * configure: Regenerated.
17590         * manual/install.texi (Tools for Compilation): Update GCC version
17591         requirement.
17592         * INSTALL: Regenerated.
17593
17594 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17595
17596         [BZ #15674]
17597         * string/test-memcmp.c (check2): New.
17598         (main): Call check2.
17599
17600         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17601
17602 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17603
17604         [BZ #15022]
17605         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17606         over to...
17607         (dl_open_worker) [!SHARED]: ... here.
17608
17609 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17610
17611         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17612
17613 2013-06-25  Richard Henderson  <rth@redhat.com>
17614
17615         * locale/programs/locarchive.c: Include <libc-internal.h>
17616
17617 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17618
17619         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17620         trailing whitespace removed.
17621
17622 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17623
17624         [BZ #10283]
17625         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17626         * locale/programs/locarchive.c: Include libc-mmap.h.
17627         (prepare_address_space): Take two new outputs (the mmap base and len).
17628         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17629         values.
17630         (create_archive): Declare new mmap base and len values for
17631         prepare_address_space, and store the result in ah.
17632         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17633         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17634         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17635         Declare new mmap base and len values for
17636         prepare_address_space, and store the result in new_ah.
17637         (open_archive): Declare new mmap base and len values for
17638         prepare_address_space, and store the result in ah.
17639         (close_archive): If ah->mmap_base is not NULL, use that and
17640         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17641         * sysdeps/generic/libc-mmap.h: New file.
17642
17643 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17644
17645         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17646         (ALIGN_UP): Likewise.
17647         (PTR_ALIGN_DOWN): Likewise.
17648         (PTR_ALIGN_UP): Likewise.
17649
17650 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17651
17652         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17653         entry mapped to PPC_PLATFORM_POWER8.
17654         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17655         POWER8.
17656         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17657         (_dl_string_platform): Add case for exporting platform position for
17658         POWER8.
17659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17660         search path to sysdeps/powerpc/powerpc32/power8 directory.
17661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17662         search path to sysdeps/powerpc/powerpc64/power8 directory.
17663         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17664         power7 directories.
17665         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17666         power7 directories.
17667
17668 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17669
17670         * INSTALL: Regenerate.
17671
17672         * nscd/connections.c (nscd_init): Fix comment.
17673
17674 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17675
17676         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17677
17678         [BZ #15667]
17679         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17680         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17681
17682 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17683
17684         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17685         DL_DST_REQ_STATIC.
17686         (DL_DST_REQ_STATIC): Remove macro.
17687
17688 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17689
17690         [BZ #7006]
17691         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17692         with a shift of 0 bits.
17693
17694 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17695
17696         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17697         $(tststatic-ENV).
17698
17699 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17700
17701         [BZ #15655]
17702         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17703
17704 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17705
17706         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17707         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17708         accepts -fno-tree-loop-distribute-patterns.
17709         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17710         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17711         recursive call.
17712         * string/memset.c (memset): Likewise.
17713         * string/test-memmove.c (simple_memmove): Disable loop transformation
17714         to library calls.
17715         * string/test-memset.c (simple_memset): Likewise.
17716         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17717         * benchtests/bench-memset.c (simple_memset): Likewise.
17718         * configure: Regenerated.
17719
17720 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17721
17722         * math/test-misc.c (main): Ignore fesetround failure when failures
17723         of subsequent rounding tests would be ignored.
17724
17725         [BZ #15654]
17726         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17727         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17728         * math/fegetenv.c (__fegetenv): Return 0.
17729         * math/fegetexcept.c (fegetexcept): Return 0.
17730         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17731         FE_TONEAREST.
17732         * math/feholdexcpt.c (feholdexcept): Return 0.
17733         * math/fesetenv.c (__fesetenv): Return 0.
17734         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17735         argument FE_TONEAREST.
17736         * math/feupdateenv.c (__feupdateenv): Return 0.
17737         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17738
17739 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17740
17741         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17742         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17743         ($(objpfx)rtld-%.os rules): Use them.
17744
17745 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17746
17747         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17748         fields.
17749
17750 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17751
17752         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17753         length of target pattern, then descending length of dependency pattern.
17754         * configure.in (AWK): Require gawk 3.1.2 or newer.
17755         * manual/install.texi (Tools for Compilation): Say that we do.
17756         * configure: Regenerated.
17757
17758         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17759         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17760         * scripts/sysd-rules.awk: ... this new script.
17761         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17762         than a glob-style pattern.
17763
17764 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17765
17766         * math/test-misc.c (main): Do not treat incorrectly rounded
17767         conversions as failure unless ROUNDING_TESTS passes.
17768
17769 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17770
17771         [BZ #15631]
17772         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17773         restore exception state around main square root computation, then
17774         check for inexactness explicitly.
17775
17776         * math/libm-test.inc (fma_test_data): Add another test.
17777
17778 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17779
17780         * manual/threads.texi (Non-POSIX Extensions): New document
17781         node.  Document pthread_getattr_default_np and
17782         pthread_setattr_default_np.
17783
17784         * Versions.def (libpthread): Add GLIBC_2.18.
17785         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17787         Likewise.
17788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17789         Likewise.
17790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17791         Likewise.
17792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17793         Likewise.
17794         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17795         Likewise.
17796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17797         Likewise.
17798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17799         Likewise.
17800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17801         Likewise.
17802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17803         Likewise.
17804
17805 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17806
17807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17808         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17809
17810 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17811             H.J. Lu  <hjl.tools@gmail.com>
17812
17813         [BZ #15627]
17814         * sysdeps/x86_64/rtld-memset.c: Remove file.
17815         * sysdeps/x86_64/rtld-memset.S: New file.
17816
17817 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17818
17819         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17820         (test_in_one_mode): Take arguments for whether the rounding mode
17821         is supported for each floating-point type.
17822         (do_test): Pass new arguments to test_in_one_mode using
17823         ROUNDING_TESTS.
17824
17825 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17826
17827         * posix/tst-waitid.c (do_test): Distinguish different instances of
17828         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17829         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17830         before entering the kernel for waitpid.
17831
17832 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17833
17834         * NEWS: Fix note on clock function precision.  Text by Roland
17835         McGrath.
17836
17837 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17838
17839         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17840         it into place only when and if the sanity check passes.
17841
17842 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17843
17844         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17845         output for whether conversion result is exact.  Take argument
17846         indicating whether type is IBM long double.
17847         (round_for_all): Change need_exact field to ibm_ld.
17848         * stdlib/tst-strtod-round.c (struct exactness): New type.
17849         (struct test): Change bool ld_ok field to struct exactness exact.
17850         (TEST): Update all definitions for change to field.
17851         (tests): Regenerate array contents.
17852         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17853         field value.  Check for IBM long double here.
17854         (do_test): Update calls to test_in_one_mode.
17855
17856 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17857
17858         [BZ #12515]
17859         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17860         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17861
17862 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17863
17864         [BZ #15605]
17865         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17866         generated by the compiler on loop optimizations.
17867         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17868         general definitions.
17869
17870 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17871
17872         * math/bug-nextafter.c: Include <math-tests.h>.
17873         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17874         the relevant type.
17875         * math/bug-nexttoward.c: Include <math-tests.h>.
17876         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17877         the relevant type.
17878         * math/test-misc.c: Include <math-tests.h>.
17879         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17880         the relevant type.
17881
17882 2013-06-12  Andreas Jaeger  <aj@suse.de>
17883
17884         * po/ia.po: Update Interlingua translation from translation
17885         project.
17886
17887 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17888
17889         * include/fenv.h: Include stdbool.h.
17890         (struct rm_ctx): New structure.
17891         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17892         Define macro.
17893         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17894         (SET_RESTORE_ROUNDF): Likewise.
17895         (SET_RESTORE_ROUNDL): Likewise.
17896         (SET_RESTORE_ROUND_NOEX): Likewise.
17897         (SET_RESTORE_ROUND_NOEXF): Likewise.
17898         (SET_RESTORE_ROUND_NOEXL): Likewise.
17899         (SET_RESTORE_ROUND_53BIT): Likewise.
17900         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17901         (libc_feresetround_noexf_ctx): Likewise.
17902         (libc_feresetround_noexl_ctx): Likewise.
17903         (libc_feholdsetround_53bit_ctx): Likewise.
17904         (libc_feresetround_53bit_ctx): Likewise.
17905         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17906         (libc_feholdexcept_setround_sse_ctx): New function.
17907         (libc_fesetenv_sse_ctx): Likewise.
17908         (libc_feupdateenv_sse_ctx): Likewise.
17909         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17910         (libc_feholdexcept_setround_387_ctx): Likewise.
17911         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17912         (libc_feholdsetround_387_prec_ctx): Likewise.
17913         (libc_feholdsetround_387_ctx): Likewise.
17914         (libc_feholdsetround_387_53bit_ctx): Likewise.
17915         (libc_feholdsetround_sse_ctx): Likewise.
17916         (libc_feresetround_sse_ctx): Likewise.
17917         (libc_feresetround_387_ctx): Likewise.
17918         (libc_feupdateenv_387_ctx): Likewise.
17919         (libc_feholdexcept_setroundf_ctx): Define macro.
17920         (libc_fesetenvf_ctx): Likewise.
17921         (libc_feupdateenvf_ctx): Likewise.
17922         (libc_feholdsetroundf_ctx): Likewise.
17923         (libc_feresetroundf_ctx): Likewise.
17924         (libc_feholdexcept_setround_ctx): Likewise.
17925         (libc_fesetenv_ctx): Likewise.
17926         (libc_feupdateenv_ctx): Likewise.
17927         (libc_feholdsetround_ctx): Likewise.
17928         (libc_feresetround_ctx): Likewise.
17929         (libc_feholdexcept_setroundl_ctx): Likewise.
17930         (libc_feupdateenvl_ctx): Likewise.
17931         (libc_feholdsetroundl_ctx): Likewise.
17932         (libc_feresetroundl_ctx): Likewise.
17933         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17934         (libc_feresetround_53bit_ctx): Likewise.
17935
17936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937
17938         * locale/iso-639.def: Convert to UTF-8.
17939
17940 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17941
17942         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17943         (EXCEPTION_TESTS_double): Likewise.
17944         (EXCEPTION_TESTS_long_double): Likewise.
17945         (EXCEPTION_TESTS): Likewise.
17946         * math/libm-test.inc (test_exceptions): Only test exceptions if
17947         EXCEPTION_TESTS (FLOAT).
17948
17949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17950
17951         * benchtests/Makefile (string-bench): Add strcpy_chk and
17952         stpcpy_chk.
17953         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17954         * benchtests/bench-stpcpy_chk.c: New file.
17955         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17956         * benchtests/bench-strcpy_chk.c: New file.
17957         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17958         code.
17959         (do_test): Likewise.
17960
17961 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17962
17963         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17964         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17965         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17966         with tabs where appropriate.
17967         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17968         dl-procinfo.h.
17969         [PPC_PLATFORM_PPC440]: Likewise.
17970         [PPC_PLATFORM_PPC464]: Likewise.
17971         [PPC_PLATFORM_PPC476]: Likewise.
17972         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17973         ppc464, and ppc476 platform strings merging from ports/
17974         dl-procinfo.h.
17975
17976 2013-06-11  Andreas Schwab  <schwab@suse.de>
17977
17978         [BZ #14991]
17979         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17980         (from_ucs4_idx): Regenerate.
17981         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17982         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17983         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17984         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17985         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17986         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17987         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17988         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17989         from FROM_LOOP and TO_LOOP specific macros.
17990         (BODY): Handle combining characters.
17991         * iconvdata/BIG5HKSCS.irreversible: Update.
17992         * iconvdata/BIG5HKSCS.precomposed: New file.
17993         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17994         characters.
17995         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17996
17997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17998
17999         * include/sys/time.h: Fix indentation and add copyright header.
18000
18001         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18002         (do_test): Likewise.
18003         * string/test-memchr.c (do_one_test): Likewise.
18004         (do_test): Likewise.
18005         * string/test-memcmp.c (do_one_test): Likewise.
18006         (do_test): Likewise.
18007         * string/test-memcpy.c (do_one_test): Likewise.
18008         (do_test): Likewise.
18009         * string/test-memmem.c (do_one_test): Likewise.
18010         (do_test): Likewise.
18011         (do_random_tests): Likewise.
18012         * string/test-memmove.c (do_one_test): Likewise.
18013         (do_test): Likewise.
18014         * string/test-memset.c (do_one_test): Likewise.
18015         (do_test): Likewise.
18016         * string/test-rawmemchr.c (do_one_test): Likewise.
18017         (do_test): Likewise.
18018         * string/test-strcasecmp.c (do_one_test): Likewise.
18019         (do_test): Likewise.
18020         * string/test-strcasestr.c (do_one_test): Likewise.
18021         (do_test): Likewise.
18022         * string/test-strcat.c (do_one_test): Likewise.
18023         (do_test): Likewise.
18024         * string/test-strchr.c (do_one_test): Likewise.
18025         (do_test): Likewise.
18026         * string/test-strcmp.c (do_one_test): Likewise.
18027         (do_test): Likewise.
18028         * string/test-strcpy.c (do_one_test): Likewise.
18029         (do_test): Likewise.
18030         * string/test-string.h: Likewise.
18031         (test_init): Likewise.
18032         * string/test-strlen.c (do_one_test): Likewise.
18033         (do_test): Likewise.
18034         * string/test-strncasecmp.c (do_one_test): Likewise.
18035         (do_test): Likewise.
18036         * string/test-strncat.c (do_one_test): Likewise.
18037         (do_test): Likewise.
18038         * string/test-strncmp.c (do_one_test): Likewise.
18039         (do_test_limit): Likewise.
18040         (do_test): Likewise.
18041         * string/test-strncpy.c (do_one_test): Likewise.
18042         (do_test): Likewise.
18043         * string/test-strnlen.c (do_one_test): Likewise.
18044         (do_test): Likewise.
18045         * string/test-strpbrk.c (do_one_test): Likewise.
18046         (do_test): Likewise.
18047         * string/test-strrchr.c (do_one_test): Likewise.
18048         (do_test): Likewise.
18049         * string/test-strspn.c (do_one_test): Likewise.
18050         (do_test): Likewise.
18051         * string/test-strstr.c (do_one_test): Likewise.
18052         (do_test): Likewise.
18053
18054         * benchtests/Makefile (string-bench): Add string benchmarks.
18055         * benchtests/bench-bcopy-ifunc.c: New file.
18056         * benchtests/bench-bcopy.c: New file.
18057         * benchtests/bench-bzero-ifunc.c: New file.
18058         * benchtests/bench-bzero.c: New file.
18059         * benchtests/bench-memccpy-ifunc.c: New file.
18060         * benchtests/bench-memccpy.c: New file.
18061         * benchtests/bench-memchr-ifunc.c: New file.
18062         * benchtests/bench-memchr.c: New file.
18063         * benchtests/bench-memcmp-ifunc.c: New file.
18064         * benchtests/bench-memcmp.c: New file.
18065         * benchtests/bench-memmem-ifunc.c: New file.
18066         * benchtests/bench-memmem.c: New file.
18067         * benchtests/bench-memmove-ifunc.c: New file.
18068         * benchtests/bench-memmove.c: New file.
18069         * benchtests/bench-mempcpy-ifunc.c: New file.
18070         * benchtests/bench-mempcpy.c: New file.
18071         * benchtests/bench-memset-ifunc.c: New file.
18072         * benchtests/bench-memset.c: New file.
18073         * benchtests/bench-rawmemchr-ifunc.c: New file.
18074         * benchtests/bench-rawmemchr.c: New file.
18075         * benchtests/bench-stpcpy-ifunc.c: New file.
18076         * benchtests/bench-stpcpy.c: New file.
18077         * benchtests/bench-stpncpy-ifunc.c: New file.
18078         * benchtests/bench-stpncpy.c: New file.
18079         * benchtests/bench-strcasecmp-ifunc.c: New file.
18080         * benchtests/bench-strcasecmp.c: New file.
18081         * benchtests/bench-strcasestr-ifunc.c: New file.
18082         * benchtests/bench-strcasestr.c: New file.
18083         * benchtests/bench-strcat-ifunc.c: New file.
18084         * benchtests/bench-strcat.c: New file.
18085         * benchtests/bench-strchr-ifunc.c: New file.
18086         * benchtests/bench-strchr.c: New file.
18087         * benchtests/bench-strchrnul-ifunc.c: New file.
18088         * benchtests/bench-strchrnul.c: New file.
18089         * benchtests/bench-strcmp-ifunc.c: New file.
18090         * benchtests/bench-strcmp.c: New file.
18091         * benchtests/bench-strcpy-ifunc.c: New file.
18092         * benchtests/bench-strcpy.c: New file.
18093         * benchtests/bench-strcspn-ifunc.c: New file.
18094         * benchtests/bench-strcspn.c: New file.
18095         * benchtests/bench-strlen-ifunc.c: New file.
18096         * benchtests/bench-strlen.c: New file.
18097         * benchtests/bench-strncasecmp-ifunc.c: New file.
18098         * benchtests/bench-strncasecmp.c: New file.
18099         * benchtests/bench-strncat-ifunc.c: New file.
18100         * benchtests/bench-strncat.c: New file.
18101         * benchtests/bench-strncmp-ifunc.c: New file.
18102         * benchtests/bench-strncmp.c: New file.
18103         * benchtests/bench-strncpy-ifunc.c: New file.
18104         * benchtests/bench-strncpy.c: New file.
18105         * benchtests/bench-strnlen-ifunc.c: New file.
18106         * benchtests/bench-strnlen.c: New file.
18107         * benchtests/bench-strpbrk-ifunc.c: New file.
18108         * benchtests/bench-strpbrk.c: New file.
18109         * benchtests/bench-strrchr-ifunc.c: New file.
18110         * benchtests/bench-strrchr.c: New file.
18111         * benchtests/bench-strspn-ifunc.c: New file.
18112         * benchtests/bench-strspn.c: New file.
18113         * benchtests/bench-strstr-ifunc.c: New file.
18114         * benchtests/bench-strstr.c: New file.
18115
18116         * benchtests/Makefile: Disable parallel execution of targets.
18117         (string-bench): Add memcpy.
18118         (benchset): New variable to store a list of benchmark sets.
18119         (bench-func): Renamed from bench.
18120         (bench-set): New target.
18121         (bench): Depend on bench-func and bench-set.
18122         * benchtests/README: Add section on benchmark sets.
18123         * benchtests/bench-memcpy-ifunc.c: New file.
18124         * benchtests/bench-memcpy.c: New file.
18125         * benchtests/bench-string.h: New file.
18126
18127 2013-06-11  Andreas Schwab  <schwab@suse.de>
18128
18129         [BZ #15577]
18130         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18131         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18132         values in the triple.
18133         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18134         terminator in the group key.
18135
18136 2013-06-11  Andreas Jaeger  <aj@suse.de>
18137
18138         * po/zh_TW.po: Update Chinese (traditional) translation from
18139         translation project.
18140
18141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18142
18143         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18144         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18145         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18147         (clock_getcpuclockid): Likewise.
18148         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18149         Add weak_alias and libc_hidden_def.
18150         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18151         * rt/clock_gettime.c (clock_gettime): Rename to
18152         __clock_gettime.  Add weak_alias and libc_hidden_def.
18153         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18154         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18155         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18156         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18157         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18158         Likewise.
18159         * rt/clock_settime.c (clock_settime): Rename to
18160         __clock_settime.  Add weak_alias and libc_hidden_def.
18161         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18162
18163 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18164
18165         * mach/err_boot.sub: Remove trailing whitespace.
18166         * mach/err_ipc.sub: Likewise.
18167         * mach/err_mach.sub: Likewise.
18168
18169         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18170         (ROUNDING_TESTS_double): Likewise.
18171         (ROUNDING_TESTS_long_double): Likewise.
18172         (ROUNDING_TESTS): Likewise.
18173         * math/libm-test.inc: Include <math-tests.h>.
18174         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18178
18179 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18180
18181         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18182         of assigning.
18183
18184 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18185
18186         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18187         otherwise empty TRANS lines.
18188         * sysdeps/gnu/errlist.c: Regenerated.
18189
18190         * catgets/gencat.c (error_print): Use (void) in function
18191         definition.
18192         * crypt/crypt_util.c (__init_des): Likewise.
18193         * crypt/speeds.c (Stop): Likewise.
18194         (main): Likewise.
18195         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18196         * inet/ruserpass.c (token): Likewise.
18197         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18198         * intl/localealias.c (extend_alias_table): Likewise.
18199         * intl/plural-exp.c (init_germanic_plural): Likewise.
18200         * libio/fcloseall.c (__fcloseall): Likewise.
18201         * libio/genops.c (_IO_flush_all): Likewise.
18202         (_IO_flush_all_linebuffered): Likewise.
18203         (_IO_cleanup): Likewise.
18204         (_IO_iter_begin): Likewise.
18205         (_IO_iter_end): Likewise.
18206         (_IO_list_lock): Likewise.
18207         (_IO_list_unlock): Likewise.
18208         (_IO_list_resetlock): Likewise.
18209         * libio/getchar.c (getchar): Likewise.
18210         * libio/getchar_u.c (getchar_unlocked): Likewise.
18211         * libio/getwchar.c (getwchar): Likewise.
18212         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18213         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18214         * login/getpt.c (__getpt): Likewise.
18215         * login/tst-utmp.c (main): Likewise.
18216         * malloc/hooks.c (__malloc_check_init): Likewise.
18217         * malloc/malloc.c (__malloc_stats): Likewise.
18218         * malloc/mtrace.c (tr_break): Likewise.
18219         (mtrace): Likewise.
18220         (muntrace): Likewise.
18221         * misc/fstab.c (endfsent): Likewise.
18222         * misc/getclktck.c (__getclktck): Likewise.
18223         * misc/getdtsz.c (__getdtablesize): Likewise.
18224         * misc/gethostid.c (gethostid): Likewise.
18225         * misc/getpagesize.c (__getpagesize): Likewise.
18226         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18227         (__get_nprocs): Likewise.
18228         (__get_phys_pages): Likewise.
18229         (__get_avphys_pages): Likewise.
18230         * misc/getttyent.c (getttyent): Likewise.
18231         (setttyent): Likewise.
18232         (endttyent): Likewise.
18233         * misc/getusershell.c (getusershell): Likewise.
18234         (endusershell): Likewise.
18235         (setusershell): Likewise.
18236         (initshells): Likewise.
18237         * misc/hsearch.c (__hdestroy): Likewise.
18238         * misc/sync.c (sync): Likewise.
18239         * misc/syslog.c (closelog_internal): Likewise.
18240         (closelog): Likewise.
18241         * misc/ttyslot.c (ttyslot): Likewise.
18242         * misc/vhangup.c (vhangup): Likewise.
18243         * posix/fork.c (__fork): Likewise.
18244         * posix/getegid.c (__getegid): Likewise.
18245         * posix/geteuid.c (__geteuid): Likewise.
18246         * posix/getgid.c (__getgid): Likewise.
18247         * posix/getpid.c (__getpid): Likewise.
18248         * posix/getppid.c (__getppid): Likewise.
18249         * posix/getuid.c (__getuid): Likewise.
18250         * posix/pause.c (pause): Likewise.
18251         * posix/setpgrp.c (setpgrp): Likewise.
18252         * posix/setsid.c (__setsid): Likewise.
18253         * posix/test-vfork.c (noop): Likewise.
18254         * resolv/gethnamaddr.c (_endhtent): Likewise.
18255         (_gethtent): Likewise.
18256         (ht_endhostent): Likewise.
18257         (gethostent): Likewise.
18258         (dns_service): Likewise.
18259         * stdlib/drand48.c (drand48): Likewise.
18260         * stdlib/lrand48.c (lrand48): Likewise.
18261         * stdlib/mrand48.c (mrand48): Likewise.
18262         * stdlib/rand.c (rand): Likewise.
18263         * stdlib/random.c (__random): Likewise.
18264         * stdlib/setenv.c (clearenv): Likewise.
18265         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18266         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18267         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18268         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18269         (__get_nprocs): Likewise.
18270         (__get_phys_pages): Likewise.
18271         (__get_avphys_pages): Likewise.
18272         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18273         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18274         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18275         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18276         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18277         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18278         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18279         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18280         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18281         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18282         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18283         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18284         * sysdeps/posix/clock.c (clock): Likewise.
18285         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18286         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18287         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18288         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18289         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18291         (__get_nprocs_conf): Likewise.
18292         (__get_phys_pages): Likewise.
18293         (__get_avphys_pages): Likewise.
18294         * time/clock.c (clock): Likewise.
18295         * time/tzset.c (__tzname_max): Likewise.
18296
18297 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18298
18299         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18300         (__bswap_32): Do not use "register".
18301         * crypt/crypt.c (_ufc_doit_r): Likewise.
18302         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18303         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18304         * gmon/gmon.c (__monstartup): Likewise.
18305         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18306         * hurd/hurdmalloc.c (more_memory): Likewise.
18307         (malloc): Likewise.
18308         (free): Likewise.
18309         (realloc): Likewise.
18310         (malloc_fork_prepare): Likewise.
18311         (malloc_fork_parent): Likewise.
18312         (malloc_fork_child): Likewise.
18313         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18314         (_svcauth_des): Likewise.
18315         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18316         * inet/inet_net.c (inet_network): Likewise.
18317         * inet/inet_netof.c (inet_netof): Likewise.
18318         * inet/rcmd.c (__validuser2_sa): Likewise.
18319         * io/fts.c (fts_open): Likewise.
18320         (fts_load): Likewise.
18321         (fts_close): Likewise.
18322         (fts_read): Likewise.
18323         (fts_children): Likewise.
18324         (fts_build): Likewise.
18325         (fts_stat): Likewise.
18326         (fts_sort): Likewise.
18327         (fts_alloc): Likewise.
18328         (fts_lfree): Likewise.
18329         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18330         (_IO_file_xsgetn): Likewise.
18331         (_IO_file_xsgetn_mmap): Likewise.
18332         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18333         (_IO_cookie_write): Likewise.
18334         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18335         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18336         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18337         * malloc/obstack.c (_obstack_begin): Likewise.
18338         (_obstack_begin_1): Likewise.
18339         (_obstack_newchunk): Likewise.
18340         (_obstack_allocated_p): Likewise.
18341         (obstack_free): Likewise.
18342         (_obstack_memory_used): Likewise.
18343         * misc/getttyent.c (getttynam): Likewise.
18344         (getttyent): Likewise.
18345         (skip): Likewise.
18346         (value): Likewise.
18347         * misc/getusershell.c (initshells): Likewise.
18348         * misc/syslog.c (__vsyslog_chk): Likewise.
18349         * misc/ttyslot.c (ttyslot): Likewise.
18350         * nis/nis_hash.c (__nis_hash): Likewise.
18351         * posix/fnmatch_loop.c (FCT): Likewise.
18352         * posix/getconf.c (print_all): Likewise.
18353         (main): Likewise.
18354         * posix/getopt.c (exchange): Likewise.
18355         * posix/glob.c (globfree): Likewise.
18356         (prefix_array): Likewise.
18357         (__glob_pattern_type): Likewise.
18358         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18359         (NS_GET32): Likewise.
18360         (NS_PUT16): Likewise.
18361         (NS_PUT32): Likewise.
18362         * resolv/gethnamaddr.c (getanswer): Likewise.
18363         (gethostbyname2): Likewise.
18364         (gethostbyaddr): Likewise.
18365         (_gethtent): Likewise.
18366         (_gethtbyname2): Likewise.
18367         (_gethtbyaddr): Likewise.
18368         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18369         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18370         * resolv/res_init.c (__res_vinit): Likewise.
18371         (net_mask): Likewise.
18372         * resolv/res_mkquery.c (outchar): Likewise.
18373         (PRINT): Likewise.
18374         * stdio-common/printf_fp.c (outchar): Likewise.
18375         (PRINT): Likewise.
18376         * stdio-common/printf_fphex.c (outchar): Likewise.
18377         (PRINT): Likewise.
18378         * stdio-common/printf_size.c (outchar): Likewise.
18379         (PRINT): Likewise.
18380         * stdio-common/test_rdwr.c (main): Likewise.
18381         * stdio-common/tfformat.c (matches): Likewise.
18382         * stdio-common/vfprintf.c (outchar): Likewise.
18383         (printf_unknown): Likewise.
18384         (buffered_vfprintf): Likewise.
18385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18386         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18387         (ReadFile): Likewise.
18388         * stdlib/qsort.c (SWAP): Likewise.
18389         (_quicksort): Likewise.
18390         * stdlib/setenv.c (__add_to_environ): Likewise.
18391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18392         * stdlib/strtol_l.c (__strtol_l): Likewise.
18393         * stdlib/tst-strtod.c (main): Likewise.
18394         * stdlib/tst-strtol.c (main): Likewise.
18395         * stdlib/tst-strtoll.c (main): Likewise.
18396         * string/bits/string2.h (__strcmp_cc): Likewise.
18397         (__strcmp_cg): Likewise.
18398         (__strcspn_c1): Likewise.
18399         (__strcspn_c2): Likewise.
18400         (__strcspn_c3): Likewise.
18401         (__strspn_c1): Likewise.
18402         (__strspn_c2): Likewise.
18403         (__strspn_c3): Likewise.
18404         (__strsep_1c): Likewise.
18405         (__strsep_2c): Likewise.
18406         (__strsep_3c): Likewise.
18407         * string/memccpy.c (__memccpy): Likewise.
18408         * string/stpcpy.c (__stpcpy): Likewise.
18409         * string/strcmp.c (strcmp): Likewise.
18410         * string/strrchr.c (strrchr): Likewise.
18411         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18412         Likewise.
18413         * sysdeps/mach/hurd/getcwd.c
18414         (_hurd_canonicalize_directory_name_internal): Likewise.
18415         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18416         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18417         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18418         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18419         Likewise, in both definitions.
18420         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18421         definitions.
18422         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18423         64] (__bswap_64): Likewise.
18424         * time/test_time.c (main): Likewise.
18425         * time/tzfile.c (__tzfile_read): Likewise.
18426         (__tzfile_compute): Likewise.
18427         * time/tzset.c (__tzset_parse_tz): Likewise.
18428         (tzset_internal): Likewise.
18429         (compute_change): Likewise.
18430         * wcsmbs/wcscat.c (__wcscat): Likewise.
18431         * wcsmbs/wcschr.c (wcschr): Likewise.
18432         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18433         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18434         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18435         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18436         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18437         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18438         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18439         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18440         * wcsmbs/wmemset.c (wmemset): Likewise.
18441
18442 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18443
18444         * scripts/config.guess: Update to version 2013-05-16.
18445         * scripts/config.sub: Update to version 2013-04-24.
18446         * scripts/install-sh: Update to version 2011-11-20.07.
18447         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18448         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18449
18450 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18451
18452         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18453         * elf/sln.c: Likewise.
18454         * hurd/hurd/ioctl.h: Likewise.
18455         * hurd/hurdmalloc.c: Likewise.
18456         * hurd/xattr.c: Likewise.
18457         * include/shlib-compat.h: Likewise.
18458         * inet/ruserpass.c: Likewise.
18459         * libio/iofgets_u.c: Likewise.
18460         * libio/iofgetws_u.c: Likewise.
18461         * locale/programs/ld-identification.c: Likewise.
18462         * locale/programs/ld-time.c: Likewise.
18463         * mach/msg-destroy.c: Likewise.
18464         * nss/nss_files/files-netgrp.c: Likewise.
18465         * resolv/res_data.c: Likewise.
18466         * soft-fp/op-1.h: Likewise.
18467         * soft-fp/op-2.h: Likewise.
18468         * soft-fp/op-4.h: Likewise.
18469         * soft-fp/op-common.h: Likewise.
18470         * stdio-common/printf_fphex.c: Likewise.
18471         * stdlib/strtod_l.c: Likewise.
18472         * sunrpc/rpc/clnt.h: Likewise.
18473         * sysdeps/generic/framestate.c: Likewise.
18474         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18475         * sysdeps/i386/bsd-setjmp.S: Likewise.
18476         * sysdeps/i386/__longjmp.S: Likewise.
18477         * sysdeps/i386/setjmp.S: Likewise.
18478         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18483         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18485         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18488         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18491         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18494         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18496         * sysdeps/ieee754/support.c: Likewise.
18497         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18498         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18499         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18500         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18501         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18502         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18503         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18504         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18505         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18506         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18507         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18508         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18509         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18510         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18511         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18512         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18513         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18515
18516 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18517
18518         * posix/transbug.c: Remove executable mode.
18519
18520 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18521
18522         * crypt/speeds.c: Remove trailing whitespace.
18523         * dlfcn/default.c: Likewise.
18524         * elf/ifuncdep2.c: Likewise.
18525         * elf/ifuncmain1.c: Likewise.
18526         * elf/ifuncmain1vis.c: Likewise.
18527         * elf/testobj.h: Likewise.
18528         * elf/tst-stackguard1.c: Likewise.
18529         * gmon/sys/gmon.h: Likewise.
18530         * hurd/hurdmsg.c: Likewise.
18531         * hurd/new-fd.c: Likewise.
18532         * hurd/ports-get.c: Likewise.
18533         * iconvdata/ibm1008_420.c: Likewise.
18534         * inet/tst-getni1.c: Likewise.
18535         * inet/tst-getni2.c: Likewise.
18536         * libio/ioungetc.c: Likewise.
18537         * libio/wfiledoalloc.c: Likewise.
18538         * manual/libm-err-tab.pl: Likewise.
18539         * math/w_dremf.c: Likewise.
18540         * misc/ftruncate.c: Likewise.
18541         * posix/bug-glob2.c: Likewise.
18542         * posix/tst-pcre.c: Likewise.
18543         * posix/wait4.c: Likewise.
18544         * resolv/README: Likewise.
18545         * resolv/res_debug.h: Likewise.
18546         * resolv/tst-inet_ntop.c: Likewise.
18547         * setjmp/bug269-setjmp.c: Likewise.
18548         * soft-fp/extended.h: Likewise.
18549         * soft-fp/op-1.h: Likewise.
18550         * soft-fp/op-2.h: Likewise.
18551         * soft-fp/op-4.h: Likewise.
18552         * soft-fp/op-8.h: Likewise.
18553         * soft-fp/testit.c: Likewise.
18554         * stdio-common/bug16.c: Likewise.
18555         * stdlib/random.c: Likewise.
18556         * sunrpc/rpcsvc/rquota.x: Likewise.
18557         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18558         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18560         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18561         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18562         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18563         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18564         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18565         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18566         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18568         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18572         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18573         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18574         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18575         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18576         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18577         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18578         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18579         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18580         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18581         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18582         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18586         * sysdeps/ieee754/s_lib_version.c: Likewise.
18587         * sysdeps/mach/hurd/check_fds.c: Likewise.
18588         * sysdeps/mach/hurd/getsockname.c: Likewise.
18589         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18590         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18591         * sysdeps/powerpc/bits/link.h: Likewise.
18592         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18593         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18594         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18595         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18596         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18597         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18598         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18599         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18600         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18601         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18602         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18603         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18604         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18605         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18606         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18607         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18609         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18611         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18612         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18613         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18615         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18616         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18617         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18619         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18620         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18621         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18624         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18625         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18626         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18627         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18628         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18629         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18630         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18631         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18632         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18633         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18634         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18635         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18636         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18637         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18638         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18639         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18640         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18641         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18644         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18645         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18646         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18647         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18648         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18651         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18652         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18653         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18654         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18655         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18656         * sysdeps/powerpc/sysdep.h: Likewise.
18657         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18658         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18659         * sysdeps/sh/dl-trampoline.S: Likewise.
18660         * sysdeps/sh/memset.S: Likewise.
18661         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18662         * sysdeps/sh/strlen.S: Likewise.
18663         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18664         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18665         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18666         * sysdeps/sparc/sparc32/rem.S: Likewise.
18667         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18668         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18669         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18670         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18671         * sysdeps/sparc/sparc32/urem.S: Likewise.
18672         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18673         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18674         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18675         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18676         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18677         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18678         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18679         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18680         * sysdeps/unix/bsd/times.c: Likewise.
18681         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18682         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18686         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18687         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18688         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18690         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18692         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18693         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18694         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18695         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18696         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18698         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18699         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18700         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18701         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18702         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18703         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18704         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18705         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18706         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18707         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18708         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18709         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18710         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18711         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18712         * sysdeps/x86_64/strcspn.S: Likewise.
18713
18714 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18715
18716         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18717         generated file.  Regenerate properly from gen-translit.pl.
18718         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18719         locale/C-translit.h.
18720
18721 2013-06-05  Andreas Schwab  <schwab@suse.de>
18722
18723         [BZ #15100]
18724         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18725         week as 6 instead of -1.
18726         * time/tst-strptime.c (day_tests): Add test case.
18727
18728 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18729
18730         * sysdeps/generic/math_private.h
18731         (libc_feholdexcept_setround_53bit): Replace with
18732         libc_feholdsetround_53bit.
18733         (libc_feupdateenv_53bit): Replace with
18734         libc_feresetround_53bit.
18735         (SET_RESTORE_ROUND_53BIT): Adjust.
18736
18737 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18738
18739         * string/test-strchrnul.c: Add copyright header.
18740
18741         * posix/tst-getaddrinfo4.c: Increase test timeout.
18742
18743 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18744
18745         [BZ #15536]
18746         * math/libm-test.inc (MAX_EXP): Remove
18747         (MIN_EXP): Define.
18748         (ulp): Use MIN_EXP - MANT_DIG.
18749         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18750
18751 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18752
18753         * po/be.po: Revert last change.
18754         * po/zh_CN.po: Likewise.
18755         * po/header.pot: Likewise.
18756
18757 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18758
18759         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18760         link-libc-deps to empty as target-specific variable.
18761         * Makerules (link-libc-args): New variable.
18762         (libc-for-link): Likewise.
18763         (link-libc-deps): Likewise.
18764         (lib%.so): Depend on $(link-libc-deps).  Link with
18765         $(link-libc-args).
18766         (build-module): Link with $(link-libc-args).
18767         (build-module-asneeded): Likewise.
18768         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18769         list of objects.
18770         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18771         target-specific variable.
18772         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18773         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18774         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18775         libc.
18776         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18777         libc and ld.so.
18778         ($(objpfx)libpcprofile.so): Likewise.
18779         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18780         libc_nonshared.a.
18781         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18782         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18783         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18784         $(link-libc-deps).
18785         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18786         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18787         * login/Makefile ($(objpfx)libutil.so): Likewise.
18788         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18789         * math/Makefile ($(objpfx)libm.so): Likewise.
18790         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18791         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18792         variable instead of depending directly on libc.
18793         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18794         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18795         $(link-libc-deps).
18796         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18797         libc.
18798         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18799         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18800         ($(objpfx)libanl.so): Likewise.
18801         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18802         ld.so.
18803         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18804         $(link-libc-deps).
18805         * sysdeps/i386/fpu/Makefile: Remove file.
18806         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18807         ($(objpfx)libm.so): Remove dependency on ld.so.
18808
18809 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18810
18811         [BZ # 15553]
18812         * nis/yp_xdr.c (XDRMAXNAME): Define.
18813         (XDRMAXRECORD): Define.
18814         (xdr_domainname): Use XDRMAXNAME.
18815         (xdr_mapname): Likewise.
18816         (xdr_peername): Likewise.
18817         (xdr_keydat): Use XDRMAXRECORD.
18818         (xdr_valdat): Likewise.
18819
18820 2013-05-30  Jeff Law  <law@redhat.com>
18821
18822         [BZ #14256]
18823         * manual/errno.texi (ESTALE): Update to account for more than
18824         just NFS file systems.
18825         * sysdeps/gnu/errlist.c: Regenerated.
18826
18827 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18828
18829         [BZ #15465]
18830         * elf/Makefile (tests): Add tst-null-argv.
18831         (modules-names):  Add tst-null-argv-lib.
18832         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18833         (tst-null-argv-ENV): Set environment for tst-null-argv.
18834         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18835         (RTLD_PROGNAME): New macro.
18836         * elf/tst-null-argv.c: New test case.
18837         * elf/tst-null-argv-lib.c: Library for test case.
18838         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18839         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18840         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18841         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18842         * elf/dl-init.c (call_init): Likewise.
18843         (_dl_init): Likewise.
18844         * elf/dl-load.c (print_search_path): Likewise.
18845         (_dl_map_object): Likewise.
18846         * elf/dl-lookup.c (do_lookup_x): Likewise.
18847         (add_dependency): Likewise.
18848         (_dl_lookup_symbol_x): Likewise.
18849         (_dl_debug_bindings): Likewise.
18850         * elf/dl-open.c (_dl_show_scope): Likewise.
18851         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18852         * elf/dl-version.c (match_symbol): Likewise.
18853         (_dl_check_map_versions): Likewise.
18854         * elf/rtld.c (dl_main): Likewise.
18855         (print_unresolved): Use RTLD_PROGNAME.
18856         (print_missing_version): Likewise.
18857         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18858         (elf_machine_rela): Likewise.
18859         * sysdeps/powerpc/powerpc32/dl-machine.c
18860         (__process_machine_rela): Likewise.
18861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18862         Likewise.
18863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18864         Likewise.
18865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18866         Likewise.
18867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18869         Likewise.
18870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18871         Likewise.
18872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18873
18874 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18875
18876         * po/be.po: Add descriptive title.
18877         * po/zh_CN.po: Likewise.
18878         * po/header.pot: Likewise.
18879
18880 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18881
18882         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18883         error message.
18884         (enlarge_archive): Likewise.
18885
18886 2013-05-28  Ben North  <ben@redfrontdoor.org>
18887
18888         * manual/arith.texi (frexp): It is the magnitude of the return
18889         value which lies in [0.5, 1), not the return value itself.
18890
18891 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18892
18893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18894
18895 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18896
18897         * stdio-common/bug26.c (main): Correct fscanf template.
18898
18899         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18900         declare _dl_skip_args.
18901
18902         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18903         Don't declare.
18904
18905         * manual/platform.texi: Add missing @end deftypefun.
18906
18907 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18908
18909         [BZ #15529]
18910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18911         bit of mantissa of 2^16382.
18912         * math/libm-test.inc (hypot_test_data): Add more tests.
18913
18914         * math/libm-test.inc: Add drem and pow10 to list of tested
18915         functions.
18916         (pow10_test): New function.
18917         (drem_test): Likewise.
18918         (drem_test_tonearest): Likewise.
18919         (drem_test_towardzero): Likewise.
18920         (drem_test_downward): Likewise.
18921         (drem_test_upward): Likewise.
18922         (main): Call the new functions.
18923
18924         * math/libm-test.inc (finite_test_data): Remove.
18925         (finite_test): Run tests from isfinite_test_data.
18926         (gamma_test_data): Remove.
18927         (gamma_test): Run tests from lgamma_test_data.
18928         * sysdeps/i386/fpu/libm-test-ulps: Update.
18929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930
18931 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18932
18933         * manual/platform.texi: Add PowerPC PPR function set documentation.
18934         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18935         implementation.
18936
18937 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18938
18939         * math/libm-test.inc (MAX_EXP): Define.
18940         (ULPDIFF): Define.
18941         (ulp): New function.
18942         (check_float_internal): Use ULPDIFF.
18943         (cpow_test): Disable failing test.
18944         (check_ulp): Test ulp() implemetnation.
18945         (main): Call check_ulp before starting tests.
18946
18947 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18948
18949         * math/gen-libm-test.pl (generate_testfile): Do not handle
18950         START_DATA and END_DATA.
18951         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18952         END_DATA.
18953         (acos_tonearest_test_data): Likewise.
18954         (acos_towardzero_test_data): Likewise.
18955         (acos_downward_test_data): Likewise.
18956         (acos_upward_test_data): Likewise.
18957         (acosh_test_data): Likewise.
18958         (asin_test_data): Likewise.
18959         (asin_tonearest_test_data): Likewise.
18960         (asin_towardzero_test_data): Likewise.
18961         (asin_downward_test_data): Likewise.
18962         (asin_upward_test_data): Likewise.
18963         (asinh_test_data): Likewise.
18964         (atan_test_data): Likewise.
18965         (atanh_test_data): Likewise.
18966         (atan2_test_data): Likewise.
18967         (cabs_test_data): Likewise.
18968         (cacos_test_data): Likewise.
18969         (cacosh_test_data): Likewise.
18970         (carg_test_data): Likewise.
18971         (casin_test_data): Likewise.
18972         (casinh_test_data): Likewise.
18973         (catan_test_data): Likewise.
18974         (catanh_test_data): Likewise.
18975         (cbrt_test_data): Likewise.
18976         (ccos_test_data): Likewise.
18977         (ccosh_test_data): Likewise.
18978         (ceil_test_data): Likewise.
18979         (cexp_test_data): Likewise.
18980         (cimag_test_data): Likewise.
18981         (clog_test_data): Likewise.
18982         (clog10_test_data): Likewise.
18983         (conj_test_data): Likewise.
18984         (copysign_test_data): Likewise.
18985         (cos_test_data): Likewise.
18986         (cos_tonearest_test_data): Likewise.
18987         (cos_towardzero_test_data): Likewise.
18988         (cos_downward_test_data): Likewise.
18989         (cos_upward_test_data): Likewise.
18990         (cosh_test_data): Likewise.
18991         (cosh_tonearest_test_data): Likewise.
18992         (cosh_towardzero_test_data): Likewise.
18993         (cosh_downward_test_data): Likewise.
18994         (cosh_upward_test_data): Likewise.
18995         (cpow_test_data): Likewise.
18996         (cproj_test_data): Likewise.
18997         (creal_test_data): Likewise.
18998         (csin_test_data): Likewise.
18999         (csinh_test_data): Likewise.
19000         (csqrt_test_data): Likewise.
19001         (ctan_test_data): Likewise.
19002         (ctan_tonearest_test_data): Likewise.
19003         (ctan_towardzero_test_data): Likewise.
19004         (ctan_downward_test_data): Likewise.
19005         (ctan_upward_test_data): Likewise.
19006         (ctanh_test_data): Likewise.
19007         (ctanh_tonearest_test_data): Likewise.
19008         (ctanh_towardzero_test_data): Likewise.
19009         (ctanh_downward_test_data): Likewise.
19010         (ctanh_upward_test_data): Likewise.
19011         (erf_test_data): Likewise.
19012         (erfc_test_data): Likewise.
19013         (exp_test_data): Likewise.
19014         (exp_tonearest_test_data): Likewise.
19015         (exp_towardzero_test_data): Likewise.
19016         (exp_downward_test_data): Likewise.
19017         (exp_upward_test_data): Likewise.
19018         (exp10_test_data): Likewise.
19019         (exp2_test_data): Likewise.
19020         (expm1_test_data): Likewise.
19021         (fabs_test_data): Likewise.
19022         (fdim_test_data): Likewise.
19023         (finite_test_data): Likewise.
19024         (floor_test_data): Likewise.
19025         (fma_test_data): Likewise.
19026         (fma_towardzero_test_data): Likewise.
19027         (fma_downward_test_data): Likewise.
19028         (fma_upward_test_data): Likewise.
19029         (fmax_test_data): Likewise.
19030         (fmin_test_data): Likewise.
19031         (fmod_test_data): Likewise.
19032         (fpclassify_test_data): Likewise.
19033         (frexp_test_data): Likewise.
19034         (gamma_test_data): Likewise.
19035         (hypot_test_data): Likewise.
19036         (ilogb_test_data): Likewise.
19037         (isfinite_test_data): Likewise.
19038         (isgreater_test_data): Likewise.
19039         (isgreaterequal_test_data): Likewise.
19040         (isinf_test_data): Likewise.
19041         (isless_test_data): Likewise.
19042         (islessequal_test_data): Likewise.
19043         (islessgreater_test_data): Likewise.
19044         (isnan_test_data): Likewise.
19045         (isnormal_test_data): Likewise.
19046         (issignaling_test_data): Likewise.
19047         (isunordered_test_data): Likewise.
19048         (j0_test_data): Likewise.
19049         (j1_test_data): Likewise.
19050         (jn_test_data): Likewise.
19051         (ldexp_test_data): Likewise.
19052         (lgamma_test_data): Likewise.
19053         (lrint_test_data): Likewise.
19054         (lrint_tonearest_test_data): Likewise.
19055         (lrint_towardzero_test_data): Likewise.
19056         (lrint_downward_test_data): Likewise.
19057         (lrint_upward_test_data): Likewise.
19058         (llrint_test_data): Likewise.
19059         (llrint_tonearest_test_data): Likewise.
19060         (llrint_towardzero_test_data): Likewise.
19061         (llrint_downward_test_data): Likewise.
19062         (llrint_upward_test_data): Likewise.
19063         (log_test_data): Likewise.
19064         (log10_test_data): Likewise.
19065         (log1p_test_data): Likewise.
19066         (log2_test_data): Likewise.
19067         (logb_test_data): Likewise.
19068         (logb_downward_test_data): Likewise.
19069         (lround_test_data): Likewise.
19070         (llround_test_data): Likewise.
19071         (modf_test_data): Likewise.
19072         (nearbyint_test_data): Likewise.
19073         (nextafter_test_data): Likewise.
19074         (nexttoward_test_data): Likewise.
19075         (pow_test_data): Likewise.
19076         (pow_tonearest_test_data): Likewise.
19077         (pow_towardzero_test_data): Likewise.
19078         (pow_downward_test_data): Likewise.
19079         (pow_upward_test_data): Likewise.
19080         (remainder_test_data): Likewise.
19081         (remainder_tonearest_test_data): Likewise.
19082         (remainder_towardzero_test_data): Likewise.
19083         (remainder_downward_test_data): Likewise.
19084         (remainder_upward_test_data): Likewise.
19085         (remquo_test_data): Likewise.
19086         (rint_test_data): Likewise.
19087         (rint_tonearest_test_data): Likewise.
19088         (rint_towardzero_test_data): Likewise.
19089         (rint_downward_test_data): Likewise.
19090         (rint_upward_test_data): Likewise.
19091         (round_test_data): Likewise.
19092         (scalb_test_data): Likewise.
19093         (scalbn_test_data): Likewise.
19094         (scalbln_test_data): Likewise.
19095         (signbit_test_data): Likewise.
19096         (sin_test_data): Likewise.
19097         (sin_tonearest_test_data): Likewise.
19098         (sin_towardzero_test_data): Likewise.
19099         (sin_downward_test_data): Likewise.
19100         (sin_upward_test_data): Likewise.
19101         (sincos_test_data): Likewise.
19102         (sinh_test_data): Likewise.
19103         (sinh_tonearest_test_data): Likewise.
19104         (sinh_towardzero_test_data): Likewise.
19105         (sinh_downward_test_data): Likewise.
19106         (sinh_upward_test_data): Likewise.
19107         (sqrt_test_data): Likewise.
19108         (tan_test_data): Likewise.
19109         (tan_tonearest_test_data): Likewise.
19110         (tan_towardzero_test_data): Likewise.
19111         (tan_downward_test_data): Likewise.
19112         (tan_upward_test_data): Likewise.
19113         (tanh_test_data): Likewise.
19114         (tgamma_test_data): Likewise.
19115         (trunc_test_data): Likewise.
19116         (y0_test_data): Likewise.
19117         (y1_test_data): Likewise.
19118         (yn_test_data): Likewise.
19119         (significand_test_data): Likewise.
19120
19121         * math/gen-libm-test.pl (@functions): Remove variable.
19122         (generate_testfile): Don't handle START and END lines.
19123         * math/libm-test.inc (START): New macro.
19124         (END): Likewise.
19125         (END_COMPLEX): Likewise.
19126         (acos_test): Use END macro without arguments.
19127         (acos_test_tonearest): Likewise.
19128         (acos_test_towardzero): Likewise.
19129         (acos_test_downward): Likewise.
19130         (acos_test_upward): Likewise.
19131         (acosh_test): Likewise.
19132         (asin_test): Likewise.
19133         (asin_test_tonearest): Likewise.
19134         (asin_test_towardzero): Likewise.
19135         (asin_test_downward): Likewise.
19136         (asin_test_upward): Likewise.
19137         (asinh_test): Likewise.
19138         (atan_test): Likewise.
19139         (atanh_test): Likewise.
19140         (atan2_test): Likewise.
19141         (cabs_test): Likewise.
19142         (cacos_test): Use END_COMPLEX macro without arguments.
19143         (cacosh_test): Likewise.
19144         (carg_test): Use END macro without arguments.
19145         (casin_test): Use END_COMPLEX macro without arguments.
19146         (casinh_test): Likewise.
19147         (catan_test): Likewise.
19148         (catanh_test): Likewise.
19149         (cbrt_test): Use END macro without arguments.
19150         (ccos_test): Use END_COMPLEX macro without arguments.
19151         (ccosh_test): Likewise.
19152         (ceil_test): Use END macro without arguments.
19153         (cexp_test): Use END_COMPLEX macro without arguments.
19154         (cimag_test): Use END macro without arguments.
19155         (clog_test): Use END_COMPLEX macro without arguments.
19156         (clog10_test): Likewise.
19157         (conj_test): Likewise.
19158         (copysign_test): Use END macro without arguments.
19159         (cos_test): Likewise.
19160         (cos_test_tonearest): Likewise.
19161         (cos_test_towardzero): Likewise.
19162         (cos_test_downward): Likewise.
19163         (cos_test_upward): Likewise.
19164         (cosh_test): Likewise.
19165         (cosh_test_tonearest): Likewise.
19166         (cosh_test_towardzero): Likewise.
19167         (cosh_test_downward): Likewise.
19168         (cosh_test_upward): Likewise.
19169         (cpow_test): Use END_COMPLEX macro without arguments.
19170         (cproj_test): Likewise.
19171         (creal_test): Use END macro without arguments.
19172         (csin_test): Use END_COMPLEX macro without arguments.
19173         (csinh_test): Likewise.
19174         (csqrt_test): Likewise.
19175         (ctan_test): Likewise.
19176         (ctan_test_tonearest): Likewise.
19177         (ctan_test_towardzero): Likewise.
19178         (ctan_test_downward): Likewise.
19179         (ctan_test_upward): Likewise.
19180         (ctanh_test): Likewise.
19181         (ctanh_test_tonearest): Likewise.
19182         (ctanh_test_towardzero): Likewise.
19183         (ctanh_test_downward): Likewise.
19184         (ctanh_test_upward): Likewise.
19185         (erf_test): Use END macro without arguments.
19186         (erfc_test): Likewise.
19187         (exp_test): Likewise.
19188         (exp_test_tonearest): Likewise.
19189         (exp_test_towardzero): Likewise.
19190         (exp_test_downward): Likewise.
19191         (exp_test_upward): Likewise.
19192         (exp10_test): Likewise.
19193         (exp2_test): Likewise.
19194         (expm1_test): Likewise.
19195         (fabs_test): Likewise.
19196         (fdim_test): Likewise.
19197         (finite_test): Likewise.
19198         (floor_test): Likewise.
19199         (fma_test): Likewise.
19200         (fma_test_towardzero): Likewise.
19201         (fma_test_downward): Likewise.
19202         (fma_test_upward): Likewise.
19203         (fmax_test): Likewise.
19204         (fmin_test): Likewise.
19205         (fmod_test): Likewise.
19206         (fpclassify_test): Likewise.
19207         (frexp_test): Likewise.
19208         (gamma_test): Likewise.
19209         (hypot_test): Likewise.
19210         (ilogb_test): Likewise.
19211         (isfinite_test): Likewise.
19212         (isgreater_test): Likewise.
19213         (isgreaterequal_test): Likewise.
19214         (isinf_test): Likewise.
19215         (isless_test): Likewise.
19216         (islessequal_test): Likewise.
19217         (islessgreater_test): Likewise.
19218         (isnan_test): Likewise.
19219         (isnormal_test): Likewise.
19220         (issignaling_test): Likewise.
19221         (isunordered_test): Likewise.
19222         (j0_test): Likewise.
19223         (j1_test): Likewise.
19224         (jn_test): Likewise.
19225         (ldexp_test): Likewise.
19226         (lgamma_test): Likewise.
19227         (lrint_test): Likewise.
19228         (lrint_test_tonearest): Likewise.
19229         (lrint_test_towardzero): Likewise.
19230         (lrint_test_downward): Likewise.
19231         (lrint_test_upward): Likewise.
19232         (llrint_test): Likewise.
19233         (llrint_test_tonearest): Likewise.
19234         (llrint_test_towardzero): Likewise.
19235         (llrint_test_downward): Likewise.
19236         (llrint_test_upward): Likewise.
19237         (log_test): Likewise.
19238         (log10_test): Likewise.
19239         (log1p_test): Likewise.
19240         (log2_test): Likewise.
19241         (logb_test): Likewise.
19242         (logb_test_downward): Likewise.
19243         (lround_test): Likewise.
19244         (llround_test): Likewise.
19245         (modf_test): Likewise.
19246         (nearbyint_test): Likewise.
19247         (nextafter_test): Likewise.
19248         (nexttoward_test): Likewise.
19249         (pow_test): Likewise.
19250         (pow_test_tonearest): Likewise.
19251         (pow_test_towardzero): Likewise.
19252         (pow_test_downward): Likewise.
19253         (pow_test_upward): Likewise.
19254         (remainder_test): Likewise.
19255         (remainder_test_tonearest): Likewise.
19256         (remainder_test_towardzero): Likewise.
19257         (remainder_test_downward): Likewise.
19258         (remainder_test_upward): Likewise.
19259         (remquo_test): Likewise.
19260         (rint_test): Likewise.
19261         (rint_test_tonearest): Likewise.
19262         (rint_test_towardzero): Likewise.
19263         (rint_test_downward): Likewise.
19264         (rint_test_upward): Likewise.
19265         (round_test): Likewise.
19266         (scalb_test): Likewise.
19267         (scalbn_test): Likewise.
19268         (scalbln_test): Likewise.
19269         (signbit_test): Likewise.
19270         (sin_test): Likewise.
19271         (sin_test_tonearest): Likewise.
19272         (sin_test_towardzero): Likewise.
19273         (sin_test_downward): Likewise.
19274         (sin_test_upward): Likewise.
19275         (sincos_test): Likewise.
19276         (sinh_test): Likewise.
19277         (sinh_test_tonearest): Likewise.
19278         (sinh_test_towardzero): Likewise.
19279         (sinh_test_downward): Likewise.
19280         (sinh_test_upward): Likewise.
19281         (sqrt_test): Likewise.
19282         (tan_test): Likewise.
19283         (tan_test_tonearest): Likewise.
19284         (tan_test_towardzero): Likewise.
19285         (tan_test_downward): Likewise.
19286         (tan_test_upward): Likewise.
19287         (tanh_test): Likewise.
19288         (tgamma_test): Likewise.
19289         (trunc_test): Likewise.
19290         (y0_test): Likewise.
19291         (y1_test): Likewise.
19292         (yn_test): Likewise.
19293         (significand_test): Likewise.
19294
19295 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19296
19297         [BZ #15381]
19298         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19299
19300 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19301
19302         [BZ #14894]
19303         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19304         __ppc_mdoio and __ppc_mdoom.
19305         * manual/platform.texi: Document new functions __ppc_yield,
19306         __ppc_mdoio and __ppc_mdoom.
19307
19308 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19309
19310         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19311         (main): Mention "tls" pseudo-hwcap is legacy.
19312         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19313
19314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19315
19316         * math/gen-libm-test.pl (parse_args): Output only string of
19317         arguments as text for test name, not full call or descriptions of
19318         tests for extra outputs.
19319         (generate_testfile): Do not pass function name to parse_args.
19320         Generate this_func variable from START.
19321         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19322         field to arg_str.
19323         (struct test_ff_f_data): Likewise.
19324         (test_ff_f_data_nexttoward): Likewise.
19325         (struct test_fi_f_data): Likewise.
19326         (struct test_fl_f_data): Likewise.
19327         (struct test_if_f_data): Likewise.
19328         (struct test_fff_f_data): Likewise.
19329         (struct test_c_f_data): Likewise.
19330         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19331         (struct test_fF_f1_data): Likewise.
19332         (struct test_ffI_f1_data): Likewise.
19333         (struct test_c_c_data): Rename test_name field to arg_str.
19334         (struct test_cc_c_data): Likewise.
19335         (struct test_f_i_data): Likewise.
19336         (struct test_ff_i_data): Likewise.
19337         (struct test_f_l_data): Likewise.
19338         (struct test_f_L_data): Likewise.
19339         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19340         and extra2_name.
19341         (COMMON_TEST_SETUP): New macro.
19342         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19343         (COMMON_TEST_CLEANUP): Likewise.
19344         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19345         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19346         macros.
19347         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19348         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19349         macros.
19350         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19351         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19352         cleanup macros.
19353         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19354         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19355         macros.
19356         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19357         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19358         macros.
19359         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19360         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19361         cleanup macros.
19362         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19363         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19364         cleanup macros.
19365         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19366         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19367         cleanup macros.
19368         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19369         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19370         macros.
19371         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19372         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19373         macros.
19374         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19375         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19376         macros.
19377         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19378         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19379         cleanup macros.
19380         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19381         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19382         cleanup macros.
19383         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19384         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19385         macros.
19386         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19387         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19388         cleanup macros.
19389         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19390         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19391         macros.
19392         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19393         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19394         macros.
19395         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19396         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19397         cleanup macros.
19398         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19399
19400 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19401
19402         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19403         to _sifields.sigfault.
19404         (si_addr_lsb): Define new macro.
19405         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19408
19409 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19410
19411         [BZ #15441]
19412         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19413         returns -1.
19414         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19415         null return -1.
19416         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19417         loading the domain.
19418
19419 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19420
19421         * math/gen-libm-test.pl (parse_args): Do not include expected
19422         result in test name.
19423         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19425         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19426         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19427         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19429
19430 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19431
19432         * benchtests/Makefile: Sort function entries.
19433
19434         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19435         tanh, asinh, acosh, atanh.
19436         * benchtests/acos-inputs: New file.
19437         * benchtests/acosh-inputs: New file.
19438         * benchtests/asin-inputs: New file.
19439         * benchtests/asinh-inputs: New file.
19440         * benchtests/atanh-inputs: New file.
19441         * benchtests/cosh-inputs: New file.
19442         * benchtests/log-inputs: New file.
19443         * benchtests/sinh-inputs: New file.
19444         * benchtests/tanh-inputs: New file.
19445
19446 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19447
19448         [BZ #15339]
19449         * posix/tst-getaddrinfo4.c: New test.
19450         * posix/Makefile (tests): Add it.
19451
19452 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19453
19454         [BZ #15339]
19455         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19456         when no services were used.
19457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19458         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19459
19460 2013-05-21  Andreas Schwab  <schwab@suse.de>
19461
19462         [BZ #15014]
19463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19464         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19465         successful.
19466         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19467         redundant variable declarations and reallocation of buffer when
19468         parsing as IPv6 address.  Always set NSS status when called from
19469         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19470         buffer too small.  Correct computation of needed size.
19471         * nss/Makefile (tests): Add test-digits-dots.
19472         * nss/test-digits-dots.c: New test.
19473
19474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19475
19476         * benchtests/Makefile: Remove instructions for adding
19477         benchmark tests.
19478         * benchtests/README: New file to explain how to execute and
19479         enhance the benchmark tests.
19480
19481 2013-05-21  Andreas Schwab  <schwab@suse.de>
19482
19483         [BZ #15493]
19484         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19485         * setjmp/tst-sigsetjmp.c: New test.
19486
19487 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19488
19489         * sysdeps/x86_64/memset.S (memset): New implementation.
19490         (__bzero): Likewise.
19491         (__memset_tail): New function.
19492
19493 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19494
19495         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19496         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19497         __memcpy_sse2_unaligned ifunc selection.
19498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19499         Add memcpy-sse2-unaligned.S.
19500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19501         Add: __memcpy_sse2_unaligned.
19502
19503 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19504
19505         [BZ #15490]
19506         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19507         math_force_eval before restoring floating-point envrionment.
19508         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19510         Likewise.
19511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19512         <math_private.h>.
19513         (__nearbyintl): Use math_force_eval before restoring
19514         floating-point environment.
19515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19516
19517         * math/gen-libm-test.pl (special_functions): Remove.
19518         (parse_args): Don't handle TEST_extra.  Handle functions with no
19519         return value.
19520         * math/libm-test.inc (struct test_sincos_data): Replace with
19521         struct test_fFF_11_data.
19522         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19523         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19524         (sincos_test_data): Change element type to struct
19525         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19526         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19527         RUN_TEST_LOOP_sincos.
19528         * math/README.libm-test: Don't mention special handling of
19529         individual functions.
19530         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19532         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19534         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19536
19537         * math/gen-libm-test.pl (get_variable): Remove function.
19538         (parse_args): Don't show pointer parameters to call in test
19539         names.  Use "extra output N" in test names for extra outputs
19540         rather than naming variables.
19541
19542 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19543
19544         [BZ #15488]
19545         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19546         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19547         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19548         double tests.
19549         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19550         disable.
19551         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19552         check_long_double.
19553
19554         * math/gen-libm-test.pl (@tests): Remove variable.
19555         ($count): Likewise.
19556         (new_test): Remove function.
19557         (show_exceptions): New function.
19558         (special_functions): Use show_exceptions instead of new_test.
19559         (parse_args): Likewise.
19560         (generate_testfile): Pass only function name in generated call to
19561         print_max_error or print_complex_max_error.
19562         (get_ulps): Do not handle complex tests specially.
19563         (output_test): Rename to ...
19564         (get_all_ulps_for_test): ... this.  Return a string rather than
19565         printing to a file.  Require ulps to be present.
19566         (output_ulps): Generate arrays rather than #defines.
19567         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19568         (struct ulp_data): New type.
19569         (BUILD_COMPLEX_ULP): Remove macro.
19570         (compare_ulp_data): New function.
19571         (find_ulps): Likewise.
19572         (find_test_ulps): Likewise.
19573         (find_function_ulps): Likewise.
19574         (find_complex_function_ulps): Likewise.
19575         (print_max_error): Determine allowed ulps using
19576         find_function_ulps.
19577         (print_complex_max_error): Determine allowed ulps using
19578         find_complex_function_ulps.
19579         (check_float_internal): Determine max ulps using find_test_ulps.
19580         (check_float): Do not take max_ulp parameter.  Update call to
19581         check_float_internal.
19582         (check_complex): Likewise.
19583         (check_int): Do not take max_ulp parameter.
19584         (check_long): Likewise.
19585         (check_bool): Likewise.
19586         (check_longlong): Likewise.
19587         (struct test_f_f_data): Remove max_ulp field.
19588         (struct test_ff_f_data): Likewise.
19589         (struct test_ff_f_data_nexttoward): Likewise.
19590         (struct test_fi_f_data): Likewise.
19591         (struct test_fl_f_data): Likewise.
19592         (struct test_if_f_data): Likewise.
19593         (struct test_fff_f_data): Likewise.
19594         (struct test_c_f_data): Likewise.
19595         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19596         (struct test_fF_f1_data): Likewise.
19597         (struct test_ffI_f1_data): Likewise.
19598         (struct test_c_c_data): Remove max_ulp field.
19599         (struct test_cc_c_data): Likewise.
19600         (struct test_f_i_data): Likewise.
19601         (struct test_ff_i_data): Likewise.
19602         (struct test_f_l_data): Likewise.
19603         (struct test_f_L_data): Likewise.
19604         (struct test_sincos_data): Likewise.
19605         (RUN_TEST_f_f): Do not handle ulps.
19606         (RUN_TEST_LOOP_f_f): Likewise.
19607         (RUN_TEST_2_f): Likewise.
19608         (RUN_TEST_LOOP_2_f): Likewise.
19609         (RUN_TEST_fff_f): Likewise.
19610         (RUN_TEST_LOOP_fff_f): Likewise.
19611         (RUN_TEST_c_f): Likewise.
19612         (RUN_TEST_LOOP_c_f): Likewise.
19613         (RUN_TEST_f_f1): Likewise.
19614         (RUN_TEST_LOOP_f_f1): Likewise.
19615         (RUN_TEST_fF_f1): Likewise.
19616         (RUN_TEST_LOOP_fF_f1): Likewise.
19617         (RUN_TEST_fI_f1): Likewise.
19618         (RUN_TEST_LOOP_fI_f1): Likewise.
19619         (RUN_TEST_ffI_f1): Likewise.
19620         (RUN_TEST_LOOP_ffI_f1): Likewise.
19621         (RUN_TEST_c_c): Likewise.
19622         (RUN_TEST_LOOP_c_c): Likewise.
19623         (RUN_TEST_cc_c): Likewise.
19624         (RUN_TEST_LOOP_cc_c): Likewise.
19625         (RUN_TEST_f_i): Likewise.
19626         (RUN_TEST_LOOP_f_i): Likewise.
19627         (RUN_TEST_f_i_tg): Likewise.
19628         (RUN_TEST_LOOP_f_i_tg): Likewise.
19629         (RUN_TEST_ff_i_tg): Likewise.
19630         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19631         (RUN_TEST_f_b): Likewise.
19632         (RUN_TEST_LOOP_f_b): Likewise.
19633         (RUN_TEST_f_b_tg): Likewise.
19634         (RUN_TEST_LOOP_f_b_tg): Likewise.
19635         (RUN_TEST_f_l): Likewise.
19636         (RUN_TEST_LOOP_f_l): Likewise.
19637         (RUN_TEST_f_L): Likewise.
19638         (RUN_TEST_LOOP_f_L): Likewise.
19639         (RUN_TEST_sincos): Likewise.
19640         (RUN_TEST_LOOP_sincos): Likewise.
19641
19642 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19643
19644         [BZ #15480]
19645         [BZ #15485]
19646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19647         main case of finite arguments, set rounding mode to FE_TONEAREST
19648         and discard exceptions.
19649         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19650         exceptions.
19651         (remainder_tonearest_test_data): New variable.
19652         (remainder_test_tonearest): New function.
19653         (remainder_towardzero_test_data): New variable.
19654         (remainder_test_towardzero): New function.
19655         (remainder_downward_test_data): New variable.
19656         (remainder_test_downward): New function.
19657         (remainder_upward_test_data): New variable.
19658         (remainder_test_upward): New function.
19659         (main): Call the new test functions.
19660
19661         * math/libm-test.inc (struct test_f_f1_data): Remove field
19662         extra_init.
19663         (struct test_fF_f1_data): Likewise.
19664         (struct test_ffI_f1_data): Likewise.
19665         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19666         based on value of EXTRA_EXPECTED.
19667         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19668         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19669         EXTRA_VAR based on value of EXTRA_EXPECTED.
19670         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19671         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19672         EXTRA_VAR based on value of EXTRA_EXPECTED.
19673         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19674         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19675         EXTRA_VAR based on value of EXTRA_EXPECTED.
19676         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19677         * math/gen-libm-test.pl (parse_args): Don't output initializers
19678         for extra output values.
19679
19680         * math/libm-test.inc (check_int): Expect result to be exactly
19681         equal to expected value and do not handle ulps.
19682         (check_long): Likewise.
19683         (check_longlong): Likewise.
19684
19685         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19686         exceptions.
19687         (cimag_test_data): Likewise.
19688         (conj_test_data): Likewise.
19689         (copysign_test_data): Likewise.
19690         (cproj_test_data): Likewise.
19691         (creal_test_data): Likewise.
19692         (fabs_test_data): Likewise.
19693         (fdim_test_data): Likewise.
19694         (finite_test_data): Likewise.
19695         (floor_test_data): Likewise.
19696         (fmax_test_data): Likewise.
19697         (fmin_test_data): Likewise.
19698         (fmod_test_data): Likewise.
19699         (fpclassify_test_data): Likewise.
19700         (frexp_test_data): Likewise.
19701         (ilogb_test_data): Likewise.
19702         (isfinite_test_data): Likewise.
19703         (isgreater_test_data): Likewise.
19704         (isgreaterequal_test_data): Likewise.
19705         (isinf_test_data): Likewise.
19706         (isless_test_data): Likewise.
19707         (islessequal_test_data): Likewise.
19708         (islessgreater_test_data): Likewise.
19709         (isnan_test_data): Likewise.
19710         (isnormal_test_data): Likewise.
19711         (issignaling_test_data): Likewise.
19712         (isunordered_test_data): Likewise.
19713         (ldexp_test_data): Likewise.
19714         (lrint_test_data): Likewise.
19715         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19716         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19717         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19718         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19719         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19720         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19721         test input.
19722         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19723         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19724         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19725         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19726         that test input.
19727         (lrint_downward_test_data): Test for "inexact" exceptions.
19728         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19729         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19730         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19731         test input.
19732         (lrint_upward_test_data): Test for "inexact" exceptions.
19733         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19734         test input.
19735         (llrint_test_data): Test for "inexact" exceptions.
19736         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19737         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19738         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19739         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19740         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19741         (llrint_downward_test_data): Test for "inexact" exceptions.
19742         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19743         (llrint_upward_test_data): Test for "inexact" exceptions.
19744         (logb_test_data): Likewise.
19745         (logb_downward_test_data): Likewise.
19746         (nextafter_test_data): Likewise.
19747         (nexttoward_test_data): Likewise.
19748         (remainder_test_data): Likewise.
19749         (remquo_test_data): Likewise.
19750         (scalbn_test_data): Likewise.
19751         (scalbln_test_data): Likewise.
19752         (signbit_test_data): Likewise.
19753         (sqrt_test_data): Likewise.
19754         (significand_test_data): Likewise.
19755
19756 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19757
19758         [BZ #15424]
19759         * benchtests/bench-modf.c (struct args): Mark arg0 as
19760         volatile.
19761         * scripts/bench.pl: Mark members of struct args as volatile.
19762
19763 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19764
19765         [BZ # 15497]
19766         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19767         negative infinity on POWER6 or lower.
19768         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19769
19770 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19771
19772         [BZ #15442]
19773         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19774         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19775         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19776         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19777         (_FP_SETQNAN): New macro.
19778         (_FP_SETQNAN_SEMIRAW): Likewise.
19779         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19780         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19781         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19782         (FP_EXTEND): Use _FP_FRAC_SNANP.
19783         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19784         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19785         into account.
19786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19787         New macro.
19788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19789         Likewise.
19790
19791 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19792
19793         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19794         with DIVIDE_BY_ZERO_EXCEPTION.
19795         (gamma_test_data): Likewise.
19796         (lgamma_test_data): Likewise.
19797         (log_test_data): Likewise.
19798         (log10_test_data): Likewise.
19799         (log2_test_data): Likewise.
19800         (tgamma_test_data): Likewise.
19801
19802         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19803         (acos_test_tonearest): Likewise.
19804         (acos_test_towardzero): Likewise.
19805         (acos_test_downward): Likewise.
19806         (acos_test_upward): Likewise.
19807         (acosh_test): Likewise.
19808         (asin_test): Likewise.
19809         (asin_test_tonearest): Likewise.
19810         (asin_test_towardzero): Likewise.
19811         (asin_test_downward): Likewise.
19812         (asin_test_upward): Likewise.
19813         (asinh_test): Likewise.
19814         (atan_test): Likewise.
19815         (atanh_test): Likewise.
19816         (atan2_test): Likewise.
19817         (cabs_test): Likewise.
19818         (cacos_test): Likewise.
19819         (cacosh_test): Likewise.
19820         (casin_test): Likewise.
19821         (casinh_test): Likewise.
19822         (catan_test): Likewise.
19823         (catanh_test): Likewise.
19824         (cbrt_test): Likewise.
19825         (ccos_test): Likewise.
19826         (ccosh_test): Likewise.
19827         (cexp_test): Likewise.
19828         (clog_test): Likewise.
19829         (clog10_test): Likewise.
19830         (cos_test): Likewise.
19831         (cos_test_tonearest): Likewise.
19832         (cos_test_towardzero): Likewise.
19833         (cos_test_downward): Likewise.
19834         (cos_test_upward): Likewise.
19835         (cosh_test): Likewise.
19836         (cosh_test_tonearest): Likewise.
19837         (cosh_test_towardzero): Likewise.
19838         (cosh_test_downward): Likewise.
19839         (cosh_test_upward): Likewise.
19840         (cpow_test): Likewise.
19841         (csin_test): Likewise.
19842         (csinh_test): Likewise.
19843         (csqrt_test): Likewise.
19844         (ctan_test): Likewise.
19845         (ctan_test_tonearest): Likewise.
19846         (ctan_test_towardzero): Likewise.
19847         (ctan_test_downward): Likewise.
19848         (ctan_test_upward): Likewise.
19849         (ctanh_test): Likewise.
19850         (ctanh_test_tonearest): Likewise.
19851         (ctanh_test_towardzero): Likewise.
19852         (ctanh_test_downward): Likewise.
19853         (ctanh_test_upward): Likewise.
19854         (erf_test): Likewise.
19855         (erfc_test): Likewise.
19856         (exp_test): Likewise.
19857         (exp_test_tonearest): Likewise.
19858         (exp_test_towardzero): Likewise.
19859         (exp_test_downward): Likewise.
19860         (exp_test_upward): Likewise.
19861         (exp10_test): Likewise.
19862         (exp2_test): Likewise.
19863         (expm1_test): Likewise.
19864         (fmod_test): Likewise.
19865         (gamma_test): Likewise.
19866         (hypot_test): Likewise.
19867         (j0_test): Likewise.
19868         (j1_test): Likewise.
19869         (jn_test): Likewise.
19870         (lgamma_test): Likewise.
19871         (log_test): Likewise.
19872         (log10_test): Likewise.
19873         (log1p_test): Likewise.
19874         (log2_test): Likewise.
19875         (logb_test_downward): Likewise.
19876         (pow_test): Likewise.
19877         (pow_test_tonearest): Likewise.
19878         (pow_test_towardzero): Likewise.
19879         (pow_test_downward): Likewise.
19880         (pow_test_upward): Likewise.
19881         (remainder_test): Likewise.
19882         (remquo_test): Likewise.
19883         (sin_test): Likewise.
19884         (sin_test_tonearest): Likewise.
19885         (sin_test_towardzero): Likewise.
19886         (sin_test_downward): Likewise.
19887         (sin_test_upward): Likewise.
19888         (sincos_test): Likewise.
19889         (sinh_test): Likewise.
19890         (sinh_test_tonearest): Likewise.
19891         (sinh_test_towardzero): Likewise.
19892         (sinh_test_downward): Likewise.
19893         (sinh_test_upward): Likewise.
19894         (sqrt_test): Likewise.
19895         (tan_test): Likewise.
19896         (tan_test_tonearest): Likewise.
19897         (tan_test_towardzero): Likewise.
19898         (tan_test_downward): Likewise.
19899         (tan_test_upward): Likewise.
19900         (tanh_test): Likewise.
19901         (tgamma_test): Likewise.
19902         (y0_test): Likewise.
19903         (y1_test): Likewise.
19904         (yn_test): Likewise.
19905
19906         * math/gen-libm-test.pl (adjust_arg): Remove function.
19907         (special_function): Remove argument $in_func.  Only handle
19908         generating output for tables of tests, not inside functions.
19909         (parse_args): Likewise.
19910         (generate_testfile): Remove variable $in_func.  Update call to
19911         parse_args.
19912         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19913         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19914         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19915         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19916         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19917         (MAX_VALUE_INIT): Rename macro to max_value.
19918         (MIN_VALUE_INIT): Rename macro to min_value.
19919         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19920         (plus_zero): Remove variable.
19921         (minus_zero): Likewise.
19922         (plus_infty): Likewise.
19923         (minus_infty): Likewise.
19924         (qnan_value): Likewise.
19925         (max_value): Likewise.
19926         (min_value): Likewise.
19927         (min_subnorm_value): Likewise.
19928
19929 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19930
19931         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19932         uint64_t or uint32_t usage.
19933         * crypt/sha256-block.c: Likewise.
19934         * crypt/sha256-crypt.c: Likewise.
19935         * crypt/sha256.c: Likewise.
19936         * crypt/sha512-block.c: Likewise.
19937         * crypt/sha512-crypt.c: Likewise.
19938         * crypt/sha512.c: Likewise.
19939         * debug/backtrace-tst.c: Likewise.
19940         * debug/pcprofiledump.c: Likewise.
19941         * elf/cache.c: Likewise.
19942         * elf/dl-cache.c: Likewise.
19943         * elf/dl-misc.c: Likewise.
19944         * elf/dl-profile.c: Likewise.
19945         * elf/dl-support.c: Likewise.
19946         * elf/ldconfig.c: Likewise.
19947         * elf/sprof.c: Likewise.
19948         * iconv/dummy-repertoire.c: Likewise.
19949         * iconv/iconv_charmap.c: Likewise.
19950         * iconv/skeleton.c: Likewise.
19951         * iconvdata/8bit-generic.c: Likewise.
19952         * iconvdata/cp737.h: Likewise.
19953         * iconvdata/cp775.h: Likewise.
19954         * iconvdata/ibm1008.h: Likewise.
19955         * iconvdata/ibm1025.h: Likewise.
19956         * iconvdata/ibm1046.h: Likewise.
19957         * iconvdata/ibm1097.h: Likewise.
19958         * iconvdata/ibm1112.h: Likewise.
19959         * iconvdata/ibm1122.h: Likewise.
19960         * iconvdata/ibm1123.h: Likewise.
19961         * iconvdata/ibm1124.h: Likewise.
19962         * iconvdata/ibm1129.h: Likewise.
19963         * iconvdata/ibm1130.h: Likewise.
19964         * iconvdata/ibm1132.h: Likewise.
19965         * iconvdata/ibm1133.h: Likewise.
19966         * iconvdata/ibm1137.h: Likewise.
19967         * iconvdata/ibm1140.h: Likewise.
19968         * iconvdata/ibm1141.h: Likewise.
19969         * iconvdata/ibm1142.h: Likewise.
19970         * iconvdata/ibm1143.h: Likewise.
19971         * iconvdata/ibm1144.h: Likewise.
19972         * iconvdata/ibm1145.h: Likewise.
19973         * iconvdata/ibm1146.h: Likewise.
19974         * iconvdata/ibm1147.h: Likewise.
19975         * iconvdata/ibm1148.h: Likewise.
19976         * iconvdata/ibm1149.h: Likewise.
19977         * iconvdata/ibm1153.h: Likewise.
19978         * iconvdata/ibm1154.h: Likewise.
19979         * iconvdata/ibm1155.h: Likewise.
19980         * iconvdata/ibm1156.h: Likewise.
19981         * iconvdata/ibm1157.h: Likewise.
19982         * iconvdata/ibm1158.h: Likewise.
19983         * iconvdata/ibm1160.h: Likewise.
19984         * iconvdata/ibm1161.h: Likewise.
19985         * iconvdata/ibm1162.h: Likewise.
19986         * iconvdata/ibm1163.h: Likewise.
19987         * iconvdata/ibm1164.h: Likewise.
19988         * iconvdata/ibm1166.h: Likewise.
19989         * iconvdata/ibm1167.h: Likewise.
19990         * iconvdata/ibm12712.h: Likewise.
19991         * iconvdata/ibm1390.h: Likewise.
19992         * iconvdata/ibm1399.h: Likewise.
19993         * iconvdata/ibm16804.h: Likewise.
19994         * iconvdata/ibm4517.h: Likewise.
19995         * iconvdata/ibm4899.h: Likewise.
19996         * iconvdata/ibm4909.h: Likewise.
19997         * iconvdata/ibm4971.h: Likewise.
19998         * iconvdata/ibm5347.h: Likewise.
19999         * iconvdata/ibm803.h: Likewise.
20000         * iconvdata/ibm856.h: Likewise.
20001         * iconvdata/ibm901.h: Likewise.
20002         * iconvdata/ibm902.h: Likewise.
20003         * iconvdata/ibm9030.h: Likewise.
20004         * iconvdata/ibm9066.h: Likewise.
20005         * iconvdata/ibm921.h: Likewise.
20006         * iconvdata/ibm922.h: Likewise.
20007         * iconvdata/ibm9448.h: Likewise.
20008         * iconvdata/isiri-3342.h: Likewise.
20009         * iconvdata/jis0201.h: Likewise.
20010         * include/link.h: Likewise.
20011         * include/netdb.h: Likewise.
20012         * inet/check_native.c: Likewise.
20013         * inet/check_pf.c: Likewise.
20014         * inet/getipv4sourcefilter.c: Likewise.
20015         * inet/getnameinfo.c: Likewise.
20016         * inet/getsourcefilter.c: Likewise.
20017         * inet/htonl.c: Likewise.
20018         * inet/setipv4sourcefilter.c: Likewise.
20019         * inet/setsourcefilter.c: Likewise.
20020         * inet/test-inet6_opt.c: Likewise.
20021         * inet/tst-network.c: Likewise.
20022         * locale/C-collate.c: Likewise.
20023         * locale/C-ctype.c: Likewise.
20024         * locale/C-time.c: Likewise.
20025         * locale/C-translit.h: Likewise.
20026         * locale/loadarchive.c: Likewise.
20027         * locale/programs/3level.h: Likewise.
20028         * locale/programs/charmap.c: Likewise.
20029         * locale/programs/charmap.h: Likewise.
20030         * locale/programs/ld-address.c: Likewise.
20031         * locale/programs/ld-collate.c: Likewise.
20032         * locale/programs/ld-ctype.c: Likewise.
20033         * locale/programs/ld-identification.c: Likewise.
20034         * locale/programs/ld-measurement.c: Likewise.
20035         * locale/programs/ld-messages.c: Likewise.
20036         * locale/programs/ld-monetary.c: Likewise.
20037         * locale/programs/ld-name.c: Likewise.
20038         * locale/programs/ld-numeric.c: Likewise.
20039         * locale/programs/ld-paper.c: Likewise.
20040         * locale/programs/ld-telephone.c: Likewise.
20041         * locale/programs/ld-time.c: Likewise.
20042         * locale/programs/linereader.c: Likewise.
20043         * locale/programs/locale.c: Likewise.
20044         * locale/programs/locarchive.c: Likewise.
20045         * locale/programs/locfile.h: Likewise.
20046         * locale/programs/repertoire.c: Likewise.
20047         * locale/programs/simple-hash.c: Likewise.
20048         * locale/programs/simple-hash.h: Likewise.
20049         * malloc/memusage.c: Likewise.
20050         * malloc/memusagestat.c: Likewise.
20051         * nis/nis_defaults.c: Likewise.
20052         * nis/nis_hash.c: Likewise.
20053         * nis/nis_print.c: Likewise.
20054         * nis/nis_xdr.c: Likewise.
20055         * nscd/connections.c: Likewise.
20056         * nscd/hstcache.c: Likewise.
20057         * nscd/nscd_gethst_r.c: Likewise.
20058         * nscd/nscd_getserv_r.c: Likewise.
20059         * nscd/nscd_helper.c: Likewise.
20060         * nscd/servicescache.c: Likewise.
20061         * nss/makedb.c: Likewise.
20062         * nss/nss_db/db-XXX.c: Likewise.
20063         * nss/nss_db/db-initgroups.c: Likewise.
20064         * nss/nss_db/db-netgrp.c: Likewise.
20065         * nss/nss_files/files-network.c: Likewise.
20066         * nss/nss_files/files-parse.c: Likewise.
20067         * posix/bug-regex5.c: Likewise.
20068         * posix/fnmatch_loop.c: Likewise.
20069         * posix/regcomp.c: Likewise.
20070         * posix/regexec.c: Likewise.
20071         * posix/tst-rfc3484-2.c: Likewise.
20072         * posix/tst-rfc3484-3.c: Likewise.
20073         * posix/tst-rfc3484.c: Likewise.
20074         * resolv/nss_dns/dns-canon.c: Likewise.
20075         * resolv/nss_dns/dns-network.c: Likewise.
20076         * resolv/res_init.c: Likewise.
20077         * resolv/res_mkquery.c: Likewise.
20078         * resolv/tst-aton.c: Likewise.
20079         * stdlib/cxa_atexit.c: Likewise.
20080         * stdlib/cxa_finalize.c: Likewise.
20081         * stdlib/gen-fpioconst.c: Likewise.
20082         * stdlib/strtol_l.c: Likewise.
20083         * string/tst-endian.c: Likewise.
20084         * sunrpc/auth_des.c: Likewise.
20085         * sunrpc/clnt_udp.c: Likewise.
20086         * sunrpc/rtime.c: Likewise.
20087         * sunrpc/svcauth_des.c: Likewise.
20088         * sunrpc/xdr.c: Likewise.
20089         * sunrpc/xdr_intXX_t.c: Likewise.
20090         * sunrpc/xdr_rec.c: Likewise.
20091         * sysdeps/generic/ldconfig.h: Likewise.
20092         * sysdeps/generic/ldsodefs.h: Likewise.
20093         * sysdeps/generic/memusage.h: Likewise.
20094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20095         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20097         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20098         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20101         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20104         * sysdeps/posix/getaddrinfo.c: Likewise.
20105         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20106         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20107         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20108         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20109         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20110         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20111         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20112         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20113         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20114         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20115         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20116         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20117         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20118         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20119         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20120         * sysdeps/x86_64/dl-tls.h: Likewise.
20121         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20122         * time/alt_digit.c: Likewise.
20123         * time/era.c: Likewise.
20124         * wcsmbs/tst-c16c32-1.c: Likewise.
20125
20126 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20127
20128         * math/libm-test.inc (struct test_sincos_data): New type.
20129         (RUN_TEST_LOOP_sincos): New macro.
20130         (sincos_test_data): New variable.
20131         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20132
20133 2013-05-16  Richard Henderson  <rth@redhat.com>
20134
20135         * math/atest-exp2.c (LIMB64): New macro.
20136         (CONSTSZ): New macro.
20137         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20138         (hexdig): Move ...
20139         (print_mpn_fp): ... to function scope.
20140         (read_mpn_hex): Remove.
20141         (get_log2): Remove.
20142         (exp2_mpn): Use mp_log2.
20143         (main): Use mp_exp1.
20144
20145 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20146
20147         * math/libm-test.inc: Remove comment about not testing "inexact"
20148         exceptions.
20149         (INEXACT_EXCEPTION): New macro.
20150         (NO_INEXACT_EXCEPTION): Likewise.
20151         (INVALID_EXCEPTION_OK): Update value.
20152         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20153         (OVERFLOW_EXCEPTION_OK): Likewise.
20154         (UNDERFLOW_EXCEPTION_OK): Likewise.
20155         (IGNORE_ZERO_INF_SIGN): Likewise.
20156         (ERRNO_UNCHANGED): Likewise.
20157         (ERRNO_EDOM): Likewise.
20158         (ERRNO_ERANGE): Likewise.
20159         (test_exceptions): Handle testing "inexact" exceptions.
20160         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20161         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20162         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20163         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20164         INEXACT_EXCEPTION.
20165         (rint_towardzero_test_data): Likewise.
20166         (rint_downward_test_data): Likewise.
20167         (rint_upward_test_data): Likewise.
20168
20169         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20170         with OVERFLOW_EXCEPTION.
20171         (exp10_test_data): Likewise.
20172         (exp2_test_data): Likewise.
20173         (expm1_test_data): Likewise.
20174         (lgamma_test_data): Likewise.
20175         (pow_test_data): Likewise.
20176         (tgamma_test_data): Likewise.
20177         (yn_test_data): Remove duplicate test of overflow.
20178
20179         * math/libm-test.inc (struct test_cc_c_data): New type.
20180         (RUN_TEST_LOOP_cc_c): New macro.
20181         (cpow_test_data): New variable.
20182         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20183
20184         * math/libm-test.inc (struct test_f_L_data): New type.
20185         (RUN_TEST_LOOP_f_L): New macro.
20186         (llrint_test_data): New variable.
20187         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20188         (llrint_tonearest_test_data): New variable.
20189         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20190         (llrint_towardzero_test_data): New variable.
20191         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20192         (llrint_downward_test_data): New variable.
20193         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20194         (llrint_upward_test_data): New variable.
20195         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20196         (llround_test_data): New variable.
20197         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20198
20199 2013-05-13  Peter Collingbourne  <pcc@google.com>
20200
20201         * math/atest-exp2.c (get_log2): Remove const attribute.
20202
20203 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20204
20205         * math/libm-test.inc (struct test_f_l_data): New type.
20206         (RUN_TEST_LOOP_f_l): New macro.
20207         (lrint_test_data): New variable.
20208         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20209         (lrint_tonearest_test_data): New variable.
20210         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20211         (lrint_towardzero_test_data): New variable.
20212         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20213         (lrint_downward_test_data): New variable.
20214         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20215         (lrint_upward_test_data): New variable.
20216         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20217         (lround_test_data): New variable.
20218         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20219
20220 2013-05-15  Peter Collingbourne  <pcc@google.com>
20221
20222         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20223         (EXTRACT_WORDS64) Use where appropriate.
20224         (INSERT_WORDS64) Likewise.
20225
20226         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20227         constraints with x constraints.
20228         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20229
20230         * malloc/obstack.c (_obstack_compat): Add initializer.
20231
20232 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20233
20234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20235         si_trapno and add si_addr_lsb to _sifields.sigfault.
20236         (si_trapno): Remove macro.
20237         (si_addr_lsb): Define new macro.
20238         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20239
20240 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20241
20242         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20243         instead of TEST_f_l.
20244         (llrint_test_tonearest): Likewise.
20245         (llrint_test_towardzero): Likewise.
20246         (llrint_test_downward): Likewise.
20247         (llrint_test_upward): Likewise.
20248         (llround_test): Likewise.
20249
20250         * math/libm-test.inc (struct test_f_i_data): Add comment.
20251         (RUN_TEST_LOOP_f_b): New macro.
20252         (RUN_TEST_LOOP_f_b_tg): Likewise.
20253         (finite_test_data): New variable.
20254         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20255         (isfinite_test_data): New variable.
20256         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20257         (isinf_test_data): New variable.
20258         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20259         (isnan_test_data): New variable.
20260         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20261         (isnormal_test_data): New variable.
20262         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20263         (issignaling_test_data): New variable.
20264         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20265         (signbit_test_data): New variable.
20266         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20267
20268         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20269         with INVALID_EXCEPTION.
20270         (acosh_test_data): Likewise.
20271         (asin_test_data): Likewise.
20272         (atanh_test_data): Likewise.
20273         (fmod_test_data): Likewise.
20274         (log_test_data): Likewise.
20275         (log10_test_data): Likewise.
20276         (log2_test_data): Likewise.
20277         (pow_test_data): Likewise.
20278         (sqrt_test_data): Likewise.
20279         (y0_test_data): Likewise.
20280         (y1_test_data): Likewise.
20281         (yn_test_data): Likewise.
20282
20283         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20284         function contents.
20285
20286         * math/libm-test.inc (struct test_ff_i_data): New type.
20287         (RUN_TEST_LOOP_ff_i_tg): New macro.
20288         (isgreater_test_data): New variable.
20289         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20290         (isgreaterequal_test_data): New variable.
20291         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20292         (isless_test_data): New variable.
20293         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20294         (islessequal_test_data): New variable.
20295         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20296         (islessgreater_test_data): New variable.
20297         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20298         (isunordered_test_data): New variable.
20299         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20300
20301 2013-05-14  David S. Miller  <davem@davemloft.net>
20302
20303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20304
20305 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20306
20307         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20308
20309         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20310         extra_test to int.
20311         (struct test_f_i_data): Change type of max_ulp to int.
20312
20313         * math/libm-test.inc (test_ffI_f1_data): New type.
20314         (RUN_TEST_LOOP_ffI_f1): New macro.
20315         (remquo_test_data): New variable.
20316         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20317
20318         * setjmp/tst-setjmp-fp.c: New file.
20319         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20320         (link-libm): New variable.
20321         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20322
20323         * math/libm-test.inc (struct test_f_i_data): New type.
20324         (RUN_TEST_LOOP_f_i): New macro.
20325         (RUN_TEST_LOOP_f_i_tg): Likewise.
20326         (fpclassify_test_data): New variable.
20327         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20328         (ilogb_test_data): New variable.
20329         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20330
20331         * math/libm-test.inc (scalbln_test): Correct function name in END
20332         call.
20333
20334         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20335         (RUN_TEST_LOOP_fI_f1): New macro.
20336         (frexp_test_data): New variable.
20337         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20338
20339         * math/libm-test.inc (struct test_fF_f1_data): New type.
20340         (RUN_TEST_LOOP_fF_f1): New macro.
20341         (modf_test_data): New variable.
20342         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20343
20344         * math/libm-test.inc (struct test_f_f1_data): New type.
20345         (RUN_TEST_LOOP_f_f1): New macro.
20346         (gamma_test_data): New variable.
20347         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20348         (lgamma_test_data): New variable.
20349         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20350
20351 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20352
20353         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20354         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20355         (main): Comment "tls" pseudo-hwcap.
20356
20357 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20358
20359         * math/libm-test.inc (struct test_fl_f_data): New type.
20360         (RUN_TEST_LOOP_fl_f): New variable.
20361         (scalbln_test_data): New variable.
20362         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20363
20364         * math/libm-test.inc (struct test_fi_f_data): New type.
20365         (RUN_TEST_LOOP_fi_f): New macro.
20366         (ldexp_test_data): New variable.
20367         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20368         (scalbn_test_data): New variable.
20369         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20370
20371         * math/libm-test.inc (struct test_c_f_data): New type.
20372         (RUN_TEST_LOOP_c_f): New macro.
20373         (cabs_test_data): New variable.
20374         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20375         (carg_test_data): New variable.
20376         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20377         (cimag_test_data): New variable.
20378         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20379         (creal_test_data): New variable.
20380         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20381
20382         * math/libm-test.inc (struct test_if_f_data): New type.
20383         (RUN_TEST_LOOP_if_f): New macro.
20384         (jn_test_data): New variable.
20385         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20386         (yn_test_data): New variable.
20387         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20388
20389         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20390
20391 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20392
20393         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20394         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20395
20396 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20397
20398         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20399         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20400         (bench-deps): Add bench-timing.h.
20401         * benchtests-bench-skeleton.c: Include bench-timing.h.
20402         (main): Use TIMING_* macros instead of clock_gettime.
20403         * benchtests/bench-timing.h: New file.
20404
20405         [BZ #14582]
20406         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20407         Renamed from _LIB_VERSION.
20408         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20409
20410 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20411
20412         * math/libm-test.inc (struct test_fff_f_data): New type.
20413         (RUN_TEST_LOOP_fff_f): New macro.
20414         (fma_test_data): New variable.
20415         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20416         (fma_towardzero_test_data): New variable.
20417         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20418         (fma_downward_test_data): New variable.
20419         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20420         (fma_upward_test_data): New variable.
20421         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20422
20423         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20424         (struct test_c_c_data): New type.
20425         (RUN_TEST_LOOP_c_c): New macro.
20426         (cacos_test_data): New variable.
20427         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20428         (cacosh_test_data): New variable.
20429         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20430         (casin_test_data): New variable.
20431         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20432         (casinh_test_data): New variable.
20433         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20434         (catan_test_data): New variable.
20435         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20436         (catanh_test_data): New variable.
20437         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20438         (ccos_test_data): New variable.
20439         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20440         (ccosh_test_data): New variable.
20441         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20442         (cexp_test_data): New variable.
20443         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20444         (clog_test_data): New variable.
20445         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20446         (clog10_test_data): New variable.
20447         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20448         (conj_test_data): New variable.
20449         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20450         (cproj_test_data): New variable.
20451         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20452         (csin_test_data): New variable.
20453         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20454         (csinh_test_data): New variable.
20455         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20456         (csqrt_test_data): New variable.
20457         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20458         (ctan_test_data): New variable.
20459         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20460         (ctan_tonearest_test_data): New variable.
20461         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20462         (ctan_towardzero_test_data): New variable.
20463         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20464         (ctan_downward_test_data): New variable.
20465         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20466         (ctan_upward_test_data): New variable.
20467         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20468         (ctanh_test_data): New variable.
20469         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20470         (ctanh_tonearest_test_data): New variable.
20471         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20472         (ctanh_towardzero_test_data): New variable.
20473         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20474         (ctanh_downward_test_data): New variable.
20475         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20476         (ctanh_upward_test_data): New variable.
20477         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20478         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20479         of BUILD_COMPLEX.
20480
20481         * math/libm-test.inc (struct test_ff_f_data): New type.
20482         (struct test_ff_f_data_nexttoward): Likewise.
20483         (RUN_TEST_LOOP_2_f): New macro.
20484         (RUN_TEST_LOOP_ff_f): Likewise.
20485         (atan2_test_data): New variable.
20486         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20487         (copysign_test_data): New variable.
20488         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20489         (fdim_test_data): New variable.
20490         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20491         (fmax_test_data): New variable.
20492         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20493         (fmin_test_data): New variable.
20494         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20495         (fmod_test_data): New variable.
20496         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20497         (hypot_test_data): New variable.
20498         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20499         (nextafter_test_data): New variable.
20500         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20501         (nexttoward_test_data): New variable.
20502         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20503         (pow_test_data): New variable.
20504         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20505         (pow_tonearest_test_data): New variable.
20506         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20507         (pow_towardzero_test_data): New variable.
20508         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20509         (pow_downward_test_data): New variable.
20510         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20511         (pow_upward_test_data): New variable.
20512         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20513         (remainder_test_data): New variable.
20514         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20515         (scalb_test_data): New variable.
20516         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20517         * sysdeps/i386/fpu/libm-test-ulps: Update.
20518
20519 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20520
20521         * math/libm-test.inc (fma_test): Use max_value instead of local
20522         variable fltmax.
20523         (nextafter_test): Likewise.
20524
20525         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20526         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20527         (acos_downward_test_data): New variable.
20528         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20529         (acos_upward_test_data): New variable.
20530         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20531         (acosh_test_data): New variable.
20532         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20533         (asin_test_data): New variable.
20534         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20535         (asin_tonearest_test_data): New variable.
20536         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20537         (asin_towardzero_test_data): New variable.
20538         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20539         (asin_downward_test_data): New variable.
20540         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20541         (asin_upward_test_data): New variable.
20542         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20543         (asinh_test_data): New variable.
20544         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20545         (atan_test_data): New variable.
20546         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20547         (atanh_test_data): New variable.
20548         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20549         (cbrt_test_data): New variable.
20550         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20551         (ceil_test_data): New variable.
20552         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20553         (cos_test_data): New variable.
20554         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20555         (cos_tonearest_test_data): New variable.
20556         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20557         (cos_towardzero_test_data): New variable.
20558         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20559         (cos_downward_test_data): New variable.
20560         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20561         (cos_upward_test_data): New variable.
20562         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20563         (cosh_test_data): New variable.
20564         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20565         (cosh_tonearest_test_data): New variable.
20566         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20567         (cosh_towardzero_test_data): New variable.
20568         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20569         (cosh_downward_test_data): New variable.
20570         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20571         (cosh_upward_test_data): New variable.
20572         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20573         (erf_test_data): New variable.
20574         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20575         (erfc_test_data): New variable.
20576         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20577         (exp_test_data): New variable.
20578         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20579         (exp_tonearest_test_data): New variable.
20580         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20581         (exp_towardzero_test_data): New variable.
20582         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20583         (exp_downward_test_data): New variable.
20584         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20585         (exp_upward_test_data): New variable.
20586         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20587         (exp10_test_data): New variable.
20588         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20589         (exp2_test_data): New variable.
20590         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20591         (expm1_test_data): New variable.
20592         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20593         (fabs_test_data): New variable.
20594         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20595         (floor_test_data): New variable.
20596         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20597         (j0_test_data): New variable.
20598         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20599         (j1_test_data): New variable.
20600         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20601         (log_test_data): New variable.
20602         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20603         (log10_test_data): New variable.
20604         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20605         (log1p_test_data): New variable.
20606         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20607         (log2_test_data): New variable.
20608         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20609         (logb_test_data): New variable.
20610         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20611         (logb_downward_test_data): New variable.
20612         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20613         (nearbyint_test_data): New variable.
20614         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20615         (rint_test_data): New variable.
20616         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20617         (rint_tonearest_test_data): New variable.
20618         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20619         (rint_towardzero_test_data): New variable.
20620         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20621         (rint_downward_test_data): New variable.
20622         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20623         (rint_upward_test_data): New variable.
20624         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20625         (round_test_data): New variable.
20626         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20627         (sin_test_data): New variable.
20628         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20629         (sin_tonearest_test_data): New variable.
20630         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20631         (sin_towardzero_test_data): New variable.
20632         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20633         (sin_downward_test_data): New variable.
20634         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20635         (sin_upward_test_data): New variable.
20636         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20637         (sinh_test_data): New variable.
20638         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20639         (sinh_tonearest_test_data): New variable.
20640         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20641         (sinh_towardzero_test_data): New variable.
20642         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20643         (sinh_downward_test_data): New variable.
20644         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20645         (sinh_upward_test_data): New variable.
20646         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20647         (sqrt_test_data): New variable.
20648         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20649         (tan_test_data): New variable.
20650         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20651         (tan_tonearest_test_data): New variable.
20652         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20653         (tan_towardzero_test_data): New variable.
20654         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20655         (tan_downward_test_data): New variable.
20656         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20657         (tan_upward_test_data): New variable.
20658         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20659         (tanh_test_data): New variable.
20660         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20661         (tgamma_test_data): New variable.
20662         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20663         (trunc_test_data): New variable.
20664         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20665         (y0_test_data): New variable.
20666         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20667         (y1_test_data): New variable.
20668         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20669         (significand_test_data): New variable.
20670         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20671
20672 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20673
20674         [BZ #12387]
20675         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20676
20677 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20678
20679         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20680
20681 2013-05-10  Andreas Jaeger  <aj@suse.de>
20682
20683         [BZ #15448]
20684         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20685         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20686
20687 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20688
20689         * math/gen-libm-test.pl (adjust_arg): New function.
20690         (special_functions): Handle generating output in both functions
20691         and arrays.
20692         (parse_args): Likewise.
20693         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20694         $in_func argument to parse_args.
20695         * math/libm-test.inc (struct test_f_f_data): New type.
20696         (IF_ROUND_INIT_): New macro.
20697         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20698         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20699         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20700         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20701         (ROUND_RESTORE_): Likewise.
20702         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20703         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20704         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20705         (ROUND_RESTORE_FE_UPWARD): Likewise.
20706         (RUN_TEST_LOOP_f_f): New macro.
20707         (acos_test_data): New variable.
20708         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20709         (acos_tonearest_test_data): New variable.
20710         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20711
20712 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20713
20714         * benchtests/bench-skeleton.c (startup): Fix coding style.
20715
20716 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20717
20718         [BZ #6809]
20719         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20720         negative infinity argument.
20721         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20722         negative infinity argument.
20723         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20724         negative infinity argument.
20725         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20726         domain errors.
20727
20728 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20729
20730         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20731         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20732         * iconv/iconv_prog.c (main): Likewise.
20733         * locale/programs/charmap-dir.c (charmap_readdir)
20734         (fopen_uncompressed): Likewise.
20735         * locale/programs/locfile.c (siblings_uncached)
20736         (write_locale_data): Use lstat64 instead of lstat.
20737         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20738         stat.
20739
20740 2013-05-10  Andreas Jaeger  <aj@suse.de>
20741
20742         [BZ #15395]
20743         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20744         localization.
20745         Include <locale.h>.
20746
20747 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20748
20749         * elf/dl-close.c (_dl_close_worker): Add comments.
20750
20751 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20752
20753         [BZ #15359]
20754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20755         high part of pi/2.
20756         (__ieee754_rem_pio2l): Update comments.
20757
20758         [BZ #15429]
20759         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20760         high part of pi/2.
20761         (__ieee754_rem_pio2l): Update comments.
20762
20763         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20764         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20765
20766         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20767         M_PI_4l.
20768
20769         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20770         (M_PI_34_LOG10El): Likewise.
20771         (M_PI2_LOG10El): Likewise.
20772         (M_PI4_LOG10El): Likewise.
20773         (M_PI_LOG10El): Likewise.
20774
20775 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20776
20777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20778
20779 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20780
20781         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20782         (MINUS_ZERO_INIT): Likewise.
20783         (PLUS_INFTY_INIT): Likewise.
20784         (MINUS_INFTY_INIT): Likewise.
20785         (QNAN_VALUE_INIT): Likewise.
20786         (MAX_VALUE_INIT): Likewise.
20787         (MIN_VALUE_INIT): Likewise.
20788         (MIN_SUBNORM_VALUE_INIT): Likewise.
20789         (plus_zero): Initialize with PLUS_ZERO_INIT.
20790         (minus_zero): Initialize with MINUS_ZERO_INIT.
20791         (plus_infty): Initialize with PLUS_INFTY_INIT.
20792         (minus_infty): Initialize with MINUS_INFTY_INIT.
20793         (qnan_value): Initialize with QNAN_VALUE_INIT.
20794         (max_value): Initialize with MAX_VALUE_INIT.
20795         (min_value): Initialize with MIN_VALUE_INIT.
20796         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20797
20798         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20799         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20800         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20801         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20802
20803         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20804         (RUN_TEST_2_f): Likewise.
20805         (RUN_TEST_ff_f): Likewise.
20806         (RUN_TEST_fi_f): Likewise.
20807         (RUN_TEST_fl_f): Likewise.
20808         (RUN_TEST_fff_f): Likewise.
20809         (RUN_TEST_c_f): Likewise.
20810         (RUN_TEST_f_f1): Likewise.
20811         (RUN_TEST_fF_f1): Likewise.
20812         (RUN_TEST_fI_f1): Likewise.
20813         (RUN_TEST_ffI_f1): Likewise.
20814         (RUN_TEST_c_c): Likewise.
20815         (RUN_TEST_cc_c): Likewise.
20816         (RUN_TEST_f_i): Likewise.
20817         (RUN_TEST_f_i_tg): Likewise.
20818         (RUN_TEST_ff_i_tg): Likewise.
20819         (RUN_TEST_f_b): Likewise.
20820         (RUN_TEST_f_b_tg): Likewise.
20821         (RUN_TEST_f_l): Likewise.
20822         (RUN_TEST_f_L): Likewise.
20823         (RUN_TEST_sincos): Likewise.
20824         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20825         whether to show exceptions.  Do not include ");\n" in return
20826         value.
20827         (special_functions): Output call to RUN_TEST_sincos instead of
20828         check_float calls.  Update calls to new_test.
20829         (parse_args): Output call to single RUN_TEST_* macro instead of
20830         check_* calls and other assignments.  Update calls to new_test.
20831
20832         [BZ #2546]
20833         [BZ #2560]
20834         [BZ #5159]
20835         [BZ #15426]
20836         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20837         input to result for tgamma overflow.
20838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20839         (gamma_coeff): New variable.
20840         (NCOEFF): New macro.
20841         (gamma_positive): New function.
20842         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20843         underflow here.  Use gamma_positive instead of exp (lgamma) for
20844         other arguments.
20845         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20846         (gamma_coeff): New variable.
20847         (NCOEFF): New macro.
20848         (gammaf_positive): New function.
20849         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20850         underflow here.  Use gamma_positive instead of exp (lgamma) for
20851         other arguments.
20852         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20853         (gamma_coeff): New variable.
20854         (NCOEFF): New macro.
20855         (gammal_positive): New function.
20856         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20857         underflow here.  Use gamma_positive instead of exp (lgamma) for
20858         other arguments.
20859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20860         (gamma_coeff): New variable.
20861         (NCOEFF): New macro.
20862         (gammal_positive): New function.
20863         (__ieee754_gammal_r): Handle positive infinity, overflow and
20864         underflow here.  Handle NaN the same as positive infinity.  Remove
20865         check x < 0xffffffff for negative integers.  Use gamma_positive
20866         instead of exp (lgamma) for other arguments.
20867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20868         (gamma_coeff): New variable.
20869         (NCOEFF): New macro.
20870         (gammal_positive): New function.
20871         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20872         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20873         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20874         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20875         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20876         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20877         * sysdeps/generic/math_private.h (__gamma_productf): New
20878         prototype.
20879         (__gamma_product): Likewise.
20880         (__gamma_productl): Likewise.
20881         * math/Makefile (libm-calls): Add gamma_product.
20882         * math/libm-test.inc (tgamma_test): Add more tests.
20883         * sysdeps/i386/fpu/libm-test-ulps: Update.
20884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20885
20886 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20887
20888         * benchtests/bench-skeleton.c (main): Preheat CPU.
20889
20890 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20891
20892         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20893
20894 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20895
20896         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20897         and _dl_skip_args_internal.
20898
20899 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20900
20901         * manual/message.texi (Message Translation): Talk about users.
20902         Message to key mapping impacts design.
20903
20904 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20905
20906         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20907
20908         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20909
20910         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20911         * sysdeps/wordsize-64/glob64.c: ... here.
20912
20913         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20914         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20915         New macros.
20916
20917         * debug/getlogin_r_chk.c: Moved to ...
20918         * login/getlogin_r_chk.c: ... here.
20919         * debug/Makefile (routines): Move getlogin_r_chk to ...
20920         * login/Makefile (routines): ... here.
20921         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20922         * login/Versions (libc: GLIBC_2.4): ... here.
20923
20924         * io/poll.c (__poll): Renamed from poll.
20925         Add libc_hidden_def.
20926         (poll): Define as weak alias.
20927
20928         * debug/ptsname_r_chk.c: Moved to ...
20929         * login/ptsname_r_chk.c: ... here.
20930         * debug/Makefile (routines): Move ptsname_r_chk to ...
20931         * login/Makefile (routines): ... here.
20932         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20933         * login/Versions (libc: GLIBC_2.4): ... here.
20934
20935         * posix/getlogin.c: Moved to ...
20936         * login/getlogin.c: ... here.
20937         * posix/getlogin_r.c: Moved to ...
20938         * login/getlogin_r.c: ... here.
20939         * posix/getlogin_r.c: Moved to ...
20940         * login/getlogin_r.c: ... here.
20941         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20942         * login/Makefile (routines): ... here.
20943         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20944         * login/Versions (libc: GLIBC_2.0): ... here.
20945
20946         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20947         (setrlimit): Define as weak alias.
20948
20949         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20950         Call __ names for open, ftruncate, and close.
20951         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20952         (truncate): Define as weak alias.
20953
20954 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20955
20956         * math/gen-libm-test.pl (parse_args): Initialize x before each
20957         test of frexp, modf and remquo.
20958
20959         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20960         test signgam value.
20961
20962 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20963
20964         [BZ #15418]
20965         [BZ #15419]
20966         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20967         internal tests.
20968         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20969
20970 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20971
20972         * elf/dl-writev.h: New file.
20973         * elf/dl-misc.c: Include it.
20974         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20975         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20976
20977 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20978
20979         * math/libm-test.inc (noXFails): Remove variable.
20980         (noXPasses): Likewise.
20981         (BUILD_COMPLEX_INT): Remove macro.
20982         (print_screen): Remove xfail argument.
20983         (print_screen_max_error): Likewise.
20984         (update_stats): Likewise.
20985         (print_max_error): Likewise.  Update calls to other affected
20986         functions.
20987         (print_complex_max_error): Likewise.
20988         (test_single_exception): Update calls to print_screen.
20989         (test_single_errno): Likewise.
20990         (check_float_internal): Remove xfail argument.  Update calls to
20991         other affected functions.
20992         (check_float): Likewise.
20993         (check_complex): Likewise.
20994         (check_int): Likewise.
20995         (check_long): Likewise.
20996         (check_bool): Likewise.
20997         (check_longlong): Likewise.
20998         (main): Don't print noXFails and noXPasses.
20999         * math/gen-libm-test.pl (top level): Don't mention expected
21000         failure handling in comment.
21001         (new_test): Don't handle expected failures.
21002         (parse_args): Don't mention expected failure handling in comment.
21003         (generate_testfile): Don't handle expected failures.
21004         (parse_ulps): Likewise.
21005         (print_ulps_file): Likewise.
21006         (get_failure): Remove function.
21007         (output_test): Don't handle expected failures.
21008         * make/README.libm-test: Don't mention expected failure handling.
21009
21010         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21011         (minus_zero): Likewise.
21012         (plus_infty): Likewise.
21013         (minus_infty): Likewise.
21014         (qnan_value): Likewise.
21015         (max_value): Likewise.
21016         (min_value): Likewise.
21017         (min_subnorm_value): Likewise.
21018         (initialize): Do not initialize those variables dynamically.
21019
21020 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21021
21022         * io/open.c (__open_2): Moved to ...
21023         * io/open_2.c: ... this new file.
21024         * io/open64.c (__open64_2): Moved to ...
21025         * io/open64_2.c: ... this new file.
21026         * io/openat.c (__openat_2): Moved to ...
21027         * io/openat_2.c: ... this new file.
21028         * io/openat64.c (__openat64_2): Moved to ...
21029         * io/openat64_2.c: ... this new file.
21030         * io/Makefile (routines): Add them.
21031         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21032         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21033         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21034         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21035         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21036         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21037         (__openat64): Add hidden_ver.
21038         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21039         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21040
21041         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21042         Separately conditionalize setting of GLRO(dl_sysinfo) so
21043         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21044         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21045
21046 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21047
21048         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21049         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21050         definition.
21051         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21052         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21053         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21054         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21055         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21056
21057 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21058
21059         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21060         test signgam value.
21061
21062         * math/libm-test.inc (hypot_test): Do not use
21063         IGNORE_ZERO_INF_SIGN.
21064
21065 2013-05-03  Andreas Jaeger  <aj@suse.de>
21066
21067         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21068         Linux 3.9.
21069         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21070         (PF_MAX): Adjust for VSOCK change.
21071
21072 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21073
21074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21075
21076 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21077
21078         [BZ #15264]
21079         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21080         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21081         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21082
21083 2013-05-02  David S. Miller  <davem@davemloft.net>
21084
21085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21086
21087 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21088
21089         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21090
21091 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21092
21093         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21094
21095 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21096
21097         [BZ #14952]
21098         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21099         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21100         Use __attribute__ ((__gnu_inline__)).
21101         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21102         Don't use __attribute__ ((__gnu_inline__)).
21103
21104 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21105
21106         [BZ #15423]
21107         * math/s_catan.c (__catan): Handle small real or imaginary part of
21108         input specially to avoid spurious underflow.
21109         * math/s_catanf.c (__catanf): Likewise.
21110         * math/s_catanh.c (__catanh): Likewise.
21111         * math/s_catanhf.c (__catanhf): Likewise.
21112         * math/s_catanhl.c (__catanhl): Likewise.
21113         * math/s_catanl.c (__catanl): Likewise.
21114         * math/libm-test.inc (catan_test): Add more tests.
21115         (catanh_test): Likewise.
21116         * sysdeps/i386/fpu/libm-test-ulps: Update.
21117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21118
21119 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21120
21121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21122
21123 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21124
21125         [BZ #15416]
21126         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21127         accurately for denominator in atan2.
21128         * math/s_catanf.c (__catanf): Likewise.
21129         * math/s_catanh.c (__catanh): Likewise.
21130         * math/s_catanhf.c (__catanhf): Likewise.
21131         * math/s_catanhl.c (__catanhl): Likewise.
21132         * math/s_catanl.c (__catanl): Likewise.
21133         * math/libm-test.inc (catan_test): Add more tests.
21134         (catanh_test): Likewise.
21135         * sysdeps/i386/fpu/libm-test-ulps: Update.
21136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21137
21138 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21139
21140         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21141
21142         * benchtests/Makefile (bench): Remove slow benchmarks.
21143         * benchtests/atan-inputs: Add slow benchmark inputs.
21144         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21145         (BENCH_FUNC): Accept variant offset.
21146         (VARIANT): Define.
21147         * benchtests/bench-skeleton.c (main): Run benchmark for each
21148         variant.
21149         * benchtests/cos-inputs: Add slow benchmark inputs.
21150         * benchtests/exp-inputs: Likewise.
21151         * benchtests/pow-inputs: Likewise.
21152         * benchtests/sin-inputs: Likewise.
21153         * benchtests/slowatan-inputs: Remove.
21154         * benchtests/slowatan.c: Remove.
21155         * benchtests/slowcos-inputs: Remove.
21156         * benchtests/slowcos.c: Remove.
21157         * benchtests/slowexp-inputs: Remove.
21158         * benchtests/slowexp.c: Remove.
21159         * benchtests/slowpow-inputs: Remove.
21160         * benchtests/slowpow.c: Remove.
21161         * benchtests/slowsin-inputs: Remove.
21162         * benchtests/slowsin.c: Remove.
21163         * benchtests/slowtan-inputs: Remove.
21164         * benchtests/slowtan.c: Remove.
21165         * benchtests/tan-inputs: Add slow benchmark inputs.
21166         * scripts/bench.pl: Parse comments and directives.
21167
21168         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21169         in CPPFLAGS.
21170         ($(objpfx)bench-%.c): Remove *-ITER.
21171         * benchtests/bench-modf.c: Remove definition of ITER.
21172         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21173         (main): Loop for DURATION seconds instead of fixed number of
21174         iterations.
21175         * scripts/bench.pl: Don't expect iterations in parameters.
21176
21177 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21178
21179         * io/fchdir.c (__fchdir): Renamed from fchdir.
21180         (fchdir): Define as weak alias.
21181
21182 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21183
21184         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21185         (ERRNO_EDOM): Likewise.
21186         (ERRNO_ERANGE): Likewise.
21187         (noErrnoTests): New variable.
21188         (init_max_error): Set errno to 0.
21189         (test_single_errno): New function.
21190         (test_errno): Likewise.
21191         (check_float_internal): Call test_errno.  Set errno to 0.
21192         (check_complex): Refer to errno tests in comment.
21193         (check_int): Call test_errno.  Set errno to 0.
21194         (check_long): Likewise.
21195         (check_bool): Likewise.
21196         (check_longlong): Likewise.
21197         (cos_test): Use ERRNO_* flags for errno tests instead of
21198         check_int.
21199         (expm1_test): Likewise.
21200         (fmod_test): Likewise.
21201         (ilogb_test): Likewise.
21202         (lgamma_test): Likewise.
21203         (pow_test): Likewise.
21204         (remainder_test): Likewise.
21205         (sin_test): Likewise.
21206         (tan_test): Likewise.
21207         (yn_test): Likewise.
21208         (initialize): Set errno to 0.
21209         (main): Print number of errno tests.
21210         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21211
21212 2013-04-29  Andreas Jaeger  <aj@suse.de>
21213
21214         [BZ #15084]
21215         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21216         and RES_USEVC.
21217
21218         [BZ #15085]
21219         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21220         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21221         unimplemented.
21222
21223         [BZ #15380]
21224         * stdlib/random.c (__initstate): Return NULL if
21225         __initstate fails.
21226
21227         [BZ #15086]
21228         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21229         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21230         RES_SNGLKUPREOP.
21231
21232 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21233
21234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21235
21236 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21237
21238         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21239         of individual tests.
21240         (casin_test): Likewise.
21241         (casinh_test): Likewise.
21242
21243 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21244
21245         [BZ #15409]
21246         * math/s_catan.c (__catan): Handle arguments with large real or
21247         imaginary part separately without squaring.
21248         * math/s_catanf.c (__catanf): Likewise.
21249         * math/s_catanh.c (__catanh): Likewise.
21250         * math/s_catanhf.c (__catanhf): Likewise.
21251         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21252         and redefine.
21253         (__catanhl): Handle arguments with large real or imaginary part
21254         separately without squaring.
21255         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21256         and redefine.
21257         (__catanl): Handle arguments with large real or imaginary part
21258         separately without squaring.
21259         * math/libm-test.inc (catan_test): Add more tests.
21260         (catanh_test): Likewise.
21261         * sysdeps/i386/fpu/libm-test-ulps: Update.
21262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21263
21264 2013-04-27  Andreas Jaeger  <aj@suse.de>
21265
21266         [BZ #15007]
21267         * stdlib/stdlib.h: Update guards for qecvt.
21268         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21269         <stdlib.h>.
21270
21271 2013-04-27  Allan McRae  <allan@archlinux.org>
21272
21273         * sysdeps/i386/fpu/libm-test-ulps: Update.
21274
21275 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21276
21277         [BZ #15406]
21278         * math/s_catan.c: Include <float.h>.
21279         (__catan): Ensure underflow exception occurs for underflowed
21280         result.
21281         * math/s_catanf.c: Include <float.h>.
21282         (__catanf): Ensure underflow exception occurs for underflowed
21283         result.
21284         * math/s_catanh.c: Include <float.h>.
21285         (__catanh): Ensure underflow exception occurs for underflowed
21286         result.
21287         * math/s_catanhf.c: Include <float.h>.
21288         (__catanhf): Ensure underflow exception occurs for underflowed
21289         result.
21290         * math/s_catanhl.c: Include <float.h>.
21291         (__catanhl): Ensure underflow exception occurs for underflowed
21292         result.
21293         * math/s_catanl.c: Include <float.h>.
21294         (__catanl): Ensure underflow exception occurs for underflowed
21295         result.
21296         * math/libm-test.inc (catan_test): Add more tests.
21297         (catanh_test): Likewise.
21298
21299         [BZ #15405]
21300         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21301         underflowed result.
21302         * math/s_ccoshf.c (__ccoshf): Likewise.
21303         * math/s_ccoshl.c (__ccoshl): Likewise.
21304         * math/s_csin.c (__csin): Likewise.
21305         * math/s_csinf.c (__csinf): Likewise.
21306         * math/s_csinh.c (__csinh): Likewise.
21307         * math/s_csinhf.c (__csinhf): Likewise.
21308         * math/s_csinhl.c (__csinhl): Likewise.
21309         * math/s_csinl.c (__csinl): Likewise.
21310         * math/libm-test.inc (ccos_test): Add more tests.
21311         (ccosh_test): Likewise.
21312         (csin_test): Likewise.
21313         (csinh_test): Likewise.
21314
21315 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21316
21317         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21318         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21319         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21320         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21321         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21322         powerpc/power5+/fpu folders.
21323         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21324
21325
21326 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21327
21328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21329
21330 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21331
21332         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21333         additions to variable.
21334         [$(config-machine) = x86_64] (modules-names): Likewise.
21335         ($(objpfx)tst-audit3): Remove dependency.
21336         ($(objpfx)tst-audit3.out): Likewise.
21337         ($(objpfx)tst-audit4): Likewise.
21338         ($(objpfx)tst-audit4.out): Likewise.
21339         ($(objpfx)tst-audit5): Likewise.
21340         ($(objpfx)tst-audit5.out): Likewise.
21341         ($(objpfx)tst-audit6): Likewise.
21342         ($(objpfx)tst-audit6.out): Likewise.
21343         ($(objpfx)tst-audit7): Likewise.
21344         ($(objpfx)tst-audit7.out): Likewise.
21345         (tst-audit3-ENV): Remove variable.
21346         (tst-audit4-ENV): Likewise.
21347         (tst-audit5-ENV): Likewise.
21348         (tst-audit6-ENV): Likewise.
21349         (tst-audit7-ENV): Likewise.
21350         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21351         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21352         addition to variable.
21353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21354         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21355         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21356         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21357         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21358         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21359         tst-audit3, tst-audit4 and tst-audit5.
21360         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21361         tst-audit6 and tst-audit7.
21362         [$(subdir) = elf] (modules-names): Add audit modules for those
21363         tests.
21364         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21365         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21366         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21367         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21368         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21369         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21370         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21371         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21372         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21373         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21374         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21375         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21376         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21377         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21378         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21379         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21380         Likewise.
21381         [$(subdir) = elf && $(config-cflags-avx) = yes]
21382         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21383         [$(subdir) = elf && $(config-cflags-avx) = yes]
21384         (CFLAGS-tst-auditmod4a.c): Likewise.
21385         [$(subdir) = elf && $(config-cflags-avx) = yes]
21386         (CFLAGS-tst-auditmod4b.c): Likewise.
21387         [$(subdir) = elf && $(config-cflags-avx) = yes]
21388         (CFLAGS-tst-auditmod6b.c): Likewise.
21389         [$(subdir) = elf && $(config-cflags-avx) = yes]
21390         (CFLAGS-tst-auditmod6c.c): Likewise.
21391         [$(subdir) = elf && $(config-cflags-avx) = yes]
21392         (CFLAGS-tst-auditmod7b.c): Likewise.
21393         * elf/tst-audit3.c: Move to ...
21394         * sysdeps/x86_64/tst-audit3.c: ... here.
21395         * elf/tst-audit4.c: Move to ...
21396         * sysdeps/x86_64/tst-audit4.c: ... here.
21397         * elf/tst-audit5.c: Move to ...
21398         * sysdeps/x86_64/tst-audit5.c: ... here.
21399         * elf/tst-audit6.c: Move to ...
21400         * sysdeps/x86_64/tst-audit6.c: ... here.
21401         * elf/tst-audit7.c: Move to ...
21402         * sysdeps/x86_64/tst-audit7.c: ... here.
21403         * elf/tst-auditmod3a.c: Move to ...
21404         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21405         * elf/tst-auditmod3b.c: Move to ...
21406         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21407         * elf/tst-auditmod4a.c: Move to ...
21408         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21409         * elf/tst-auditmod4b.c: Move to ...
21410         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21411         * elf/tst-auditmod5a.c: Move to ...
21412         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21413         * elf/tst-auditmod5b.c: Move to ...
21414         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21415         * elf/tst-auditmod6a.c: Move to ...
21416         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21417         * elf/tst-auditmod6b.c: Move to ...
21418         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21419         * elf/tst-auditmod6c.c: Move to ...
21420         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21421         * elf/tst-auditmod7a.c: Move to ...
21422         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21423         * elf/tst-auditmod7b.c: Move to ...
21424         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21425
21426 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21427
21428         [BZ #15366]
21429         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21430         define unconditionally.
21431         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21432         define unconditionally.
21433         (INT8_C, INT16_C, etc.): Likewise.
21434
21435 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21436
21437         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21438         __ehdr_start with hidden visibility.
21439
21440         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21441
21442 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21443
21444         * math/libm-test.inc (cos_test): Use accurate hex constants.
21445         (sincost_test): Likewise.
21446
21447 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21448
21449         * math/libm-test.inc (catan_test): Add more tests.
21450         (catanh_test): Likewise.
21451
21452         * math/s_catanf.c (__catanf): Use suffixed floating-point
21453         constants.
21454         * math/s_catanhf.c (__catanhf): Likewise.
21455         * math/s_catanhl.c (__catanhl): Likewise.
21456         * math/s_catanl.c (__catanl): Likewise.
21457
21458         [BZ #15394]
21459         * math/s_catan.c (__catan): Calculate imaginary part of result
21460         with log1p not log unless computing log of number close to 0.
21461         * math/s_catanf.c (__catanf): Likewise.
21462         * math/s_catanl.c (__catanl): Likewise.
21463         * math/s_catanh.c (__catanh): Calculate real part of result with
21464         log1p not log unless computing log of number close to 0.
21465         * math/s_catanhf.c (__catanhf): Likewise.
21466         * math/s_catanhl.c (__catanhl): Likewise.
21467         * math/libm-test.inc (catan_test): Add more tests.
21468         (catanh_test): Likewise.
21469         * sysdeps/i386/fpu/libm-test-ulps: Update.
21470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21471
21472 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21473
21474         * benchtests/Makefile: Mention files in which fast and slow
21475         paths of math functions are implemented.
21476
21477 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21478
21479         * sysdeps/posix/timespec_get.c: New file.
21480
21481 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21482
21483         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21484         POWER.
21485         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21486         for POWER.
21487         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21488         powerpc/power5/fpu folders.
21489         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21490         * benchtests/Makefile: Add modf testcase.
21491         * benchtests/bench-modf.c: New file: Benchmark test for mo
21492
21493 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21494
21495         [BZ #14888]
21496         * time/Makefile (tests): Add tst-strptime-whitespace.
21497         * time/strptime_l.c (get_number): Use ISSPACE.
21498         (__strptime_internal): Likewise.
21499         * time/tst-strptime-whitespace.c: New test case.
21500
21501 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21502
21503         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21504         member.
21505         (_nss_files_init): Set it here.
21506
21507 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21508
21509         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21510         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21511         unsigned.
21512
21513 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21514
21515         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21516
21517 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21518
21519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21520         size just once.
21521
21522 2013-04-21  David S. Miller  <davem@davemloft.net>
21523
21524         * po/ru.po: Update Russion translation from translation project.
21525
21526 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21527
21528         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21529         and setfsgid.
21530
21531 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21532
21533         * configure.in: Remove i386 configure warning. Remove i386 case.
21534         * configure: Regenerate.
21535         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21536         Add example to error message.
21537         * sysdeps/i386/configure: Regenerate.
21538
21539 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21540
21541         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21542         slowtan.
21543         * benchtests/cos-inputs: New file.
21544         * benchtests/slowcos-inputs: New file.
21545         * benchtests/slowcos.c: New file.
21546         * benchtests/slowtan-inputs: New file.
21547         * benchtests/slowtan.c: New file.
21548         * benchtests/tan-inputs: New file.
21549
21550 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21551
21552         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21553         considered kosher.
21554
21555 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21556
21557         * benchtests/Makefile: Include cppflags-iterator.mk to add
21558         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21559
21560         * Makefile.in (bench-clean): New target.
21561         * benchtests/Makefile (bench-clean): Likewise.
21562
21563 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21564
21565         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21566
21567 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21568
21569         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21570
21571 2013-04-15  Andreas Schwab  <schwab@suse.de>
21572
21573         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21575         * nscd/pwdcache.c (cache_addpw): Likewise.
21576         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21577         more than recsize.
21578
21579 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21580
21581         * benchtests/Makefile (bench): Write all output to
21582         bench-out.tmp together.
21583
21584 2013-04-15  Andreas Schwab  <schwab@suse.de>
21585
21586         * nscd/nscd.c (main): Don't fork again after closing files.
21587
21588 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21589
21590         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21591
21592         * benchtests/Rules (bench-deps): Collect dependencies into a
21593         single variable.  Add Makefile to dependencies.
21594         ($(objpfx)bench-%.c): Depend on bench-deps.
21595
21596 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21597             Xavier Roche  <roche+kml2@exalead.com>
21598
21599         [BZ #15361]
21600         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21601         just that it's a file descriptor.
21602         * manual/llio.texi (Synchronizing AIO Operations): Update description
21603         for EBADF error from aio_fsync.
21604
21605 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21606
21607         * Rules (bench): Move target definition...
21608         * benchtests/Makefile: ... here.
21609
21610 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21611
21612         * math/libm-test.inc (cos_test): Fix PI/2 test.
21613         (sincos_test): Likewise.
21614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21615         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21616
21617 2013-04-11  Andreas Schwab  <schwab@suse.de>
21618
21619         [BZ #13988]
21620         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21621         accept exponent character only when digits were seen.
21622         * stdio-common/Makefile (tests): Add bug26.
21623         * stdio-common/bug26.c: New file.
21624
21625         [BZ #14293]
21626         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21627         non-freeable.
21628
21629 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21630
21631         * Makeconfig (rtld-prefix): Define built linker prefix.
21632         * Rules (run-bench): Use it.
21633         * math/Makefile (run-regen-ulps): Likewise.
21634
21635         * Rules (bench): Remove eval.
21636
21637 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21638             Roland McGrath  <roland@hack.frob.com>
21639             Ondrej Bilka  <neleai@seznam.cz>
21640
21641         [BZ #15346]
21642         * time/getdate.c: Include ctype.h and alloca.h.
21643         (__getdate_r): Trim leading and trailing spaces of input.
21644         * time/tst-getdate.c (tests): Add tests with leading and
21645         trailing spaces.
21646
21647 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21648
21649         [BZ #14280]
21650         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21651         when computing value.
21652
21653 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21654
21655         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21656         Use testrun.sh to run libm tests.
21657
21658         [BZ #15309]
21659         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21660
21661 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21662
21663         [BZ #15264]
21664         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21665
21666 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21667
21668         * Makefile.in (regen-ulps): New target.
21669         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21670         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21671         [ifneq (no,$(PERL)] (regen-ulps): New target.
21672         [ifeq (no,$(PERL)] (regen-ulps): New target.
21673         * math/libm-test.inc (ulps_file_name): Define.
21674         (output_dir): New variable.
21675         (options): Add "output-dir" option.
21676         (parse_opt): Handle 'o' case.
21677         (main): If output_dir is non-NULL use it as a prefix
21678         otherwise use "".
21679         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21680
21681 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21682
21683         [BZ #10060, #10062]
21684         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21685         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21686         fail configure if __sync_val_compare_and_swap is not inlined.
21687         * sysdeps/i386/configure: Regenerate.
21688         * configure.in: Build for i686 when configured for i386.
21689         * configure: Regenerate.
21690         * README: Remove i386 reference.
21691
21692 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21693
21694         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21695         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21696
21697 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21698
21699         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21700         (lmsnanval): New variables.
21701         (F): Add conversion tests.
21702         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21703         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21704
21705         * stdio-common/tstdiomisc.c (F): Properly collect individual
21706         tests' results.
21707
21708         [BZ #14686, #15336]
21709         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21710         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21711         Instead, use input NaN values or generate a qNaN by arithmetic
21712         operation.  Also fix bugs to comply with the standard.
21713         * math/libm-test.inc (remainder_test): Add more tests.
21714
21715         [BZ #15335, #15342]
21716         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21718         input NaN values or generate a qNaN by arithmetic operation.
21719
21720         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21721         unreachable code.
21722
21723         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21724         definitions.
21725
21726 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21727
21728         [BZ #14478]
21729         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21730         underflowed result.
21731         * math/s_cexpf.c (__cexpf): Likewise.
21732         * math/s_cexpl.c (__cexpl): Likewise.
21733         * math/libm-test.inc (cexp_test): Add more tests.
21734
21735 2013-04-03  Andreas Schwab  <schwab@suse.de>
21736
21737         [BZ #15330]
21738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21739         order arrays from heap if bigger than alloca cutoff.
21740
21741 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21742
21743         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21744         (SNAN_TESTS_double): Refer to GCC PR56831.
21745         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21746         GCC PR56828.
21747
21748 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749
21750         * Rules (bench): Move bench.out after the run is complete.
21751
21752         * Rules (bench): Echo currently running benchmark.
21753
21754         * benchtests/Makefile (bench): Add atan and slowatan.
21755         * benchtests/atan-inputs: New file.
21756         * benchtests/slowatan-inputs: New file.
21757         * benchtests/slowatan.c: New file.
21758
21759         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21760         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21761         its value.
21762
21763         [BZ #15305]
21764         * sysdeps/unix/sysv/linux/kernel-features.h
21765         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21766         __ASSUME_XFS_RESTRICTED_CHOWN.
21767         * sysdeps/unix/sysv/linux/pathconf.c
21768         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21769         Save and restore errno.
21770
21771 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21772
21773         [BZ #15327]
21774         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21775         arguments using __kernel_casinh.
21776         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21777         arguments using __kernel_casinhf.
21778         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21779         arguments using __kernel_casinhl.
21780         * math/libm-test.inc (cacosh_test): Add more tests.
21781         * sysdeps/i386/fpu/libm-test-ulps: Update.
21782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21783
21784 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21785
21786         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21788
21789         * bench/Makefile (bench): Add sin and slowsin.
21790         * benchtests/sin-inputs: New file.
21791         * benchtests/slowsin-inputs: New file.
21792         * benchtests/slowsin.c: New file.
21793
21794         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21795         (bench): Add slowexp and slowpow.
21796         (exp-ITER): Increase iterations.
21797         (pow-ITER): Likewise.
21798         * benchtests/exp-inputs: Change input.
21799         * benchtests/pow-inputs: Likewise.
21800         * benchtests/slowexp-inputs: New file.
21801         * benchtests/slowexp.c: New file.
21802         * benchtests/slowpow-inputs: New file.
21803         * benchtests/slowpow.c: New file.
21804
21805 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21806
21807         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21808         instructions.
21809         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21810         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21811         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21812         * benchtests/Makefile: Add rint benchtest.
21813         * benchtests/rint-inputs: Input for rint benchtest.
21814
21815 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21816
21817         * Versions.def (libm): Add GLIBC_2.18.
21818         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21819         hidden libm prototypes.
21820         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21821         * math/Makefile (libm-calls): Add s_issignaling.
21822         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21823         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21824         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21825         declaration.
21826         * math/math.h [__USE_GNU] (issignaling): New macro.
21827         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21828         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21829         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21830         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21831         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21832         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21833         * manual/arith.texi (issignaling): New section.
21834         * manual/libm-err-tab.pl (@all_functions): Update comment.
21835         * math/gen-libm-test.pl (parse_args): Apply special handling for
21836         issignaling.
21837         * math/libm-test.inc (print_float, issignaling_test): New
21838         functions.
21839         (check_float_internal): Add issignaling checks.
21840         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21841         default definition.
21842         * sysdeps/powerpc/math-tests.h: New file.
21843         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21844         tests.
21845         * math/test-snan.c (TEST_FUNC): Likewise.
21846
21847 2013-03-30  David S. Miller  <davem@davemloft.net>
21848
21849         * po/de.po: Update from translation team.
21850
21851 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21852
21853         [BZ #10357]
21854         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21855         imaginary part less than 1.0 and real part less than 0.5
21856         specially.
21857         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21858         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21859         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21860         (cacos_test): Add more tests.
21861         (casin_test): Likewise.
21862         (casinh_test): Likewise.
21863         * sysdeps/i386/fpu/libm-test-ulps: Update.
21864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21865
21866 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21867
21868         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21869         ONE with its value.
21870
21871         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21872         (__pow_mp): Replace ONE and MONE with their values.
21873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21876         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21877         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21879
21880         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21881
21882         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21883         (__pow_mp): Replace ZERO and MZERO with their values.
21884         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21885         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21888         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21889         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21890         (__sqr): Likewise.
21891
21892         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21893
21894         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21895
21896 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21897
21898         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21899         Declare with __attribute__ ((weak)).
21900         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21901         Call __call_tls_dtors only if it's not NULL.
21902
21903 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21904
21905         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21906         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21907         magic __ehdr_start linker symbol if it's defined.
21908         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21909         them up here if it was already done.
21910
21911         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21912         (_dl_aux_init): Use const in cast when setting it.
21913         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21914         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21915         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21916
21917         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21918         Declare them here.
21919         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21920         * csu/libc-tls.c: Nor here.
21921         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21922
21923         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21924         (__libc_message): Never call vsyslog.
21925
21926 2013-03-28  Alan Modra  <amodra@gmail.com>
21927
21928         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21929         Define as empty.
21930         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21931         Likewise.
21932
21933 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21934
21935         [BZ #15214]
21936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21937         underflow.
21938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21939
21940 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941
21942         [BZ #15304]
21943         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21944         Don't add gid passed as argument.
21945
21946         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21947
21948 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21949
21950         [BZ #15307]
21951         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21952         imaginary part between 1.0 and 1.5 and real part less than 0.5
21953         specially.
21954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21956         * math/libm-test.inc (cacos_test): Add more tests.
21957         (casin_test): Likewise.
21958         (casinh_test): Likewise.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21961
21962 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21963
21964         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21965         constants.
21966         (norm): Likewise.
21967         (denorm): Likewise.
21968         (__dbl_mp): Likewise.
21969         (add_magnitudes): Likewise.
21970         (sub_magnitudes): Likewise.
21971         (__add): Likewise.
21972         (__sub): Likewise.
21973         (__mul): Likewise.
21974         (__sqr): Likewise.
21975         (__inv): Likewise.
21976         (__dvd): Likewise.
21977
21978         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21979         commented code.
21980         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21981         (__dubcos): Likewise.
21982         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21983         (__ieee754_acos): Likewise.
21984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21985         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21986         (__exp1): Likewise.
21987         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21989         (log1): Likewise.
21990         (my_log2): Likewise.
21991         (checkint): Likewise.
21992         * sysdeps/ieee754/dbl-64/e_remainder.c
21993         (__ieee754_remainder): Likewise.
21994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21996         (bsloww): Likewise.
21997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21998
21999         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22000         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22001         MANTISSA_STORE_T to store computations on mantissa.  Use
22002         macros for rounding and division.
22003         (denorm): Likewise.
22004         (__dbl_mp): Likewise.
22005         (add_magnitudes): Likewise.
22006         (sub_magnitudes): Likewise.
22007         (__mul): Likewise.
22008         (__sqr): Likewise.
22009         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22010         powers of two in terms of TWOPOW macro.
22011         (mp_no): Make type of mantissa as MANTISSA_T.
22012         [!RADIXI]: Define RADIXI.
22013         [!TWO52]: Define TWO52.
22014         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22015
22016 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22017
22018         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22019         llroundl symbol when building for PPC32.
22020
22021 2013-03-24  Mark H Weaver  <mhw@netris.org>
22022
22023         * manual/arith.texi (Normalization Functions): Fix prototypes for
22024         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22025
22026 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22027
22028         [BZ #13889]
22029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22030         high value to check if expl overflow.
22031         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22032         to check for underflow and overflow.
22033         * math/libm-test.inc: Add exp test.
22034
22035 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22036
22037         [BZ #11120]
22038         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22039         with NOT_IN_libc.
22040
22041 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22042
22043         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22044         symbol.
22045
22046 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22047
22048         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22049         wrap blocks consisting of several statements.
22050
22051         * sysdeps/generic/math-tests.h: New file.
22052         * sysdeps/i386/fpu/math-tests.h: Likewise.
22053         * math/test-snan.c: Include it.
22054         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22055
22056 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22057
22058         [BZ #15285]
22059         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22060         (__ieee754_j0l): Do not improve calculations using cos of twice
22061         input for inputs above LDBL_MAX / 2.0L.
22062         (__ieee754_y0l): Likewise.
22063         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22064         (__ieee754_j1l): Do not improve calculations using cos of twice
22065         input for inputs above LDBL_MAX / 2.0L.
22066         (__ieee754_y1l): Likewise.
22067         * math/libm-test.inc (j0_test): Add another test.
22068         (j1_test): Likewise.
22069         (y0_test): Likewise.
22070         (y1_test): Likewise.
22071         * sysdeps/i386/fpu/libm-test-ulps: Update.
22072
22073 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22074
22075         * Rules ($(objpfx)bench-%.c): Include code from a C source
22076         file.
22077
22078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22079
22080         [BZ #15287]
22081         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22082         imaginary part 1.0 and real part less than 0.5 specially.
22083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22085         * math/libm-test.inc (cacos_test): Add more tests.
22086         (casin_test): Likewise.
22087         (casinh_test): Likewise.
22088         * sysdeps/i386/fpu/libm-test-ulps: Update.
22089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22090
22091 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22092
22093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22094         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22095
22096 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22097
22098         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22099         * config.make.in (config-cflags-sse4): Remove variable.
22100         (config-cflags-avx): Likewise.
22101         (config-cflags-sse2avx): Likewise.
22102         (config-cflags-novzeroupper): Likewise.
22103         (config-asflags-i686): Likewise.
22104         (have-mfma4): Likewise.
22105         (have-as-vis3): Likewise.
22106         (MIG): Likewise.
22107         * configure.in (MIG): Do not AC_SUBST.
22108         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22109         (libc_cv_cc_sse4): Do not AC_SUBST.
22110         (libc_cv_cc_avx): Likewise.
22111         (libc_cv_cc_sse2avx): Likewise.
22112         (libc_cv_cc_novzeroupper): Likewise.
22113         (libc_cv_cc_fma4): Likewise.
22114         (libc_cv_as_i686): Likewise.
22115         (libc_cv_sparc_as_vis3): Likewise.
22116         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22117         LIBC_CONFIG_VAR.
22118         (config-asflags-i686): Likewise.
22119         (config-cflags-avx): Likewise.
22120         (config-cflags-sse2avx): Likewise.
22121         (have-mfma4): Likewise.
22122         (config-cflags-novzeroupper): Likewise.
22123         * sysdeps/mach/configure.in (MIG): Likewise.
22124         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22125         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22126         LIBC_CONFIG_VAR.
22127         (config-cflags-avx): Likewise.
22128         (config-cflags-sse2avx): Likewise.
22129         (have-mfma4): Likewise.
22130         (config-cflags-novzeroupper): Likewise.
22131         * configure: Regenerated.
22132         * sysdeps/i386/configure: Likewise.
22133         * sysdeps/mach/configure: Likewise.
22134         * sysdeps/sparc/configure: Likewise.
22135         * sysdeps/x86_64/configure: Likewise.
22136
22137 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22138
22139         [BZ #14812]
22140         * locale/programs/localedef.c (options): Put N_ translation marker
22141         on argument names, not just descriptions.
22142
22143 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22144
22145         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22146
22147 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22148
22149         [BZ #14176]
22150         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22151
22152 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22153
22154         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22155         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22156         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22157         [!BEFORE_ABORT] (before_abort): New function.
22158         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22159         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22160         (writev_for_fatal): New function.
22161         (WRITEV_FOR_FATAL): New macro; call that.
22162         (backtrace_and_maps): New function.
22163         (BEFORE_ABORT): New macro; call that.
22164         (struct str_list): Type removed.
22165         (__libc_message, __libc_fatal): Functions removed.
22166         Include <sysdeps/posix/libc_fatal.c> instead.
22167
22168 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22169
22170         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22171         constants.
22172         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22173         double constants.
22174
22175 2013-03-19  Andreas Schwab  <schwab@suse.de>
22176
22177         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22178         * sysdeps/gnu/configure: Regenerate.
22179
22180         * configure.in: Substitute libc_cv_rtlddir.
22181         * configure: Regenerate.
22182         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22183         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22184         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22185         * elf/Makefile (install-others, CFLAGS-interp.c)
22186         (ldso_install, common-ldd-rewrite): Likewise.
22187         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22188         $(inst_slibdir)/$(rtld-installed-name).
22189         * scripts/rellns-sh: Add -p option.
22190         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22191         for source.
22192
22193 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22194
22195         * manual/nptl.texi: Renamed to ...
22196         * manual/threads.texi: ... this.
22197         * manual/Makefile (chapters): Update.
22198
22199 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22200
22201         [BZ #14812]
22202         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22203         on argument names, not just descriptions.
22204         * malloc/memusagestat.c (options): Likewise.
22205         * nss/getent.c (options): Likewise.
22206
22207 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22208
22209         [BZ #14812]
22210         * iconv/iconv_prog.c (options): Put N_ translation marker
22211         on argument names, not just descriptions.
22212         * iconv/iconvconfig.c (options): Likewise.
22213
22214 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22215
22216         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22217         implementation which is faster on all x86_64 architectures.
22218         Tested on AMD, Intel Nehalem, SNB, IVB.
22219         * sysdeps/x86_64/strnlen.S: Likewise.
22220
22221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22222         Remove all multiarch strlen and strnlen versions.
22223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22224         Remove strlen and strnlen related parts.
22225
22226         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22227         Inline strlen part.
22228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22229
22230         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22231         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22232         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22233         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22234         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22235         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22236
22237 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22238
22239         * manual/memory.texi (Malloc Tunable Parameters):
22240         Sort parameters alphabetically. Add comments for missing entries.
22241
22242 2013-03-17  David S. Miller  <davem@davemloft.net>
22243
22244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22245
22246 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22247
22248         [BZ #15283]
22249         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22250         for arguments at most half maximum finite value.
22251         * math/libm-test.inc (j0_test): Add more tests.
22252         (j1_test): Likewise.
22253         (y0_test): Likewise.
22254         (y1_test): Likewise.
22255         * sysdeps/i386/fpu/libm-test-ulps: Update.
22256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257
22258         [BZ #14155]
22259         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22260         1 / x and functions P and Q for arguments above 0x1p256L.
22261         (__ieee754_y0l): Likewise.
22262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22263         (__ieee754_y1l): Likewise.
22264         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22265         (j1_test): Likewise.
22266         (y0_test): Likewise.
22267         (y1_test): Likewise.
22268
22269 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22270
22271         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22272         variable.
22273
22274 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22275
22276         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22277         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22278         zero since it's initialized to EXEC_PAGESIZE.
22279
22280         * sysdeps/unix/sysv/linux/ldsodefs.h
22281         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22282         * sysdeps/generic/ldsodefs.h: ... here.
22283
22284 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22285
22286         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22287
22288         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22289         math/test-snan.c.
22290         * math/test-snan.c: Renamed from
22291         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22292         * math/Makefile (tests): Add test-snan.
22293         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22294         test-powerpc-snan.
22295
22296         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22297         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22298         functions.
22299         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22300         __builtin_nan family of functions.
22301         * math/libm-test.inc (initialize): Initialize qnan_value with
22302         __builtin_nan family of functions.
22303         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22304         Remove variables.
22305         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22306         Remove functions.
22307         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22308         storage class.  Initialize qNaN_var and sNaN_var with
22309         __builtin_nan and __builtin_nans families of functions,
22310         respectively.
22311
22312         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22313         (sqrt_test): Remove duplicate test with qNaN input.
22314         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22315         (round_test, signbit_test, significand_test): Note missing +/-Inf
22316         as well as qNaN tests.
22317
22318         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22319         qNaN_var.  Fix a few strings, too.
22320         * math/libm-test.inc (nan_value): Rename to qnan_value.
22321         * math/gen-libm-test.pl (%beautify): Adjust to that.
22322         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22323         * math/test-misc.c (main): Likewise.
22324         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22325         to __qnan_bytes, and __qnan_union, respectively.
22326         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22327         Likewise.
22328         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22329         and lqnanval, respectively.
22330         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22331         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22332         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22333         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22334
22335         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22336         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22337         doubles.
22338
22339         * math/test-misc.c (main): Fix copy'n'pastos.
22340         * misc/tst-efgcvt.c (special): Likewise.
22341
22342         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22343         Remove declarations.
22344
22345 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22346
22347         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22348         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22349         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22350         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22351
22352 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22353
22354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22355         macro to return vdso values correctly in IFUNC implementations.
22356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22357         Optimization by using IFUNC.
22358
22359 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22360             Richard Henderson  <rth@redhat.com>
22361             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22362
22363         * Makefile.in (bench): New target.
22364         * NEWS: Mention the benchmark framework.
22365         * Rules (bench): Likewise.
22366         (binaries-bench): Generate binaries for functions to
22367         benchmark.
22368         * benchtests/Makefile: New makefile for benchmark tests.
22369         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22370         programs.
22371         * benchtests/exp-inputs: New input file for EXP function.
22372         * benchtests/pow-inputs: New input file for POW function.
22373         * scripts/bench.pl: New script to generate source files for
22374         benchmark programs.
22375
22376 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22377
22378         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22379         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22380         computations on mantissa.  Use macros for rounding and
22381         division.
22382         (denorm): Likewise.
22383         (__dbl_mp): Likewise.
22384         (add_magnitudes): Likewise.
22385         (sub_magnitudes): Likewise.
22386         (__mul): Likewise.
22387         (__sqr): Likewise.
22388         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22389         powers of two in terms of TWOPOW macro.
22390         (mp_no): Make type of mantissa as MANTISSA_T.
22391         [!RADIXI]: Define RADIXI.
22392         [!TWO52]: Define TWO52.
22393         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22394
22395         * manual/nptl.texi (cindex): Modify threads to pthreads.
22396
22397 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22398
22399         * sysdeps/x86_64/preconfigure: Regenerated.
22400
22401 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22402
22403         [BZ #14155]
22404         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22405         0x1p28 and above.
22406         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22407         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22408         0x1p28 and above.
22409         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22410         * math/libm-test.inc (j0_test): Do not allow one spurious
22411         underflow exception.
22412         (y1_test): Likewise.
22413
22414 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22415
22416         * manual/Makefile (chapters): Add nptl.
22417         * manual/debug.texi (Debugging Support): Add link to Threads
22418         chapter.
22419         * manual/nptl.texi: New file.
22420
22421         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22422
22423 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22424
22425         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22426         for non-NULL pointer before the memory validity test. Pointed
22427         out by Holger Brunck <holger.brunck@keymile.com>.
22428
22429 2013-03-13  Andreas Schwab  <schwab@suse.de>
22430
22431         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22432         instead of .os.
22433
22434 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22435
22436         * timezone/zic.c: Update from tzcode 2013b.
22437
22438 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22439
22440         * manual/install.texi (Configuring and compiling):
22441         Mention i686 and i586.
22442         * INSTALL: Regenerate.
22443
22444 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22445
22446         * sysdeps/init_array/elf-init.c: New file.
22447         * csu/elf-init.c
22448         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22449         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22450
22451         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22452         __gmon_start__ as global, but as static with a .preinit_array pointer.
22453         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22454         * sysdeps/init_array/crti.S: New file, empty except for comments.
22455         * sysdeps/init_array/crtn.S: Likewise.
22456
22457 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22458
22459         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22460         definining bcopy.
22461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22462         Remove Prefer_SSE_for_memop.
22463         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22464         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22465         HAS_PREFER_SSE_FOR_MEMOP.
22466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22467         memset-x86-64.
22468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22469         Remove bzero, memset ifunc support.
22470         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22472         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22473         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22474
22475 2013-03-11  Andreas Schwab  <schwab@suse.de>
22476
22477         [BZ #15234]
22478         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22479         by SHLIB_COMPAT.
22480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22481         (GLIBC_2.16): Remove pthread_atfork.
22482
22483 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22484
22485         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22486         (ptestcases.h): Likewise.
22487
22488 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22489
22490         * Makeconfig ($(common-objpfx)config.status): Depend on
22491         sysdeps/*/preconfigure{,.in} too.
22492
22493 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22494
22495         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22496         (__free_hook): Use void * instead of __malloc_ptr_t.
22497         (__malloc_hook): Likewise.
22498         (__realloc_hook): Likewise.
22499         (__memalign_hook): Likewise.
22500         (__after_morecore_hook): Likewise.
22501         * malloc/arena.c (save_malloc_hook): Likewise.
22502         (save_free_hook): Likewise.
22503         * malloc/hooks.c (malloc_hook_ini): Likewise.
22504         (realloc_hook_ini): Likewise.
22505         (memalign_hook_ini): Likewise.
22506         * malloc/malloc.c (malloc_hook_ini): Likewise.
22507         (realloc_hook_ini): Likewise.
22508         (memalign_hook_ini): Likewise.
22509         (__free_hook): Likewise.
22510         (__malloc_hook): Likewise.
22511         (__realloc_hook): Likewise.
22512         (__memalign_hook): Likewise.
22513         (__libc_malloc): Likewise.
22514         (__libc_free): Likewise.
22515         (__libc_realloc): Likewise.
22516         (__libc_memalign): Likewise.
22517         (__libc_valloc): Likewise.
22518         (__libc_pvalloc): Likewise.
22519         (__libc_calloc): Likewise.
22520         (__posix_memalign): Likewise.
22521         * malloc/morecore.c (__sbrk): Likewise.
22522         (__default_morecore): Likewise.
22523
22524         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22525
22526         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22527         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22528         __malloc_ptrdiff_t.
22529
22530         * malloc/malloc.h (__malloc_size_t): Remove macro.
22531         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22532         __malloc_size_t.
22533         (old_memalign_hook): Likewise.
22534         (old_realloc_hook): Likewise.
22535         (struct hdr): Likewise.
22536         (flood): Likewise.
22537         (mallochook): Likewise.
22538         (memalignhook): Likewise.
22539         (reallochook): Likewise.
22540         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22541         (tr_old_realloc_hook): Likewise.
22542         (tr_old_memalign_hook): Likewise.
22543         (tr_mallochook): Likewise.
22544         (tr_reallochook): Likewise.
22545         (tr_memalignhook): Likewise.
22546
22547 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22548
22549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22550         default_ldbl_pack and using as default implementation.
22551         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22552         implementation.
22553         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22554         redundant definition.
22555         (ldbl_insert_mantissa): Likewise.
22556         (ldbl_canonicalize): Likewise.
22557         (ldbl_nearbyint): Likewise.
22558         (ldbl_pack): Rename to ldbl_pack_ppc.
22559         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22560         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22561         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22562
22563 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22564
22565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22566         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22567         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22568         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22570         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22571         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22572         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22573
22574 2013-03-07  Andreas Jaeger  <aj@suse.de>
22575
22576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22577         bits/mman-linux.h.
22578
22579 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22580
22581         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22582         Include mpa.h and declare __MPEXP.
22583         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22584         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22585         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22587         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22588         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22590
22591         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22592         (__slowpow): Use long double EXPL and LOGL functions to
22593         compute POW.
22594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22595         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22596         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22598         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22599         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22600
22601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22602         intermediate variable to calculate exponent.
22603         (__sqr): Likewise.
22604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22605         Likewise.
22606         (__sqr): Likewise.
22607
22608         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22609         [!NO__SQR]: Define __sqr.
22610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22611         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22612         sysdeps/ieee754/dbl-64/mpa.c.
22613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22614
22615         [BZ #12723]
22616         * posix/Makefile (tests): Add tst-pathconf.
22617         * posix/tst-pathconf.c: New test case.
22618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22619         _PC_PIPE_BUF.
22620         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22621
22622 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22623
22624         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22625
22626 2013-03-06  Andreas Jaeger  <aj@suse.de>
22627
22628         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22629         definition via __MAP_ANONYMOUS.
22630
22631         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22632         it's not part of Linux headers.
22633
22634         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22635         (MAP_HUGE_MASK): Define.
22636
22637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22638         Define.
22639         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22641         Define.
22642         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22643         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22644         Define.
22645         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22647         Define.
22648         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22649
22650         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22651         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22652         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22653         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22654         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22655         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22656
22657         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22658         Handle f2fs.
22659
22660         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22661         Handle f2fs and efivarfs.
22662
22663         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22664         f2fs.
22665
22666         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22667         (EFIVARFS_MAGIC): Add.
22668         (F2FS_LINK_MAX): Add.
22669
22670 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22671
22672         * stdio-common/vfprintf.c: Replace __builtin_expect with
22673         __glibc_unlikely.
22674
22675 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22676
22677         [BZ #13550]
22678         * sysdeps/generic/bp-sym.h: Remove file.
22679         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22681         <bp-sym.h> and <bp-asm.h>.
22682         (__longjmp): Don't use BP_SYM.
22683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22684         and <bp-asm.h>.
22685         (memcpy): Don't use BP_SYM.
22686         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22687         <bp-sym.h> and <bp-asm.h>.
22688         (memcpy): Don't use BP_SYM.
22689         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22690         <bp-asm.h>.
22691         (memcpy): Don't use BP_SYM.
22692         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22693         <bp-asm.h>.
22694         (memset): Don't use BP_SYM.
22695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22697         (__bzero): Don't use BP_SYM.
22698         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22699         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22700         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22701         <bp-sym.h> and <bp-asm.h>.
22702         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22703         pointers.
22704         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22705         <bp-sym.h> and <bp-asm.h>.
22706         (memcpy): Don't use BP_SYM.
22707         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22708         <bp-sym.h> and <bp-asm.h>.
22709         (memset): Don't use BP_SYM.
22710         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22711         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22712         (__bzero): Don't use BP_SYM.
22713         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22714         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22715         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22716         <bp-sym.h> and <bp-asm.h>.
22717         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22718         pointers.
22719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22720         <bp-sym.h> and <bp-asm.h>.
22721         (memcpy): Don't use BP_SYM.
22722         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22723         <bp-sym.h> and <bp-asm.h>.
22724         (memset): Don't use BP_SYM.
22725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22727         (__bzero): Don't use BP_SYM.
22728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22731         <bp-sym.h> and <bp-asm.h>.
22732         (__memchr): Don't use BP_SYM.
22733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22734         <bp-sym.h> and <bp-asm.h>.
22735         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22736         pointers.
22737         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22738         <bp-sym.h> and <bp-asm.h>.
22739         (memcpy): Don't use BP_SYM.
22740         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22741         <bp-sym.h> and <bp-asm.h>.
22742         (__mempcpy): Don't use BP_SYM.
22743         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22744         <bp-sym.h> and <bp-asm.h>.
22745         (__memrchr): Don't use BP_SYM.
22746         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22747         <bp-sym.h> and <bp-asm.h>.
22748         (memset): Don't use BP_SYM.
22749         (__bzero): Likewise.
22750         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22751         <bp-sym.h> and <bp-asm.h>.
22752         (__rawmemchr): Don't use BP_SYM.
22753         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22754         <bp-sym.h> and <bp-asm.h>.
22755         (__STRCMP): Don't use BP_SYM.
22756         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22757         <bp-sym.h> and <bp-asm.h>.
22758         (strchr): Don't use BP_SYM.
22759         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22760         <bp-sym.h> and <bp-asm.h>.
22761         (__strchrnul): Don't use BP_SYM.
22762         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22763         <bp-sym.h> and <bp-asm.h>.
22764         (strlen): Don't use BP_SYM.
22765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22766         <bp-sym.h> and <bp-asm.h>.
22767         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22768         pointers.
22769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22770         <bp-sym.h> and <bp-asm.h>.
22771         (__strnlen): Don't use BP_SYM.
22772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22773         <bp-sym.h> and <bp-asm.h>.
22774         (__GI__setjmp): Don't use BP_SYM.
22775         (_setjmp): Likewise.
22776         (__sigsetjmp): Likewise.
22777         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22778         (L(start_addresses)): Don't use BP_SYM.
22779         (_start): Likewise.
22780         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22781         <bp-asm.h>.
22782         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22783         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22784         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22786         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22787         <bp-asm.h>.
22788         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22789         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22790         about bounded pointers.
22791         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22792         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22793         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22794         <bp-asm.h>.
22795         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22796         about bounded pointers.  Remove GKM FIXME comments.
22797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22798         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22799         <bp-asm.h>.
22800         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22801         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22802         Remove GKM FIXME comments.
22803         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22804         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22805         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22806         <bp-asm.h>.
22807         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22808         about bounded pointers.  Remove GKM FIXME comment.
22809         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22810         and <bp-asm.h>.
22811         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22812         pointers.
22813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22814         <bp-sym.h> and <bp-asm.h>.
22815         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22817         <bp-sym.h> and <bp-asm.h>.
22818         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22819         comment.
22820
22821 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22822
22823         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22824         call free(NULL).
22825
22826 2013-03-05  David S. Miller  <davem@davemloft.net>
22827
22828         * po/es.po: Update from translation team.
22829
22830 2013-03-05  Andreas Jaeger  <aj@suse.de>
22831
22832         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22833         <bits/mman-linux.h>.
22834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22835         is fine.
22836         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22837         <bits/mman-linux.h> to end of file.
22838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22839         is fine.
22840         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22841         <bits/mman-linux.h> to end of file.
22842         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22843         is fine.
22844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22845         <bits/mman-linux.h> to end of file.
22846
22847         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22848         (MCL_CURRENT, MCL_FUTURE): Define here.
22849
22850 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22851
22852         [BZ #15232]
22853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22854         attribute_hidden.
22855         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22856
22857 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22858
22859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22860         fourth parameter needed for rt_sigprocmask syscall.
22861         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22862         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22865         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22866         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22867
22868 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22869
22870         [BZ #13550]
22871         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22872         comment about bounded pointers.
22873         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22874         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22875
22876 2013-03-04  Andreas Jaeger  <aj@suse.de>
22877
22878         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22879         common definitions.
22880
22881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22882         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22883         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22884         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22885         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22887
22888 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22889
22890         [BZ #15055]
22891         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22892         __ieee754_sqrl instead of __sqrl.
22893
22894 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22895
22896         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22897         * sysdeps/powerpc/fpu_control.h: ... here.
22898         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22899         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22900         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22901         * sysdeps/powerpc/bits/mathinline.h: ... here.
22902
22903 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22904
22905         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22906         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22907         to just [NEED_DL_SYSINFO_DSO].
22908         * elf/dl-support.c: Likewise.
22909         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22910         * elf/rtld.c (dl_main): Likewise.
22911         * elf/setup-vdso.h (setup_vdso): Likewise.
22912         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22913         * sysdeps/unix/sysv/linux/dl-sysdep.c
22914         (_dl_discover_osversion): Likewise.
22915
22916 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22917
22918         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22919         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22920
22921 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22922
22923         * NEWS: Mention libm performance improvements and non-x86 PI
22924         futex support.
22925
22926         * csu/libc-start.c (__pthread_initialize_minimal): Change
22927         function arguments.
22928         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22929
22930 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22931
22932         [BZ #13550]
22933         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22934         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22935         <bp-sym.h> and <bp-asm.h>.
22936         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22937         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22938         and <bp-asm.h>.
22939         (memcpy): Don't use BP_SYM.
22940         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22941         <bp-asm.h>.
22942         (__mpn_add_n): Don't use BP_SYM.
22943         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22944         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22945         and <bp-asm.h>.
22946         (__mpn_addmul_1): Don't use BP_SYM.
22947         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22948         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22949         <bp-sym.h>.
22950         (_setjmp): Don't use BP_SYM.
22951         (__novmx_setjmp): Likewise.
22952         (__GI__setjmp): Likewise.
22953         (__vmx_setjmp): Likewise.
22954         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22955         <bp-sym.h>.
22956         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22957         (__bzero): Don't use BP_SYM.
22958         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22959         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22960         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22961         <bp-sym.h> and <bp-asm.h>.
22962         (memcpy): Don't use BP_SYM.
22963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22964         <bp-sym.h> and <bp-asm.h>.
22965         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22967         <bp-sym.h> and <bp-asm.h>.
22968         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22969         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22970         <bp-asm.h>.
22971         (__mpn_lshift): Don't use BP_SYM.
22972         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22973         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22974         <bp-asm.h>.
22975         (memset): Don't use BP_SYM.
22976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22978         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22979         <bp-asm.h>.
22980         (__mpn_mul_1): Don't use BP_SYM.
22981         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22983         <bp-sym.h> and <bp-asm.h>.
22984         (memcmp): Don't use BP_SYM.
22985         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22986         <bp-sym.h> and <bp-asm.h>.
22987         (memcpy): Don't use BP_SYM.
22988         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22989         <bp-sym.h> and <bp-asm.h>.
22990         (memset): Don't use BP_SYM.
22991         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22992         <bp-sym.h> and <bp-asm.h>.
22993         (strncmp): Don't use BP_SYM.
22994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22995         <bp-sym.h> and <bp-asm.h>.
22996         (memcpy): Don't use BP_SYM.
22997         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22998         <bp-sym.h> and <bp-asm.h>.
22999         (memset): Don't use BP_SYM.
23000         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23001         <bp-sym.h> and <bp-asm.h>.
23002         (__memchr): Don't use BP_SYM.
23003         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23004         <bp-sym.h> and <bp-asm.h>.
23005         (memcmp): Don't use BP_SYM.
23006         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23007         <bp-sym.h> and <bp-asm.h>.
23008         (memcpy): Don't use BP_SYM.
23009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23010         <bp-sym.h> and <bp-asm.h>.
23011         (__mempcpy): Don't use BP_SYM.
23012         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23013         <bp-sym.h> and <bp-asm.h>.
23014         (__memrchr): Don't use BP_SYM.
23015         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23016         <bp-sym.h> and <bp-asm.h>.
23017         (memset): Don't use BP_SYM.
23018         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23019         <bp-sym.h> and <bp-asm.h>.
23020         (__rawmemchr): Don't use BP_SYM.
23021         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23022         <bp-sym.h> and <bp-asm.h>.
23023         (__STRCMP): Don't use BP_SYM.
23024         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23025         <bp-sym.h> and <bp-asm.h>.
23026         (strchr): Don't use BP_SYM.
23027         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23028         <bp-sym.h> and <bp-asm.h>.
23029         (__strchrnul): Don't use BP_SYM.
23030         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23031         <bp-sym.h> and <bp-asm.h>.
23032         (strlen): Don't use BP_SYM.
23033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23034         <bp-sym.h> and <bp-asm.h>.
23035         (strncmp): Don't use BP_SYM.
23036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23037         <bp-sym.h> and <bp-asm.h>.
23038         (__strnlen): Don't use BP_SYM.
23039         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23040         <bp-asm.h>.
23041         (__mpn_rshift): Don't use BP_SYM.
23042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23043         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23044         <bp-sym.h> and <bp-asm.h>.
23045         (__sigsetjmp): Don't use BP_SYM.
23046         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23047         (L(start_addresses)): Don't use BP_SYM.
23048         (_start): Likewise.
23049         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23050         <bp-asm.h>.
23051         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23052         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23053         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23054         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23055         <bp-asm.h>.
23056         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23059         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23060         <bp-asm.h>.
23061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23062         comments.
23063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23064         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23065         <bp-asm.h>.
23066         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23067         FIXME comments.
23068         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23069         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23070         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23071         <bp-asm.h>.
23072         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23073         comment.
23074         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23075         and <bp-asm.h>.
23076         (strncmp): Don't use BP_SYM,
23077         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23078         <bp-asm.h>.
23079         (__mpn_sub_n): Don't use BP_SYM.
23080         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23081         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23082         and <bp-asm.h>.
23083         (__mpn_submul_1): Don't use BP_SYM.
23084         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23086         <bp-sym.h> and <bp-asm.h>.
23087         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23089         <bp-sym.h> and <bp-asm.h>.
23090         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23091         comment.
23092
23093 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23094
23095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23096         Use ZK to minimize writes to Z.
23097         (sub_magnitudes): Simplify code a bit.
23098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23099         Use ZK to minimize writes to Z.
23100         (sub_magnitudes): Simplify code a bit.
23101
23102 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23103
23104         * csu/gmon-start.c: Add special exception to license text.
23105
23106 2013-02-27  Richard Henderson  <rth@redhat.com>
23107
23108         * scripts/config.guess: Update from config.git.
23109         * scripts/config.sub: Likewise.
23110
23111 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23112
23113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23114
23115         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23116
23117         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23118
23119         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23120
23121         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23122
23123 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23124
23125         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23126         [$(build-shared = yes].
23127
23128 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23129
23130         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23131         (__mul): Reduce iterations for calculating mantissa.
23132
23133         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23134         MPTWO.
23135         (__mpranred): Likewise.
23136
23137         [BZ #15160]
23138         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23139         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23140
23141 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23142
23143         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23144         Define __attribute__.
23145
23146 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23147
23148         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23149         unused.
23150         * posix/regex_internal.h (__attribute): Remove.
23151         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23152         (re_string_context_at): Likewise.
23153         (bitset_not): Use __attribute__ and mark function as possibly
23154         unused.
23155         (bitset_merge): Likewise.
23156         (bitset_mask): Likewise.
23157         (re_string_char_size_at): Likewise.
23158         (re_string_wchar_at): Likewise.
23159         (re_string_elem_size_at): Likewise.
23160
23161 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23162
23163         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23164         code.
23165         (cc32): Likewise.
23166
23167         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23168         (__acr): Likewise.
23169         (__cpy): Likewise.
23170         (norm): Likewise.
23171         (denorm): Likewise.
23172         (__dbl_mp): Likewise.
23173         (add_magnitudes): Likewise.
23174         (sub_magnitudes): Likewise.
23175         (__mul): Likewise.
23176         (__inv): Likewise.
23177
23178         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23179         style.
23180
23181         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23182         style.
23183
23184         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23185         code.
23186
23187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23188         up changes with default code.
23189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23190         Likewise.
23191
23192 2013-02-24  Allan McRae  <allan@archlinux.org>
23193
23194         * manual/socket.texi (The Internet Namespace): Order menu items
23195         to match that in the file.
23196
23197         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23198         node listing of the info page menu.
23199
23200 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23201
23202         [BZ #13550]
23203         * sysdeps/i386/bp-asm.h: Remove file.
23204         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23205         (PARMS): Do not use macros from bp-asm.h.
23206         (S1): Likewise.
23207         (S2): Likewise.
23208         (SIZE): Likewise.
23209         (__mpn_add_n): Do not use BP_SYM
23210         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23211         "bp-asm.h".
23212         (PARMS): Do not use macros from bp-asm.h.
23213         (S1): Likewise.
23214         (SIZE): Likewise.
23215         (__mpn_addmul_1): Do not use BP_SYM
23216         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23217         "bp-asm.h".
23218         (PARMS): Do not use macros from bp-asm.h.
23219         (SIGMSK): Likewise.
23220         (_setjmp): Likewise.  Do not use BP_SYM.
23221         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23222         "bp-asm.h".
23223         (PARMS): Do not use macros from bp-asm.h.
23224         (SIGMSK): Likewise.
23225         (setjmp): Likewise.  Do not use BP_SYM.
23226         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23227         "bp-asm.h".
23228         (PARMS): Do not use macros from bp-asm.h.
23229         (__frexp): Do not use BP_SYM.
23230         (frexp): Likewise.
23231         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23232         "bp-asm.h".
23233         (PARMS): Do not use macros from bp-asm.h.
23234         (__frexpf): Do not use BP_SYM.
23235         (frexpf): Likewise.
23236         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23237         "bp-asm.h".
23238         (PARMS): Do not use macros from bp-asm.h.
23239         (__frexpl): Do not use BP_SYM.
23240         (frexpl): Likewise.
23241         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23242         "bp-asm.h".
23243         (PARMS): Do not use macros from bp-asm.h.
23244         (__remquo): Do not use BP_SYM.
23245         (remquo): Likewise.
23246         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23247         "bp-asm.h".
23248         (PARMS): Do not use macros from bp-asm.h.
23249         (__remquof): Do not use BP_SYM.
23250         (remquof): Likewise.
23251         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23252         "bp-asm.h".
23253         (PARMS): Do not use macros from bp-asm.h.
23254         (__remquol): Do not use BP_SYM.
23255         (remquol): Likewise.
23256         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23257         "bp-asm.h".
23258         (PARMS): Do not use macros from bp-asm.h.
23259         (DEST): Likewise.
23260         (SRC): Likewise.
23261         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23262         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23263         "bp-asm.h".
23264         (PARMS): Do not use macros from bp-asm.h.
23265         (strlen): Do not use BP_SYM.
23266         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23267         "bp-asm.h".
23268         (PARMS): Do not use macros from bp-asm.h.
23269         (S1): Likewise.
23270         (S2): Likewise.
23271         (SIZE): Likewise.
23272         (__mpn_add_n): Do not use BP_SYM.
23273         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23274         "bp-asm.h".
23275         (PARMS): Do not use macros from bp-asm.h.
23276         (S1): Likewise.
23277         (SIZE): Likewise.
23278         (__mpn_addmul_1): Do not use BP_SYM.
23279         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23280         weak_alias.
23281         (bzero): Likewise.
23282         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23283         "bp-asm.h".
23284         (PARMS): Do not use macros from bp-asm.h.
23285         (S): Likewise.
23286         (SIZE): Likewise.
23287         (__mpn_lshift): Do not use BP_SYM.
23288         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23289         "bp-asm.h".
23290         (PARMS): Do not use macros from bp-asm.h.
23291         (DEST): Likewise.
23292         (SRC): Likewise.
23293         (LEN): Likewise.
23294         (memcpy): Likewise.  Do not use BP_SYM.
23295         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23296         libc_hidden_def and weak_alias.
23297         (mempcpy): Do not use BP_SYM in weak_alias.
23298         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23299         "bp-asm.h".
23300         (PARMS): Do not use macros from bp-asm.h.
23301         (DEST): Likewise.
23302         (LEN): Likewise.
23303         [!BZERO_P] (CHR): Likewise.
23304         (memset): Likewise.  Do not use BP_SYM.
23305         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23306         "bp-asm.h".
23307         (PARMS): Do not use macros from bp-asm.h.
23308         (S1): Likewise.
23309         (SIZE): Likewise.
23310         (__mpn_mul_1): Do not use BP_SYM.
23311         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23312         "bp-asm.h".
23313         (PARMS): Do not use macros from bp-asm.h.
23314         (S): Likewise.
23315         (SIZE): Likewise.
23316         (__mpn_rshift): Do not use BP_SYM.
23317         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23318         "bp-asm.h".
23319         (PARMS): Do not use macros from bp-asm.h.
23320         (STR): Likewise.
23321         (CHR): Likewise.
23322         (strchr): Likewise.  Do not use BP_SYM.
23323         (index): Do not use BP_SYM in weak_alias.
23324         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23325         "bp-asm.h".
23326         (PARMS): Do not use macros from bp-asm.h.
23327         (DEST): Likewise.
23328         (SRC): Likewise.
23329         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23330         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23331         "bp-asm.h".
23332         (PARMS): Do not use macros from bp-asm.h.
23333         (strlen): Do not use BP_SYM.
23334         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23335         "bp-asm.h".
23336         (PARMS): Do not use macros from bp-asm.h.
23337         (S1): Likewise.
23338         (S2): Likewise.
23339         (SIZE): Likewise.
23340         (__mpn_sub_n): Do not use BP_SYM.
23341         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23342         "bp-asm.h".
23343         (PARMS): Do not use macros from bp-asm.h.
23344         (S1): Likewise.
23345         (SIZE): Likewise.
23346         (__mpn_submul_1): Do not use BP_SYM.
23347         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23348         "bp-asm.h".
23349         (PARMS): Do not use macros from bp-asm.h.
23350         (S1): Likewise.
23351         (S2): Likewise.
23352         (SIZE): Likewise.
23353         (__mpn_add_n): Do not use BP_SYM.
23354         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23355         weak_alias.
23356         (bzero): Likewise.
23357         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23358         "bp-asm.h".
23359         (PARMS): Do not use macros from bp-asm.h.
23360         (BLK2): Likewise.
23361         (LEN): Likewise.
23362         (memcmp): Do not use BP_SYM.
23363         (bcmp): Do not use BP_SYM in weak_alias.
23364         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23365         "bp-asm.h".
23366         (PARMS): Do not use macros from bp-asm.h.
23367         (DEST): Likewise.
23368         (SRC): Likewise.
23369         (LEN): Likewise.
23370         (memcpy): Likewise.  Do not use BP_SYM.
23371         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23372         "bp-asm.h".
23373         (PARMS): Do not use macros from bp-asm.h.
23374         (DEST): Likewise.
23375         (SRC): Likewise.
23376         (LEN): Likewise.
23377         (memmove): Likewise.  Do not use BP_SYM.
23378         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23379         "bp-asm.h".
23380         (PARMS): Do not use macros from bp-asm.h.
23381         (DEST): Likewise.
23382         (SRC): Likewise.
23383         (LEN): Likewise.
23384         (__mempcpy): Likewise.  Do not use BP_SYM.
23385         (mempcpy): Do not use BP_SYM in weak_alias.
23386         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23387         "bp-asm.h".
23388         (PARMS): Do not use macros from bp-asm.h.
23389         (DEST): Likewise.
23390         (LEN): Likewise.
23391         [!BZERO_P] (CHR): Likewise.
23392         (memset): Likewise.  Do not use BP_SYM.
23393         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23394         "bp-asm.h".
23395         (PARMS): Do not use macros from bp-asm.h.
23396         (STR2): Likewise.
23397         (strcmp): Do not use BP_SYM.
23398         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23399         "bp-asm.h".
23400         (PARMS): Do not use macros from bp-asm.h.
23401         (STR): Likewise.
23402         (DELIM): Likewise.
23403         [USE_AS_STRTOK_R] (SAVE): Likewise.
23404         (FUNCTION): Likewise.  Do not use BP_SYM.
23405         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23406         aliases.
23407         (strtok_r): Likewise.
23408         (__GI___strtok_r): Likewise.
23409         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23410         (PARMS): Do not use macros from bp-asm.h.
23411         (S): Likewise.
23412         (SIZE): Likewise.
23413         (__mpn_lshift): Do not use BP_SYM.
23414         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23415         (PARMS): Do not use macros from bp-asm.h.
23416         (STR): Likewise.
23417         (CHR): Likewise.
23418         (__memchr): Do not use BP_SYM.
23419         (memchr): Do not use BP_SYM in weak_alias.
23420         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23421         (PARMS): Do not use macros from bp-asm.h.
23422         (BLK2): Likewise.
23423         (LEN): Likewise.
23424         (memcmp): Do not use BP_SYM.
23425         (bcmp): Do not use BP_SYM in weak_alias.
23426         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23427         (PARMS): Do not use macros from bp-asm.h.
23428         (S1): Likewise.
23429         (SIZE): Likewise.
23430         (__mpn_mul_1): Do not use BP_SYM.
23431         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23432         "bp-asm.h".
23433         (PARMS): Do not use macros from bp-asm.h.
23434         (STR): Likewise.
23435         (CHR): Likewise.
23436         (__rawmemchr): Do not use BP_SYM.
23437         (rawmemchr): Do not use BP_SYM in weak_alias.
23438         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23439         (PARMS): Do not use macros from bp-asm.h.
23440         (S): Likewise.
23441         (SIZE): Likewise.
23442         (__mpn_rshift): Do not use BP_SYM.
23443         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23444         (PARMS): Do not use macros from bp-asm.h.
23445         (SIGMSK): Likewise.
23446         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23447         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23448         (_start): Do not use BP_SYM.
23449         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23450         (PARMS): Do not use macros from bp-asm.h.
23451         (DEST): Likewise.
23452         (SRC): Likewise.
23453         (__stpcpy): Likewise.  Do not use BP_SYM.
23454         (stpcpy): Do not use BP_SYM in weak_alias.
23455         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23456         "bp-asm.h".
23457         (PARMS): Do not use macros from bp-asm.h.
23458         (DEST): Likewise.
23459         (SRC): Likewise.
23460         (LEN): Likewise.
23461         (__stpncpy): Likewise.  Do not use BP_SYM.
23462         (stpncpy): Do not use BP_SYM in weak_alias.
23463         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23464         (PARMS): Do not use macros from bp-asm.h.
23465         (STR): Likewise.
23466         (CHR): Likewise.
23467         (strchr): Likewise.  Do not use BP_SYM.
23468         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23469         "bp-asm.h".
23470         (PARMS): Do not use macros from bp-asm.h.
23471         (STR): Likewise.
23472         (CHR): Likewise.
23473         (__strchrnul): Likewise.  Do not use BP_SYM.
23474         (strchrnul): Do not use BP_SYM in weak_alias.
23475         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23476         "bp-asm.h".
23477         (PARMS): Do not use macros from bp-asm.h.
23478         (STOP): Likewise.
23479         (strcspn): Do not use BP_SYM.
23480         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23481         "bp-asm.h".
23482         (PARMS): Do not use macros from bp-asm.h.
23483         (STR): Likewise.
23484         (STOP): Likewise.
23485         (strpbrk): Likewise.  Do not use BP_SYM.
23486         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23487         "bp-asm.h".
23488         (PARMS): Do not use macros from bp-asm.h.
23489         (STR): Likewise.
23490         (CHR): Likewise.
23491         (strrchr): Likewise.  Do not use BP_SYM.
23492         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23493         (PARMS): Do not use macros from bp-asm.h.
23494         (SKIP): Likewise.
23495         (strspn): Do not use BP_SYM.
23496         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23497         (PARMS): Do not use macros from bp-asm.h.
23498         (STR): Likewise.
23499         (DELIM): Likewise.
23500         (SAVE): Likewise.
23501         (FUNCTION): Likewise.  Do not use BP_SYM.
23502         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23503         aliases.
23504         (strtok_r): Likewise.
23505         (__GI___strtok_r): Likewise.
23506         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23507         (PARMS): Do not use macros from bp-asm.h.
23508         (S1): Likewise.
23509         (S2): Likewise.
23510         (SIZE): Likewise.
23511         (__mpn_sub_n): Do not use BP_SYM.
23512         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23513         "bp-asm.h".
23514         (PARMS): Do not use macros from bp-asm.h.
23515         (S1): Likewise.
23516         (SIZE): Likewise.
23517         (__mpn_submul_1): Do not use BP_SYM.
23518         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23519         <bp-sym.h>.
23520         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23521         and <bp-asm.h>.
23522         (PARMS): Do not use macros from bp-asm.h.
23523         (FLAGS): Likewise.
23524         (PTID): Likewise.
23525         (TLS): Likewise.
23526         (CTID): Likewise.
23527         (__clone): Do not use BP_SYM.
23528         (clone): Do not use BP_SYM in weak_alias.
23529         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23530         and <bp-asm.h>.
23531         (PARMS): Do not use macros from bp-asm.h.
23532         (LEN): Likewise.
23533         (__mmap64): Do not use BP_SYM.
23534         (mmap64): Do not use BP_SYM in weak_alias.
23535         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23536         <bp-sym.h> and <bp-asm.h>.
23537         (PARMS): Do not use macros from bp-asm.h.
23538         (__posix_fadvise64_l64): Do not use BP_SYM.
23539         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23540         (PARMS): Do not use macros from bp-asm.h.
23541         (NSOPS): Likewise.
23542         (semtimedop): Do not use BP_SYM.
23543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23544         and <bp-asm.h>.
23545
23546 2013-02-21  Allan McRae  <allan@archlinux.org>
23547
23548         * manual/message.texi (Charset conversion in gettext):
23549         Move @end statement to beginning of line.
23550
23551 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23552
23553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23554         static.
23555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23556         Likewise.
23557
23558         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23559         (denorm): Likewise.
23560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23562
23563 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23564
23565         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23566         tail-call to the resolved function if pltexit isn't needed.
23567
23568 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569
23570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23571         or Y being zero as being unlikely.
23572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23573         Likewise.
23574
23575 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23576
23577         * manual/nss.texi (System Databases and Name Service Switch):
23578         Remove frobnicate @pxref.
23579
23580 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23581
23582         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23583         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23584
23585 2013-02-20  Petr Machata  <pmachata@redhat.com>
23586
23587         * elf/elf.h (R_ARM_TARGET1): New macro.
23588         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23589         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23590         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23591         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23592         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23593         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23594         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23595         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23596         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23597         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23598         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23599         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23600         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23601         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23602         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23603         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23604         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23605         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23606         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23607         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23608         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23609         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23610         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23611         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23612         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23613         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23614         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23615         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23616         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23617         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23618         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23619         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23620         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23621         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23622         (R_ARM_THM_GOT_BREL12): Likewise.
23623         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23624         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23625         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23626         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23627         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23628         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23629         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23630         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23631         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23632
23633 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23634
23635         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23636         __attribute_used__ to __attribute__ ((unused)).
23637
23638 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23639
23640         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23641         powerpc mpa.c.
23642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23643         comment formatting.
23644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23645
23646 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23647
23648         [BZ #13550]
23649         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23650         Remove macro.
23651         (ENTER): Remove both macro definitions.
23652         (LEAVE): Likewise.
23653         (CHECK_BOUNDS_LOW): Likewise.
23654         (CHECK_BOUNDS_HIGH): Likewise.
23655         (CHECK_BOUNDS_BOTH): Likewise.
23656         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23657         (RETURN_BOUNDED_POINTER): Likewise.
23658         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23659         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23660         (POP_ERRNO_LOCATION_RETURN): Likewise.
23661         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23663         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23664         macros.
23665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23666         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23667         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23668         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23669         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23670         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23671         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23672         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23673         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23674         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23675         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23676         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23677         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23678         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23679         removed macros.
23680         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23681         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23682         macros.
23683         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23684         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23685         * sysdeps/i386/i586/memset.S (memset): Likewise.
23686         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23687         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23688         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23689         macros.
23690         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23691         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23692         Change uses of L(2) to L(out).
23693         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23694         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23695         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23697         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23698         removed macros.
23699         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23700         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23701         macros.
23702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23703         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23704         (RETURN): Do not use macro LEAVE.
23705         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23706         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23707         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23708         * sysdeps/i386/i686/memset.S (memset): Likewise.
23709         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23710         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23711         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23712         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23713         Likewise.
23714         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23715         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23716         L(1_2) and L(1_3) into L(1).
23717         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23718         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23720         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23721         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23722         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23723         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23724         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23725         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23726         macros.
23727         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23728         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23729         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23730         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23731         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23732         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23733         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23734         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23735         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23736         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23737         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23738         * sysdeps/i386/strspn.S (strspn): Likewise.
23739         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23740         conditional code.
23741         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23742         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23743         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23744         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23745         L(1_3) into L(1_1).
23746         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23747         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23748         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23749         macros.
23750         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23751
23752 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23753
23754         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23755         macro.
23756
23757 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23758
23759         * math/atest-exp.c (exp_mpn): Remove ROUND.
23760         * math/atest-exp2.c (exp_mpn): Likewise.
23761         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23762
23763         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23764         * stdlib/tst-tls-atexit-lib.c: Likewise.
23765         * stdlib/tst-tls-atexit.c: Likewise.
23766
23767 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23768
23769         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23770         and __attribute_alloc_size__.
23771
23772 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23773
23774         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23775         __attribute_alloc_size__.
23776         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23777         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23778
23779 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23780
23781         * include/programs/xmalloc.h: New file.
23782         * catgets/gencat.c: Include it.
23783         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23784         * elf/pldd.c: Likewise.
23785         * iconv/iconv_charmap.c: Likewise.
23786         * iconv/iconvconfig.c: Likewise.
23787         * iconv/strtab.c: Likewise.
23788         * locale/programs/locale.c: Likewise.
23789         * locale/programs/localedef.h: Likewise.
23790         * locale/programs/simple-hash.c: Likewise.
23791         * nscd/nscd.h: Likewise.
23792         * nss/makedb.c: Likewise.
23793         * sysdeps/generic/ldconfig.h: Likewise.
23794
23795 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796
23797         * Versions.def: Add GLIBC_2.18.
23798         * include/link.h (struct link_map): New member l_tls_dtor_count.
23799         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23800         (__call_tls_dtors): Likewise.
23801         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23802         __cxa_thread_atexit_impl.
23803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23804         Likewise.
23805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23806         Likewise.
23807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23808         Likewise.
23809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23810         Likewise.
23811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23813         Likewise.
23814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23815         Likewise.
23816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23818         Likewise.
23819         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23820         (tests): Add test case tst-tls-atexit.
23821         (modules-names): Add shared library for tst-tls-atexit.
23822         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23823         (GLIBC_PRIVATE): Add __call_tls_dtors.
23824         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23825         for libstdc++.
23826         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23827         * stdlib/tst-tls-atexit.c: New test case.
23828         * stdlib/tst-tls-atexit-lib.c: New test case.
23829
23830         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23831
23832         * elf/Versions (ld): Add _dl_find_dso_for_object.
23833         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23834         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23835         (dl_open_worker): Use _dl_find_dso_for_object.
23836         * elf/dl-sym.c (do_sym): Likewise.
23837         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23838
23839 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23840
23841         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23842         Syntactic changes only.
23843         (_dl_runtime_profile): Do a tail-call to the resolved function.
23844
23845 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23846
23847         [BZ #13550]
23848         * sysdeps/x86_64/bp-asm.h: Remove file.
23849         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23850         <bp-sym.h> and <bp-asm.h>.
23851         (__clone): Do not use BP_SYM.
23852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23853         <bp-sym.h> and <bp-asm.h>.
23854         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23855         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23856         "bp-asm.h".
23857         (_setjmp): Do not use BP_SYM.
23858         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23859         "bp-asm.h".
23860         (setjmp): Do not use BP_SYM.
23861         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23862         libc_hidden_def.
23863         (mempcpy): Do not use BP_SYM in weak_alias.
23864         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23865         "bp-asm.h".
23866         (strchr): Do not use BP_SYM.
23867         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23868         "bp-asm.h".
23869         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23870         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23871         (_start): Do not use BP_SYM.
23872         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23873         "bp-asm.h".
23874         (strcat): Do not use BP_SYM.
23875         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23876         "bp-asm.h".
23877         (STRCMP): Do not use BP_SYM.
23878         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23879         "bp-asm.h".
23880         (STRCPY): Do not use BP_SYM.
23881         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23882         "bp-asm.h".
23883         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23884         "bp-asm.h".
23885         (FUNCTION): Do not use BP_SYM.
23886         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23887         weak_alias.
23888         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23889
23890 2013-02-17  Andreas Jaeger  <aj@suse.de>
23891
23892         * time/Versions: Sort entries.
23893         * string/Versions: Likewise.
23894         * resolv/Versions: Likewise.
23895         * posix/Versions: Likewise.
23896         * iconv/Versions: Likewise.
23897         * elf/Versions: Likewise.
23898         * wcsmbs/Versions: Likewise.
23899
23900 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23901
23902         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23903         loop termination condition.
23904
23905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23906         variable to calculate EZ.
23907         (__sqr): Likewise.
23908
23909         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23910         the lower precision input.
23911
23912 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23913
23914         [BZ #13550]
23915         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23916         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23917         (run-via-rtld-prefix): Do not handle %-bp tests.
23918         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23919         (all-object-suffixes): Remove .ob.
23920         (bppfx): Remove variable.
23921         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23922         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23923         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23924         [$(build-bounded) = yes] (libtype.ob): Likewise.
23925         * Makerules (elide-routines.ob): Remove variable.
23926         (do-tests-clean): Do not handle *-bp.out.
23927         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23928         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23929         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23930         (tests): Do not include $(tests-bp.out).
23931         (xtests): Do not include $(xtests-bp.out).
23932         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23933         [$(build-bounded) = yes] ($(addprefix
23934         $(objpfx),$(binaries-bounded))): Remove rule.
23935         ($(objpfx)%-bp.out): Remove rule.
23936         * config.make.in (build-bounded): Remove variable.
23937         * crypt/Makefile [$(build-bounded) = yes]
23938         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23939         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23940         append to variable.
23941         [$(build-bounded) = yes] (install-lib): Likewise.
23942         [$(build-bounded) = yes] (generated): Likewise.
23943         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23944         Remove rule.
23945         * intl/Makefile [$(build-bounded) = yes]
23946         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23947         * math/Makefile [$(build-bounded) = yes]
23948         ($(tests:%=$(objpfx)%-bp): Likewise.
23949         * misc/Makefile [$(build-bounded) = yes]
23950         ($(objpfx)tst-tsearch-bp): Likewise.
23951         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23952         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23953         Remove dependency.
23954         * string/Makefile (o-objects.ob): Remove variable.
23955         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23956         (CFLAGS-.ob): Remove variable.
23957         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23958         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23959         both definitions of variable.
23960         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23961         (ASFLAGS-.ob): Remove variable.
23962
23963 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23964
23965         [BZ #13550]
23966         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23967         Remove __BOUNDED_POINTERS__ from condition.
23968         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23969         * string/bits/string2.h [!__NO_STRING_INLINES &&
23970         !__BOUNDED_POINTERS__]: Likewise.
23971         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23972         Likewise.
23973         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23974         Remove conditional code.
23975         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23976         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23977         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23978         condition.
23979
23980         [BZ #13550]
23981         * csu/libc-start.c: Do not include <bp-sym.h>.
23982         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23983         * elf/dl-open.c: Do not include <bp-sym.h>.
23984         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23985         * math/fegetenv.c: Do not include <bp-sym.h>.
23986         (fegetenv): Do not use BP_SYM in versioned symbols.
23987         * nptl/sysdeps/pthread/bits/libc-lockP.h
23988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23989         <bp-sym.h>.
23990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23991         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23993         (__pthread_mutex_destroy): Likewise.
23994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23995         (__pthread_mutex_lock): Likewise.
23996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23997         (__pthread_mutex_trylock): Likewise.
23998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23999         (__pthread_mutex_unlock): Likewise.
24000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24001         (__pthread_mutexattr_init): Likewise.
24002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24003         (__pthread_mutexattr_destroy): Likewise.
24004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24005         (__pthread_mutexattr_settype): Likewise.
24006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24007         (__pthread_rwlock_init): Likewise.
24008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24009         (__pthread_rwlock_destroy): Likewise.
24010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24011         (__pthread_rwlock_rdlock): Likewise.
24012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24013         (__pthread_rwlock_tryrdlock): Likewise.
24014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24015         (__pthread_rwlock_wrlock): Likewise.
24016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24017         (__pthread_rwlock_trywrlock): Likewise.
24018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24019         (__pthread_rwlock_unlock): Likewise.
24020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24021         (__pthread_key_create): Likewise.
24022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24023         (__pthread_setspecific): Likewise.
24024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24025         (__pthread_getspecific): Likewise.
24026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24027         Likewise.
24028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24029         (_pthread_cleanup_push_defer): Likewise.
24030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24031         (_pthread_cleanup_pop_restore): Likewise.
24032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24033         (pthread_setcancelstate): Likewise.
24034         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24035         <bp-sym.h>.
24036         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24037         (memchr): Do not use BP_SYM in weak_alias.
24038         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24039         (fegetenv): Do not use BP_SYM in versioned symbols.
24040         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24041         (fesetenv): Do not use BP_SYM in versioned symbols.
24042         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24043         (feupdateenv): Do not use BP_SYM in versioned symbols.
24044         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24045         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24046         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24047         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24048         (open64): Do not use BP_SYM in weak_alias.
24049         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24050         (fegetenv): Do not use BP_SYM in versioned symbols.
24051         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24052         (fesetenv): Do not use BP_SYM in versioned symbols.
24053         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24054         (feupdateenv): Do not use BP_SYM in versioned symbols.
24055         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24056         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24057         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24058         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24059         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24060         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24062         <bp-sym.h>.
24063         (__libc_start_main): Do not use BP_SYM.
24064
24065 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24066
24067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24068         redundant return line.
24069         (norm): Likewise.
24070         (denorm): Likewise.
24071         (dbl_mp): Likewise.
24072         (sub_magnitudes): Likewise.
24073         (__add): Likewise.
24074         (__sub): Likewise.
24075         (__mul): Likewise.
24076         (__inv): Likewise.
24077         (__dvd): Likewise.
24078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24079         (norm): Likewise.
24080         (denorm): Likewise.
24081         (dbl_mp): Likewise.
24082         (sub_magnitudes): Likewise.
24083         (__add): Likewise.
24084         (__sub): Likewise.
24085         (__mul): Likewise.
24086         (__inv): Likewise.
24087         (__dvd): Likewise.
24088
24089         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24090         instead of __mul.
24091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24092         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24093         (cc32): Likewise.
24094
24095         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24096         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24098         of __mul for squares.
24099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24100         function
24101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24102         Likewise.
24103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24105
24106 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24107
24108         [BZ #13550]
24109         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24110         code.
24111         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24112         prototype or function definition.  Rename ubp_* variables and
24113         parameters.  Remove argv definitions conditional on
24114         [__BOUNDED_POINTERS__].
24115         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24116         * elf/dl-runtime.c (_dl_fixup): Likewise.
24117         * include/set-hooks.h (RUN_HOOK): Likewise.
24118         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24119         definition.
24120         * string/strcpy.c (strcpy): Do not use __unbounded.
24121         * sysdeps/generic/frame.h (struct layout): Likewise.
24122         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24123         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24124         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24125         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24126         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24127         (__backtrace): Likewise.
24128         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24129         use __ptrvalue.
24130         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24131         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24132         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24133         Likewise.
24134         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24135         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24136         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24137         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24138         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24139         Do not use __unbounded.
24140         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24141         Rename __unboundedrlimits parameter to rlimits in prototype.
24142         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24143         Do not use __unbounded.
24144         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24145         not use __ptrvalue.
24146         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24147         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24148         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24150         __ptrvalue or __unbounded.
24151         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24152         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24153         use __unbounded.
24154         (__new_msgctl): Do not use __ptrvalue.
24155         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24156         __unbounded.
24157         (__libc_msgrcv): Do not use __ptrvalue.
24158         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24159         startup_info): Do not use __unbounded.
24160         (__libc_start_main): Likewise.  Rename ubp_* variables and
24161         parameters.  Remove argv definitions conditional on
24162         [__BOUNDED_POINTERS__].
24163         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24164         __ptrvalue.
24165         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24166         use __unbounded.
24167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24168         or __ptrvalue.
24169         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24170         use __unbounded.
24171         (__new_shmctl): Do not use __ptrvalue.
24172         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24173         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24174         Likewise.
24175         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24177         (__libc_sigaction): Likewise.
24178         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24179         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24180         Likewise.
24181         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24182
24183 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24184
24185         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24186
24187         * string/mempcpy.c: Implement by calling memcpy.
24188
24189 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24190
24191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24192
24193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24194         evaluation.
24195
24196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24197         values in the mantissa.
24198
24199         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24200         minimize writes to Z.
24201         (sub_magnitudes): Simplify code a bit.
24202
24203 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24204
24205         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24206         from the message.  The linker prefixes all warnings with that already.
24207
24208 2013-02-12  Andreas Schwab  <schwab@suse.de>
24209
24210         [BZ #15078]
24211         * posix/regexec.c (extend_buffers): Add parameter min_len.
24212         (check_matching): Pass minimum needed length.
24213         (clean_state_log_if_needed): Likewise.
24214         (get_subexp): Likewise.
24215         * posix/Makefile (tests): Add bug-regex34.
24216         (bug-regex34-ENV): Define.
24217         * posix/bug-regex34.c: New file.
24218
24219         [BZ #11561]
24220         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24221         elements compare against the byte sequence of it, not its name.
24222         * posix/Makefile (tests): Add bug-regex35.
24223         (bug-regex35-ENV): Define.
24224         * posix/bug-regex35.c: New file.
24225
24226 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24227
24228         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24229         comment.
24230         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24231         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24232         (CHECK_EOL): Add undef.
24233
24234 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24235
24236         * bits/stdlib-bsearch.h: New file.
24237         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24238         * stdlib/stdlib.h: Likewise.
24239
24240 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24241
24242         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24243         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24244         declaration.
24245         * manual/search.texi (Array Search Function): Add missing const in
24246         lfind prototype.
24247         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24248         declaration to use rlim_t.
24249         (Basic Scheduling Functions): Remove erroneous const from
24250         sched_getparam prototype.  Remove erroneous * from
24251         sched_get_priority_max and sched_get_priority_min prototypes.
24252         (Resource Usage): Fix summary @comment on vtimes to refer to
24253         sys/vtimes.h rather than vtimes.h.
24254         Add missing *s in vtimes prototype.
24255         (Limits on Resources): Fix ulimit prototype to return long int.
24256         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24257         prototypes to use long int rather than double.
24258         (BSD Random): Fix initstate and setstate to use char *, not void *.
24259         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24260         prototype to make second argument 'struct aiocb64 *const[]'.
24261         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24262         (Status of AIO Operations): Remove erroneous const in aio_return and
24263         aio_return64 prototypes.
24264         (Synchronizing I/O): Fix sync prototype to return void.
24265         * manual/startup.texi (Suboptions): Remove an erroneous const in
24266         getsubopt prototype.
24267         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24268         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24269         use size_t rather than int.
24270         (Scanning All Users): Likewise for getpwent_r.
24271         (Setting Groups): Add missing const to setgroups prototype.
24272         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24273         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24274         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24275         'const void *' rather than 'const char *'.
24276         (Host Address Functions): Likewise for inet_ntop.
24277         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24278         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24279         ssize_t for return value.
24280         (Sending Data): Likewise for send, sendto, sendmsg.
24281         (Socket Option Functions): Add a missing const in setsockopt prototype.
24282         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24283         use wchar_t for the argument.
24284         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24285         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24286         take no arguments.
24287         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24288         double/float/long double for second argument.
24289         Fix return types of significand, significandf, significandl.
24290         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24291         argument in fchmod prototype.
24292         (File Owner): Use uid_t and gid_t in fchown prototype.
24293         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24294         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24295         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24296         use 'const struct dirent **' as argument types to CMP function pointer
24297         argument.
24298         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24299         (File Times): Fix summary magic @comment for struct utimbuf and utime
24300         to refer to utime.h, not time.h.
24301         * manual/string.texi (Argz Functions): Add missing const in
24302         argz_extract and argz_next prototypes.
24303         (Finding Tokens in a String): Likewise for basename.
24304         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24305         (Copying and Concatenation): Fix typo in wmemmove prototype.
24306         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24307         (Signal Stack): Remove erroneous const in sigstack prototype.
24308         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24309         prototype.
24310         (Simple Calendar Time): Likewise for stime.
24311         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24312         prototype.
24313         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24314         say sys/sysctl.h instead.
24315         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24316         and vsyslog prototypes.
24317
24318 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24319
24320         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24321         Remove.
24322
24323 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24324
24325         * misc/sys/mman.h: Fix typo in mremap comment.
24326
24327 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24328
24329         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24330         the '\0' terminator.
24331
24332 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24333
24334         [BZ #13550]
24335         * debug/segfault.c: Don't include <bp-checks.h>.
24336         * sysdeps/generic/bp-checks.h: Remove file.
24337         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24338         (__GETDENTS): Don't use CHECK_N.
24339         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24341         (__getgroups): Don't use CHECK_N.
24342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24343         (setgroups): Don't use CHECK_N.
24344         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24345         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24346         (__libc_msgrcv): Don't use CHECK_N.
24347         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24348         (__libc_msgsnd): Don't use CHECK_N.
24349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24350         <bp-checks.h>.
24351         (__libc_pread): Don't use CHECK_N.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24353         include <bp-checks.h>.
24354         (__libc_pread64): Don't use CHECK_N.
24355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24356         include <bp-checks.h>.
24357         (__libc_pwrite): Don't use CHECK_N.
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24359         include <bp-checks.h>.
24360         (__libc_pwrite64): Don't use CHECK_N.
24361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24362         <bp-checks.h>.
24363         (__libc_pread): Don't use CHECK_N.
24364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24365         include <bp-checks.h>.
24366         (__libc_pread64): Don't use CHECK_N.
24367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24368         include <bp-checks.h>.
24369         (__libc_pwrite): Don't use CHECK_N.
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24371         include <bp-checks.h>.
24372         (__libc_pwrite64): Don't use CHECK_N.
24373         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24374         (do_pread): Don't use CHECK_N.
24375         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24376         (do_pread64): Don't use CHECK_N.
24377         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24378         (do_pwrite): Don't use CHECK_N.
24379         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24380         (do_pwrite64): Don't use CHECK_N.
24381         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24382         (__libc_readv): Don't use CHECK_N.
24383         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24384         (semop): Don't use CHECK_N.
24385         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24386         <bp-checks.h>.
24387         (semtimedop): Don't use CHECK_N.
24388         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24389         (__libc_pread): Don't use CHECK_N.
24390         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24391         <bp-checks.h>.
24392         (__libc_pread64): Don't use CHECK_N.
24393         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24394         <bp-checks.h>.
24395         (__libc_pwrite): Don't use CHECK_N.
24396         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24397         <bp-checks.h>.
24398         (__libc_pwrite64): Don't use CHECK_N.
24399         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24400         <bp-checks.h>.
24401         (__libc_msgrcv): Don't use CHECK_N.
24402         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24403         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24404         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24405         (__libc_writev): Don't use CHECK_N.
24406
24407 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24408
24409         * string/strcpy.c: Removed unused variable.
24410
24411         * Makeconfig (+sysdep-includes): Define with := rather than =.
24412         Use an existing include/ subdir of each sysdeps dir before it.
24413
24414 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24415
24416         * nscd/connection.c (register_traced_file): Comment function.
24417         [HAVE_INOTIFY] (union __inev): Define.
24418         [HAVE_INOTIFY] (inotify_check_files): New function.
24419         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24420         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24421         clear_db_cache.
24422         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24423
24424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24425
24426         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24427         loaded if not already and that a failure is permanent.
24428
24429 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24430
24431         [BZ #15006]
24432         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24433         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24434
24435 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24436
24437         [BZ #13550]
24438         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24439         (CHECK_1_NULL_OK): Likewise.
24440         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24441         (__fxstat): Do not use CHECK_1.
24442         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24443         <bp-checks.h>.
24444         (___fxstat64): Do not use CHECK_1.
24445         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24446         <bp-checks.h>.
24447         (__fxstatat): Do not use CHECK_1.
24448         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24449         <bp-checks.h>.
24450         (__fxstatat64): Do not use CHECK_1.
24451         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24452         <bp-checks.h>.
24453         (__fxstat): Do not use CHECK_1.
24454         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24455         <bp-checks.h>.
24456         (__fxstatat): Do not use CHECK_1.
24457         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24458         <bp-checks.h>.
24459         (__getresgid): Do not use CHECK_1.
24460         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24461         <bp-checks.h>.
24462         (__getresuid): Do not use CHECK_1.
24463         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24464         <bp-checks.h>.
24465         (__lxstat): Do not use CHECK_1.
24466         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24467         <bp-checks.h>.
24468         (__old_msgctl): Do not use CHECK_1.
24469         (__new_msgctl): Likewise.
24470         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24471         <bp-checks.h>.
24472         (__new_setrlimit): Do not use CHECK_1.
24473         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24474         <bp-checks.h>.
24475         (__old_shmctl): Do not use CHECK_1.
24476         (__new_shmctl): Likewise.
24477         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24478         <bp-checks.h>.
24479         (__xstat): Do not use CHECK_1.
24480         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24481         (__lxstat): Do not use CHECK_1.
24482         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24483         <bp-checks.h>.
24484         (___lxstat64): Do not use CHECK_1.
24485         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24486         (__old_msgctl): Do not use CHECK_1.
24487         (__new_msgctl): Likewise.
24488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24489         <bp-checks.h>.
24490         (__gettimeofday): Do not use CHECK_1.
24491         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24492         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24493         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24494         <bp-checks.h>.
24495         (__gettimeofday): Do not use CHECK_1.
24496         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24497         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24498         (__new_shmctl): Do not use CHECK_1.
24499         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24500         <bp-checks.h>.
24501         (do_sigtimedwait): Do not use CHECK_1.
24502         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24503         <bp-checks.h>.
24504         (do_sigwaitinfo): Do not use CHECK_1.
24505         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24506         <bp-checks.h>.
24507         (msgctl): Do not use CHECK_1.
24508         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24509         <bp-checks.h>.
24510         (shmctl): Do not use CHECK_1.
24511         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24512         (ustat): Do not use CHECK_1.
24513         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24514         <bp-checks.h>.
24515         (__fxstat): Do not use CHECK_1.
24516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24517         <bp-checks.h>.
24518         (__fxstatat): Do not use CHECK_1.
24519         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24520         <bp-checks.h>.
24521         (__lxstat): Do not use CHECK_1.
24522         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24523         <bp-checks.h>.
24524         (__xstat): Do not use CHECK_1.
24525         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24526         (__xstat): Do not use CHECK_1.
24527         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24528         (___xstat64): Do not use CHECK_1.
24529
24530         [BZ #13550]
24531         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24532         definitions.
24533         (CHECK_BOUNDS_HIGH): Likewise.
24534         * string/strcpy.c: Do not include <bp-checks.h>.
24535         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24536
24537 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24538
24539         * nscd/nscd-client.h (__nscd_drop_map_ref):
24540         Add __attribute__ ((unused)).
24541         * nis/nss-nisplus.h (niserr2nss): Likewise.
24542
24543         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24544         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24545
24546         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24547         Remove inline keyword.
24548         * include/rounding-mode.h (round_away): Likewise.
24549         * libio/wfileops.c (adjust_wide_data): Likewise.
24550         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24551         (__m128i_strloadu_tolower): Likewise.
24552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24553         (__m128i_strloadu_tolower): Likewise.
24554         * time/mktime.c (ydhms_diff): Likewise.
24555         * locale/elem-hash.h (elem_hash): Likewise.
24556         * locale/setlocale.c (setdata): Likewise.
24557         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24558         (re_string_wchar_at): Likewise.
24559         (bitset_not, bitset_merge, bitset_mask): Likewise.
24560         [!(__GNUC__ > 3)] (inline): Remove macro.
24561         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24562         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24563         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24564         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24565         * string/memcmp.c (memcmp_bytes): Likewise.
24566         * locale/programs/locarchive.c (compute_hashval): Likewise.
24567         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24568         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24569         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24570         * nss/getent.c (print_rpc, print_protocols): Likewise.
24571         (print_passwd, print_group, print_aliases): Likewise.
24572         * nis/nss-nisplus.h (niserr2nss): Likewise.
24573         * nscd/connections.c (restart_p): Likewise.
24574         Change return type to bool.
24575
24576 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24577
24578         * Makeconfig (all-Depend-files): Add existing
24579         $(sorted-subdirs:=/Depend) files.
24580         (all-subdirs): Remove nss.
24581         * sysdeps/unix/inet/Subdirs: Add it here instead.
24582         * hesiod/Depend: New file.
24583
24584         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24585         instead of calling alloca.
24586
24587         * io/lseek.c (__lseek): Rename to __libc_lseek.
24588         Define __lseek as an alias.
24589
24590         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24591
24592 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24593
24594         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24595         else clause and remove check for non-standard endianness.
24596
24597 2013-02-04  David S. Miller  <davem@davemloft.net>
24598
24599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24600
24601 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24602
24603         [BZ #13550]
24604         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24605         (__ubp_memchr): Remove prototype.
24606         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24607         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24608         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24609         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24610         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24611         Remove alias.
24612         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24613         (__ubp_memchr): Likewise.
24614         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24615         (__ubp_memchr): Likewise.
24616         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24617         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24618         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24620         CHECK_STRING.
24621         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24622         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24623         (__getcwd): Do not use CHECK_STRING.
24624         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24625         <bp-checks.h>.
24626         (__real_chown): Do not use CHECK_STRING.
24627         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24628         <bp-checks.h>.
24629         (fchownat): Do not use CHECK_STRING.
24630         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24631         CHECK_STRING.
24632         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24633         <bp-checks.h>.
24634         (__lchown): Do not use CHECK_STRING.
24635         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24636         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24637         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24638         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24640         include <bp-checks.h>.
24641         (truncate64): Do not use CHECK_STRING.
24642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24643         <bp-checks.h>.
24644         (__real_chown): Do not use CHECK_STRING.
24645         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24646         <bp-checks.h>.
24647         (__lchown): Do not use CHECK_STRING.
24648         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24649         <bp-checks.h>.
24650         (__chown): Do not use CHECK_STRING.
24651         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24652         <bp-checks.h>.
24653         (truncate64): Do not use CHECK_STRING.
24654         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24655         Likewise.
24656         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24657         (__xmknod): Do not use CHECK_STRING.
24658         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24659         <bp-checks.h>.
24660         (__xmknodat): Do not use CHECK_STRING.
24661         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24662         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24663
24664 2013-02-04  Andreas Schwab  <schwab@suse.de>
24665
24666         [BZ #14142]
24667         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24668         * include/netdb.h: Likewise for h_errno.
24669         * elf/tst-stackguard1.c: Include <tls.h>.
24670
24671 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24672
24673         * elf/link.h (struct link_map): Extend the l_addr comment.
24674         * include/link.h (struct link_map): Likewise.
24675
24676 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24677
24678         [BZ #13550]
24679         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24680         (BOUNDED_1): Remove macro.
24681         * debug/backtrace.c: Don't include <bp-checks.h>.
24682         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24683         (__backtrace): Likewise.
24684         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24685         <bp-checks.h>.
24686         (__backtrace): Don't use BOUNDED_1.
24687         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24688         <bp-checks.h>.
24689         (__backtrace): Don't use BOUNDED_1.
24690         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24691         (__backtrace): Don't use BOUNDED_1.
24692         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24693         (shmat): Don't use BOUNDED_N.
24694
24695 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24696
24697         [BZ #13550]
24698         * sysdeps/generic/bp-start.h: Remove file.
24699         * csu/libc-start.c: Don't include <bp-start.h>.
24700         (LIBC_START_MAIN): Set up __environ directly instead of using
24701         INIT_ARGV_and_ENVIRON.
24702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24703         <bp-start.h>.
24704
24705         [BZ #13550]
24706         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24707         definitions.
24708         (CHECK_FCNTL): Likewise.
24709         (CHECK_N_PAGES): Likewise.
24710
24711         [BZ #13550]
24712         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24713         definitions.
24714         (CHECK_SIGSET_NULL_OK): Likewise.
24715         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24716         <bp-checks.h>.
24717         (sigpending): Don't use CHECK_SIGSET.
24718         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24719         <bp-checks.h>.
24720         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24721         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24722         <bp-checks.h>.
24723         (do_sigsuspend): Don't use CHECK_SIGSET.
24724         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24725         use CHECK_SIGSET.
24726         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24727         (do_sigwait): Don't use CHECK_SIGSET.
24728         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24729         use CHECK_SIGSET.
24730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24731         include <bp-checks.h>.
24732         (sigpending): Don't use CHECK_SIGSET.
24733         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24734         include <bp-checks.h>.
24735         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24736         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24737         <bp-checks.h>.
24738         (sigpending): Don't use CHECK_SIGSET.
24739         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24740         <bp-checks.h>.
24741         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24742
24743         [BZ #13550]
24744         * sysdeps/generic/bp-semctl.h: Remove file.
24745         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24746         <bp-checks.h> and <bp-semctl.h>.
24747         (__old_semctl): Don't use CHECK_SEMCTL.
24748         (__new_semctl): Likewise.
24749         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24750         and <bp-semctl.h>.
24751         (__old_semctl): Don't use CHECK_SEMCTL.
24752         (__new_semctl): Likewise.
24753         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24754         <bp-checks.h> and <bp-semctl.h>.
24755         (__old_semctl): Don't use CHECK_SEMCTL.
24756         (__new_semctl): Likewise.
24757         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24758         <bp-checks.h> and <bp-semctl.h>.
24759         (semctl): Don't use CHECK_SEMCTL.
24760
24761         [BZ #13550]
24762         * Makerules (elide-bp-thunks): Remove variable.
24763         (elide-routines.oS): Don't use $(elide-bp-thunks).
24764         (elide-routines.os): Likewise.
24765         (elide-routines.o): Likewise.
24766         (elide-routines.op): Likewise.
24767         (elide-routines.og): Likewise.
24768         (objects): Don't use $(bp-thunks).
24769         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24770         include.
24771         (common-generated): Do not add s-proto-bp.d.
24772         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24773         (int): Likewise.
24774         (typ): Likewise.
24775         Do not generate makefile rules for bounded-pointer thunks.
24776         * sysdeps/generic/bp-thunks.h: Remove file.
24777         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24778         * sysdeps/unix/s-proto-bp.S: Likewise.
24779
24780         [BZ #15062]
24781         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24782         parts of result separately when argument is not close to line from
24783         -i to i and one part of argument is small.
24784         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24785         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24786         * math/libm-test.inc (cacos_test): Add more tests.
24787         (casin_test): Likewise.
24788         (casinh_test): Likewise.
24789         * sysdeps/i386/fpu/libm-test-ulps: Update.
24790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791
24792 2013-01-31  David S. Miller  <davem@davemloft.net>
24793
24794         * po/de.po: Update from translation team.
24795
24796 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24797
24798         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24799
24800 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24801
24802         * configure.in (_AC_PROG_CC_C89): New definition.
24803         * configure: Regenerate.
24804
24805         * configure.in (AC_PROG_CPP): New definition.
24806         * configure: Regenerate.
24807
24808 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24809
24810         * debug/tst-backtrace.h: New file.
24811         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24812         (ret): Remove variable.
24813         (x): Likewise.
24814         (FAIL): Remove macro.
24815         (NO_INLINE): Likewise.
24816         (fn1): Use match function instead of strstr.
24817         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24818         (ret): Remove variable.
24819         (x): Likewise.
24820         (FAIL): Remove macro.
24821         (NO_INLINE): Likewise.
24822         (fn): Use match function instead of strstr.
24823         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24824         (ret): Remove variable.
24825         (x): Likewise.
24826         (FAIL): Remove macro.
24827         (NO_INLINE): Likewise.
24828         (handle_signal): Use match function instead of strstr.
24829         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24830         (ret): Remove variable.
24831         (x): Likewise.
24832         (FAIL): Remove macro.
24833         (NO_INLINE): Likewise.
24834         (handle_signal): Use match function instead of strstr.
24835
24836 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24837
24838         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24839
24840 2013-01-23  David S. Miller  <davem@davemloft.net>
24841
24842         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24843         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24844         argument of CAS if possible.
24845         * sysdeps/sparc/sparc64/bits/atomic.h
24846         (__arch_compare_and_exchange_val_32_acq): Likewise.
24847         (__arch_compare_and_exchange_val_64_acq): Likewise.
24848
24849 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24850
24851         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24852         * sysdeps/posix/ulimit.c: ... this.
24853         Include <limits.h>.
24854         * sysdeps/unix/bsd/ulimit.c: Remove file.
24855
24856 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24857
24858         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24859         (LDFLAGS-tst-array5): Likewise.
24860
24861 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24862
24863         [BZ #15036]
24864         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24865         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24866         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24867         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24868
24869 2013-01-21  David S. Miller  <davem@davemloft.net>
24870
24871         * sysdeps/sparc/backtrace.c: New file.
24872         * sysdeps/sparc/sparc32/backtrace.h: New file.
24873         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24874         * sysdeps/sparc/sparc64/backtrace.h: New file.
24875         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24876         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24877         -funwind-tables.
24878
24879 2013-01-21  Andreas Schwab  <schwab@suse.de>
24880
24881         [BZ #15020]
24882         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24883         closed its stdout.
24884
24885 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24886
24887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24888         "mpa2.h".
24889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24890
24891 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24892             Mark Mitchell  <mark@codesourcery.com>
24893             Tom de Vries  <tom@codesourcery.com>
24894             Paul Pluzhnikov  <ppluzhnikov@google.com>
24895
24896         * debug/tst-backtrace2.c: New file.
24897         * debug/tst-backtrace3.c: Likewise.
24898         * debug/tst-backtrace4.c: Likewise.
24899         * debug/tst-backtrace5.c: Likewise.
24900         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24901         (CFLAGS-tst-backtrace3.c): Likewise.
24902         (CFLAGS-tst-backtrace4.c): Likewise.
24903         (CFLAGS-tst-backtrace5.c): Likewise.
24904         (LDFLAGS-tst-backtrace2): Likewise.
24905         (LDFLAGS-tst-backtrace3): Likewise.
24906         (LDFLAGS-tst-backtrace4): Likewise.
24907         (LDFLAGS-tst-backtrace5): Likewise.
24908         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24909         tst-backtrace4 and tst-backtrace5.
24910
24911 2013-01-18  Anton Blanchard  <anton@samba.org>
24912             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24913
24914         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24915         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24916         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24917         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24919         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24920         "+r" and remove output regs list as redundant.  Add explicit inline
24921         asm to specify register of return val to work around compiler codegen
24922         bug.  Remove (int) cast on return value.  Add return type parameter to
24923         use in macro so that this macro does not truncate return value for
24924         64-bit values.
24925         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24926         pass to INTERNAL_VSYSCALL_NCS.
24927         (INLINE_VSYSCALL): Add 'long int' as return type to
24928         INTERNAL_VSYSCALL_NCS macro invocation.
24929         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24930         INTERNAL_VSYSCALL_NCS macro invocation.
24931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24932
24933 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934
24935         [BZ #14496]
24936         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24937         Fix application of SIMD FP exception mask.
24938
24939         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24940         mp_no from a power of two.
24941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24942         __mpexp_twomm1.  Use __pow_mp.
24943
24944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24945         multiplication.
24946
24947 2013-01-17  David S. Miller  <davem@davemloft.net>
24948
24949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24950
24951 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24952
24953         [BZ #15023]
24954         * include/complex.h: Condition contents on [!_COMPLEX_H].
24955         (__kernel_casinhf): New prototype.
24956         (__kernel_casinh): Likewise.
24957         (__kernel_casinhl): Likewise.
24958         * math/Makefile (libm_calls): Add k_casinh.
24959         * math/k_casinh.c: New file.
24960         * math/k_casinhf.c: Likewise.
24961         * math/k_casinhl.c: Likewise.
24962         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24963         finite nonzero arguments.
24964         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24965         finite nonzero arguments.
24966         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24967         finite nonzero arguments.
24968         * math/s_casinh.c: Do not include <float.h>.
24969         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24970         * math/s_casinhf.c: Do not include <float.h>.
24971         (__casinhf): Move code for finite nonzero arguments to
24972         k_casinhf.c.
24973         * math/s_casinhl.c: Do not include <float.h>.
24974         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24975         redefine.
24976         (__casinhl): Move code for finite nonzero arguments to
24977         k_casinhl.c.
24978         * math/libm-test.inc (cacos_test): Add more tests.
24979         * sysdeps/i386/fpu/libm-test-ulps: Update.
24980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24981
24982 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24983
24984         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24985         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24986         [!HAVE_MREMAP]: Remove [defined linux] case.
24987         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24988
24989 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24990
24991         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24992
24993 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24994
24995         * elf/elf.h (R_386_SIZE32): New relocation.
24996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24997         R_386_SIZE32.
24998         (elf_machine_rela): Likewise.
24999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25000         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25001
25002 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25003
25004         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25005         (FP_FAST_FMA): Do not define.
25006         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25007         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25008         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25009         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25010         !_SOFT_FLOAT]: Likewise.
25011         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25013         value.
25014         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25015         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25016         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25017         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25018         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25019         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25020         file.
25021
25022 2013-01-16  Andreas Schwab  <schwab@suse.de>
25023
25024         [BZ #14327]
25025         * include/stdlib.h (__mktemp): Add declaration.
25026         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25027         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25028
25029 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25030
25031         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25032         definitions.
25033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25034         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25035         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25036         definitions here.
25037         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25038         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25039         definitions.
25040         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25041         and ONE.
25042         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25043         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25045         definitions.
25046         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25047         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25048         definitions.
25049         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25050
25051         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25052
25053 2013-01-15  David S. Miller  <davem@davemloft.net>
25054
25055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25056         trunc{,f} to libm-sysdep_routes.
25057         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25059         file.
25060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25062         file.
25063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25064         file.
25065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25067         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25068         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25069         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25070         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25071         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25072         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25073
25074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25075         nearbyint{,f} to libm-sysdep_routes.
25076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25078         New file.
25079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25080         file.
25081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25082         New file.
25083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25084         file.
25085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25087         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25088         file.
25089         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25090         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25091         file.
25092         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25093         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25094         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25095
25096         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25097         libc_feholdexcept and libc_fesetenv.
25098
25099 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25100
25101         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25102
25103 2013-01-14  David S. Miller  <davem@davemloft.net>
25104
25105         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25106         (SPARC_ASM_VIS2_IFUNC): Likewise.
25107         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25109         use of 'siam' instruction.
25110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25111         Likewise.
25112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25113         Likewise.
25114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25115         Likewise.
25116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25121         file.
25122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25123         file.
25124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25125         file.
25126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25127         file.
25128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25133         new VIS2 routines.
25134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25137         Likewise.
25138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25143         routines to libm-sysdep_routines.
25144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25145
25146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25147         fdim/fdimf to libm-sysdep_routines.
25148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25149         file.
25150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25152         file.
25153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25156         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25157         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25158         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25159         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25160
25161 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162
25163         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25164         to optimize copies.
25165
25166         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25169
25170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25171         local variable MPTWO.
25172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25173         Likewise.
25174
25175 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25176
25177         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25178         GLOB_NOESCAPE.
25179
25180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25181
25182         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25183
25184 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25185
25186         * manual/pattern.texi (glob_t): Document gl_flags.
25187         (glob64_t): Likewise.
25188
25189 2013-01-11  David S. Miller  <davem@davemloft.net>
25190
25191         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25192         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25193         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25194         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25195         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25196         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25197         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25198         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25199         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25200         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25201         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25202         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25203         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25204
25205         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25206         sparc V9 rather than using V8 code.
25207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25209
25210         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25211         Move to...
25212         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25213         Here.
25214
25215 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25216
25217         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25218         not in the main loop.
25219         * configure: Regenerated.
25220
25221 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25222
25223         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25224         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25225         to just #else.
25226         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25227         [!__GLIBC_HAVE_LONG_LONG] case.
25228         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25229         condition to just #else.
25230         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25231         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25232         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25233         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25234         unconditional.
25235         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25236         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25237         #elif condition to just #else.
25238         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25239         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25240         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25241         #elif condition to just #else.
25242
25243 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25244
25245         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25246         (EF_MIPS_ARCH_64): Fix value.
25247         (EF_MIPS_ARCH_32R2): New.
25248         (EF_MIPS_ARCH_64R2): New.
25249
25250 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25251
25252         * Makeconfig (+link-pie-before-libc): New.
25253         (+link-pie-after-libc): Likewise.
25254         (+link-pie-tests): Likewise.
25255         (+link-pie): Rewritten.
25256         (link-before-libc): Remove $(config-LDFLAGS).
25257         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25258         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25259         (config-LDFLAGS): Renamed to ...
25260         (rtld-LDFLAGS): This.
25261         (rtld-tests-LDFLAGS): New macro.
25262         (link-libc-rpath-link): Likewise.
25263         (link-libc-tests-rpath-link): Likewise.
25264         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25265         (link-libc): Prepand $(link-libc-rpath-link).
25266         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25267         (test-program-prefix): New macro.
25268         (test-via-rtld-prefix): Likewise.
25269         (test-program-cmd): Likewise.
25270         (host-test-program-cmd): Likewise.
25271         * Makefile ($(common-objpfx)testrun.sh): Replace
25272         $(run-program-prefix) with $(test-program-prefix).
25273         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25274         $(rtld-LDFLAGS).
25275         ($(common-objpfx)shlib.lds): Likewise.
25276         (build-module-helper): Likewise.
25277         ($(common-objpfx)format.lds): Likewise.
25278         * Rules (binaries-pie-tests): New.
25279         (binaries-pie-notests): Likewise.
25280         (binaries-pie): Rewritten.
25281         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25282         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25283         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25284         (make-test-out): Replace $(host-built-program-cmd) with
25285         $(host-test-program-cmd).
25286         * config.make.in (build-hardcoded-path-in-tests): New variable.
25287         * configure.in (--enable-hardcoded-path-in-tests): New configure
25288         option.
25289         (hardcoded_path_in_tests): New AC_SUBST.
25290         * configure: Regenerated.
25291         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25292         $(built-program-cmd) with $(test-program-cmd).
25293         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25294         (test_program_cmd): This.
25295         * elf/Makefile ($(objpfx)order.out): Run test with
25296         $(test-program-prefix).
25297         ($(objpfx)order2.out): Likewise.
25298         ($(objpfx)tst-initorder.out): Likewise.
25299         ($(objpfx)tst-initorder2.out): Likewise.
25300         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25301         $(test-program-cmd).
25302         ($(objpfx)tst-array1-static.out): Likewise.
25303         ($(objpfx)tst-array2.out): Likewise.
25304         ($(objpfx)tst-array3.out): Likewise.
25305         ($(objpfx)tst-array4.out): Likewise.
25306         ($(objpfx)tst-array5.out): Likewise.
25307         ($(objpfx)tst-array5-static.out): Likewise.
25308         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25309         $(test-program-cmd).
25310         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25311         $(run-program-prefix) with $(test-program-prefix).
25312         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25313         (test_program_prefix): This.
25314         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25315         $(run-program-prefix) with $(test-program-prefix).
25316         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25317         (test_program_prefix): This.
25318         * iconvdata/tst-tables.sh: Likewise.
25319         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25320         $(run-program-prefix) with $(test-program-prefix).
25321         ($(objpfx)tst-translit.out): Likewise.
25322         ($(objpfx)tst-gettext2.out): Likewise.
25323         ($(objpfx)tst-gettext4.out): Likewise.
25324         ($(objpfx)tst-gettext6.out): Likewise.
25325         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25326         (test_program_prefix): This.
25327         * intl/tst-gettext2.sh: Likewise.
25328         * intl/tst-gettext4.sh  Likewise.
25329         * intl/tst-gettext6.sh: Likewise.
25330         * intl/tst-translit.sh: Likewise.
25331         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25332         with $(test-program-cmd).
25333         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25334         $(run-program-prefix) with $(test-program-prefix).
25335         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25336         (test_program_prefix): This.
25337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25338         $(run-program-prefix) with $(test-program-prefix).
25339         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25340         (test_program_prefix): This.
25341         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25342         * posix/Makefile ($(objpfx)globtest.out): Replace
25343         $(run-via-rtld-prefix) and $(test-wrapper) with
25344         $(test-program-prefix) and $(test-via-rtld-prefix).
25345         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25346         $(test-program-prefix).
25347         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25348         $(host-test-program-cmd).
25349         (tst-spawn-ARGS): Likewise.
25350         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25351         $(test-program-prefix).
25352         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25353         (test_via_rtld_prefix): This.
25354         (test_wrapper): Renamed to ...
25355         (test_program_prefix): This.
25356         (run_program_prefix): Replaced by test_program_prefix.
25357         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25358         (test_program_prefix): This.
25359         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25360         with $(host-test-program-cmd).
25361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25362         $(run-program-prefix) with $(test-program-prefix).
25363         ($(objpfx)tst-printf.out): Likewise.
25364         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25365         $(test-program-cmd).
25366         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25367         (test_program_prefix): This.
25368         * stdio-common/tst-unbputc.sh: Likewise.
25369         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25370         $(run-program-prefix) with $(test-program-prefix).
25371         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25372         (test_program_prefix): This.
25373         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25374         $(built-program-cmd) with $(test-program-cmd).
25375
25376 2013-01-11  Andreas Jaeger  <aj@suse.de>
25377
25378         [BZ #15003]
25379         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25380         value. Sync with Linux 3.7.
25381
25382 2013-01-10  David S. Miller  <davem@davemloft.net>
25383
25384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25385         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25386         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25387
25388 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25389
25390         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25391         never set.
25392         * configure: Regenerated.
25393
25394 2013-01-10  David S. Miller  <davem@davemloft.net>
25395
25396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25397         sparc V9 rather than using V8 code.
25398         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25399         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25400
25401 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25402
25403         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25404         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25405         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25406         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25407         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25408         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25409         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25410         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25411         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25412         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25413         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25414         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25415         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25416         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25417         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25418         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25419         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25420         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25421         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25422         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25423         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25424         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25425         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25426         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25427         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25428         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25429         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25430
25431 2013-01-10  David S. Miller  <davem@davemloft.net>
25432
25433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25434
25435 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25436
25437         * posix/Makefile (tests-static): New variable.
25438         (tests): Add $(tests-static).
25439         (tst-exec-static-ARGS): New variable.
25440         (tst-spawn-static-ARGS): Likewise.
25441         * posix/tst-exec-static.c: New file.
25442         * posix/tst-spawn-static.c: Likewise.
25443         * posix/tst-exec.c: Support run directly.
25444         * posix/tst-spawn.c: Likewise.
25445
25446 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25447
25448         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25449         long.
25450         * math/bits/mathcalls.h (llrint): Likewise.
25451         (llround): Likewise.
25452         * stdlib/stdlib.h (struct drand48_data): Likewise.
25453         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25454         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25455         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25456         Likewise.
25457         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25458         Likewise.
25459         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25460         (elf_greg_t): Likewise.
25461         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25462         (__jmp_buf): Likewise.
25463         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25464         definitions.
25465         (llrint): Likewise, for all definitions.
25466         (llrintl): Likewise.
25467
25468         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25469         Remove [__GNUC__] condition.
25470         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25471         condition to just [__USE_ISOC99].
25472         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25473
25474 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25475
25476         [BZ #14200]
25477         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25478         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25479         defined.
25480         (_POSIX_V6_ILP32_OFF32): Likewise.
25481         (_XBS5_ILP32_OFF32): Likewise.
25482         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25483         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25484
25485 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25486
25487         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25488
25489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25490         doubles __mpexp_twomm1.  Adjust usage.
25491         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25492         Remove.
25493
25494 2013-01-10  Andreas Schwab  <schwab@suse.de>
25495
25496         [BZ #14964]
25497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25498         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25499
25500 2013-01-09  David S. Miller  <davem@davemloft.net>
25501
25502         [BZ #15003]
25503         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25504         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25505         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25506         (TCP_FASTOPEN): Define.
25507         (tcp_repair_opt): New structure.
25508         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25509         enum values.
25510         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25511         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25512         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25513         (tcp_cookie_transactions): New structure.
25514
25515 2013-01-09  Anton Blanchard  <anton@samba.org>
25516
25517         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25518         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25520         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25521
25522 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25523
25524         * include/features.h (__USE_ANSI): Remove.
25525
25526 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25527
25528         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25529
25530         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25531
25532 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25533
25534         * sysdeps/s390/fpu/libm-test-ulps: Update.
25535
25536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25537
25538         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25539         (__acr): Likewise.
25540         (__cpy): Likewise.
25541         (norm): Likewise.
25542         (denorm): Likewise.
25543         (__mp_dbl): Likewise.
25544         (__dbl_mp): Likewise.
25545         (add_magnitudes): Likewise.
25546         (sub_magnitudes): Likewise.
25547         (__add): Likewise.
25548         (__sub): Likewise.
25549         (__mul): Likewise.
25550         (__inv): Likewise.
25551         (__dvd): Likewise.
25552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25553         (__acr): Likewise.
25554         (__cpy): Likewise.
25555         (norm): Likewise.
25556         (denorm): Likewise.
25557         (__mp_dbl): Likewise.
25558         (__dbl_mp): Likewise.
25559         (add_magnitudes): Likewise.
25560         (sub_magnitudes): Likewise.
25561         (__add): Likewise.
25562         (__sub): Likewise.
25563         (__mul): Likewise.
25564         (__inv): Likewise.
25565         (__dvd): Likewise.
25566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25567         (__acr): Likewise.
25568         (__cpy): Likewise.
25569         (norm): Likewise.
25570         (denorm): Likewise.
25571         (__mp_dbl): Likewise.
25572         (__dbl_mp): Likewise.
25573         (add_magnitudes): Likewise.
25574         (sub_magnitudes): Likewise.
25575         (__add): Likewise.
25576         (__sub): Likewise.
25577         (__mul): Likewise.
25578         (__inv): Likewise.
25579         (__dvd): Likewise.
25580
25581 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25582
25583         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25584         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25585         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25586         2 && __USE_EXTERN_INLINES]: Likewise.
25587
25588 2013-01-08  Andreas Jaeger  <aj@suse.de>
25589
25590         [BZ# 14985]
25591         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25592         Remove.
25593         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25594         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25595
25596 2013-01-07  Anton Blanchard  <anton@samba.org>
25597
25598         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25599         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25600         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25601         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25602         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25603         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25604         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25605         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25607         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25609         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25612         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25613         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25614         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25615         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25618         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25619         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25621         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25622         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25623         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25625         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25627         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25628         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25631         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25632         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25633         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25636         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25640         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25641
25642 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25643
25644         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25645         (__MALLOC_PMT): Likewise.
25646         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25647         [__GNUC__], only on [_LIBC].
25648         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25649         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25650         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25651         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25652         forward declaration.
25653         (realloc_hook_ini): Likewise.
25654         (memalign_hook_ini): Likewise.
25655         (__libc_memalign): Do not use __MALLOC_PMT in variable
25656         declaration.
25657         (__libc_valloc): Likewise.
25658         (__libc_pvalloc): Likewise.
25659         (__libc_calloc): Likewise.
25660         (__posix_memalign): Likewise.
25661
25662         [BZ #14996]
25663         * math/s_casinh.c: Include <float.h>.
25664         (__casinh): Do not do computation with squaring and square root
25665         for large arguments.
25666         * math/s_casinhf.c: Include <float.h>.
25667         (__casinhf): Do not do computation with squaring and square root
25668         for large arguments.
25669         * math/s_casinhl.c: Include <float.h>.
25670         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25671         (__casinhl): Do not do computation with squaring and square root
25672         for large arguments.
25673         * math/libm-test.inc (casin_test): Add more tests.
25674         (casinh_test): Likewise.
25675         * sysdeps/i386/fpu/libm-test-ulps: Update.
25676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25677
25678 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25679
25680         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25681         (__x86_64_raw_data_cache_size): Likewise.
25682         (__x86_64_data_cache_size_half): Likewise.
25683         (__x86_64_raw_data_cache_size_half): Likewise.
25684         (__x86_64_shared_cache_size): Likewise.
25685         (__x86_64_raw_shared_cache_size): Likewise.
25686         (__x86_64_shared_cache_size_half): Likewise.
25687         (__x86_64_raw_shared_cache_size_half): Likewise.
25688         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25689         to ...
25690         (__x86_data_cache_size): This.
25691         (__x86_64_raw_data_cache_size): Renamed to ...
25692         (__x86_raw_data_cache_size): This.
25693         (__x86_64_data_cache_size_half): Renamed to ...
25694         (__x86_data_cache_size_half): This.
25695         (__x86_64_raw_data_cache_size_half): Renamed to ...
25696         (__x86_raw_data_cache_size_half): This.
25697         (__x86_64_shared_cache_size): Renamed to ...
25698         (__x86_shared_cache_size): This.
25699         (__x86_64_raw_shared_cache_size): Renamed to ...
25700         (__x86_raw_shared_cache_size): This.
25701         (__x86_64_shared_cache_size_half): Renamed to ...
25702         (__x86_shared_cache_size_half): This.
25703         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25704         (__x86_raw_shared_cache_size_half): This.
25705         * sysdeps/x86_64/memcpy.S: Updated.
25706         * sysdeps/x86_64/memset.S: Likewise.
25707         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25710
25711 2013-01-04  David S. Miller  <davem@davemloft.net>
25712
25713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25714
25715 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25716
25717         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25718         1 to avoid redefinition warning.
25719         (__USE_GNU): Don't define.
25720         (init_signaling_nan): Protoize.
25721
25722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25723
25724 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25725
25726         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25728         (__cpymn): Likewise.
25729         (norm): Remove commented code.
25730         (denorm): Likewise.
25731         (__mp_dbl): Likewise.
25732         (__inv): Likewise.
25733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25734         (__cpymn): Likewise.
25735         (norm): Remove commented code.
25736         (denorm): Likewise.
25737         (__mp_dbl): Likewise.
25738         (__inv): Likewise.
25739
25740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25741         mp_no value for 1.0 and 2.0.
25742         (norm): Use RADIXI instead of radixi.d.
25743         (denorm): Likewise.
25744         (__mul): Use 0.0 instead of zero.d.
25745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25746         mp_no value for 1.0 and 2.0.
25747         (norm): Use RADIXI instead of radixi.d.
25748         (denorm): Likewise.
25749         (__mul): Use 0.0 instead of zero.d.
25750
25751 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25752
25753         [BZ #14994]
25754         * math/s_casinh.c (__casinh): Reduce finite argument to first
25755         quadrant then set signs of results at the end.
25756         * math/s_casinhf.c (__casinhf): Likewise.
25757         * math/s_casinhl.c (__casinhl): Likewise.
25758         * math/libm-test.inc (casin_test): Add more tests.
25759         (casinh_test): Likewise.
25760         * sysdeps/i386/fpu/libm-test-ulps: Update.
25761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25762
25763 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25764
25765         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25766
25767         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25768
25769         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25770         declarations.
25771         (denorm): Likewise.
25772         (__mp_dbl): Likewise.
25773         (__inv): Likewise.
25774
25775         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25776         and adjust the header comment.
25777
25778         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25779         variable name from declaration.
25780
25781 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25782
25783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25784         Initialize COMMON_CPUID_INDEX_7 element.
25785         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25786         (CPUID_RTM): Likewise.
25787         (HAS_RTM): Likewise.
25788         (COMMON_CPUID_INDEX_7): New enum.
25789
25790 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25791
25792         [BZ #14981]
25793         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25794         size is zero, record memory as freed.
25795
25796 2013-01-03  Andreas Jaeger  <aj@suse.de>
25797
25798         * po/ia.po: Add new Interlingua translation.
25799
25800 2012-01-03  Allan McRae  <allan@archlinux.org>
25801
25802         * locale/programs/localedef.c: Fix description of '--posix' flag.
25803
25804 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25805
25806         * NEWS: Update dates in second copyright notice.
25807         * README: Update copyright dates in example.
25808         * manual/libc.texinfo: Update copyright dates.
25809         * scripts/test-installation.pl: Update copyright date in --version
25810         output.
25811
25812         * hurd/ctty-input.c: Fix copyright notice formatting.
25813         * hurd/ctty-output.c: Likewise.
25814         * hurd/dtable.c: Likewise.
25815         * hurd/hurd-raise.c: Likewise.
25816         * hurd/hurdprio.c: Likewise.
25817         * hurd/msgportdemux.c: Likewise.
25818         * misc/sys/file.h: Likewise.
25819         * misc/sys/ioctl.h: Likewise.
25820         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25821         * sysdeps/mach/hurd/chdir.c: Likewise.
25822         * sysdeps/mach/hurd/fchdir.c: Likewise.
25823         * sysdeps/mach/hurd/rename.c: Likewise.
25824         * sysdeps/mach/hurd/rmdir.c: Likewise.
25825         * sysdeps/mach/hurd/seekdir.c: Likewise.
25826         * sysdeps/mach/hurd/setsid.c: Likewise.
25827         * sysdeps/posix/wait3.c: Likewise.
25828
25829         * All files with FSF copyright notices: Update copyright dates
25830         using scripts/update-copyrights.
25831         * intl/plural.c: Regenerated.
25832         * locale/programs/charmap-kw.h: Likewise.
25833         * locale/programs/locfile-kw.h: Likewise.
25834
25835 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25836
25837         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25838         four values.
25839
25840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25841         calculation loop and add branch prediction.
25842
25843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25844         check access beyond bounds of m1np.
25845
25846         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25847         MPTWO.
25848         (__inv): Remove local variable MPTWO to use the global
25849         constant.
25850         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25852         variable MPTWO.
25853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25854         MP3HALFS static const.
25855
25856 2013-01-01  David S. Miller  <davem@davemloft.net>
25857
25858         * po/ca.po: Update from translation team.
25859
25860 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25861
25862         * scripts/update-copyrights: New file.
25863         * Makeconfig: Reformat copyright notice.
25864         * ctype/ctype.h: Likewise.
25865         * debug/swprintf_chk.c: Likewise.
25866         * elf/dl-cache.c: Likewise.
25867         * elf/dl-debug.c: Likewise.
25868         * elf/dl-object.c: Likewise.
25869         * grp/initgroups.c: Likewise.
25870         * hurd/Makefile: Likewise.
25871         * hurd/hurd/signal.h: Likewise.
25872         * hurd/hurdfault.c: Likewise.
25873         * hurd/hurdioctl.c: Likewise.
25874         * hurd/hurdlookup.c: Likewise.
25875         * hurd/intr-msg.c: Likewise.
25876         * iconv/gconv_open.c: Likewise.
25877         * libio/swprintf.c: Likewise.
25878         * locale/lc-ctype.c: Likewise.
25879         * locale/nl_langinfo.c: Likewise.
25880         * mach/Machrules: Likewise.
25881         * mach/Makefile: Likewise.
25882         * malloc/obstack.h: Likewise.
25883         * manual/Makefile: Likewise.
25884         * manual/tsort.awk: Likewise.
25885         * misc/bits/stab.def: Likewise.
25886         * nis/nis_print_group_entry.c: Likewise.
25887         * nis/nis_table.c: Likewise.
25888         * nis/nss_compat/compat-pwd.c: Likewise.
25889         * nis/nss_compat/compat-spwd.c: Likewise.
25890         * po/Makefile: Likewise.
25891         * posix/fnmatch.c: Likewise.
25892         * posix/regex.h: Likewise.
25893         * resolv/Makefile: Likewise.
25894         * resolv/nss_dns/dns-network.c: Likewise.
25895         * resolv/res_hconf.c: Likewise.
25896         * scripts/gen-sorted.awk: Likewise.
25897         * soft-fp/soft-fp.h: Likewise.
25898         * stdio-common/printf.h: Likewise.
25899         * stdlib/monetary.h: Likewise.
25900         * stdlib/random.c: Likewise.
25901         * stdlib/random_r.c: Likewise.
25902         * sysdeps/generic/Makefile: Likewise.
25903         * sysdeps/gnu/Makefile: Likewise.
25904         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25906         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25908         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25914         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25915         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25916         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25917         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25918         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25919         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25921         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25922         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25924         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25925         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25926         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25927         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25928         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25930         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25931         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25932         * sysdeps/mach/hurd/errnos.awk: Likewise.
25933         * sysdeps/mach/hurd/fork.c: Likewise.
25934         * sysdeps/mach/hurd/getcwd.c: Likewise.
25935         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25936         * sysdeps/mach/hurd/mmap.c: Likewise.
25937         * sysdeps/mach/hurd/utimes.c: Likewise.
25938         * sysdeps/mach/hurd/xmknod.c: Likewise.
25939         * sysdeps/posix/profil.c: Likewise.
25940         * sysdeps/posix/readdir_r.c: Likewise.
25941         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25942         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25943         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25944         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25946         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25948         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25950         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25952         * sysdeps/pthread/lio_listio.c: Likewise.
25953         * sysdeps/sparc/dl-procinfo.h: Likewise.
25954         * sysdeps/unix/i386/sysdep.S: Likewise.
25955         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25956         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25957         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25958         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25962         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25963         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25964         * sysdeps/wordsize-32/divdi3.c: Likewise.
25965         * time/sys/time.h: Likewise.
25966         * wcsmbs/Makefile: Likewise.
25967
25968 2013-01-01  David S. Miller  <davem@davemloft.net>
25969
25970         * po/fr.po: Update from translation team.
25971
25972         * catgets/gencat.c: Update copyright year.
25973         * csu/version.c: Likewise.
25974         * debug/catchsegv.sh: Likewise.
25975         * debug/pcprofiledump.c: Likewise.
25976         * debug/xtrace.sh: Likewise.
25977         * elf/ldconfig.c: Likewise.
25978         * elf/ldd.bash.in: Likewise.
25979         * elf/pldd.c: Likewise.
25980         * elf/sotruss.ksh: Likewise.
25981         * elf/sprof.c: Likewise.
25982         * iconv/iconv_prog.c: Likewise.
25983         * iconv/iconvconfig.c: Likewise.
25984         * locale/programs/locale.c: Likewise.
25985         * locale/programs/localedef.c: Likewise.
25986         * login/programs/pt_chown.c: Likewise.
25987         * malloc/memusage.sh: Likewise.
25988         * malloc/memusagestat.c: Likewise.
25989         * malloc/mtrace.pl: Likewise.
25990         * nscd/nscd.c: Likewise.
25991         * nss/getent.c: Likewise.
25992         * nss/makedb.c: Likewise.
25993         * posix/getconf.c: Likewise.
25994
25995 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25996
25997         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25998         numbers.
25999
26000 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26001
26002         * math/bits/mathcalls.h (modf): Use __nonnull.
26003
26004 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26005
26006         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26007         (split): Use macro CN instead of the bare value.
26008         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26009         could be used.
26010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26011         instead of the bare value.
26012         (power1): Likewise.
26013
26014 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26015
26016         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26017         __ATAN_TWOM.
26018         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26019
26020         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26021         their values.
26022         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26024         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26025         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26026
26027 2012-12-28  Andreas Jaeger  <aj@suse.de>
26028
26029         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26030         values are from Linux 3.7.
26031
26032         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26033         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26034
26035 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26036
26037         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26038         TRUE case.
26039
26040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26041         (norm): Likewise.
26042         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26043         variables with preprocessor constants.
26044         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26045         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26046         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26047
26048 2012-12-27  Bruno Haible  <bruno@clisp.org>
26049
26050         [BZ #14317]
26051         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26052         only if needed.
26053
26054 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055
26056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26057         and use variable directly.
26058         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26059
26060         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26061         MPONE.
26062         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26064         variable MPONE.
26065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26067         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26068         include directive.  Remove local variable MPONE.
26069         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26070         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26071         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26072
26073 2012-12-25  David S. Miller  <davem@davemloft.net>
26074
26075         * version.h (RELEASE): Set to "development".
26076         (VERSION): Set to "2.17.90".
26077         * NEWS: Add 2.18 section.
26078
26079 2012-12-21  David S. Miller  <davem@davemloft.net>
26080
26081         * po/hr.po: Update from translation team.
26082
26083 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26084
26085         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26086
26087 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26088
26089         * NEWS:  Mention new memcpy for MIPS.
26090
26091 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26092
26093         * manual/contrib.texi (Contributors): Spelling correction.
26094
26095 2012-12-15  David S. Miller  <davem@davemloft.net>
26096
26097         * po/ru.po: Update from translation team.
26098
26099 2012-12-13  David S. Miller  <davem@davemloft.net>
26100
26101         * NEWS: Mention IFUNC testsuite enhancements.
26102
26103         * po/pl.po: Update from translation team.
26104         * po/bg.po: Likewise.
26105
26106         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26107         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26108
26109 2012-12-11  David S. Miller  <davem@davemloft.net>
26110
26111         * po/sv.po: Update from translation team.
26112
26113         * po/vi.po: Update from translation team.
26114
26115         * po/cs.po: Update from translation team.
26116
26117         * po/de.po: Update from translation team.
26118         * po/eo.po: Likewise.
26119         * po/nl.po: Likewise.
26120
26121 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26122
26123         [BZ #14246]
26124         * manual/argp.texi (Argp Helper Functions): Move node to follow
26125         Argp Parsing State.
26126
26127         [BZ #14872]
26128         * manual/conf.texi (Limits on File System Capacity): Mention if
26129         terminating null is included in the max size.
26130
26131 2012-12-10  Andreas Jaeger  <aj@suse.de>
26132
26133         * po/cs.po: Update from translation team.
26134
26135 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136
26137         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26138         void pointer and cast to uintptr_t.
26139         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26140         path.
26141         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26142         * sysdeps/s390/s390-64/memset.S: Likewise.
26143
26144 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26145
26146         [BZ #14833]
26147         * menual/message.texi (Message Translation): Fix typos.
26148         (Helper programs for gettext): Likewise.
26149
26150 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26151
26152         [BZ #14898]
26153         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26154         Change to -1.
26155
26156 2012-12-07  David S. Miller  <davem@davemloft.net>
26157
26158         * po/libc.pot: Update.
26159
26160 2012-12-07  Richard Henderson  <rth@redhat.com>
26161
26162         [BZ #10114]
26163         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26164         normal/normal case to before the switch.
26165         (_FP_DIV): Likewise.
26166
26167 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26168             Mike Frysinger  <vapier@gentoo.org>
26169
26170         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26171         check for __NR_fadvise64_64.
26172
26173 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26174
26175         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26176         0, not just to plain "0" as a statement.
26177         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26178         with cw.
26179
26180 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26181
26182         * NEWS: Use sourceware.org in Bugzilla URL.
26183
26184 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26185
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26187         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26188
26189         * stdio-common/tst-put-error.c (do_test): Add newline to the
26190         padded test to ensure flush.
26191
26192 2012-12-05  Jeff Law  <law@redhat.com>
26193
26194         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26195
26196 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26197
26198         * README: Don't refer to ports add-on as distributed separately.
26199         Mention AArch64 in list of systems supported in the ports add-on.
26200
26201         * LICENSES: Add more non-FSF copyright and license notices.
26202
26203         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26204         ((unused)).
26205
26206         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26207
26208         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26209         10000 as width of padded output.
26210
26211 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26212
26213         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26214
26215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26216         variable LX with __attribute__ ((unused)).
26217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26218         Likewise.
26219         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26221         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26222         with __attribute__ ((unused)).
26223
26224 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26225
26226         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26227
26228 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26229
26230         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26231         (CFLAGS-nldbl-acos.c): New variable.
26232         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26233         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26234         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26235         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26236         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26237         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26238         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26239         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26240         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26241         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26242         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26243         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26244         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26245         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26246         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26247         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26248         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26249         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26250         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26251         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26252         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26253         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26254         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26255         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26256         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26257         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26258         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26259         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26260         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26261         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26262         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26263         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26264         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26265         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26266         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26267         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26268         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26269         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26270         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26271         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26272         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26273         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26274         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26275         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26276         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26277         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26278         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26279         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26280         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26281         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26282         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26283         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26284         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26285         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26286         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26287         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26288         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26289         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26290         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26291         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26292         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26293         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26294         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26295         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26296         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26297         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26298         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26299         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26300         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26301         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26302         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26303         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26304         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26305         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26306         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26307         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26308         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26309         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26310         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26311         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26312         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26313         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26314         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26315         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26316         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26317         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26318         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26319         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26320         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26321         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26322         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26323         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26324         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26325         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26326         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26327         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26328         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26329
26330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26331         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26332
26333         [BZ #14914]
26334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26335         whole low double instead of just low 47 bits when splitting values
26336         into two parts.
26337
26338 2012-12-03  Allan McRae  <allan@archlinux.org>
26339
26340         * manual/stdio.texi (Predefined Printf Handlers): Remove
26341         @hsep and @vsep usage.
26342
26343 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26344
26345         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26346         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26347
26348 2012-12-03  Jeff Law  <law@redhat.com>
26349
26350         * time/sys/time.h (settimeofday): Do not mark TV argument
26351         as __nonnull.
26352
26353 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26354
26355         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26356         when currently writing and seek to current position when not.
26357         * libio/Makefile (tests): Remove bug-fclose1.
26358         * libio/bug-fclose1.c: Delete.
26359
26360 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26361
26362         * manual/arith.texi (feenableexcept): Fix typo.
26363         (fedisableexcept): Likewise.
26364
26365 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26366
26367         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26368         second, differently-typed declaration, rather than a cast.
26369
26370 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26371
26372         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26373         * include/rpc/svc.h: ... here.
26374
26375 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26376
26377         [BZ #13013]
26378         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26379         depending n and resplen2 to catch cases where answer
26380         equals answerp2.
26381
26382 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26383
26384         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26385         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26386
26387 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26388
26389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26390
26391 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26392
26393         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26394
26395 2012-11-28  Jeff Law  <law@redhat.com>
26396
26397         [BZ #13761]
26398         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26399         dataset_temporary.  Track alloca usage into alloca_used.
26400         If dataset is large allocate and release it via malloc/free.
26401
26402 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26403
26404         [BZ #14197]
26405         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26406
26407 2012-11-28  David S. Miller  <davem@davemloft.net>
26408
26409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26410
26411 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26412
26413         [BZ #14803]
26414         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26415         of pi/2 rounded to nearest to 64 bits.
26416         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26417         nearest to 64 bits.
26418         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26419         bits.
26420
26421 2012-11-28  Jeff Law <law@redhat.com>
26422             Martin Osvald <mosvald@redhat.com>
26423
26424         [BZ #14889]
26425         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26426         * sunrpc/svc.c: Include time.h.
26427         (__svc_accept_failed): New function.
26428         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26429         any reason other than EINTR, call __svc_accept_failed.
26430         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26431         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26432
26433 2012-11-28  Andreas Schwab  <schwab@suse.de>
26434
26435         * scripts/abilist.awk: Also handle indirect functions in .opd
26436         section.
26437
26438 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26439
26440         [BZ #13881]
26441         * sysdeps/x86/fpu/powl_helper.c: New file.
26442         * sysdeps/x86/fpu/Makefile: Likewise.
26443         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26444         (p3): New object.
26445         (__ieee754_powl): Use __powl_helper for finite arguments except
26446         integer exponents below 8.
26447         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26448         (p3): New object.
26449         (__ieee754_powl): Use __powl_helper for finite arguments except
26450         integer exponents below 8.
26451         * math/libm-test.inc (pow_test): Add more tests and enable some
26452         previously disabled tests.
26453         * sysdeps/i386/fpu/libm-test-ulps: Update.
26454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26455
26456 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457             Carlos O'Donell  <carlos_odonell@mentor.com>
26458
26459         * nss/makedb.c (is_prime): Assert that input is odd and greater
26460         than 4.  Note that fact in a comment too.
26461         (next_prime): Add 4 to input.
26462
26463 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26464
26465         [BZ #11741]
26466         * libio/Makefile (tests): Add test case tst-fwrite-error.
26467         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26468         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26469         * libio/tst-fwrite-error.c: New test case.
26470
26471 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26472
26473         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26474         before casting to void *.
26475         * include/libc-internal.h (__pointer_type): New macro.
26476         (__integer_if_pointer_type_sub): Likewise.
26477         (__integer_if_pointer_type): Likewise.
26478         (cast_to_integer): Likewise.
26479         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26480         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26481         before casting to atomic64_t.
26482         (atomic_exchange_acq): Likewise.
26483         (__arch_exchange_and_add_body): Likewise.
26484         (__arch_add_body): Likewise.
26485         (atomic_add_negative): Likewise.
26486         (atomic_add_zero): Likewise.
26487
26488 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26489
26490         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26491         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26492         (add_fdes): Likewise.
26493         (linear_search_fdes): Likewise.
26494         (binary_search_unencoded_fdes): Likewise.
26495
26496 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26497
26498         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26499
26500 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26501
26502         * configure.in: Autodetect C++ header directories.
26503         * configure: Regenerated.
26504
26505 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26506
26507         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26508
26509 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26510
26511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26512
26513 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26514
26515         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26516         LDBL_MANT_DIG == 106]: Disable some tests.
26517         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26518         Likewise.
26519         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26520         Likewise.
26521
26522         [BZ #14871]
26523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26524         input for small inputs.  Return +/- pi/2 for large inputs.
26525         * math/libm-test.inc (atan_test): Add more tests.
26526
26527         * sysdeps/generic/unwind-dw2-fde-glibc.c
26528         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26529         __attribute__ ((unused)).
26530
26531         [BZ #14645]
26532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26533         x * y if x and y are nonzero and z is zero.
26534
26535         [BZ #14811]
26536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26537         nonzero exponents with absolute value below 0x1p-117 to +/-
26538         0x1p-117.
26539
26540         [BZ #14869]
26541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26542         up arguments below 2**-450, not just those below 2**-500.
26543         * math/libm-test.inc (hypot_test): Add another test.
26544
26545         [BZ #14868]
26546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26547         Return a+b for ratio over 2**120, not 2**60.
26548         * math/libm-test.inc (hypot_test): Add another test.
26549
26550         * math/libm-test.inc (clog_test): Use
26551         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26552         (clog10_test): Likewise.
26553
26554         [BZ #6778]
26555         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26556
26557 2012-11-22  Andreas Schwab  <schwab@suse.de>
26558
26559         * sysdeps/i386/fpu/libm-test-ulps: Update.
26560
26561 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26562
26563         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26564         printf output with newline.
26565
26566 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26567
26568         [BZ #14865]
26569         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26570         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26571         -z nodlopen, -z initfirst and -z execstack support.
26572         * configure: Regenerated.
26573
26574         * elf/elf.h (DF_1_NODIRECT): New macro.
26575         (DF_1_IGNMULDEF): Likewise.
26576         (DF_1_NOKSYMS): Likewise.
26577         (DF_1_NOHDR): Likewise.
26578         (DF_1_EDITED): Likewise.
26579         (DF_1_NORELOC): Likewise.
26580         (DF_1_SYMINTPOSE): Likewise.
26581         (DF_1_GLOBAUDIT): Likewise.
26582         (DF_1_SINGLETON): Likewise.
26583         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26584         DT_1_SUPPORTED_MASK bits.
26585         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26586
26587 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26588
26589         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26590
26591 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26592
26593         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26594         macro.
26595
26596         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26597         (sendmmsg): Move declarations...
26598         * socket/sys/socket.h: ... here.
26599         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26600         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26601         include it from...
26602         * socket/recvmmsg.c: ... this new file.
26603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26604         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26605         definition of __sendmmsg hidden.
26606         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26607         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26608         Move ENOSYS stub into and include it from...
26609         * socket/sendmmsg.c: ... this new file.
26610         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26611         (sysdep_routines): Move recvmmsg and sendmmsg...
26612         * socket/Makefile (routines): ... here.
26613         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26614         (GLIBC_PRIVATE): Add __sendmmsg.
26615         * include/sys/socket.h (__sendmmsg): Add declarations.
26616         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26617         sendmmsg.
26618
26619 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26620
26621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26622         variable I1 with __attribute__ ((unused)).
26623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26624
26625 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26626
26627         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26628         DUMMY variables with __attribute__ ((unused)).
26629
26630         * bits/byteswap.h: Include <bits/types.h>.
26631         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26632
26633 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26634
26635         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26636         string_t.  Do not manually set errno.
26637         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26638         length with __strnlen.  Make sure to both set errno and return it on
26639         failure.
26640
26641 2012-11-19  David S. Miller  <davem@davemloft.net>
26642
26643         With help from Joseph Myers.
26644         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26645         very large arguments properly.
26646         * math/libm-test.inc (atan_test): New tests.
26647         (atan2_test): New tests.
26648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26650
26651 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26652
26653         [BZ #14856]
26654         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26655         Define to 3.
26656
26657         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26658         [POSIX] (EADDRNOTAVAIL): Likewise.
26659         [POSIX] (EAFNOSUPPORT): Likewise.
26660         [POSIX] (EALREADY): Likewise.
26661         [POSIX] (ECONNABORTED): Likewise.
26662         [POSIX] (ECONNREFUSED): Likewise.
26663         [POSIX] (ECONNRESET): Likewise.
26664         [POSIX] (EDESTADDRREQ): Likewise.
26665         [POSIX] (EDQUOT): Likewise.
26666         [POSIX] (EHOSTUNREACH): Likewise.
26667         [POSIX] (EIDRM): Likewise.
26668         [POSIX] (EISCONN): Likewise.
26669         [POSIX] (ELOOP): Likewise.
26670         [POSIX] (EMULTIHOP): Likewise.
26671         [POSIX] (ENETDOWN): Likewise.
26672         [POSIX] (ENETUNREACH): Likewise.
26673         [POSIX] (ENOBUFS): Likewise.
26674         [POSIX] (ENODATA): Likewise.
26675         [POSIX] (ENOLINK): Likewise.
26676         [POSIX] (ENOMSG): Likewise.
26677         [POSIX] (ENOPROTOOPT): Likewise.
26678         [POSIX] (ENOSR): Likewise.
26679         [POSIX] (ENOSTR): Likewise.
26680         [POSIX] (ENOTCONN): Likewise.
26681         [POSIX] (ENOTSOCK): Likewise.
26682         [POSIX] (EOPNOTSUPP): Likewise.
26683         [POSIX] (EOVERFLOW): Likewise.
26684         [POSIX] (EPROTO): Likewise.
26685         [POSIX] (EPROTONOSUPPORT): Likewise.
26686         [POSIX] (EPROTOTYPE): Likewise.
26687         [POSIX] (ESTALE): Likewise.
26688         [POSIX] (ETIME): Likewise.
26689         [POSIX] (ETXTBSY): Likewise.
26690         [POSIX] (EWOULDBLOCK): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26692         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26693         [POSIX] (SEEK_CUR): Likewise.
26694         [POSIX] (SEEK_END): Likewise.
26695         [POSIX || UNIX98] (mode_t): Do not require.
26696         [POSIX] (off_t): Likewise.
26697         [POSIX] (pid_t): Likewise.
26698         [POSIX] (sys/stat.h): Do not allow header.
26699         [POSIX] (unistd.h): Likewise.
26700         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26701         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26702         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26703         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26704         require.
26705         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26706         sigevent): Specify elements.
26707         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26708         entry.
26709         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26710         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26711
26712         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26713         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26714         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26715         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26716         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26717         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26718         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26719         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26720         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26721         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26722         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26723         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26724         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26725         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26726         Likewise.
26727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26728         Likewise.
26729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26730         Likewise.
26731         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26732         Likewise.
26733         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26734         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26735         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26736         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26737         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26738         Specify lower bound on value.
26739         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26740         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26741         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26742         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26743         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26744         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26745         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26746         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26747         value.
26748         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26749         as optional.
26750         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26751         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26752         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26753         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26754         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26755         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26756         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26757         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26758         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26759         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26760         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26761         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26762         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26763         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26764         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26765         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26766         entry.
26767         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26768         optional.
26769         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26770         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26771         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26772         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26773         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26775         Likewise.
26776         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26777         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26778         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26779         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26780         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26781         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26783         as optional.
26784         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26785         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26786         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26787         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26788         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26789         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26790         specify as optional.
26791         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26792         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26793         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26794         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26795         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26796         [XPG3] (NL_LANGMAX): Likewise.
26797         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26798         [POSIX || XPG3] (NL_NMAX): Likewise.
26799         [POSIX || XPG3] (NL_SETMAX): Likewise.
26800         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26801         [XPG3] (NZERO): Likewise.
26802         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26803         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26804         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26805         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26806         (REG_ERANGE): Expect.
26807         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26808         optional-constant.
26809         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26810         Use (void) in prototype.
26811         [POSIX] (*_t): Allow.
26812         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26813         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26814         (WRDE_BADVAL): Expect.
26815
26816         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26817         expect.
26818         [XPG3 || XPG4] (O_RSYNC): Likewise.
26819         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26820         Likewise.
26821         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26822         [XPG3 || XPG4] (sigqueue): Likewise.
26823         [XPG3 || XPG4] (sigtimedwait): Likewise.
26824         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26825         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26826         [XPG3 || XPG4] (vsnprintf): Likewise.
26827         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26828         Likewise.
26829         [XPG3 || XPG4] (blksize_t): Likewise.
26830         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26831         Likewise.
26832         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26833         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26834         [XPG3 || XPG4] (struct itimerspec): Likewise.
26835         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26836         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26837         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26838         [XPG3 || XPG4] (clockid_t): Likewise.
26839         [XPG3 || XPG4] (timer_t): Likewise.
26840         [XPG3 || XPG4] (clock_getres): Likewise.
26841         [XPG3 || XPG4] (clock_gettime): Likewise.
26842         [XPG3 || XPG4] (clock_settime): Likewise.
26843         [XPG3 || XPG4] (nanosleep): Likewise.
26844         [XPG3 || XPG4] (timer_create): Likewise.
26845         [XPG3 || XPG4] (timer_delete): Likewise.
26846         [XPG3 || XPG4] (timer_gettime): Likewise.
26847         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26848         [XPG3 || XPG4] (timer_settime): Likewise.
26849         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26850         [XPG3 || XPG4] (getlogin_r): Likewise.
26851         [XPG3 || XPG4] (pread): Likewise.
26852         [XPG3 || XPG4] (pthread_atfork): Likewise.
26853         [XPG3 || XPG4] (pwrite): Likewise.
26854
26855         [BZ #14835]
26856         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26857         <bits/siginfo.h>.
26858
26859 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26860
26861         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26862         finalizing MALLSTREAM.
26863
26864         * sysdeps/mach/hurd/syncfs.c: New file.
26865
26866 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26867
26868         [BZ #14719]
26869         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26870         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26872         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26873         (_nss_dns_gethostbyname4_r): Likewise.
26874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26875         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26876
26877 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26878
26879         [BZ #13763]
26880         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26881
26882 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26883
26884         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26885         * elf/cache.c (print_entry): Print ",AArch64" for
26886         FLAG_AARCH64_LIB64
26887
26888         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26889         * elf/cache.c (print_entry): Print ",hard-float" for
26890         FLAG_ARM_LIBHF.
26891
26892 2012-11-18  David S. Miller  <davem@davemloft.net>
26893
26894         With help from Joseph Myers.
26895         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26896         cutoff to 2**-13.
26897         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26898         cutoff to 2**-25.
26899         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26900         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26901         small.
26902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26903         * math/libm-test.inc (y0_test): New tests.
26904         (y1_test): New tests.
26905         * sysdeps/i386/fpu/libm-test-ulps: Update.
26906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26908
26909 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26910
26911         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26912         64-bit targets.
26913         * configure: Regenerated.
26914
26915 2012-11-17  David S. Miller  <davem@davemloft.net>
26916
26917         [BZ #14811]
26918         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26919         nonzero exponents with absolute value below 0x1p-128 to +/-
26920         0x1p-128.
26921
26922 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26923
26924         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26925
26926         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26927
26928         * posix/getconf-speclist.c: New file.
26929         * posix/posix-envs.def: Likewise.
26930         * posix/confstr.c (START_ENV_GROUP): New macro.
26931         (END_ENV_GROUP): Likewise.
26932         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26933         (KNOWN_PRESENT_ENV_STRING): Likewise.
26934         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26935         (UNKNOWN_ENVIRONMENT): Likewise.
26936         (confstr): Include posix-envs.def instead of handling
26937         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26938         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26939         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26940         (END_ENV_GROUP): Likewise.
26941         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26942         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26943         (UNKNOWN_ENVIRONMENT): Likewise.
26944         (__sysconf): Include posix-envs.def instead of handling associated
26945         cases directly here.
26946         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26947         preprocessing getconf-speclist.c rather than running getconf or
26948         generating empty file.
26949
26950 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26951
26952         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26953
26954 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26955
26956         [BZ #14672]
26957         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26958
26959 2012-11-16  David S. Miller  <davem@davemloft.net>
26960
26961         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26962         smaller than LDBL_EPSILON/2.0L, just return xm1.
26963
26964 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26965
26966         * elf/tst-array1.c (init): Set constructor priority to 1000.
26967         (fini): Set destructor priority to 1000.
26968         * elf/tst-array2dep.c: Likewise.
26969
26970 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26971
26972         [BZ #11741]
26973         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26974         (_IO_new_file_xsputn): Also return EOF if none of the input
26975         data was written when overflow failed.
26976         * libio/iopadn.c (_IO_padn): Likewise.
26977         * libio/iowpadn.c (_IO_wpadn): Likewise.
26978         * stdio-common/tst-put-error.c: Add copyright notice.
26979         (do_test): Add case for printing padded string.
26980         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26981         _IO_padn returned error.
26982         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26983         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26984         return EOF.
26985
26986 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26987
26988         * libio/libioP.h: Add comment note that the references to C++
26989         bits are now obsolete.
26990
26991 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26992
26993         * math/libm-test.inc (check_complex): Use asprintf.
26994
26995 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26996
26997         * debug/pcprofiledump.c (print_version): Update copyright year.
26998         * malloc/memusagestat.c (print_version): Likewise.
26999
27000 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27001
27002         [BZ #14831]
27003         * elf/Makefile (tests): Add tst-audit8.
27004         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27005         ($(objpfx)tst-audit8.out): New target.
27006         (tst-audit8-ENV): New variable.
27007         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27008         audit if l_reloc_result is NULL.
27009         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27010         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27011         * elf/tst-audit8.c: New file.
27012
27013 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27014
27015         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27016         * misc/Makefile (CFLAGS-select.c): Define.
27017         * posix/Makefile (CFLAGS-pause.c): Define.
27018
27019 2012-11-13  David S. Miller  <davem@davemloft.net>
27020
27021         * crypt/Makefile: Move test targets after toplevel Rules
27022         inclusion.  Grab any necessary sysdep routines when linking.
27023         * crypt/md5.c (md5_process_block): Remove define, we will always
27024         name it __md5_process_block.
27025         (md5_finish_ctx): Update md5_process_block call.
27026         (md5_stream): Likewise.
27027         (md5_process_bytes): Likewise.
27028         (md5_process_block): Rename to __md5_process_block and move to ...
27029         * crypt/md5-block.c: ... here.
27030         * crypt/sha256.c (sha256_process_block): Move to ...
27031         * crypt/sha256-block.c: ... here.
27032         * crypt/sha512.c (sha512_process_block): Move to ...
27033         * crypt/sha512-block.c: ... here.
27034         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27035         path.
27036         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27037         * sysdeps/sparc/sparc64/multiarch/Makefile
27038         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27039         crypt subdir.
27040         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27041         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27042         multiarch changes.
27043         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27044         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27045         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27046         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27047         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27048         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27049         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27050         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27052         file.
27053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27054         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27055         file.
27056         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27057
27058 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27059
27060         * timezone/tzselect.ksh: Update from tzcode git revision
27061         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27062         * timezone/zdump.c: Likewise.
27063         * timezone/zic.c: Likewise.
27064         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27065         in TZVERSION setting, not $(PKGVERSION).
27066         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27067         REPORT_BUGS_TO settings.
27068
27069         [BZ #14838]
27070         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27071         macro.
27072
27073 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27074
27075         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27076         detection to immediately after _FP_ROUND().
27077         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27078         bits are 0.
27079
27080 2012-11-11  David S. Miller  <davem@davemloft.net>
27081
27082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27083         inttypes.h
27084         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27085         __close rather than their public counterparts.
27086
27087 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27088
27089         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27090         file.
27091         [UNIX98] (sem_timedwait): Do not expect.
27092         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27093         [XPG4 || UNIX98] (sockatmark): Do not expect.
27094         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27095         (clock_getcpuclockid): Do not expect.
27096         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27097         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27098         Do not expect.
27099         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27100         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27101         [UNIX98] (vwscanf): Likewise.
27102         [UNIX98] (vswscanf): Likewise.
27103
27104 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27105
27106         * timezone/version.h: Remove file.
27107         * timezone/README: Do not refer to version.h.
27108         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27109         $(objpfx)version.h.
27110         ($(objpfx)zdump.o): Likewise.
27111         ($(objpfx)version.h): New target.
27112
27113         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27114         2012i.
27115         * timezone/README: Don't mention modification to tzselect.ksh.
27116         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27117         work on unmodified tzselect.ksh.  Substitute version numbers in
27118         tzselect.ksh.
27119
27120         * Makefile (format-me): Remove.
27121         (INSTALL): Adjust indentation.  Use commands directly instead of
27122         using $(format-me).
27123
27124         * aclocal.m4 (ACX_PKGVERSION): New macro.
27125         (ACX_BUGURL): Likewise.
27126         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27127         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27128         (REPORT_BUGS_TO): Likewise.
27129         * configure: Regenerated.
27130         * config.h.in (PKGVERSION): New macro.
27131         (REPORT_BUGS_TO): Likewise.
27132         * config.make.in (PKGVERSION): New variable.
27133         (PKGVERSION_TEXI): Likewise.
27134         (REPORT_BUGS_TO): Likewise.
27135         (REPORT_BUGS_TEXI): Likewise.
27136         * Makefile (format-me): Use -I$(common-objpfx)manual.
27137         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27138         ($(common-objpfx)manual/%): New target.
27139         (manual/%): Remove target.
27140         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27141         (print_version): Use PKGVERSION.
27142         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27143         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27144         and REPORT_BUGS_TO.
27145         ($(objpfx)xtrace): Likewise.
27146         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27147         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27148         (print_version): Use PKGVERSION.
27149         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27150         (do_version): Use PKGVERSION.
27151         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27152         REPORT_BUGS_TO.
27153         (common-ldd-rewrite): Likewise.
27154         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27155         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27156         (print_version): Use PKGVERSION.
27157         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27158         * elf/pldd.c (argp_program_bug_address): Remove variable.
27159         (more_help): New function.
27160         (argp): Use more_help.
27161         (print_version): Use PKGVERSION.
27162         * elf/sln.c (main): Use PKGVERSION.
27163         (usage): Use REPORT_BUGS_TO.
27164         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27165         (top level): Use PKGVERSION.
27166         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27167         (print_version): Use PKGVERSION.
27168         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27169         (print_version): Use PKGVERSION.
27170         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27171         (print_version): Use PKGVERSION.
27172         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27173         (print_version): Use PKGVERSION.
27174         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27175         (print_version): Use PKGVERSION.
27176         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27177         (print_version): Use PKGVERSION.
27178         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27179         and BUGURL.
27180         ($(objpfx)memusage): Likewise.
27181         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27182         (do_version): Use PKGVERSION.
27183         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27184         (print_version): Use PKGVERSION.
27185         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27186         ($PKGVERSION): New variable.
27187         ($REPORT_BUGS_TO): Likewise.
27188         (usage): Use $REPORT_BUGS_TO.
27189         (top level): Use $PKGVERSION.
27190         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27191         ($(objpfx)pkgvers.texi): New rule.
27192         ($(objpfx)stamp-pkgvers): Likewise.
27193         * manual/install.texi: Include pkgvers.texi.
27194         (--with-pkgversion): Document new configure option.
27195         (--with-bugurl): Likewise.
27196         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27197         than necessarily for this particular distribution.  Use
27198         REPORT_BUGS_TO for where to report bugs.
27199         * INSTALL: Regenerated.
27200         * manual/libc.texinfo: Include pkgvers.texi.
27201         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27202         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27203         (print_version): Use PKGVERSION.
27204         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27205         (print_version): Use PKGVERSION.
27206         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27207         (print_version): Use PKGVERSION.
27208         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27209         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27210         macro.
27211         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27212         (print_version): Use PKGVERSION.
27213         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27214         (print_version): Use PKGVERSION.
27215         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27216         and PKGVERSION.
27217
27218         * timezone/checktab.awk: Update from tzcode 2012i.
27219         * timezone/ialloc.c: Likewise.
27220         * timezone/private.h: Likewise.
27221         * timezone/scheck.c: Likewise.
27222         * timezone/tzfile.h: Likewise.
27223         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27224         (TZVERSION): Hardcode tzcode version number.
27225         * timezone/zdump.c: Update from tzcode 2012i.
27226         * timezone/zic.c: Likewise.
27227         * timezone/version.h: New file.
27228         * timezone/README: Describe version.h.  Update upstream location.
27229
27230         [BZ #14824]
27231         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27232         (mktemp): Enable declaration.
27233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27237         Likewise.
27238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27239         Likewise.
27240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27241         Likewise.
27242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27243         Likewise.
27244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27245         Likewise.
27246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27247         Likewise.
27248
27249         [BZ #14821]
27250         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27251         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27252         for copies of such integer values.
27253         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27254         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27255
27256 2012-11-09  Andreas Jaeger  <aj@suse.de>
27257
27258         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27259         definitions and declarations that are provided by
27260         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27261
27262 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27263
27264         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27265         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27266         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27267         definition.
27268
27269 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27270
27271         * elf/elf.h: Update comment before AArch64 relocations.
27272
27273 2012-11-07  David S. Miller  <davem@davemloft.net>
27274
27275         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27276         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27277         (__start_context): Declare.
27278         (__makecontext_ret): Delete.
27279         (__makecontext): Hook up __start_context instead of
27280         __makecontext_ret.
27281         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27282         (sysdep_routines): Add __start_context when in stdlib.
27283
27284 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27285
27286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27287         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27288         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27289         hardcoded "nm".
27290         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27291         (READELF): New variable.  Use it instead of hardcoded "readelf".
27292
27293 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27294
27295         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27296         * sysdeps/x86/Makefile: Here.
27297         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27298         * sysdeps/x86/tst-xmmymm.sh: This.
27299
27300 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27301
27302         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27303         expectations.
27304         [UNIX98] (pthread_barrier_t): Do not expect.
27305         [UNIX98] (pthread_barrierattr_t): Likewise.
27306         [UNIX98] (pthread_spinlock_t): Likewise.
27307         [UNIX98] (pthread_barrier_destroy): Likewise.
27308         [UNIX98] (pthread_barrier_init): Likewise.
27309         [UNIX98] (pthread_barrier_wait): Likewise.
27310         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27311         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27312         [UNIX98] (pthread_barrierattr_init): Likewise.
27313         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27314         [UNIX98] (pthread_getcpuclockid): Likewise.
27315         [UNIX98] (pthread_mutex_timedlock): Likewise.
27316         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27317         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27318         [UNIX98] (pthread_sigmask): Likewise.
27319         [UNIX98] (pthread_spin_destroy): Likewise.
27320         [UNIX98] (pthread_spin_init): Likewise.
27321         [UNIX98] (pthread_spin_lock): Likewise.
27322         [UNIX98] (pthread_spin_trylock): Likewise.
27323         [UNIX98] (pthread_spin_unlock): Likewise.
27324         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27325         Do not expect.
27326         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27327         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27328         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27329         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27330         [XPG3 || XPG4] (pthread_key_t): Likewise.
27331         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27332         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27333         [XPG3 || XPG4] (pthread_once_t): Likewise.
27334         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27335         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27336         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27337         [XPG3 || XPG4] (pthread_t): Likewise.
27338
27339         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27340         not expect.
27341         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27342
27343         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27344         Change function return type to int.
27345
27346         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27347         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27348         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27349         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27350         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27351         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27352         [!POSIX] (posix_madvise): Likewise.
27353         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27354         && !UNIX98].
27355         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27356         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27357         (mode_t): Likewise.
27358         (posix_mem_offset): Likewise.
27359         (posix_typed_mem_get_info): Likewise.
27360         (posix_typed_mem_open): Likewise.
27361
27362         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27363         Change condition to [XOPEN2K8].
27364
27365         * conform/conformtest.pl: Preprocess allow-header data with -x c
27366         instead of from stdin.
27367         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27368         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27369         [C99-based standards] (cerfc): Likewise.
27370         [C99-based standards] (cexp2): Likewise.
27371         [C99-based standards] (cexpm1): Likewise.
27372         [C99-based standards] (clog10): Likewise.
27373         [C99-based standards] (clog1p): Likewise.
27374         [C99-based standards] (clog2): Likewise.
27375         [C99-based standards] (clgamma): Likewise.
27376         [C99-based standards] (ctgamma): Likewise.
27377         [C99-based standards] (cerff): Likewise.
27378         [C99-based standards] (cerfcf): Likewise.
27379         [C99-based standards] (cexp2f): Likewise.
27380         [C99-based standards] (cexpm1f): Likewise.
27381         [C99-based standards] (clog10f): Likewise.
27382         [C99-based standards] (clog1pf): Likewise.
27383         [C99-based standards] (clog2f): Likewise.
27384         [C99-based standards] (clgammaf): Likewise.
27385         [C99-based standards] (ctgammaf): Likewise.
27386         [C99-based standards] (cerfl): Likewise.
27387         [C99-based standards] (cerfcl): Likewise.
27388         [C99-based standards] (cexp2l): Likewise.
27389         [C99-based standards] (cexpm1l): Likewise.
27390         [C99-based standards] (clog10l): Likewise.
27391         [C99-based standards] (clog1pl): Likewise.
27392         [C99-based standards] (clog2l): Likewise.
27393         [C99-based standards] (clgammal): Likewise.
27394         [C99-based standards] (ctgammal): Likewise.
27395         * conform/data/inttypes.h-data [C99-based standards]: Include
27396         stdint.h-data.  Remove all expectations for stdint.h contents.
27397         [C99-based standards] (PRI*): Do not allow.
27398         [C99-based standards] (SCN*): Likewise.
27399         [C99-based standards] (*_t): Likewise.
27400         [C99-based-standards] (PRId8): Expect macro.
27401         [C99-based-standards] (PRIi8): Likewise.
27402         [C99-based-standards] (PRIo8): Likewise.
27403         [C99-based-standards] (PRIu8): Likewise.
27404         [C99-based-standards] (PRIx8): Likewise.
27405         [C99-based-standards] (PRIX8): Likewise.
27406         [C99-based-standards] (SCNd8): Likewise.
27407         [C99-based-standards] (SCNi8): Likewise.
27408         [C99-based-standards] (SCNo8): Likewise.
27409         [C99-based-standards] (SCNu8): Likewise.
27410         [C99-based-standards] (SCNx8): Likewise.
27411         [C99-based-standards] (PRIdLEAST8): Likewise.
27412         [C99-based-standards] (PRIiLEAST8): Likewise.
27413         [C99-based-standards] (PRIoLEAST8): Likewise.
27414         [C99-based-standards] (PRIuLEAST8): Likewise.
27415         [C99-based-standards] (PRIxLEAST8): Likewise.
27416         [C99-based-standards] (PRIXLEAST8): Likewise.
27417         [C99-based-standards] (SCNdLEAST8): Likewise.
27418         [C99-based-standards] (SCNiLEAST8): Likewise.
27419         [C99-based-standards] (SCNoLEAST8): Likewise.
27420         [C99-based-standards] (SCNuLEAST8): Likewise.
27421         [C99-based-standards] (SCNxLEAST8): Likewise.
27422         [C99-based-standards] (PRIdFAST8): Likewise.
27423         [C99-based-standards] (PRIiFAST8): Likewise.
27424         [C99-based-standards] (PRIoFAST8): Likewise.
27425         [C99-based-standards] (PRIuFAST8): Likewise.
27426         [C99-based-standards] (PRIxFAST8): Likewise.
27427         [C99-based-standards] (PRIXFAST8): Likewise.
27428         [C99-based-standards] (SCNdFAST8): Likewise.
27429         [C99-based-standards] (SCNiFAST8): Likewise.
27430         [C99-based-standards] (SCNoFAST8): Likewise.
27431         [C99-based-standards] (SCNuFAST8): Likewise.
27432         [C99-based-standards] (SCNxFAST8): Likewise.
27433         [C99-based-standards] (PRId16): Likewise.
27434         [C99-based-standards] (PRIi16): Likewise.
27435         [C99-based-standards] (PRIo16): Likewise.
27436         [C99-based-standards] (PRIu16): Likewise.
27437         [C99-based-standards] (PRIx16): Likewise.
27438         [C99-based-standards] (PRIX16): Likewise.
27439         [C99-based-standards] (SCNd16): Likewise.
27440         [C99-based-standards] (SCNi16): Likewise.
27441         [C99-based-standards] (SCNo16): Likewise.
27442         [C99-based-standards] (SCNu16): Likewise.
27443         [C99-based-standards] (SCNx16): Likewise.
27444         [C99-based-standards] (PRIdLEAST16): Likewise.
27445         [C99-based-standards] (PRIiLEAST16): Likewise.
27446         [C99-based-standards] (PRIoLEAST16): Likewise.
27447         [C99-based-standards] (PRIuLEAST16): Likewise.
27448         [C99-based-standards] (PRIxLEAST16): Likewise.
27449         [C99-based-standards] (PRIXLEAST16): Likewise.
27450         [C99-based-standards] (SCNdLEAST16): Likewise.
27451         [C99-based-standards] (SCNiLEAST16): Likewise.
27452         [C99-based-standards] (SCNoLEAST16): Likewise.
27453         [C99-based-standards] (SCNuLEAST16): Likewise.
27454         [C99-based-standards] (SCNxLEAST16): Likewise.
27455         [C99-based-standards] (PRIdFAST16): Likewise.
27456         [C99-based-standards] (PRIiFAST16): Likewise.
27457         [C99-based-standards] (PRIoFAST16): Likewise.
27458         [C99-based-standards] (PRIuFAST16): Likewise.
27459         [C99-based-standards] (PRIxFAST16): Likewise.
27460         [C99-based-standards] (PRIXFAST16): Likewise.
27461         [C99-based-standards] (SCNdFAST16): Likewise.
27462         [C99-based-standards] (SCNiFAST16): Likewise.
27463         [C99-based-standards] (SCNoFAST16): Likewise.
27464         [C99-based-standards] (SCNuFAST16): Likewise.
27465         [C99-based-standards] (SCNxFAST16): Likewise.
27466         [C99-based-standards] (PRId32): Likewise.
27467         [C99-based-standards] (PRIi32): Likewise.
27468         [C99-based-standards] (PRIo32): Likewise.
27469         [C99-based-standards] (PRIu32): Likewise.
27470         [C99-based-standards] (PRIx32): Likewise.
27471         [C99-based-standards] (PRIX32): Likewise.
27472         [C99-based-standards] (SCNd32): Likewise.
27473         [C99-based-standards] (SCNi32): Likewise.
27474         [C99-based-standards] (SCNo32): Likewise.
27475         [C99-based-standards] (SCNu32): Likewise.
27476         [C99-based-standards] (SCNx32): Likewise.
27477         [C99-based-standards] (PRIdLEAST32): Likewise.
27478         [C99-based-standards] (PRIiLEAST32): Likewise.
27479         [C99-based-standards] (PRIoLEAST32): Likewise.
27480         [C99-based-standards] (PRIuLEAST32): Likewise.
27481         [C99-based-standards] (PRIxLEAST32): Likewise.
27482         [C99-based-standards] (PRIXLEAST32): Likewise.
27483         [C99-based-standards] (SCNdLEAST32): Likewise.
27484         [C99-based-standards] (SCNiLEAST32): Likewise.
27485         [C99-based-standards] (SCNoLEAST32): Likewise.
27486         [C99-based-standards] (SCNuLEAST32): Likewise.
27487         [C99-based-standards] (SCNxLEAST32): Likewise.
27488         [C99-based-standards] (PRIdFAST32): Likewise.
27489         [C99-based-standards] (PRIiFAST32): Likewise.
27490         [C99-based-standards] (PRIoFAST32): Likewise.
27491         [C99-based-standards] (PRIuFAST32): Likewise.
27492         [C99-based-standards] (PRIxFAST32): Likewise.
27493         [C99-based-standards] (PRIXFAST32): Likewise.
27494         [C99-based-standards] (SCNdFAST32): Likewise.
27495         [C99-based-standards] (SCNiFAST32): Likewise.
27496         [C99-based-standards] (SCNoFAST32): Likewise.
27497         [C99-based-standards] (SCNuFAST32): Likewise.
27498         [C99-based-standards] (SCNxFAST32): Likewise.
27499         [C99-based-standards] (PRId64): Likewise.
27500         [C99-based-standards] (PRIi64): Likewise.
27501         [C99-based-standards] (PRIo64): Likewise.
27502         [C99-based-standards] (PRIu64): Likewise.
27503         [C99-based-standards] (PRIx64): Likewise.
27504         [C99-based-standards] (PRIX64): Likewise.
27505         [C99-based-standards] (SCNd64): Likewise.
27506         [C99-based-standards] (SCNi64): Likewise.
27507         [C99-based-standards] (SCNo64): Likewise.
27508         [C99-based-standards] (SCNu64): Likewise.
27509         [C99-based-standards] (SCNx64): Likewise.
27510         [C99-based-standards] (PRIdLEAST64): Likewise.
27511         [C99-based-standards] (PRIiLEAST64): Likewise.
27512         [C99-based-standards] (PRIoLEAST64): Likewise.
27513         [C99-based-standards] (PRIuLEAST64): Likewise.
27514         [C99-based-standards] (PRIxLEAST64): Likewise.
27515         [C99-based-standards] (PRIXLEAST64): Likewise.
27516         [C99-based-standards] (SCNdLEAST64): Likewise.
27517         [C99-based-standards] (SCNiLEAST64): Likewise.
27518         [C99-based-standards] (SCNoLEAST64): Likewise.
27519         [C99-based-standards] (SCNuLEAST64): Likewise.
27520         [C99-based-standards] (SCNxLEAST64): Likewise.
27521         [C99-based-standards] (PRIdFAST64): Likewise.
27522         [C99-based-standards] (PRIiFAST64): Likewise.
27523         [C99-based-standards] (PRIoFAST64): Likewise.
27524         [C99-based-standards] (PRIuFAST64): Likewise.
27525         [C99-based-standards] (PRIxFAST64): Likewise.
27526         [C99-based-standards] (PRIXFAST64): Likewise.
27527         [C99-based-standards] (SCNdFAST64): Likewise.
27528         [C99-based-standards] (SCNiFAST64): Likewise.
27529         [C99-based-standards] (SCNoFAST64): Likewise.
27530         [C99-based-standards] (SCNuFAST64): Likewise.
27531         [C99-based-standards] (SCNxFAST64): Likewise.
27532         [C99-based-standards] (PRIdMAX): Likewise.
27533         [C99-based-standards] (PRIiMAX): Likewise.
27534         [C99-based-standards] (PRIoMAX): Likewise.
27535         [C99-based-standards] (PRIuMAX): Likewise.
27536         [C99-based-standards] (PRIxMAX): Likewise.
27537         [C99-based-standards] (PRIXMAX): Likewise.
27538         [C99-based-standards] (SCNdMAX): Likewise.
27539         [C99-based-standards] (SCNiMAX): Likewise.
27540         [C99-based-standards] (SCNoMAX): Likewise.
27541         [C99-based-standards] (SCNuMAX): Likewise.
27542         [C99-based-standards] (SCNxMAX): Likewise.
27543         [C99-based-standards] (PRIdPTR): Likewise.
27544         [C99-based-standards] (PRIiPTR): Likewise.
27545         [C99-based-standards] (PRIoPTR): Likewise.
27546         [C99-based-standards] (PRIuPTR): Likewise.
27547         [C99-based-standards] (PRIxPTR): Likewise.
27548         [C99-based-standards] (PRIXPTR): Likewise.
27549         [C99-based-standards] (SCNdPTR): Likewise.
27550         [C99-based-standards] (SCNiPTR): Likewise.
27551         [C99-based-standards] (SCNoPTR): Likewise.
27552         [C99-based-standards] (SCNuPTR): Likewise.
27553         [C99-based-standards] (SCNxPTR): Likewise.
27554         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27555         allow.
27556         * conform/data/stdint.h-data: Update comments to clarify
27557         requirements.
27558         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27559         type.
27560         [C99-based standards] (INT8_MAX): Likewise.
27561         [C99-based standards] (INT16_MIN): Likewise.
27562         [C99-based standards] (INT16_MAX): Likewise.
27563         [C99-based standards] (INT32_MIN): Likewise.
27564         [C99-based standards] (INT32_MAX): Likewise.
27565         [C99-based standards] (INT64_MIN): Likewise.
27566         [C99-based standards] (INT64_MAX): Likewise.
27567         [C99-based standards] (UINT8_MAX): Likewise.
27568         [C99-based standards] (UINT16_MAX): Likewise.
27569         [C99-based standards] (UINT32_MAX): Likewise.
27570         [C99-based standards] (UINT64_MAX): Likewise.
27571         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27572         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27573         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27574         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27575         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27576         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27577         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27578         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27579         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27580         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27581         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27582         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27583         [C99-based standards] (INT_FAST8_MIN): Likewise.
27584         [C99-based standards] (INT_FAST8_MAX): Likewise.
27585         [C99-based standards] (INT_FAST16_MIN): Likewise.
27586         [C99-based standards] (INT_FAST16_MAX): Likewise.
27587         [C99-based standards] (INT_FAST32_MIN): Likewise.
27588         [C99-based standards] (INT_FAST32_MAX): Likewise.
27589         [C99-based standards] (INT_FAST64_MIN): Likewise.
27590         [C99-based standards] (INT_FAST64_MAX): Likewise.
27591         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27592         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27593         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27594         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27595         [C99-based standards] (INTPTR_MIN): Likewise.
27596         [C99-based standards] (INTPTR_MAX): Likewise.
27597         [C99-based standards] (UINTPTR_MAX): Likewise.
27598         [C99-based standards] (INTMAX_MIN): Likewise.
27599         [C99-based standards] (INTMAX_MAX): Likewise.
27600         [C99-based standards] (UINTMAX_MAX): Likewise.
27601         [C99-based standards] (PTRDIFF_MIN): Likewise.
27602         [C99-based standards] (PTRDIFF_MAX): Likewise.
27603         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27604         [C99-based standards] (SIZE_MAX): Likewise.
27605         [C99-based standards] (WCHAR_MAX): Likewise.
27606         [C99-based standards] (WINT_MAX): Likewise.
27607         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27608         constraint on value.
27609         [C99-based standards] (WCHAR_MIN): Likewise.
27610         [C99-based standards] (WINT_MIN): Likewise.
27611         [C99-based standards] (*_t): Allow.
27612         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27613         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27614         Include math.h-data and complex.h-data.  Remove all expectations
27615         of math.h and complex.h contents.
27616         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27617         at end of line.
27618         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27619         (struct tm): Expect tag.
27620         [C99-based-standards] (wcstof): Expect function.
27621         [C99-based-standards] (wcstold): Likewise.
27622         [C99-based-standards] (wcstoll): Likewise.
27623         [C99-based-standards] (wcstoull): Likewise.
27624         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27625         macro-int-constant.  Specify type.
27626         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27627         constraint on value.
27628         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27629         Specify type.
27630         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27631         Specify value.
27632         [ISO C standards]: Do not allow headers.
27633         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27634         wcs[abcdefghijklmnopqrstuvwxyz]*.
27635         [ISO C standards] (*_t): Do not allow.
27636         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27637         Expect function.
27638         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27640         Specify type.
27641         [ISO C standards]: Do not allow headers.
27642         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27643         is[abcdefghijklmnopqrstuvwxyz]*.
27644         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27645         to[abcdefghijklmnopqrstuvwxyz]*.
27646         [ISO C standards] (*_t): Do not allow.
27647         * conform/data/stdalign.h-data: New file.
27648         * conform/data/stdbool.h-data: Likewise.
27649         * conform/data/stdnoreturn.h-data: Likewise.
27650
27651 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27652
27653         [BZ #14815]
27654         * manual/filesys.texi (Directory Entries): Typo fix.
27655         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27656
27657 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27658
27659         * elf/elf.h (EM_AARCH64): New macro.
27660         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27661         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27662         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27663         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27664         (R_AARCH64_TLSDESC): Likewise.
27665         (NT_ARM_TLS): Likewise.
27666         (NT_ARM_HW_BREAK): Likewise.
27667         (NT_ARM_HW_WATCH): Likewise.
27668
27669 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27670
27671         [BZ #14811]
27672         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27673         (__ieee754_powl): Saturate nonzero exponents with absolute value
27674         below 0x1p-79 to +/- 0x1p-79.
27675         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27676         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27677         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27678         nonzero exponents with absolute value below 0x1p-32 to +/-
27679         0x1p-32.
27680         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27681         (__ieee754_powl): Saturate nonzero exponents with absolute value
27682         below 0x1p-79 to +/- 0x1p-79.
27683         * math/libm-test.inc (pow_test): Add more tests.
27684
27685 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27686
27687         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27688         _dl_s390_cap_flags with kernel. Increase string length.
27689         (_dl_s390_platforms): Add z196 and zEC12.
27690
27691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27692
27693         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27694         Change XOPEN21K to XOPEN2K.
27695
27696 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27697
27698         * string/memmove.c: Use memcpy when possible.
27699
27700 2012-11-06  Andreas Jaeger  <aj@suse.de>
27701
27702         * po/eo.po: Update from translation team.
27703
27704 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27705
27706         [BZ #14793]
27707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27708         exponent and small x and y exponents, scale x or y up.  Increase
27709         by 2 the exponent used in scaling up.
27710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27712         * math/libm-test.inc (fma_test): Add more tests.
27713         (fma_test_towardzero): Likewise.
27714         (fma_test_downward): Likewise.
27715         (fma_test_upward): Likewise.
27716
27717 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27718
27719         [BZ #14805]
27720         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27721         fenv_t *.
27722
27723         [BZ #14801]
27724         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27725         namespace for names of struct fields.
27726         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27727         fenv_t fields.
27728         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27729         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27730
27731 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27732
27733         [BZ #3665]
27734         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27735
27736 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27737
27738         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27739         PTR_DEMANGLE.
27740
27741         [BZ #5246]
27742         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27743         PTR_DEMANGLE.
27744
27745 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27746
27747         [BZ #14797]
27748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27749         definitely overflow as x * y not x * y + z.
27750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27752         * math/libm-test.inc (fma_test): Add more tests.
27753         (fma_test_towardzero): Likewise.
27754         (fma_test_downward): Likewise.
27755         (fma_test_upward): Likewise.
27756
27757 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27758
27759         [BZ #157]
27760
27761         * include/stub-tag.h: Remove file.
27762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27763         '#include' of it.
27764         * manual/maint.texi (Porting): Don't reference it.
27765         * Makerules ($(objpfx)stubs): Likewise.
27766         * dirent/closedir.c: Don't include <stub-tag.h>.
27767         * dirent/dirfd.c: Likewise.
27768         * dirent/fdopendir.c: Likewise.
27769         * dirent/getdents.c: Likewise.
27770         * dirent/getdents64.c: Likewise.
27771         * dirent/opendir.c: Likewise.
27772         * dirent/readdir.c: Likewise.
27773         * dirent/readdir64.c: Likewise.
27774         * dirent/readdir64_r.c: Likewise.
27775         * dirent/readdir_r.c: Likewise.
27776         * dirent/rewinddir.c: Likewise.
27777         * dirent/seekdir.c: Likewise.
27778         * dirent/telldir.c: Likewise.
27779         * gmon/profil.c: Likewise.
27780         * grp/setgroups.c: Likewise.
27781         * inet/if_index.c: Likewise.
27782         * io/access.c: Likewise.
27783         * io/chdir.c: Likewise.
27784         * io/chmod.c: Likewise.
27785         * io/chown.c: Likewise.
27786         * io/close.c: Likewise.
27787         * io/dup.c: Likewise.
27788         * io/dup2.c: Likewise.
27789         * io/dup3.c: Likewise.
27790         * io/euidaccess.c: Likewise.
27791         * io/faccessat.c: Likewise.
27792         * io/fchdir.c: Likewise.
27793         * io/fchmod.c: Likewise.
27794         * io/fchmodat.c: Likewise.
27795         * io/fchown.c: Likewise.
27796         * io/fchownat.c: Likewise.
27797         * io/fcntl.c: Likewise.
27798         * io/flock.c: Likewise.
27799         * io/fstatfs.c: Likewise.
27800         * io/fstatfs64.c: Likewise.
27801         * io/fstatvfs.c: Likewise.
27802         * io/fstatvfs64.c: Likewise.
27803         * io/futimens.c: Likewise.
27804         * io/fxstat.c: Likewise.
27805         * io/fxstat64.c: Likewise.
27806         * io/fxstatat.c: Likewise.
27807         * io/fxstatat64.c: Likewise.
27808         * io/getcwd.c: Likewise.
27809         * io/isatty.c: Likewise.
27810         * io/lchmod.c: Likewise.
27811         * io/lchown.c: Likewise.
27812         * io/link.c: Likewise.
27813         * io/linkat.c: Likewise.
27814         * io/lseek.c: Likewise.
27815         * io/lseek64.c: Likewise.
27816         * io/lxstat64.c: Likewise.
27817         * io/mkdir.c: Likewise.
27818         * io/mkdirat.c: Likewise.
27819         * io/mkfifo.c: Likewise.
27820         * io/mkfifoat.c: Likewise.
27821         * io/open.c: Likewise.
27822         * io/open64.c: Likewise.
27823         * io/openat.c: Likewise.
27824         * io/openat64.c: Likewise.
27825         * io/pipe.c: Likewise.
27826         * io/pipe2.c: Likewise.
27827         * io/poll.c: Likewise.
27828         * io/posix_fadvise.c: Likewise.
27829         * io/posix_fadvise64.c: Likewise.
27830         * io/posix_fallocate.c: Likewise.
27831         * io/posix_fallocate64.c: Likewise.
27832         * io/read.c: Likewise.
27833         * io/readlink.c: Likewise.
27834         * io/readlinkat.c: Likewise.
27835         * io/rmdir.c: Likewise.
27836         * io/sendfile.c: Likewise.
27837         * io/sendfile64.c: Likewise.
27838         * io/statfs.c: Likewise.
27839         * io/statfs64.c: Likewise.
27840         * io/statvfs.c: Likewise.
27841         * io/statvfs64.c: Likewise.
27842         * io/symlink.c: Likewise.
27843         * io/symlinkat.c: Likewise.
27844         * io/ttyname.c: Likewise.
27845         * io/ttyname_r.c: Likewise.
27846         * io/umask.c: Likewise.
27847         * io/unlink.c: Likewise.
27848         * io/unlinkat.c: Likewise.
27849         * io/utime.c: Likewise.
27850         * io/utimensat.c: Likewise.
27851         * io/write.c: Likewise.
27852         * io/xmknod.c: Likewise.
27853         * io/xmknodat.c: Likewise.
27854         * io/xstat.c: Likewise.
27855         * io/xstat64.c: Likewise.
27856         * login/getpt.c: Likewise.
27857         * login/grantpt.c: Likewise.
27858         * login/unlockpt.c: Likewise.
27859         * math/e_acoshl.c: Likewise.
27860         * math/e_acosl.c: Likewise.
27861         * math/e_asinl.c: Likewise.
27862         * math/e_atan2l.c: Likewise.
27863         * math/e_atanhl.c: Likewise.
27864         * math/e_coshl.c: Likewise.
27865         * math/e_expl.c: Likewise.
27866         * math/e_fmodl.c: Likewise.
27867         * math/e_gammal_r.c: Likewise.
27868         * math/e_hypotl.c: Likewise.
27869         * math/e_j0l.c: Likewise.
27870         * math/e_j1l.c: Likewise.
27871         * math/e_jnl.c: Likewise.
27872         * math/e_lgammal_r.c: Likewise.
27873         * math/e_log10l.c: Likewise.
27874         * math/e_log2l.c: Likewise.
27875         * math/e_logl.c: Likewise.
27876         * math/e_powl.c: Likewise.
27877         * math/e_rem_pio2l.c: Likewise.
27878         * math/e_sinhl.c: Likewise.
27879         * math/e_sqrtl.c: Likewise.
27880         * math/fclrexcpt.c: Likewise.
27881         * math/fedisblxcpt.c: Likewise.
27882         * math/feenablxcpt.c: Likewise.
27883         * math/fegetenv.c: Likewise.
27884         * math/fegetexcept.c: Likewise.
27885         * math/fegetround.c: Likewise.
27886         * math/feholdexcpt.c: Likewise.
27887         * math/fesetenv.c: Likewise.
27888         * math/fesetround.c: Likewise.
27889         * math/feupdateenv.c: Likewise.
27890         * math/fgetexcptflg.c: Likewise.
27891         * math/fraiseexcpt.c: Likewise.
27892         * math/fsetexcptflg.c: Likewise.
27893         * math/ftestexcept.c: Likewise.
27894         * math/k_cosl.c: Likewise.
27895         * math/k_rem_pio2l.c: Likewise.
27896         * math/k_sinl.c: Likewise.
27897         * math/k_tanl.c: Likewise.
27898         * math/s_asinhl.c: Likewise.
27899         * math/s_atanl.c: Likewise.
27900         * math/s_cbrtl.c: Likewise.
27901         * math/s_erfl.c: Likewise.
27902         * math/s_expm1l.c: Likewise.
27903         * math/s_log1pl.c: Likewise.
27904         * math/s_tanhl.c: Likewise.
27905         * misc/acct.c: Likewise.
27906         * misc/brk.c: Likewise.
27907         * misc/chflags.c: Likewise.
27908         * misc/chroot.c: Likewise.
27909         * misc/fchflags.c: Likewise.
27910         * misc/fgetxattr.c: Likewise.
27911         * misc/flistxattr.c: Likewise.
27912         * misc/fremovexattr.c: Likewise.
27913         * misc/fsetxattr.c: Likewise.
27914         * misc/fsync.c: Likewise.
27915         * misc/ftruncate.c: Likewise.
27916         * misc/futimes.c: Likewise.
27917         * misc/futimesat.c: Likewise.
27918         * misc/getdomain.c: Likewise.
27919         * misc/getdtsz.c: Likewise.
27920         * misc/gethostid.c: Likewise.
27921         * misc/gethostname.c: Likewise.
27922         * misc/getloadavg.c: Likewise.
27923         * misc/getpagesize.c: Likewise.
27924         * misc/getsysstats.c: Likewise.
27925         * misc/getxattr.c: Likewise.
27926         * misc/gtty.c: Likewise.
27927         * misc/ioctl.c: Likewise.
27928         * misc/lgetxattr.c: Likewise.
27929         * misc/listxattr.c: Likewise.
27930         * misc/llistxattr.c: Likewise.
27931         * misc/lremovexattr.c: Likewise.
27932         * misc/lsetxattr.c: Likewise.
27933         * misc/lutimes.c: Likewise.
27934         * misc/madvise.c: Likewise.
27935         * misc/mincore.c: Likewise.
27936         * misc/mlock.c: Likewise.
27937         * misc/mlockall.c: Likewise.
27938         * misc/mmap.c: Likewise.
27939         * misc/mprotect.c: Likewise.
27940         * misc/msync.c: Likewise.
27941         * misc/munlock.c: Likewise.
27942         * misc/munlockall.c: Likewise.
27943         * misc/munmap.c: Likewise.
27944         * misc/preadv.c: Likewise.
27945         * misc/preadv64.c: Likewise.
27946         * misc/ptrace.c: Likewise.
27947         * misc/pwritev.c: Likewise.
27948         * misc/pwritev64.c: Likewise.
27949         * misc/readv.c: Likewise.
27950         * misc/reboot.c: Likewise.
27951         * misc/remap_file_pages.c: Likewise.
27952         * misc/removexattr.c: Likewise.
27953         * misc/revoke.c: Likewise.
27954         * misc/select.c: Likewise.
27955         * misc/setdomain.c: Likewise.
27956         * misc/setegid.c: Likewise.
27957         * misc/seteuid.c: Likewise.
27958         * misc/sethostid.c: Likewise.
27959         * misc/sethostname.c: Likewise.
27960         * misc/setregid.c: Likewise.
27961         * misc/setreuid.c: Likewise.
27962         * misc/setxattr.c: Likewise.
27963         * misc/sstk.c: Likewise.
27964         * misc/stty.c: Likewise.
27965         * misc/swapoff.c: Likewise.
27966         * misc/swapon.c: Likewise.
27967         * misc/sync.c: Likewise.
27968         * misc/syncfs.c: Likewise.
27969         * misc/syscall.c: Likewise.
27970         * misc/truncate.c: Likewise.
27971         * misc/ualarm.c: Likewise.
27972         * misc/usleep.c: Likewise.
27973         * misc/ustat.c: Likewise.
27974         * misc/utimes.c: Likewise.
27975         * misc/vhangup.c: Likewise.
27976         * misc/writev.c: Likewise.
27977         * posix/_exit.c: Likewise.
27978         * posix/alarm.c: Likewise.
27979         * posix/execve.c: Likewise.
27980         * posix/fexecve.c: Likewise.
27981         * posix/fork.c: Likewise.
27982         * posix/fpathconf.c: Likewise.
27983         * posix/getaddrinfo.c: Likewise.
27984         * posix/getegid.c: Likewise.
27985         * posix/geteuid.c: Likewise.
27986         * posix/getgid.c: Likewise.
27987         * posix/getgroups.c: Likewise.
27988         * posix/getlogin.c: Likewise.
27989         * posix/getlogin_r.c: Likewise.
27990         * posix/getpgid.c: Likewise.
27991         * posix/getpid.c: Likewise.
27992         * posix/getppid.c: Likewise.
27993         * posix/getresgid.c: Likewise.
27994         * posix/getresuid.c: Likewise.
27995         * posix/getsid.c: Likewise.
27996         * posix/getuid.c: Likewise.
27997         * posix/glob64.c: Likewise.
27998         * posix/nanosleep.c: Likewise.
27999         * posix/pathconf.c: Likewise.
28000         * posix/pause.c: Likewise.
28001         * posix/posix_madvise.c: Likewise.
28002         * posix/pread.c: Likewise.
28003         * posix/pread64.c: Likewise.
28004         * posix/pwrite.c: Likewise.
28005         * posix/pwrite64.c: Likewise.
28006         * posix/sched_getaffinity.c: Likewise.
28007         * posix/sched_getp.c: Likewise.
28008         * posix/sched_gets.c: Likewise.
28009         * posix/sched_primax.c: Likewise.
28010         * posix/sched_primin.c: Likewise.
28011         * posix/sched_rr_gi.c: Likewise.
28012         * posix/sched_setaffinity.c: Likewise.
28013         * posix/sched_setp.c: Likewise.
28014         * posix/sched_sets.c: Likewise.
28015         * posix/sched_yield.c: Likewise.
28016         * posix/setgid.c: Likewise.
28017         * posix/setlogin.c: Likewise.
28018         * posix/setpgid.c: Likewise.
28019         * posix/setresgid.c: Likewise.
28020         * posix/setresuid.c: Likewise.
28021         * posix/setsid.c: Likewise.
28022         * posix/setuid.c: Likewise.
28023         * posix/sleep.c: Likewise.
28024         * posix/spawni.c: Likewise.
28025         * posix/sysconf.c: Likewise.
28026         * posix/times.c: Likewise.
28027         * posix/wait.c: Likewise.
28028         * posix/wait3.c: Likewise.
28029         * posix/wait4.c: Likewise.
28030         * posix/waitpid.c: Likewise.
28031         * resolv/gai_sigqueue.c: Likewise.
28032         * resource/getpriority.c: Likewise.
28033         * resource/getrlimit.c: Likewise.
28034         * resource/getrusage.c: Likewise.
28035         * resource/nice.c: Likewise.
28036         * resource/setpriority.c: Likewise.
28037         * resource/setrlimit.c: Likewise.
28038         * resource/ulimit.c: Likewise.
28039         * rt/aio_cancel.c: Likewise.
28040         * rt/aio_fsync.c: Likewise.
28041         * rt/aio_read.c: Likewise.
28042         * rt/aio_sigqueue.c: Likewise.
28043         * rt/aio_suspend.c: Likewise.
28044         * rt/aio_write.c: Likewise.
28045         * rt/clock_getres.c: Likewise.
28046         * rt/clock_gettime.c: Likewise.
28047         * rt/clock_nanosleep.c: Likewise.
28048         * rt/clock_settime.c: Likewise.
28049         * rt/lio_listio.c: Likewise.
28050         * rt/mq_close.c: Likewise.
28051         * rt/mq_getattr.c: Likewise.
28052         * rt/mq_notify.c: Likewise.
28053         * rt/mq_open.c: Likewise.
28054         * rt/mq_receive.c: Likewise.
28055         * rt/mq_send.c: Likewise.
28056         * rt/mq_setattr.c: Likewise.
28057         * rt/mq_timedreceive.c: Likewise.
28058         * rt/mq_timedsend.c: Likewise.
28059         * rt/mq_unlink.c: Likewise.
28060         * rt/shm_open.c: Likewise.
28061         * rt/shm_unlink.c: Likewise.
28062         * rt/timer_create.c: Likewise.
28063         * rt/timer_delete.c: Likewise.
28064         * rt/timer_getoverr.c: Likewise.
28065         * rt/timer_gettime.c: Likewise.
28066         * rt/timer_settime.c: Likewise.
28067         * setjmp/__longjmp.c: Likewise.
28068         * setjmp/setjmp.c: Likewise.
28069         * signal/kill.c: Likewise.
28070         * signal/killpg.c: Likewise.
28071         * signal/raise.c: Likewise.
28072         * signal/sigaction.c: Likewise.
28073         * signal/sigaltstack.c: Likewise.
28074         * signal/sigblock.c: Likewise.
28075         * signal/sigignore.c: Likewise.
28076         * signal/sigintr.c: Likewise.
28077         * signal/signal.c: Likewise.
28078         * signal/sigpause.c: Likewise.
28079         * signal/sigpending.c: Likewise.
28080         * signal/sigqueue.c: Likewise.
28081         * signal/sigreturn.c: Likewise.
28082         * signal/sigset.c: Likewise.
28083         * signal/sigsetmask.c: Likewise.
28084         * signal/sigstack.c: Likewise.
28085         * signal/sigsuspend.c: Likewise.
28086         * signal/sigtimedwait.c: Likewise.
28087         * signal/sigvec.c: Likewise.
28088         * signal/sigwait.c: Likewise.
28089         * signal/sigwaitinfo.c: Likewise.
28090         * signal/sysv_signal.c: Likewise.
28091         * socket/accept.c: Likewise.
28092         * socket/accept4.c: Likewise.
28093         * socket/bind.c: Likewise.
28094         * socket/connect.c: Likewise.
28095         * socket/getpeername.c: Likewise.
28096         * socket/getsockname.c: Likewise.
28097         * socket/getsockopt.c: Likewise.
28098         * socket/isfdtype.c: Likewise.
28099         * socket/listen.c: Likewise.
28100         * socket/recv.c: Likewise.
28101         * socket/recvfrom.c: Likewise.
28102         * socket/recvmsg.c: Likewise.
28103         * socket/send.c: Likewise.
28104         * socket/sendmsg.c: Likewise.
28105         * socket/sendto.c: Likewise.
28106         * socket/setsockopt.c: Likewise.
28107         * socket/shutdown.c: Likewise.
28108         * socket/sockatmark.c: Likewise.
28109         * socket/socket.c: Likewise.
28110         * socket/socketpair.c: Likewise.
28111         * stdio-common/ctermid.c: Likewise.
28112         * stdio-common/cuserid.c: Likewise.
28113         * stdio-common/remove.c: Likewise.
28114         * stdio-common/rename.c: Likewise.
28115         * stdio-common/renameat.c: Likewise.
28116         * stdio-common/tempname.c: Likewise.
28117         * stdlib/getcontext.c: Likewise.
28118         * stdlib/makecontext.c: Likewise.
28119         * stdlib/setcontext.c: Likewise.
28120         * stdlib/swapcontext.c: Likewise.
28121         * stdlib/system.c: Likewise.
28122         * streams/fattach.c: Likewise.
28123         * streams/fdetach.c: Likewise.
28124         * streams/getmsg.c: Likewise.
28125         * streams/getpmsg.c: Likewise.
28126         * streams/putmsg.c: Likewise.
28127         * streams/putpmsg.c: Likewise.
28128         * sysdeps/unix/bsd/getpt.c: Likewise.
28129         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28130         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28131         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28133         Likewise.
28134         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28135         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28136         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28137         * sysvipc/msgctl.c: Likewise.
28138         * sysvipc/msgget.c: Likewise.
28139         * sysvipc/msgrcv.c: Likewise.
28140         * sysvipc/msgsnd.c: Likewise.
28141         * sysvipc/semctl.c: Likewise.
28142         * sysvipc/semget.c: Likewise.
28143         * sysvipc/semop.c: Likewise.
28144         * sysvipc/semtimedop.c: Likewise.
28145         * sysvipc/shmat.c: Likewise.
28146         * sysvipc/shmctl.c: Likewise.
28147         * sysvipc/shmdt.c: Likewise.
28148         * sysvipc/shmget.c: Likewise.
28149         * termios/tcdrain.c: Likewise.
28150         * termios/tcflow.c: Likewise.
28151         * termios/tcflush.c: Likewise.
28152         * termios/tcgetattr.c: Likewise.
28153         * termios/tcgetpgrp.c: Likewise.
28154         * termios/tcsendbrk.c: Likewise.
28155         * termios/tcsetattr.c: Likewise.
28156         * termios/tcsetpgrp.c: Likewise.
28157         * time/adjtime.c: Likewise.
28158         * time/clock.c: Likewise.
28159         * time/getitimer.c: Likewise.
28160         * time/gettimeofday.c: Likewise.
28161         * time/setitimer.c: Likewise.
28162         * time/settimeofday.c: Likewise.
28163         * time/stime.c: Likewise.
28164         * time/time.c: Likewise.
28165
28166 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28167
28168         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28169         /usr/old/bin.
28170
28171         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28172         instead of spaces.
28173         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28174
28175 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28176
28177         [BZ #14796]
28178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28179         FE_TONEAREST before applying Dekker multiplication and Knuth
28180         addition.  Clear inexact exceptions and check for exact zero
28181         results afterwards.
28182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28183         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28185         * math/libm-test.inc (fma_test): Add more tests.
28186         (fma_test_towardzero): Likewise.
28187         (fma_test_downward): Likewise.
28188         (fma_test_upward): Likewise.
28189         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28190         function.
28191         (libc_fesetround): New macro.
28192         (libc_fesetroundf): Likewise.
28193         (libc_fesetroundl): Likewise.
28194         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28195         function.
28196         (libc_fesetround_387): Likewise.
28197         (libc_fesetroundf): New macro.
28198         (libc_fesetround): Likewise.
28199         (libc_fesetroundl): Likewise.
28200         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28201         function.
28202         (libc_fesetroundf): New macro.
28203         (libc_fesetround): Likewise.
28204         (libc_fesetroundl): Likewise.
28205         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28206         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28207         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28208         libm_hidden_ver.
28209         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28210         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28211         libm_hidden_def.
28212         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28213         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28214         libm_hidden_ver.
28215         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28216         libm_hidden_def.
28217
28218         [BZ #3439]
28219         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28220         integer constant usable in #if and use that to give value to enum
28221         constant.
28222         (FE_DIVBYZERO): Likewise.
28223         (FE_UNDERFLOW): Likewise.
28224         (FE_OVERFLOW): Likewise.
28225         (FE_INVALID): Likewise.
28226         (FE_INVALID_SNAN): Likewise.
28227         (FE_INVALID_ISI): Likewise.
28228         (FE_INVALID_IDI): Likewise.
28229         (FE_INVALID_ZDZ): Likewise.
28230         (FE_INVALID_IMZ): Likewise.
28231         (FE_INVALID_COMPARE): Likewise.
28232         (FE_INVALID_SOFTWARE): Likewise.
28233         (FE_INVALID_SQRT): Likewise.
28234         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28235         (FE_TONEAREST): Likewise.
28236         (FE_TOWARDZERO): Likewise.
28237         (FE_UPWARD): Likewise.
28238         (FE_DOWNWARD): Likewise.
28239         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28240         (FE_DIVBYZERO): Likewise.
28241         (FE_OVERFLOW): Likewise.
28242         (FE_UNDERFLOW): Likewise.
28243         (FE_INEXACT): Likewise.
28244         (FE_TONEAREST): Likewise.
28245         (FE_DOWNWARD): Likewise.
28246         (FE_UPWARD): Likewise.
28247         (FE_TOWARDZERO): Likewise.
28248         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28249         (FE_UNDERFLOW): Likewise.
28250         (FE_OVERFLOW): Likewise.
28251         (FE_DIVBYZERO): Likewise.
28252         (FE_INVALID): Likewise.
28253         (FE_TONEAREST): Likewise.
28254         (FE_TOWARDZERO): Likewise.
28255         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28256         (FE_OVERFLOW): Likewise.
28257         (FE_UNDERFLOW): Likewise.
28258         (FE_DIVBYZERO): Likewise.
28259         (FE_INEXACT): Likewise.
28260         (FE_TONEAREST): Likewise.
28261         (FE_TOWARDZERO): Likewise.
28262         (FE_UPWARD): Likewise.
28263         (FE_DOWNWARD): Likewise.
28264         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28265         (FE_DIVBYZERO): Likewise.
28266         (FE_OVERFLOW): Likewise.
28267         (FE_UNDERFLOW): Likewise.
28268         (FE_INEXACT): Likewise.
28269         (FE_TONEAREST): Likewise.
28270         (FE_DOWNWARD): Likewise.
28271         (FE_UPWARD): Likewise.
28272         (FE_TOWARDZERO): Likewise.
28273
28274 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28275
28276         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28277
28278 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28279
28280         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28281         commands.  Quote $PWD.
28282         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28283         -x" by "export".
28284         (remove_newlines): Remove.
28285
28286 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28287
28288         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28289         * stdlib/stdlib.h (atof): Moved to ...
28290         * include/bits/stdlib-float.h: Here.  New file.
28291         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28292         * stdlib/bits/stdlib-float.h: New file.
28293         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28294         -mno-sse -mno-mmx.
28295         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28296         <xmmintrin.h>.
28297
28298 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28299
28300         * conform/conformtest.pl (@headers): Add fenv.h.
28301         * conform/data/fenv.h-data: New file.
28302         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28303         include of <math/fenv.h>.
28304
28305         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28306         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28307         && !UNIX98].  Enables tests for XOPEN2K8.
28308         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28309         POSIX2008]: Likewise.
28310
28311         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28312         (struct rusage): Do not expect type or its members.
28313
28314         [BZ #3439]
28315         * math/math.h (FP_NAN): Define macro to integer constant usable in
28316         #if and use that to give value to enum constant.
28317         (FP_INFINITE): Likewise.
28318         (FP_ZERO): Likewise.
28319         (FP_SUBNORMAL): Likewise.
28320         (FP_NORMAL): Likewise.
28321
28322 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28323
28324         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28325         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28326         arguments.
28327
28328 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28329
28330         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28331         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28332         autoconf-time if not.
28333         * configure.in: Remove AC_PREREQ.
28334
28335 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28336
28337         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28338         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28339         of the internal implementation.
28340
28341 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28342
28343         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28344         except include of <misc/sys/syslog.h>.
28345
28346 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28347
28348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28349         function returns with a NULL context exit with zero.
28350
28351 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28352
28353         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28354
28355 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28356
28357         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28358         (run_program_cmd): This.
28359         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28360         (tst_langinfo): New variable.  Use it.
28361
28362 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28363
28364         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28365         floating point opcodes.
28366
28367 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28368
28369         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28370         variable.
28371
28372         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28373
28374         * sysdeps/mach/hurd/powerpc: Remove directory.
28375         * sysdeps/mach/powerpc: Likewise.
28376
28377 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28378
28379         * scripts/check-local-headers.sh: Ignore c++ headers.
28380
28381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28382
28383         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28384         __libc_cleanup_region_start argument.
28385
28386 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28387
28388         [BZ #14784]
28389         [BZ #14785]
28390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28391         x * y using scaling, not as x * y + z.
28392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28394         * math/libm-test.inc (fma_test): Add more tests.
28395         (fma_test_towardzero): Likewise.
28396         (fma_test_downward): Likewise.
28397         (fma_test_upward): Likewise.
28398
28399 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28400
28401         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28402
28403 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28404
28405         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28406         New variable.
28407
28408 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28409
28410         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28411
28412 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28413
28414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28415         Fix sort order.
28416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28417         Likewise.
28418
28419 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28420
28421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28422         Fix the order of the list for glibc 2.17.
28423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28424         Likewise.
28425
28426 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28427
28428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28429
28430 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28431
28432         [BZ #14610]
28433         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28434         for low part of x being zero before using __atanl (y).
28435         * math/libm-test.inc (atan2_test): Add another test.
28436
28437         * manual/install.texi (Configuring and compiling): Document
28438         general use of test-wrapper and test-wrapper-env.
28439         * INSTALL: Regenerated.
28440
28441         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28442         (__fma): Do not extract and scale down low bits on after-rounding
28443         systems when result rounded to normal precision would have normal
28444         exponent.
28445         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28446         (__fmal): Do not extract and scale down low bits on after-rounding
28447         systems when result rounded to normal precision would have normal
28448         exponent.
28449         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28450         (__fmal): Do not extract and scale down low bits on after-rounding
28451         systems when result rounded to normal precision would have normal
28452         exponent.
28453         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28454         macro.
28455         (fma_test): Add more tests.
28456         (fma_test_towardzero): Likewise.
28457         (fma_test_downward): Likewise.
28458         (fma_test_upward): Likewise.
28459
28460 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28461
28462         * sysdeps/i386/tininess.h: Renamed to ...
28463         * sysdeps/x86/tininess.h: This.
28464         * sysdeps/x86_64/tininess.h: Removed.
28465
28466 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28467
28468         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28469         input.  Use $(build-program-cmd).
28470         ($(objpfx)tst-array1-static.out): Likewise.
28471         ($(objpfx)tst-array2.out): Likewise.
28472         ($(objpfx)tst-array3.out): Likewise.
28473         ($(objpfx)tst-array4.out): Likewise.
28474         ($(objpfx)tst-array5.out): Likewise.
28475         ($(objpfx)tst-array5-static.out): Likewise.
28476
28477 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28478
28479         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28480         if defined.
28481
28482         * nss/nsswitch.h (nss_interface_function): Provide new
28483         macro for use with NSS functions.
28484         * grp/initgroups.c: Use new macro.
28485         * nss/getXXbyYY.c: Likewise.
28486         * nss/getXXbyYY_r.c: Likewise.
28487         * nss/getXXent.c: Likewise.
28488         * nss/getXXent_r.c: Likewise.
28489         * sysdeps/posix/getaddrinfo.c: Likewise.
28490
28491 2012-10-30  Andreas Jaeger  <aj@suse.de>
28492
28493         * po/ru.po: Update Russion translation from translation project.
28494
28495 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28496
28497         [BZ #14152]
28498         [BZ #14783]
28499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28500         result and shift together with sticky bit instead of replicating
28501         round-to-nearest rounding.
28502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28504         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28505         missing underflow exceptions.
28506         (fma_test_towardzero): Add more tests.
28507         (fma_test_downward): Likewise.
28508         (fma_test_upward): Likewise.
28509
28510         [BZ #14047]
28511         * sysdeps/generic/tininess.h: New file.
28512         * sysdeps/i386/tininess.h: Likewise.
28513         * sysdeps/sh/tininess.h: Likewise.
28514         * sysdeps/x86_64/tininess.h: Likewise.
28515         * stdlib/tst-strtod-underflow.c: Likewise.
28516         * stdlib/tst-tininess.c: Likewise.
28517         * stdlib/strtod_l.c: Include <tininess.h>.
28518         (round_and_return): Do not set errno for exact underflow cases.
28519         Force an underflow exception when setting errno for underflow.
28520         Determine underflow based on rounding to normal precision if
28521         TININESS_AFTER_ROUNDING.
28522         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28523         ERANGE for exact underflow cases.
28524         * stdlib/Makefile (tests): Add tst-tininess and
28525         tst-strtod-underflow.
28526         ($(objpfx)tst-tininess): Use $(link-libm).
28527         ($(objpfx)tst-strtod-underflow): Likewise.
28528
28529 2012-10-30  Andreas Jaeger  <aj@suse.de>
28530
28531         [BZ#14767]
28532         * elf/Makefile (tests): Remove conditional for have-initfini-array
28533         since this is now always required and the variable does not exist
28534         anymore.
28535         (tests-static): Likewise.
28536         (modules-names): Likewise.
28537
28538         * po/eo.po: Add Esperanto translation from translation project.
28539
28540         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28541         merged with constructor/destructor.
28542         (init_array): Likewise.
28543         * elf/tst-array2dep.c (fini_array): Likewise.
28544         (init_array): Likewise.
28545
28546 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28547
28548         * manual/message.texi: Delete @cartouche tags.
28549
28550 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28551
28552         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28553         EOPNOTSUPP.
28554         * sysdeps/mach/hurd/fsync.c: Likewise.
28555
28556         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28557         [_POSIX_REALTIME_SIGNALS]: Change condition to
28558         [_POSIX_REALTIME_SIGNALS > 0].
28559
28560 2012-10-27  Andreas Jaeger  <aj@suse.de>
28561
28562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28563         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28565         [__WORDSIZE != 64]: Likewise.
28566
28567 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28568
28569         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28570         *  iconvdata/tst-tables.sh: Likewise.
28571
28572 2012-10-25  David S. Miller  <davem@davemloft.net>
28573
28574         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28575         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28576         of strtoull.
28577
28578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28579         ifunc-impl-list.c
28580         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28581         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28582         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28583         file.
28584
28585 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28586
28587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28588         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28589         __getdirentries.
28590
28591 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28592             Jim Blandy  <jimb@codesourcery.com>
28593
28594         * scripts/cross-test-ssh.sh: New file.
28595         * manual/install.texi (Configuring and compiling): Document use of
28596         cross-test-ssh.sh.
28597         * INSTALL: Regenerated.
28598
28599 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28600
28601         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28602         EOPNOTSUPP.
28603
28604 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28605
28606         * Makeconfig (run-program-prefix): Fix comment.
28607
28608 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28609             Jim Blandy  <jimb@codesourcery.com>
28610
28611         * Makeconfig (test-wrapper): New variable,
28612         (test-wrapper-env): Likewise.
28613         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28614         (run-built-tests): Define to yes.
28615         (run-program-prefix): Use $(test-wrapper).
28616         (built-program-cmd): Likewise.
28617         * Rules (make-test-out): Use $(test-wrapper-env) and
28618         $(host-built-program-cmd).
28619         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28620         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28621         tst-pathopt.sh.
28622         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28623         $(test-wrapper-env) to tst-rtld-load-self.sh.
28624         ($(objpfx)order2.out): Use $(test-wrapper).
28625         ($(objpfx)tst-initorder.out): Likewise.
28626         ($(objpfx)tst-initorder2.out): Likewise.
28627         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28628         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28629         (test_wrapper_env): New variable.  Use it to run ld.so.
28630         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28631         Use it to run ld.so.
28632         (test_wrapper_env): Likewise.
28633         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28634         $(test-wrapper) to run-iconv-test.sh.
28635         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28636         (ICONV): Use $test_wrapper.
28637         * posix/Makefile ($(objpfx)globtest.out): Pass
28638         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28639         globtest.sh, not $(run-program-prefix).
28640         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28641         (test_wrapper): Likewise.
28642         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28643         set together with run_via_rtld_prefix.
28644         (run_program_prefix): Define in terms of test_wrapper and
28645         run_via_rtld_prefix.
28646
28647 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28648
28649         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28650         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28651         Targets removed.
28652
28653         [BZ #14743]
28654         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28655         Declare __clock_getres, __clock_gettime, __clock_settime,
28656         __clock_nanosleep, and __clock_getcpuclockid.
28657         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28658         Remove librt_hidden_def (clock_gettime).
28659         * sysdeps/unix/clock_gettime.c: Likewise.
28660         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28661         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28662         * rt/clock_getres.c: Define __clock_getres as an alias.
28663         * sysdeps/posix/clock_getres.c: Likewise.
28664         * rt/clock_settime.c: Define __clock_settime as an alias.
28665         * sysdeps/unix/clock_settime.c: Likewise.
28666         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28667         * sysdeps/unix/clock_nanosleep.c: Likewise.
28668         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28669         * rt/clock-compat.c: New file.
28670         * rt/Makefile (librt-routines): Add clock-compat and move
28671         $(clock-routines) to ...
28672         (routines): ... here, new variable.
28673         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28674         Don't add get_clockfreq here.
28675         * rt/Versions (libc: GLIBC_2.17): New version set.
28676         Add clock_* symbols here.
28677         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28679         (GLIBC_2.17): Add clock_* symbols.
28680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28684         Likewise.
28685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28686         Likewise.
28687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28691         * NEWS: Mention the move.
28692
28693         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28694         Use __open, __read, __close rather than their public counterparts.
28695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28696         (__get_clockfreq_via_cpuinfo): Likewise.
28697         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28698         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28699
28700         * config.h.in (HAVE_IFUNC): New #undef.
28701         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28702         was successful.
28703         * configure: Regenerated.
28704
28705 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28706
28707         * configure.in: Move READELF check to start of file.
28708         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28709         libc_cv_asm_gnu_indirect_function in the process.
28710         * configure: Regenerated.
28711
28712 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28713
28714         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28715         send the output to /dev/null.
28716         (libc_cv_cc_with_libunwind): Likewise.
28717         (libc_cv_as_noexecstack): Likewise.
28718         * configure: Regenerate.
28719
28720 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28721
28722         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28723
28724         * posix/globtest.sh (TMPDIR): Do not set.
28725         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28726         (testout): Likewise.
28727
28728 2012-10-24  Andreas Jaeger  <aj@suse.de>
28729
28730         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28731         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28732         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28733         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28734         posix_fadvise64, posix_fallocate64.
28735
28736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28737         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28738         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28739         Likewise.
28740         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28741         Likewise.
28742         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28743
28744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28745         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28746         <bits/fcntl-linux.h>.
28747         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28748
28749         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28750         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28751         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28752         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28753         [__WORDSIZE != 64]: Likewise.
28754
28755 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28756
28757         * Makeconfig (run-built-tests): New variable.
28758         * Rules [$(cross-compiling) = yes]: Change condition to
28759         [$(run-built-tests) = no].
28760         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28761         to [$(run-built-tests) = yes].
28762         * elf/Makefile [$(cross-compiling) = no]: Likewise
28763         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28764         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28765         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28766         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28767         * io/Makefile [$(cross-compiling) = no]: Likewise.
28768         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28769         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28770         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28771         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28772         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28773         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28774         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28775         * string/Makefile [$(cross-compiling) = no]: Likewise.
28776
28777         * posix/Makefile ($(objpfx)globtest.out): Pass
28778         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28779         $(rtld-installed-name).
28780         * posix/globtest.sh (elf_objpfx): Remove variable.
28781         (rtld_installed_name): Likewise.
28782         (library_path): Likewise.
28783         (run_program_prefix): New variable.  Use for running globtest
28784         binary.
28785
28786 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28787             Joseph Myers  <joseph@codesourcery.com>
28788
28789         * Makeconfig (host-built-program-cmd): New variable.
28790         * elf/Makefile (tst-stackguard1-ARGS): Use
28791         $(host-built-program-cmd).
28792         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28793         (tst-spawn-ARGS): Likewise.
28794         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28795
28796 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28797             Jim Blandy  <jimb@codesourcery.com>
28798
28799         * Makeconfig (run-via-rtld-prefix): New variable.
28800         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28801         (built-program-cmd): Likewise.
28802
28803 2012-10-22  Andreas Jaeger  <aj@suse.de>
28804
28805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28806         __O_RSYNC if it exists, otherwise to O_SYNC.
28807
28808 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28809             Joseph Myers  <joseph@codesourcery.com>
28810
28811         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28812         /dev/null.
28813         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28814         from /dev/null
28815         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28816         /dev/null.
28817
28818 2012-10-22  Andreas Jaeger  <aj@suse.de>
28819
28820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28821         Define always.
28822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28823
28824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28825         bits/fcntl-linux.h.
28826
28827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28828         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28829
28830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28831         to __O_LARGEFILE.
28832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28833         to __O_LARGEFILE.
28834
28835 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28836             Joseph Myers  <joseph@codesourcery.com>
28837
28838         * config.make.in (NM): New variable.
28839
28840 2012-10-21  Andreas Jaeger  <aj@suse.de>
28841
28842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28843         definitions and declarations that are provided by
28844         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28845
28846 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28847
28848         [BZ #14683]
28849         * elf/Makefile (tests-static): Add tst-leaks1-static.
28850         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28851         ($(objpfx)tst-leaks1-static): New rule.
28852         ($(objpfx)tst-leaks1-static-mem): Likewise.
28853         (tst-leaks1-static-ENV): New macro.
28854         * elf/dl-open.c (dl_open_worker): Check the main application
28855         only if SHARED is defined.
28856         * elf/tst-leaks1-static.c: New file.
28857
28858 2012-10-20  Andreas Jaeger  <aj@suse.de>
28859
28860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28861         generic values for Linux.
28862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28863         and declarations that are provided by <bits/fcntl-linux.h> and
28864         include <bits/fcntl-linux.h>.
28865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28867
28868 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28869
28870         * io/fcntl.h: Move include of <bits/types.h> to the top and
28871         include it unconditionally.
28872
28873 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28874
28875         * wcsmbs/Makefile (tests-ifunc): New variable.
28876         (tests): Add $(tests-ifunc).
28877         * wcsmbs/test-wcschr-ifunc.c: New file.
28878         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28879         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28880         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28881         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28882         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28883
28884         * string/Makefile (tests-ifunc): New variable.
28885         (tests): Add $(tests-ifunc).
28886         * string/test-memccpy.c (TEST_NAME): New macro.
28887         * string/test-memchr.c (TEST_NAME): Likewise.
28888         * string/test-memcmp.c (TEST_NAME): Likewise.
28889         * string/test-memcpy.c (TEST_NAME): Likewise.
28890         * string/test-memmem.c (TEST_NAME): Likewise.
28891         * string/test-memmove.c (TEST_NAME): Likewise.
28892         * string/test-memset.c (TEST_NAME): Likewise.
28893         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28894         * string/test-stpcpy.c (TEST_NAME): Likewise.
28895         * string/test-stpncpy.c (TEST_NAME): Likewise.
28896         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28897         * string/test-strcasestr.c (TEST_NAME): Likewise.
28898         * string/test-strcat.c (TEST_NAME): Likewise.
28899         * string/test-strchr.c (TEST_NAME): Likewise.
28900         * string/test-strcmp.c(TEST_NAME): Likewise.
28901         * string/test-strcpy.c (TEST_NAME): Likewise.
28902         * string/test-strcspn.c (TEST_NAME): Likewise.
28903         * string/test-strlen.c (TEST_NAME): Likewise.
28904         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28905         * string/test-strncmp.c (TEST_NAME): Likewise.
28906         * string/test-strncpy.c (TEST_NAME): Likewise.
28907         * string/test-strnlen.c (TEST_NAME): Likewise.
28908         * string/test-strpbrk.c (TEST_NAME): Likewise.
28909         * string/test-strrchr.c (TEST_NAME): Likewise.
28910         * string/test-strspn.c (TEST_NAME): Likewise.
28911         * string/test-strstr.c (TEST_NAME): Likewise.
28912         * string/test-bcopy-ifunc.c: New file.
28913         * string/test-bzero-ifunc.c: Likewise.
28914         * string/test-memccpy-ifunc.c: Likewise.
28915         * string/test-memchr-ifunc.c: Likewise.
28916         * string/test-memcmp-ifunc.c: Likewise.
28917         * string/test-memcpy-ifunc.c: Likewise.
28918         * string/test-memmem-ifunc.c: Likewise.
28919         * string/test-memmove-ifunc.c: Likewise.
28920         * string/test-mempcpy-ifunc.c: Likewise.
28921         * string/test-memset-ifunc.c: Likewise.
28922         * string/test-rawmemchr-ifunc.c: Likewise.
28923         * string/test-stpcpy-ifunc.c: Likewise.
28924         * string/test-stpncpy-ifunc.c: Likewise.
28925         * string/test-strcasecmp-ifunc.c: Likewise.
28926         * string/test-strcasestr-ifunc.c: Likewise.
28927         * string/test-strcat-ifunc.c: Likewise.
28928         * string/test-strchr-ifunc.c: Likewise.
28929         * string/test-strchrnul-ifunc.c: Likewise.
28930         * string/test-strcmp-ifunc.c: Likewise.
28931         * string/test-strcpy-ifunc.c: Likewise.
28932         * string/test-strcspn-ifunc.c: Likewise.
28933         * string/test-strlen-ifunc.c: Likewise.
28934         * string/test-strncasecmp-ifunc.c: Likewise.
28935         * string/test-strncat-ifunc.c: Likewise.
28936         * string/test-strncmp-ifunc.c: Likewise.
28937         * string/test-strncpy-ifunc.c: Likewise.
28938         * string/test-strnlen-ifunc.c: Likewise.
28939         * string/test-strpbrk-ifunc.c: Likewise.
28940         * string/test-strrchr-ifunc.c: Likewise.
28941         * string/test-strspn-ifunc.c: Likewise.
28942         * string/test-strstr-ifunc.c: Likewise.
28943
28944         * debug/Makefile (tests-ifunc): New variable.
28945         (tests): Add $(tests-ifunc).
28946         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28947         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28948         * debug/test-stpcpy_chk-ifunc.c: New file.
28949         * debug/test-strcpy_chk-ifunc.c: Likewise.
28950
28951 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952
28953         [BZ #13601]
28954         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28955         header is not read in.
28956
28957 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28958
28959         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28960         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28961         directly.  Pass built executable to script as
28962         $(built-program-cmd).
28963         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28964         $testprogram without using LD_LIBRARY_PATH and $ldso.
28965
28966         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28967         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28968         $(rtld-installed-name).
28969         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28970         (rtld_installed_name): Likewise.
28971         (library_path): Likewise.
28972         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28973         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28974         $(run-program-prefix) to tst-tables.sh.
28975         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28976         it to run tst-table-from and tst-table-to.
28977         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28978         Pass it to tst-table.sh.
28979         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28980         $(run-program-prefix) to tst-gettext.sh.
28981         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28982         tst-translit.sh.
28983         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28984         tst-gettext2.sh.
28985         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28986         to run tst-gettext.
28987         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28988         to run tst-gettext2.
28989         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28990         to run tst-translit.
28991         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28992         $(run-program-prefix) to tst-mtrace.sh.
28993         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28994         to run tst-mtrace.
28995         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28996         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28997         $(rtld-installed-name).
28998         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28999         (rtld_installed_name): Likewise.
29000         (run_program_prefix): New variable.  Use it to run wordexp-test.
29001
29002         * Makeconfig (ARCH): Remove all definitions.
29003         (machine): Likewise.
29004         [ARCH]: Remove conditional code.
29005         [!objdir]: Give error.
29006         [!objdir] (objpfx): Remove.
29007         [!objdir] (common-objpfx): Likewise.
29008         [!objdir] (common-objdir): Likewise.
29009         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29010         AC_CONFIG_FILES call.
29011         * configure: Regenerated.
29012
29013         [BZ #13888]
29014         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29015         or TMPDIR.
29016         (testout): Likewise.
29017
29018         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29019         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29020         $(rtld-installed-name).
29021         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29022         (rtld_installed_name): Likwise.
29023         (runit): Remove function.
29024         (run_getconf): New variable,  Use it for running getconf binary.
29025
29026 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29027
29028         [BZ #14716]
29029         * string/test-memmem.c (check_result): New function.
29030         (do_one_test): Use it.
29031         (check1): New function.
29032         (test_main): Use it.
29033
29034 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29035
29036         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29037
29038 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29039
29040         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29041         (_G_LSEEK64): Likewise.
29042         (_G_MMAP64): Likewise.
29043         (_G_FSTAT64): Likewise.
29044         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29045         (_G_LSEEK64): Likewise.
29046         (_G_MMAP64): Likewise.
29047         (_G_FSTAT64): Likewise.
29048         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29049         unconditional.  Call __mmap64 directly.
29050         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29051         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29052         __lseek64 directly.
29053         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29054         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29055         __mmap64 directly.
29056         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29057         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29058         __lseek64 directly.
29059         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29060         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29061         __lseek64 directly.
29062         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29063         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29064         __lseek64 directly.
29065         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29066         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29067         __fxstat64 directly.
29068         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29069         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29070         unconditional.
29071         (freopen64) [!_G_OPEN64]: Remove conditional code.
29072         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29073         unconditional.
29074         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29075         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29076         unconditional.
29077         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29078         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29079         unconditional.
29080         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29081         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29082         unconditional.
29083         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29084         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29085         unconditional.
29086         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29087         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29088         unconditional.
29089         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29090         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29091         unconditional.
29092         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29093
29094 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29095
29096         [BZ #12140]
29097         * manual/memory.texi (Malloc Tunable Parameters): Add note
29098         about free list pointers overwriting some perturb bytes.
29099         Wording suggested by Roland McGrath.
29100
29101 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29102
29103         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29104         (lgamma_test): Likewise.
29105         (tgamma_test): Likewise.
29106
29107 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29108
29109         [BZ #14700]
29110         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29111         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29112
29113 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29114
29115         * NEWS: Mention BZ #14716.
29116         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29117         when removing AVAILABLE1_USES_J macro.
29118
29119 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29120
29121         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29122         (__bswap_64): __uint64_t for unsigned 64-bit int.
29123
29124 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29125
29126         * include/string.h (memmem): Declare libc hidden alias.
29127         * string/memmem.c (memmem): Define libc hidden alias.
29128         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29129         __read, __close instead of open, read, close.
29130
29131 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29132
29133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29134         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29135         global and hidden.
29136         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29137         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29138         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29139         Likewise.
29140         (__rawmemchr_sse2): Likewise.
29141         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29142         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29143         (__strchr_sse2): Likewise.
29144         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29145         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29146         (__strcasecmp_sse2): Likewise.
29147         (__strncasecmp_sse2): Likewise.
29148         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29149         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29150         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29151         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29152         (__strrchr_sse2): Likewise.
29153         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29154         ifunc-impl-list.c.
29155         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29156         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29157         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29158         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29159         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29160         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29161         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29162         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29163         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29164         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29165         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29166         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29167         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29168         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29169         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29170         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29171         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29172         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29173         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29174         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29175         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29176         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29177         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29178         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29179         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29181         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29182         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29183         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29184         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29185
29186         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29187         global and hidden.
29188         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29189         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29190         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29191         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29192         Likewise.
29193         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29194         Likewise.
29195         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29196         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29197         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29198         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29199         ifunc-impl-list.c.
29200         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29201         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29202         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29210         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29211         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29212         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29213         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29214         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29215         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29217         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29218         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29219         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29221         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29222         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29223         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29225         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29226         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29227         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29228         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29229         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29230         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29233         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29234         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29235         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29236         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29237         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29238         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29239         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29240         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29241
29242         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29243         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29244         * include/ifunc-impl-list.h: New file.
29245         * misc/ifunc-impl-list.c: Likewise.
29246         * misc/Makefile (routines): Add ifunc-impl-list.
29247         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29248         * string/test-string.h: Include <ifunc-impl-list.h>.
29249         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29250         TEST_NAME]: New variables.
29251         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29252         are defined.
29253         (test_init): Call __libc_ifunc_impl_list to initialize
29254         func_list if TEST_IFUNC and TEST_NAME are defined.
29255
29256         * string/Makefile (strop-tests): Add bcopy and bzero.
29257         * string/test-bcopy.c: New file.
29258         * string/test-bzero.c: Likewise.
29259         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29260         defined.
29261         * string/test-memset.c: Support bzero test if TEST_BZERO is
29262         defined.
29263         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29264         __libc_memmove.
29265         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29266         __libc_memset.
29267         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29268         of memset.
29269
29270 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29271
29272         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29273         * configure: Regenerated.
29274
29275         * Makeconfig (+link-static-before-libc): Don't include
29276         $(link-static-libc).
29277
29278         * libio/libio.h (_IO_pos_t): Remove.
29279
29280 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29281
29282         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29283         McGrath.
29284
29285 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29286
29287         * crypt/crypt-entry.c: Include fips-private.h.
29288         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29289         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29290         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29291         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29292
29293 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29294
29295         * crypt/crypt-private.h: Include stdbool.h.
29296         (_ufc_setup_salt_r): Return bool.
29297         * crypt/crypt-entry.c: Include errno.h.
29298         (__crypt_r): Return NULL with EINVAL for bad salt.
29299         * crypt/crypt_util.c (bad_for_salt): New.
29300         (_ufc_setup_salt_r): Check that salt is long enough and within
29301         the specified alphabet.
29302         * crypt/badsalttest.c: New file.
29303         * crypt/Makefile (tests): Add it.
29304         ($(objpfx)badsalttest): New.
29305
29306 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29307
29308         * NEWS: Add entry for BZ #14602.
29309
29310 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29311
29312         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29313         type-generic.
29314         * math/libm-test.inc: Update comment listing what functions and
29315         macros are tested.
29316         (isgreater_test): New function.
29317         (isgreaterequal_test): Likewise.
29318         (isless_test): Likewise.
29319         (islessequal_test): Likewise.
29320         (islessgreater_test): Likewise.
29321         (isunordered_test): Likewise.
29322         (main): Call the new functions.
29323
29324 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29325
29326         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29327         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29328         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29329         * sysdeps/i386/configure: Regenerated.
29330         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29331         * sysdeps/mach/configure: Regenerated.
29332         * sysdeps/mach/hurd/configure: Regenerated.
29333         * sysdeps/powerpc/configure: Regenerated.
29334         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29335         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29336         * sysdeps/s390/s390-32/configure: Regenerated.
29337         * sysdeps/s390/s390-64/configure: Regenerated.
29338         * sysdeps/sh/configure: Regenerated.
29339         * sysdeps/sparc/configure: Regenerated.
29340         * sysdeps/unix/sysv/linux/configure: Regenerated.
29341         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29342         * sysdeps/x86_64/configure: Regenerated.
29343
29344         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29345         defined.  Don't check if MAP is NULL.
29346
29347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29348
29349         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29350         (_G_stat64): Likewise.
29351         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29352         (_G_stat64): Likewise.
29353         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29354         instead of struct _G_stat64.
29355         * libio/fileops.c (mmap_remap_check): Likewise.
29356         (decide_maybe_mmap): Likewise.
29357         (_IO_new_file_seekoff): Likewise.
29358         (_IO_file_stat): Likewise.
29359         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29360         _G_off64_t.
29361         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29362         instead of struct _G_stat64.
29363         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29364
29365 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29366
29367         [BZ #14602]
29368         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29369         Replace with ...
29370         (CHECK_EOL): New macro.
29371         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29372         CHECK_EOL.
29373         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29374         Replace with CHECK_EOL.
29375         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29376         Replace with CHECK_EOL.
29377
29378 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29379
29380         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29381         type-generic.
29382         * math/libm-test.inc: Update comment listing what functions and
29383         macros are tested.
29384         (finite_test): New function.
29385         (isinf_test): Likewise.
29386         (isnan_test): Likewise.
29387         (fpclassify_test): Test subnormal input.
29388         (isfinite_test): Likewise.
29389         (isnormal_test): Likewise.
29390         (main): Call the new functions.
29391
29392 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29393
29394         [BZ #14660]
29395         * Makerules (%.dynsym): Force C locale when running
29396         $(OBJDUMP) --dynamic-syms.
29397
29398 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29399
29400         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29401         <stdint.h>.
29402
29403 2012-10-06  David S. Miller  <davem@davemloft.net>
29404
29405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29406         upper 32-bits of the length value in %o2 since we use branch-on-register
29407         tests which consider the entire 64-bit register.
29408
29409 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29410
29411         * string/test-strstr.c (check2): Add a test for page boundary.
29412
29413 2012-10-05  David S. Miller  <davem@davemloft.net>
29414
29415         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29416         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29417         file.
29418         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29419         sysdep_routines.
29420         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29421         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29422         and bzero when HWCAP_SPARC_CRYPTO is present.
29423
29424 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29425
29426         [BZ #14602]
29427         * string/test-strstr.c (check2): New function.
29428         (test_main): Call check2.
29429
29430         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29431         and bug-strchr1.
29432         * string/bug-strcasestr1.c (do_test): Moved to ...
29433         * string/test-strcasestr.c (check1): Here.  New function.
29434         (do_one_test): Break out result checking code into ...
29435         (check_result): This.  New function.
29436         (do_one_test): Call check_result.
29437         (test_main): Call check1.
29438         * string/bug-strchr1.c (do_test): Moved to ...
29439         * string/test-strchr.c (check1): Here.  New function.
29440         (do_one_test): Break out result checking code into ...
29441         (check_result): This.  New function.
29442         (do_one_test): Call check_result.
29443         (test_main): Call check1.
29444         * string/bug-strstr1.c (main): Moved to ...
29445         * string/test-strstr.c (check1): Here.  New function.
29446         (do_one_test): Break out result checking code into ...
29447         (check_result): This.  New function.
29448         (do_one_test): Call check_result.
29449         (test_main): Call check1.
29450         * string/bug-strcasestr1.c: Removed.
29451         * string/bug-strchr1.c: Likewise.
29452         * string/bug-strstr1.c: Likewise.
29453
29454         * elf/Makefile (dl-routines): Add hwcaps.
29455         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29456         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29457         (_dl_important_hwcaps): Moved to ...
29458         * elf/dl-hwcaps.c: Here.  New file.
29459         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29460
29461         [BZ #14557]
29462         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29463         if IS_IN_rtld isn't defined.
29464
29465         * elf/dl-support.c (_dl_sysinfo_map): New.
29466         Include "get-dynamic-info.h" and "setup-vdso.h".
29467         (_dl_non_dynamic_init): Call setup_vdso.
29468         * elf/dynamic-link.h: Don't include <assert.h>.
29469         (elf_get_dynamic_info): Moved to ...
29470         * elf/get-dynamic-info.h: Here.  New file.
29471         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29472         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29473         * elf/setup-vdso.h: Here.  New file.
29474         * elf/rtld.c: Include "setup-vdso.h".
29475         (dl_main): Call setup_vdso.
29476
29477 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29478
29479         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29480         creal in comment listing functions tested.  List finite, isinf,
29481         isnan, isless, islessequal, isgreater, isgreaterequal,
29482         islessgreater, isunordered, lgamma_r and pow10 as functions and
29483         macros not tested.  Mention which functions not tested are aliases
29484         for other functions.  Fix typo.  Note that signs of NaNs are not
29485         tested.
29486
29487         * scripts/config.guess: Update from config.git.
29488         * scripts/config.sub: Likewise.
29489
29490 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29491
29492         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29493         * misc/madvise.c (madvise): Renamed to __madvise.
29494         Make madvise a weak alias.
29495         * include/sys/mman.h: Declare __madvise.
29496         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29497         * sysdeps/unix/syscalls.list
29498         (madvise): Make __madvise the strong name, and madvise a weak alias.
29499         * sysdeps/unix/sysv/linux/syscalls.list
29500         (madvise, mmap): Remove redundant entries.
29501         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29502         * malloc/malloc.c (mtrim): Likewise.
29503         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29504
29505 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29506
29507         * sysdeps/mach/hurd/dl-cache.c: File removed.
29508         * config.h.in (USE_LDCONFIG): New #undef.
29509         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29510         * configure: Regenerated.
29511         * elf/Makefile (dl-routines): Add dl-cache only under
29512         [$(use-ldconfig) = yes].
29513         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29514         cache on [USE_LDCONFIG].
29515         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29516         [USE_LDCONFIG].
29517         * elf/rtld.c (dl_main): Likewise.
29518
29519 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29520
29521         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29522         _SC_LEVEL4_CACHE_LINESIZE.
29523
29524 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29525
29526         * sysdeps/unix/bsd/confstr.h: File removed.
29527
29528 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29529
29530         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29531         sys/sdt-config.h.
29532
29533 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29534
29535         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29536         Make 'mapoff' field ElfW(Off) rather than off_t.
29537
29538 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29539
29540         * nscd/Makefile: Remove nscd-cflags and all its users.
29541         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29542         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29543
29544         [BZ #10631]
29545         * malloc.c (malloc_printerr): Clarify error message.
29546
29547 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29548
29549         [BZ #14648]
29550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29551         Set bit_FMA_Usable if FMA is supported.
29552         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29553         macro.
29554         (bit_FMA4_Usable): Updated.
29555         (index_FMA_Usable): New macro.
29556         (CPUID_FMA): Likewise
29557         (HAS_FMA): Defined with bit_FMA_Usable.
29558
29559 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29560
29561         * bits/types.h (__swblk_t): Type removed.
29562         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29563         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29565         (__SWBLK_T_TYPE): Likewise.
29566         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29567         (__SWBLK_T_TYPE): Likewise.
29568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29569         (__SWBLK_T_TYPE): Likewise.
29570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29571         (__SWBLK_T_TYPE): Likewise.
29572
29573 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29574             Honza Horak <hhorak@redhat.com>
29575
29576         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29577         (xdr_mapname): Use YPMAXMAP as maxsize.
29578         (xdr_peername): Use YPMAXPEER as maxsize.
29579         (xdr_keydat): Use YPAXRECORD as maxsize.
29580         (xdr_valdat): Use YPMAXRECORD as maxsize.
29581
29582 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29583
29584         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29585
29586         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29587         * csu/init-first.c: ... here.
29588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29589         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29590         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29591         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29592         * sysdeps/i386/init-first.c: File removed.
29593         * sysdeps/sh/init-first.c: File removed.
29594
29595 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29596
29597         [BZ #14645]
29598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29599         if x * y might underflow to zero and z is zero.
29600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29602         * math/libm-test.inc (min_subnorm_value): New variable.
29603         (fma_test): Add more tests.
29604         (fma_test_towardzero): Likewise.
29605         (fma_test_downward): Likewise
29606         (fma_test_upward): Likewise.
29607         (initialize): Set min_subnorm_value.
29608
29609 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29610
29611         [BZ #14638]
29612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29613         0 + 0.
29614         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29615         mode for addition resulting in exact zero.
29616         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29618         exact 0 + 0.
29619         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29620         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29621         * math/libm-test.inc (fma_test): Add more tests.
29622         (fma_test_towardzero): New function.
29623         (fma_test_downward): Likewise.
29624         (fma_test_upward): Likewise.
29625         (main): Call the new functions.
29626
29627 2012-09-28  David S. Miller  <davem@davemloft.net>
29628
29629         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29630
29631 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29632
29633         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29634         instead of SIGALRM.
29635
29636         * sysdeps/gnu/_G_config.h: Moved to ...
29637         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29638         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29639         * sysdeps/generic/_G_config.h: ... here.
29640
29641         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29642
29643         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29644
29645         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29646         Conditionalize target on [libnss_test1.so-version].
29647
29648         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29649
29650         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29651         (elfobjdir): Move out of conditionals.
29652
29653         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29654         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29655         (__nss_lookup_function): Conditionalize label remove_from_tree on
29656         [!DO_STATIC_NSS || SHARED], matching its only use.
29657
29658 2012-09-28  David S. Miller  <davem@davemloft.net>
29659
29660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29661         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29662         file.
29663         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29664         sysdep_routines.
29665         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29667         when HWCAP_SPARC_CRYPTO is present.
29668
29669 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29670
29671         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29672
29673 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29674
29675         [BZ #6530]
29676         * stdio-common/vfprintf.c (process_string_arg): Revert
29677         2000-07-22 change.
29678
29679 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29680
29681         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29682         for testcase.
29683         * stdio-common/tst-sprintf.c: Include <locale.h>
29684         (main): Test sprintf's handling of incomplete multibyte
29685         characters.
29686
29687 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29688
29689         * elf/dl-runtime.c (VERSYMIDX): Removed.
29690         * elf/dl-version.c (VERSYMIDX): Likewise.
29691         * elf/do-rel.h (VERSYMIDX): Likewise.
29692         (VALIDX): Likewise.
29693         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29694         * elf/rtld.c (VALIDX): Likewise.
29695         (ADDRIDX): Likewise.
29696         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29697         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29698         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29699         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29700         (VALIDX): Likewise.
29701         (ADDRIDX): Likewise.
29702
29703 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29704
29705         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29706
29707 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29708
29709         [BZ #11438]
29710         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29711         to global scope.
29712         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29713         addresses are in the same scope as 192.0.2/24.
29714         * posix/gai.conf: Document new scope table defaults.
29715
29716 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29717
29718         [BZ #5298]
29719         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29720         for ftell.  Compute offsets from write pointers instead.
29721         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29722
29723 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29724
29725         [BZ #14543]
29726         * libio/Makefile (tests): New test case tst-fseek.
29727         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29728         combination works in wide mode.
29729         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29730         state when the external buffer state changes.
29731
29732 2012-09-27  David S. Miller  <davem@davemloft.net>
29733
29734         [BZ #14376]
29735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29736         pass reloc->r_addend in as the 'high' argument to
29737         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29738
29739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29740
29741 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29742
29743         * rt/tst-aio2.c: Include <pthread.h>.
29744         * rt/tst-aio3.c: Likewise.
29745
29746 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29747
29748         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29749
29750 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29751
29752         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29753         contents on [SHARED].
29754
29755 2012-09-26  Marek Polacek  <polacek@redhat.com>
29756
29757         [BZ #14530]
29758         [BZ #13741]
29759         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29760         for C++ and GCC <4.3 as well as for non GCC compilers.
29761
29762 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29763
29764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29765
29766 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29767
29768         * Makefile.in (all, install): Declare with .PHONY.
29769         Reported by Michael Hope <michael.hope@linaro.org>.
29770
29771 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29772
29773         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29774         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29775         system header.
29776         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29777         Likewise.
29778         (sydep_routines): Add the new and the internal functions.
29779         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29780         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29782         (GLIBC_2.17): Add the new function.
29783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29784         (GLIBC_2.17): Likewise.
29785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29786         (GLIBC_2.17): Likewise.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29788         (GLIBC_2.17): Likewise.
29789         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29790
29791 2012-09-25  Alan Modra  <amodra@gmail.com>
29792
29793         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29794         Add release barrier before setting once_control to say
29795         initialisation is done.  Add hints on lwarx.  Use macro in
29796         place of isync.
29797         (clear_once_control): Add release barrier.
29798
29799 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29800
29801         [BZ #13629]
29802         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29803         specially.
29804         * math/s_clog10.c (__clog10): Likewise.
29805         * math/s_clog10f.c (__clog10f): Likewise.
29806         * math/s_clog10l.c (__clog10l): Likewise.
29807         * math/s_clogf.c (__clogf): Likewise.
29808         * math/s_clogl.c (__clogl): Likewise.
29809         * math/Makefile (libm-calls): Add x2y2m1.
29810         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29811         (__x2y2m1): Likewise.
29812         (__x2y2m1l): Likewise.
29813         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29814         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29817         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29818         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29819         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29820         * sysdeps/i386/fpu/libm-test-ulps: Update.
29821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29822
29823         [BZ #14621]
29824         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29825         int as type of variable DEPTH.
29826         (glob): Use size_t instead of int as type of variables NEWCOUNT
29827         and OLD_PATHC.
29828
29829 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29830
29831         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29832         Add s_sincosf-sse2.
29833         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29834         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29835         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29836         macros for using routine as __sincosf_ia32.
29837         Use macro for function declaration and weak_alias.
29838         * sysdeps/i386/fpu/libm-test-ulps: Update.
29839
29840         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29842
29843         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29844         subnormal argument.
29845         * math/s_cexpf.c (__cexpf): Likewise.
29846         * math/s_csinf.c (__csinf): Likewise.
29847         * math/s_csinhf.c (__csinhf): Likewise.
29848         * math/s_ctanf.c (__ctanf): Likewise.
29849         * math/s_ctanhf.c (__ctanhf): Likewise.
29850         * math/s_ccosh.c (__ccoshf): Likewise.
29851         * math/s_cexp.c (__cexpl): Likewise.
29852         * math/s_csin.c (__csin): Likewise.
29853         * math/s_csinh.c (__csinh): Likewise.
29854         * math/s_ctan.c (__ctan): Likewise.
29855         * math/s_ctanh.c (ctanh): Likewise.
29856         * math/s_ccoshl.c (__ccoshl): Likewise.
29857         * math/s_cexpl.c (__cexpl): Likewise.
29858         * math/s_csinl.c (__csinl): Likewise.
29859         * math/s_csinhl.c (__csinhl): Likewise.
29860         * math/s_ctanl.c (__ctanl): Likewise.
29861         * math/s_ctanhl.c (__ctanhl): Likewise.
29862
29863 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29864
29865         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29866         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29867         (_IO_off_t): Define to __off_t, not _G_off_t.
29868         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29869         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29870         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29871         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29872         type of __dummy and __dummy2 fields.
29873         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29874         (_G_ssize_t): Likewise.
29875         (_G_off_t): Likewise.
29876         (_G_pid_t): Likewise.
29877         (_G_uid_t): Likewise.
29878         (_G_wchar_t): Likewise.
29879         (_G_wint_t): Likewise.
29880         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29881         (_G_ssize_t): Likewise.
29882         (_G_off_t): Likewise.
29883         (_G_pid_t): Likewise.
29884         (_G_uid_t): Likewise.
29885         (_G_wchar_t): Likewise.
29886         (_G_wint_t): Likewise.
29887         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29888         (_G_ssize_t): Likewise.
29889         (_G_off_t): Likewise.
29890         (_G_pid_t): Likewise.
29891         (_G_uid_t): Likewise.
29892         (_G_wchar_t): Likewise.
29893         (_G_wint_t): Likewise.
29894
29895 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29896
29897         * malloc/arena.c: Include malloc-sysdep.h.
29898         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29899         is sufficient to shrink the heap or an unmap is needed.
29900         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29901         new function check_may_shrink_heap.
29902         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29903         new function check_may_shrink_heap.
29904
29905 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29906
29907         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29908         comments.
29909
29910 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29911
29912         * catgets/test-gencat.sh: Add "set -e".
29913         * elf/tst-pathopt.sh: Likewise.
29914         * grp/tst_fgetgrent.sh: Likewise.
29915         * iconvdata/run-iconv-test.sh: Likewise.
29916         * intl/tst-gettext.sh: Likewise.
29917         * intl/tst-gettext2.sh: Likewise.
29918         * intl/tst-gettext4.sh: Likewise.
29919         * intl/tst-gettext6.sh: Likewise.
29920         * intl/tst-translit.sh: Likewise.
29921         * io/ftwtest-sh: Likewise.
29922         * libio/test-freopen.sh: Likewise.
29923         * malloc/tst-mtrace.sh: Likewise.
29924         * posix/globtest.sh: Likewise.
29925         * posix/tst-getconf.sh: Likewise.
29926         * posix/wordexp-tst.sh: Likewise.
29927         * stdio-common/tst-printf.sh: Likewise.
29928         * stdio-common/tst-unbputc.sh: Likewise.
29929         * stdlib/tst-fmtmsg.sh: Likewise.
29930         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29931         * catgets/Makefile: Do not specify -e option when running
29932         testsuite shell scripts.
29933         * elf/Makefile: Likewise.
29934         * grp/Makefile: Likewise.
29935         * iconvdata/Makefile: Likewise.
29936         * intl/Makefile: Likewise.
29937         * io/Makefile: Likewise.
29938         * libio/Makefile: Likewise.
29939         * malloc/Makefile: Likewise.
29940         * posix/Makefile: Likewise.
29941         * stdio-common/Makefile: Likewise.
29942         * stdlib/Makefile: Likewise.
29943         * sysdeps/x86_64/Makefile: Likewise.
29944
29945         * io/ftwtest-sh: Add copyright header.
29946         * posix/globtest.sh: Likewise.
29947         * posix/tst-getconf.sh: Likewise.
29948         * posix/wordexp-tst.sh: Likewise.
29949         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29950
29951 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29952
29953         [BZ #13679]
29954         * Makeconfig (+link): Defined as $(+link-static) if
29955         $(build-shared) isn't yes.
29956         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29957         isn't yes.
29958         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29959
29960         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29961
29962         [BZ #14562]
29963         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29964         new chunk size with MALLOC_ALIGN_MASK.
29965
29966 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29967
29968         [BZ #5044]
29969         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29970         <rounding-mode.h>.
29971         (__printf_fphex): Determine rounding using get_rounding_mode and
29972         round_away.
29973         * stdio-common/tst-printf-round.c (struct hex_test): New
29974         structure.
29975         (hex_tests): New variable.
29976         (test_hex_in_one_mode): New function.
29977         (do_test): Also run tests for hex float output.
29978
29979 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29980
29981         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29982         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29983         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29984         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29985         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29986         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29987         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29988         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29989
29990 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29991
29992         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29993         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29994         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29995         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29996
29997 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29998
29999         [BZ #14579]
30000         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30001         mode only.
30002         * elf/tst-rtld-load-self.sh: New test.
30003         * elf/Makefile: Run it.
30004
30005 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30006
30007         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30008         (tst-writev-ENV): Remove.
30009         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30010
30011 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30012
30013         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30014
30015 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30016
30017         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30018         unconditional.
30019         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30020         Likewise.
30021         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30022         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30023         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30024         Likewise.
30025
30026 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30027
30028         [BZ #14587]
30029         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30030         * config.make.in (have-cpp-asm-debuginfo): Removed.
30031         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30032         * configure: Regenerated.
30033
30034 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30035
30036         [BZ #5044]
30037         * stdio-common/printf_fp.c: Include <stdbool.h> and
30038         <rounding-mode.h>.
30039         (___printf_fp): Determine rounding using get_rounding_mode and
30040         round_away.
30041         * stdio-common/tst-printf-round.c: New file.
30042         * stdio-common/Makefile (tests): Add tst-printf-round.
30043         (link-libm): New variable.
30044         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30045
30046 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30047
30048         [BZ #14576]
30049         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30050         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30051         Likewise.
30052         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30053         Likewise.
30054
30055 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30056
30057         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30058         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30059         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30061
30062 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30063
30064         [BZ #14518]
30065         * include/rounding-mode.h: New file.
30066         * sysdeps/generic/get-rounding-mode.h: Likewise.
30067         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30068         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30069         (MAX_VALUE): New macro.
30070         (MIN_VALUE): Likewise.
30071         (overflow_value): New function.
30072         (underflow_value): Likewise.
30073         (round_and_return): Use overflow_value and underflow_value to
30074         determine return values in overflow and underflow cases.  Use
30075         round_away to determine rounding depending on rounding mode.
30076         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30077         determine return values in overflow and underflow cases.
30078         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30079         (struct test_results): New structure.
30080         (struct test): Use struct test_results to store expected results
30081         for all rounding modes.
30082         (TEST): Include expected results for all rounding modes.
30083         (test_in_one_mode): New function.
30084         (do_test): Use test_in_one_mode to compute and check results.
30085         Check results for all rounding modes.
30086         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30087         $(link-libm).
30088
30089 2012-12-09  Allan McRae  <allan@archlinux.org>
30090
30091         * sysdeps/i386/fpu/libm-test-ulps: Update
30092
30093 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30094
30095         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30096         (_G_int32_t): Likewise.
30097         (_G_uint16_t): Likewise.
30098         (_G_uint32_t): Likewise.
30099         (_G_HAVE_BOOL): Likewise.
30100         (_G_HAVE_ATEXIT): Likewise.
30101         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30102         (_G_HAVE_IO_FILE_OPEN): Likewise.
30103         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30104         (_G_int32_t): Likewise.
30105         (_G_uint16_t): Likewise.
30106         (_G_uint32_t): Likewise.
30107         (_G_HAVE_BOOL): Likewise.
30108         (_G_HAVE_ATEXIT): Likewise.
30109         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30110         (_G_HAVE_IO_FILE_OPEN): Likewise.
30111         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30112         (_G_int32_t): Likewise.
30113         (_G_uint16_t): Likewise.
30114         (_G_uint32_t): Likewise.
30115         (_G_HAVE_BOOL): Likewise.
30116         (_G_HAVE_ATEXIT): Likewise.
30117         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30118         (_G_HAVE_IO_FILE_OPEN): Likewise.
30119
30120 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30121
30122         * csu/libc-tls.c: Update copyright years.
30123
30124 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30125
30126         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30127         [!_G_USING_THUNKS]: Remove conditional code.
30128         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30129         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30130
30131         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30132         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30133         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30134         (_G_VTABLE_LABEL_PREFIX): Likewise.
30135         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30136         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30137         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30138         (_G_VTABLE_LABEL_PREFIX): Likewise.
30139         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30140         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30141         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30142         (_G_VTABLE_LABEL_PREFIX): Likewise.
30143         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30144
30145 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30146
30147         * libio/Makefile: Include ../Makeconfig before tests.
30148         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30149         only if $(build-shared) is yes.
30150
30151         * iconv/gconv_db.c: Update copyright years.
30152
30153 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30154
30155         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30156         unwind info if defined PIC. Fix special cases description.
30157         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30158
30159         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30160         DP_HI_MASK entry.
30161         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30162
30163 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30164
30165         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30166
30167         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30168         is NULL.
30169
30170         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30171         (LDLIBS-tst-chk4): This.
30172         (LDFLAGS-tst-chk5): Renamed to ...
30173         (LDLIBS-tst-chk5): This.
30174         (LDFLAGS-tst-chk6): Renamed to ...
30175         (LDLIBS-tst-chk6): This.
30176         (LDFLAGS-tst-lfschk4): Renamed to ...
30177         (LDLIBS-tst-lfschk4): This.
30178         (LDFLAGS-tst-lfschk5): Renamed to ...
30179         (LDLIBS-tst-lfschk5): This.
30180         (LDFLAGS-tst-lfschk6): Renamed to ...
30181         (LDLIBS-tst-lfschk6): This.
30182
30183         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30184         on $(common-objpfx)soversions.mk.
30185
30186 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30187
30188         [BZ #10014]
30189         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30190         example host name.
30191
30192 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30193
30194         * malloc/arena.c (arena_get_retry): New function that gets
30195         another arena for the caller to try its request on.
30196         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30197         current arena cannot fulfill the request.
30198         (__libc_memalign): Likewise.
30199         (__libc_memalign): Likewise.
30200         (__libc_pvalloc): Likewise.
30201         (__libc_calloc): Likewise.
30202
30203 2012-09-05  John Tobey  <john.tobey@gmail.com>
30204
30205         [BZ #13542]
30206         * manual/arith.texi (Operations on Complex): Fix description
30207         of carg branch cut.
30208
30209 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30210
30211         [BZ #10014]
30212         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30213         host name.
30214
30215         [BZ #10038]
30216         * manual/memory.texi (Memory): Make order of menu items match
30217         order of sections.
30218
30219 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30220
30221         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30222         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30223         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30224
30225 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30226
30227         * csu/libc-tls.c (static_dtv): Renamed to ...
30228         (_dl_static_dtv): This.  Make it global.
30229         (_dl_initial_dtv): Removed.
30230         (__libc_setup_tls): Updated.
30231         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30232         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30233         DL_INITIAL_DTV.
30234
30235 2012-09-06  Petr Machata  <pmachata@redhat.com>
30236
30237         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30238         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30239         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30240         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30241
30242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30243
30244         [BZ #14545]
30245         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30246         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30247         freeing dtv[-1].
30248
30249 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30250
30251         [BZ #14544]
30252         * Makeconfig (link-static-before-libc): Replace $(+prector)
30253         with $(+prectorT).
30254         (link-static-after-libc): Replace $(+postctor) with
30255         $(+postctorT).
30256         (link-bounded): Replace $(+prector)/$(+postctor) with
30257         $(+prectorT)/$(+postctorT).
30258         (+prectorT): New macro.
30259         (+postctorT): Likewise.
30260
30261 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30262
30263         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30264         (round_str): Handle values above the maximum for IBM long double
30265         as inexact.
30266         * stdlib/tst-strtod-round.c (tests): Regenerated.
30267
30268 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30269
30270         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30271         assembler flag.
30272         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30273         zarch_nohighgprs around the zarch optimized routines.
30274         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30275         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30277         for zarch.
30278
30279 2012-09-05  David S. Miller  <davem@davemloft.net>
30280
30281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30282
30283         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30284         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30285         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30286         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30287         entries.
30288
30289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30290
30291         * malloc/arena.c: Fold copyright years.
30292         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30293
30294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30295
30296         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30297
30298 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30299
30300         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30301
30302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30303
30304         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30305         change internal state upon failure.
30306
30307 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30308
30309         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30310         * malloc/memusage.c (mmap): Likewise.
30311         (mmap64, mremap): Likewise.  Adjust name in comment.
30312
30313 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30314
30315         * libio/fileops.c: Fix typos in comments.
30316         * libio/oldfileops.c: Likewise.
30317         * libio/wfileops.c: Likewise.
30318
30319 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30320
30321         [BZ #1349]
30322         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30323         (tst-malloc-usable-ENV): Set environment for test case.
30324         * malloc/hooks.c (malloc_check_get_size): New function to get
30325         requested size.
30326         * malloc/malloc.c (musable): Use malloc_check_get_size.
30327         * malloc/tst-malloc-usable.c: New test case.
30328
30329 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30330
30331         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30332
30333 2012-09-05  Allan McRae  <allan@archlinux.org>
30334
30335         [BZ #13966]
30336         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30337         determine header location.
30338         * configure: Regenerated.
30339
30340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30341
30342         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30343         float format.
30344         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30345         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30346         format.
30347         (test): Regenerate.
30348
30349 2012-09-04  David S. Miller  <davem@davemloft.net>
30350
30351         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30352         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30353         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30354
30355 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30356
30357         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30358         failures.
30359
30360         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30361
30362 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30363
30364         [BZ #9914]
30365         * libio/iogetdelim.c: Include <limits.h>.
30366         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30367         + len + 1 would overflow.
30368
30369 2012-09-03  Andreas Jaeger  <aj@suse.de>
30370
30371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30372         * sysdeps/i386/fpu/libm-test-ulps: Update.
30373
30374 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30375
30376         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30377         Add s_sinf-sse2, s_conf-sse2.
30378
30379         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30380         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30381         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30382         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30383
30384         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30385         for using routine as __sinf_ia32.
30386         Use macro for function declaration and weak_alias.
30387         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30388         for using routine as __cosf_ia32.
30389         Use macro for function declaration and weak_alias.
30390
30391         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30392         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30393
30394         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30395         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30397
30398         * math/libm-test.inc (cos_test): Add more test cases.
30399         (sin_test): Likewise.
30400         (sincos_test): Likewise.
30401
30402 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30403
30404         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30405         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30406         hidden.
30407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30408
30409 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30410
30411         [BZ #14538]
30412         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30413         first element of the GOT.
30414         (elf_machine_load_address): Return the difference between
30415         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30416
30417 2012-09-01  Allan McRae  <allan@archlinux.org>
30418
30419         [BZ #13412]
30420         * configure.in (AWK): Require gawk version 3.0 or later.
30421         * configure: Regenerated.
30422
30423 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30424
30425         * sysdeps/unix/sysv/linux/kernel-features.h
30426         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30428         [__NR_clock_getres]: Make code unconditional.
30429         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30430         (clock_getcpuclockid): Remove code left unreachable by removal of
30431         conditionals.
30432         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30433         code unconditional.
30434         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30435         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30436         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30437         Make code unconditional.
30438         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30439         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30440         * sysdeps/unix/sysv/linux/clock_settime.c
30441         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30442         conditional code.
30443         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30444         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30445
30446 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30447
30448         [BZ #14476]
30449         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30450         scripts/test-installation.pl.
30451
30452         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30453         and $ld_so_version if it is set.
30454
30455 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30456
30457         [BZ #14516]
30458         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30459         failure if reading from procfs failed.
30460         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30461
30462 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30463
30464         * sysdeps/unix/sysv/linux/kernel-features.h
30465         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30466         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30467         Remove conditional code.
30468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30469         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30470         Remove conditional code.
30471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30472         * sysdeps/unix/sysv/linux/i386/fxstat.c
30473         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30475         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30476         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30477         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30478         * sysdeps/unix/sysv/linux/i386/lxstat.c
30479         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30481         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30482         Remove conditional code.
30483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30484         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30485         Remove conditional code.
30486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30487         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30488         <kernel-features.h>.
30489         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30490         Remove.
30491         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30492         Remove conditional code.
30493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30494         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30495         Remove conditional.
30496
30497 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30498
30499         [BZ #5400]
30500         * NEWS: Add fixed bug number.
30501
30502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30503
30504         [BZ #14519]
30505         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30506         underflowing exponent in case of negative sign.
30507         * stdlib/tst-strtod-round-data: Add more tests.
30508         * stdlib/tst-strtod-round.c (tests): Regenerated.
30509
30510         [BZ #3479]
30511         * stdlib/strtod_l.c (NDIG): Remove.
30512         (HEXNDIG): Likewise.
30513         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30514         smallest representable value.
30515         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30516         lie within an exact representation of 1/2 ulp of the result.
30517         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30518         unconditionally.
30519         (TENS_P9_IDX): Define unconditionally.
30520         (TENS_P9_SIZE): Likewise.
30521         (TENS_P10_IDX): Likewise.
30522         (TENS_P10_SIZE): Likewise.
30523         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30524         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30525         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30526         entries for 10^2^13 and 10^2^14.
30527         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30528         (TENS_P13_IDX): Define.
30529         (TENS_P13_SIZE): Likewise.
30530         (TENS_P14_IDX): Likewise.
30531         (TENS_P14_SIZE): Likewise.
30532         (_fpioconst_pow10): Change array size to
30533         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30534         unconditional.
30535         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30536         1024]: Add entries for 10^2^13 and 10^2^14.
30537         [LAST_POW10 > _LAST_POW10]: Remove #error.
30538         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30539         (_fpioconst_pow10): Change array size to
30540         FPIOCONST_POW10_ARRAY_SIZE.
30541         * stdlib/gen-fpioconst.c: New file.
30542         * stdlib/gen-tst-strtod-round.c: Likewise.
30543         * stdlib/tst-strtod-round-data: Likewise.
30544         * stdlib/tst-strtod-round.c: Likewise.
30545         * stdlib/Makefile (tests): Add tst-strtod-round.
30546
30547         [BZ #14459]
30548         * stdlib/strtod_l.c: Include <stdint.h>.
30549         (NDEBUG): Do not define.
30550         (round_and_return): Change EXPONENT parameter to type intmax_t.
30551         Rearrange calculations to avoid internal overflow possibilities.
30552         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30553         Rearrange calculations to avoid internal overflow possibilities.
30554         Assert that number fits inside MPNSIZE limbs.
30555         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30556         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30557         calculations and add assertions to avoid internal overflow
30558         possibilities.  Add casts to avoid signed/unsigned operations.
30559         * stdlib/tst-strtod-overflow.c: New file.
30560         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30561
30562 2012-08-25  Marek Polacek  <polacek@redhat.com>
30563
30564         * time/time.h: Fix some typos in comments.
30565
30566 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30567
30568         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30569         * posix/tst-rfc3484-2.c: Likewise.
30570         * posix/tst-rfc3484-3.c: Likewise.
30571
30572 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30573
30574         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30575         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30576
30577 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30578
30579         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30580         #include of fxstatat64.c.
30581
30582 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30583
30584         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30585         * shadow/getspent_r.c: Likewise.
30586         * shadow/getspnam.c: Likewise.
30587         * shadow/getspnam_r.c: Likewise.
30588         * gshadow/getsgent.c: Likewise.
30589         * gshadow/getsgent_r.c: Likewise.
30590         * gshadow/getsgnam.c: Likewise.
30591         * gshadow/getsgnam_r.c: Likewise.
30592         * inet/getnetbyad.c: Likewise.
30593         * inet/getnetbyad_r.c: Likewise.
30594         * inet/getnetbynm.c: Likewise.
30595         * inet/getnetbynm_r.c: Likewise.
30596         * inet/getnetent.c: Likewise.
30597         * inet/getnetent_r.c: Likewise.
30598         * inet/getproto.c: Likewise.
30599         * inet/getproto_r.c: Likewise.
30600         * inet/getprtent.c: Likewise.
30601         * inet/getprtent_r.c: Likewise.
30602         * inet/getprtname.c: Likewise.
30603         * inet/getprtname_r.c: Likewise.
30604         * inet/getrpcbyname.c: Likewise.
30605         * inet/getrpcbyname_r.c: Likewise.
30606         * inet/getrpcbynumber.c: Likewise.
30607         * inet/getrpcbynumber_r.c: Likewise.
30608         * inet/getrpcent.c: Likewise.
30609         * inet/getrpcent_r.c: Likewise.
30610         * inet/getaliasent.c: Likewise.
30611         * inet/getaliasent_r.c: Likewise.
30612         * inet/getaliasname.c: Likewise.
30613         * inet/getaliasname_r.c: Likewise.
30614         * nscd/getgrgid_r.c: Likewise.
30615         * nscd/getgrnam_r.c: Likewise.
30616         * nscd/gethstbyad_r.c: Likewise.
30617         * nscd/gethstbynm3_r.c: Likewise.
30618         * nscd/getpwnam_r.c: Likewise.
30619         * nscd/getpwuid_r.c: Likewise.
30620         * nscd/getsrvbynm_r.c: Likewise.
30621         * nscd/getsrvbypt_r.c: Likewise.
30622         * nscd/gai.c: Likewise.
30623
30624         * configure.in (build_nscd): New substituted variable, set
30625         by --disable-build-nscd and defaults to $use_nscd.
30626         * configure: Regenerated.
30627         * config.make.in (build-nscd): New substituted variable.
30628         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30629         Change conditional to require [$(build-nscd) = yes] as well.
30630         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30631
30632         [BZ# 13696]
30633         * configure.in (use_nscd): New substituted variable, set by
30634         --disable-nscd.  If enabled, define USE_NSCD.
30635         * configure: Regenerated.
30636         * config.h.in: Add USE_NSCD.
30637         * config.make.in (use-nscd): New substituted variable.
30638         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30639         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30640         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30641         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30642         (CFLAGS-getgrnam_r.c): Likewise.
30643         (CFLAGS-initgroups.c): Likewise.
30644         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30645         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30646         Variables removed.
30647         * inet/getnetgrent_r.c
30648         (nscd_setnetgrent): New function, broken out of ...
30649         (setnetgrent): ... here.  Call it.
30650         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30651         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30652         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30653         * nscd/Makefile (routines, aux): Move definitions after include of
30654         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30655         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30656         Conditionalize on [USE_NSCD].
30657         (is_nscd, nscd_init_cb): Likewise.
30658         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30659         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30660         * nss/nss_db/db-init.c: Likewise.
30661         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30662         [USE_NSCD].
30663         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30664         (make_request): Use it.
30665         (cache_valid_p): New function.
30666         (__check_pf): Use it.
30667         * NEWS: Add item for --disable-nscd.
30668
30669 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30670
30671         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30672         to support sed >= 4.2.1-20-ga9bf076.
30673         * configure: Regenerated.
30674
30675 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30676
30677         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30678         Conditionalize whole body on [IREL].
30679
30680 2012-08-22  Jeff Law <law@redhat.com>
30681
30682         [BZ #14505]
30683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30684         if the family is PF_UNSPEC.
30685
30686 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30687
30688         * Makerules (lib-version): Rename from V.
30689         (install-lib-nosubdir): Change V to lib-version.
30690
30691 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30692
30693         [BZ #14252]
30694         * powerpc32/power6/wcschr.c: New file.
30695         * powerpc32/power6/wcscpy.c: New file.
30696         * powerpc32/power6/wcsrchr.c: New file.
30697         * powerpc64/power6/wcschr.c: New file.
30698         * powerpc64/power6/wcscpy.c: New file.
30699         * powerpc64/power6/wcsrchr.c: New file.
30700
30701 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30702
30703         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30704         (two_way_short_needle): Use it.
30705         * string/strstr.c (AVAILABLE1_USES_J): Define.
30706         * string/strcasestr.c: Likewise.
30707
30708         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30709         array references.
30710         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30711
30712         [BZ #11607]
30713         * NEWS: Add an entry.
30714         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30715         define their defaults.
30716         (two_way_short_needle): Detect end-of-string on-the-fly.
30717         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30718         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30719         * string/bug-strcasestr1.c: New test.
30720         * string/Makefile: Run it.
30721
30722 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30723
30724         [BZ #11607]
30725         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30726         the first character.
30727
30728 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30729
30730         * csu/elf-init.c (__libc_csu_irel): Function removed.
30731         * csu/libc-start.c (apply_irel): New function.
30732         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30733
30734 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30735
30736         * sysdeps/unix/sysv/linux/kernel-features.h
30737         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30738         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30739         <kernel-features.h>.
30740         [__NR_fadvise64_64]: Make code unconditional.
30741         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30742         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30743         !__NR_fadvise64_64)]: Likewise.
30744         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30745         !__NR_fadvise64_64))]: Likewise.
30746         [__NR_fadvise64]: Make code unconditional.
30747         [!__NR_fadvise64]: Remove conditional code.
30748         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30749         <kernel-features.h>.
30750         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30751         unconditional.
30752         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30753         conditional code.
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30755         not include <kernel-features.h>.
30756         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30757         unconditional.
30758         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30759         conditional code.
30760         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30761         include <kernel-features.h>.
30762         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30763         unconditional.
30764         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30765         conditional code.
30766
30767 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30768
30769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30770         slight instruction rearrangements per scrollpipe analysis.
30771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30772
30773 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30774
30775         * manual/syslog.texi (syslog; vsyslog, closelog):
30776         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30777         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30778
30779         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30780         DSOCAPS to match condition on defining it.
30781
30782 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30783
30784         * sysdeps/unix/sysv/linux/kernel-features.h
30785         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30787         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30788         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30790         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30791         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30793         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30794         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30795
30796         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30797         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30798
30799         * sysdeps/unix/sysv/linux/kernel-features.h
30800         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30801         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30802         unconditional.
30803         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30804         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30805         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30806         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30807         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30808         Make code unconditional.
30809         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30810         (__mmap64) [!__NR_mmap2]: Likewise.
30811         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30812         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30813         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30814         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30815         [__NR_mmap2]: Make code unconditional.
30816         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30817         (__mmap64) [!__NR_mmap2]: Likewise.
30818
30819 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30820
30821         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30822
30823 2012-08-18  Andreas Jaeger  <aj@suse.de>
30824
30825         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30826
30827 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30828
30829         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30830         * include/unistd.h (__have_sock_cloexec): Likewise.
30831         (__have_pipe2): Likewise.
30832         (__have_dup3): Likewise.
30833
30834 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30835
30836         [BZ #9685]
30837         * include/unistd.h (__have_pipe2): Change define into an extern int.
30838         (__have_dup3): Likewise.
30839         * socket/have_sock_cloexec.c: Include fcntl.h.
30840         (__have_pipe2): New variable.
30841         (__have_dup3): Likewise.
30842
30843 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30844
30845         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30846
30847 2012-08-17  Marek Polacek  <polacek@redhat.com>
30848
30849         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30850         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30851
30852 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30853
30854         * configure.in: Add AC_SUBST for sysheaders.
30855         * configure: Regenerated.
30856         * config.make.in (sysheaders): New substituted variable.
30857
30858         * sysdeps/unix/mkfifo.c: Moved ...
30859         * sysdeps/posix/mkfifo.c: ... here.
30860         * sysdeps/unix/mkfifoat.c: Moved ...
30861         * sysdeps/posix/mkfifoat.c: ... here.
30862
30863         * sysdeps/unix/utime.c: Moved ...
30864         * sysdeps/posix/utime.c: ... here.
30865
30866         * sysdeps/unix/time.c: Moved ...
30867         * sysdeps/posix/time.c: ... here.
30868         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30869         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30870
30871         * sysdeps/unix/nice.c: Moved ...
30872         * sysdeps/posix/nice.c: ... here.
30873
30874         * sysdeps/unix/alarm.c: Moved ...
30875         * sysdeps/posix/alarm.c: ... here.
30876
30877         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30878
30879 2012-08-17  Jeff Law <law@redhat.com>
30880
30881         * intl/Makefile (codeset_mo): New variable.
30882         ($(codeset_mo)): New target.
30883         (tst-codeset.out): Depend on that.  Remove explicit rule.
30884         (tst-gettext3.out, tst-gettext5.out): Likewise.
30885         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30886         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30887         * intl/tst-codeset.sh: Remove.
30888         * intl/tst-gettext3.sh: Likewise.
30889         * intl/tst-gettext5.sh: Likewise.
30890
30891 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30892
30893         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30894         * sysdeps/unix/syscalls.list: ... here.
30895
30896         * sysdeps/posix/getaddrinfo.c
30897         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30898         (gaiconf_init, gaiconf_reload): Use them.
30899         [!_STATBUF_ST_NSEC]
30900         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30901         Define using time_t rather than struct timespec.
30902
30903         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30904         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30905         Macros removed.
30906         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30907         [!NO_THREADS].
30908         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30909         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30910         Likewise.
30911
30912         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30913         __libc_cleanup_push argument.
30914
30915         * bits/param.h: New file.
30916         * misc/sys/param.h: New file.
30917         * include/sys/param.h: New file.
30918         * misc/Makefile (headers): Add bits/param.h.
30919         * sysdeps/generic/sys/param.h: File removed.
30920         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30921         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30922         * sysdeps/mach/hurd/bits/param.h: New file.
30923         * sysdeps/mach/hurd/sys/param.h: File removed.
30924
30925         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30926         last change.
30927
30928         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30929         [_IO_MTSAFE_IO].
30930         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30931         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30932         New macros.
30933
30934         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30935         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30936         rather than -D_IO_MTSAFE_IO conditionally.
30937         * stdio-common/Makefile (CPPFLAGS): Likewise.
30938         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30939         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30940         Use $(libio-mtsafe).
30941         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30942         of -D_IO_MTSAFE_IO.
30943         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30944         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30945         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30946         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30947         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30948         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30949         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30950         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30951         (CFLAGS-fread_u_chk.c): Likewise.
30952         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30953         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30954         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30955         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30956         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30957         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30958         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30959         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30960         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30961
30962         * libio/Makefile: Test [$(libc-reentrant) = yes]
30963         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30964
30965         * Makeconfig
30966         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30967         * sysdeps/pthread/configure: File removed.
30968         * sysdeps/pthread/Makeconfig: New file.
30969         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30970         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30971
30972 2012-08-16  Gary Benson  <gbenson@redhat.com>
30973
30974         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30975         unmapping the first object in a namespace.
30976
30977 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30978
30979         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30980         (__internal_setnetgrent): ... this.  Add internal_function to
30981         definition.  Add libc_hidden_def.
30982         (setnetgrent): Update caller.
30983         (internal_endnetgrent): Renamed to ...
30984         (__internal_endnetgrent): ... this.  Add internal_function to
30985         definition.  Add libc_hidden_def.
30986         (endnetgrent): Update caller.
30987         (internal_getnetgrent_r): Renamed to ...
30988         (__internal_getnetgrent_r): ... this.  Add internal_function to
30989         definition.  Add libc_hidden_def.
30990         (__getnetgrent_r): Update caller.
30991         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30992
30993 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30994
30995         * stdlib/longlong.h: Update from GCC.
30996
30997 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30998
30999         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31000         on _QL, which is set by umul_ppmm but never used.
31001         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31002         variables, which are set by GMP macros but never used.
31003         * stdio-common/_itowa.c (_itowa): Likewise.
31004         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31005         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31006
31007 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31008
31009         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31010         struct La_sh_regs is not constant.
31011         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31012         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31013         and struct La_sparc64_regs are not constant.
31014
31015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31016
31017         * sysdeps/unix/sysv/linux/kernel-features.h
31018         (__ASSUME_POSIX_TIMERS): Remove.
31019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31021         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31022         Make code unconditional.
31023         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31024         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31025         Make code unconditional.
31026         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31027         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31028         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31029         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31030         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31031         Make code unconditional.
31032         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31033         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31034         (__libc_missing_posix_timers): Remove.
31035
31036 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31037
31038         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31039         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31040
31041         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31042
31043         * elf/dl-sym.c: Include <stdlib.h>.
31044
31045         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31046         constants, which avoids warnings in 32-bit builds.
31047
31048         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31049         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31050
31051         * misc/lseek.c: File moved to ...
31052         * io/lseek.c: ... here.
31053
31054         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31055
31056         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31057         shifting LEN more than 31 bits at once.
31058
31059 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31060
31061         [BZ #14195]
31062         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31063         segmentation fault for a case of two empty input strings.
31064         * string/test-strncasecmp.c (check1): Renamed to...
31065         (bz12205): ...this.
31066         (bz14195): Add new testcase for two empty input strings and N > 0.
31067         (test_main): Call new testcase, adapt for renamed function.
31068
31069 2012-08-15  Andreas Jaeger  <aj@suse.de>
31070
31071         [BZ #14090]
31072         * crypt/md5test2.c: New test, based on test supplied by Serge
31073         Belyshev <belyshev@depni.sinp.msu.ru>.
31074         * crypt/Makefile (xtests): Add md5test-giant..
31075         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31076
31077 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31078
31079         [BZ #14090]
31080         * crypt/md5.c (md5_process_block): Don't assume the buffer
31081         length is less than 2**32.
31082         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31083         length is less than 2**64.
31084
31085 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31086
31087         * string/str-two-way.h: Include <sys/param.h>.
31088         (MAX): Macro removed.
31089
31090         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31091         Move #define and #undef of memmove to just before and after
31092         including <string.h>.
31093
31094         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31095         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31096         and after including <string.h>.  Move declarations of
31097         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31098         to before #include "string/memmove.c".
31099
31100         * include/dirent.h: Declare __getdirentries.
31101
31102         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31103         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31104
31105 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31106
31107         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31108         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31109         * sysdeps/i386/configure: Regenerated.
31110         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31111         STABS_CURRENT_FILE, and STABS_FUN.
31112         (END): Remove call to STABS_FUN_END.
31113         (STABS_CURRENT_FILE1): Delete.
31114         (STABS_CURRENT_FILE): Likewise.
31115         (STABS_FUN): Likewise.
31116         (STABS_FUN_END): Likewise.
31117         (STABS_FUN2): Likewise.
31118         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31119         * sysdeps/x86_64/configure: Regenerated.
31120
31121 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31122
31123         * elf/dl-open.c: Include <atomic.h>.
31124         * elf/dl-lookup.c: Likewise.
31125
31126 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31127
31128         * sysdeps/unix/sysv/linux/kernel-features.h
31129         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31130         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31131         unconditionally.
31132         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31133         unconditionally.
31134         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31135         condition on __ASSUME_CLONE_THREAD_FLAGS.
31136
31137 2012-08-14  Andreas Jaeger  <aj@suse.de>
31138
31139         * sysdeps/i386/fpu/libm-test-ulps: Update.
31140
31141 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31142
31143         * include/atomic.h (atomic_exchange_and_add): Split into ...
31144         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31145         New atomic macros.
31146
31147 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31148
31149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31150
31151 2012-08-13  Jeff Law <law@redhat.com>
31152
31153         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31154         null byte in the output string.
31155
31156 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31157
31158         * sysdeps/unix/sysv/linux/kernel-features.h
31159         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31160         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31161         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31162         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31163         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31164         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31165         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31166
31167 2012-08-09  Jeff Law <law@redhat.com>
31168
31169         [BZ #13939]
31170         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31171         When avoid_arena is set, don't retry in the that arena.  Pick the
31172         next one, whatever it might be.
31173         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31174         (arena_lock): Pass in new parameter to arena_get2.
31175         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31176         arena_get2.
31177         (__libc_malloc): Unify retrying after main arena failure with
31178         __libc_memalign version.
31179         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31180
31181 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31182
31183         [BZ #14166]
31184         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31185         to __redirect_strstr.
31186         (__strstr_sse42): Use typeof __redirect_strstr.
31187         (__strstr_ia32): Likewise.
31188         (__libc_strstr): New prototype.
31189         (strstr): Renamed to ...
31190         (__libc_strstr): This.
31191         (strstr): New strong alias of __libc_strstr.
31192         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31193         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31194         __redirect_time.
31195         Include <time.h>.
31196         (__libc_time): New prototype.
31197         (time_ifunc): Replace time with __libc_time.
31198         (time): New strong alias and hidden definition of __libc_time.
31199         (__GI_time): Remove strong alias.
31200         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31201         Include <stddef.h>.
31202         (memmove): Redefined to __redirect_memmove.
31203         (__memmove_sse2): Use typeof __redirect_memmove.
31204         (__memmove_ssse3): Likewise.
31205         (__memmove_ssse3_back): Likewise.
31206         (__libc_memmove): New prototype.
31207         (memmove): Renamed to ...
31208         (__libc_memmove): This.
31209         (memmove): New strong alias of __libc_memmove.
31210
31211 2012-08-08  Mark Salter  <msalter@redhat.com>
31212
31213         * elf/elf.h
31214         (R_MN10300_TLS_GD): Define.
31215         (R_MN10300_TLS_LD): Likewise.
31216         (R_MN10300_TLS_LDO): Likewise.
31217         (R_MN10300_TLS_GOTIE): Likewise.
31218         (R_MN10300_TLS_IE): Likewise.
31219         (R_MN10300_TLS_LE): Likewise.
31220         (R_MN10300_TLS_DTPMOD): Likewise.
31221         (R_MN10300_TLS_DTPOFF): Likewise.
31222         (R_MN10300_TLS_TPOFF): Likewise.
31223         (R_MN10300_SYM_DIFF): Likewise.
31224         (R_MN10300_ALIGN): Likewise.
31225         (R_MN10300_NUM): Update.
31226
31227 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31228
31229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31230         Remove.
31231
31232 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31233
31234         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31235
31236         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31237         sysdeps/unix -> sysdeps/posix move.
31238         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31239
31240 2012-08-07      Allan McRae     <allan@archlinux.org>
31241
31242         [BZ #14303]
31243         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31244         (SUNOS_CPP): Likewise.
31245         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31246         not found.
31247         (open_input): Call CPP using execvp.
31248
31249 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31250
31251         * sysdeps/unix/sysv/linux/kernel-features.h
31252         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31253         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31254         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31255         (__ASSUME_WAITID_SYSCALL): Likewise.
31256         * sysdeps/unix/sysv/linux/dl-execstack.c
31257         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31258         code unconditional.
31259         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31260         conditional code.
31261         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31262         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31263         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31264         code.
31265         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31266         unconditional.
31267         [__ASSUME_WAITID_SYSCALL]: Likewise.
31268         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31269
31270 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31271
31272         * sysdeps/unix/closedir.c: Renamed to ...
31273         * sysdeps/posix/closedir.c: ... here.
31274         * sysdeps/unix/dirfd.c: Renamed to ...
31275         * sysdeps/posix/dirfd.c: ... here.
31276         * sysdeps/unix/dirstream.h: Renamed to ...
31277         * sysdeps/posix/dirstream.h: ... here.
31278         * sysdeps/unix/fdopendir.c: Renamed to ...
31279         * sysdeps/posix/fdopendir.c: ... here.
31280         * sysdeps/unix/opendir.c: Renamed to ...
31281         * sysdeps/posix/opendir.c: ... here.
31282         * sysdeps/unix/readdir.c: Renamed to ...
31283         * sysdeps/posix/readdir.c: ... here.
31284         * sysdeps/unix/readdir_r.c: Renamed to ...
31285         * sysdeps/posix/readdir_r.c: ... here.
31286         * sysdeps/unix/rewinddir.c: Renamed to ...
31287         * sysdeps/posix/rewinddir.c: ... here.
31288         * sysdeps/unix/seekdir.c: Renamed to ...
31289         * sysdeps/posix/seekdir.c: ... here.
31290         * sysdeps/unix/telldir.c: Renamed to ...
31291         * sysdeps/posix/telldir.c: ... here.
31292         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31293         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31294         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31295         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31296
31297         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31298         * bits/fcntl.h: ... here.
31299
31300         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31301         not 0.
31302         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31303         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31304         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31305         (struct flock): Move l_start, l_len to the beginning.
31306         Use __pid_t for l_pid.
31307         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31308         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31309         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31310         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31311         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31312         [__USE_LARGEFILE64] (struct flock64): New type.
31313         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31314
31315         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31316         * bits/dirent.h: ... here.
31317
31318         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31319         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31320
31321 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31322
31323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31324         Change from 2.6.0 to 2.6.16.
31325         * sysdeps/unix/sysv/linux/configure: Regenerated.
31326         * sysdeps/unix/sysv/linux/kernel-features.h
31327         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31328         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31329         version.
31330         (__ASSUME_UTIMES): Likewise.
31331         (__ASSUME_CLONE_STOPPED): Remove.
31332         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31333         architectures, not kernel version.
31334         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31335         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31336         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31337         (__ASSUME_WAITID_SYSCALL): Likewise.
31338         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31339         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31340         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31341         refer to older versions.
31342
31343 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31344
31345         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31346         Define alphasort64 as an alias.
31347         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31348         Define versionsort64 as an alias.
31349         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31350         Define scandir64 as an alias.
31351         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31352         Define scandirat64 as an alias.
31353         * dirent/alphasort64.c (alphasort64):
31354         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31355         * dirent/versionsort64.c: Likewise.
31356         * dirent/scandir64.c: Likewise.
31357         * dirent/scandirat64.c: Likewise.
31358         * sysdeps/wordsize-64/alphasort.c: File removed.
31359         * sysdeps/wordsize-64/alphasort64.c: File removed.
31360         * sysdeps/wordsize-64/scandir.c: File removed.
31361         * sysdeps/wordsize-64/scandir64.c: File removed.
31362         * sysdeps/wordsize-64/scandirat.c: File removed.
31363         * sysdeps/wordsize-64/scandirat64.c: File removed.
31364         * sysdeps/wordsize-64/versionsort.c: File removed.
31365         * sysdeps/wordsize-64/versionsort64.c: File removed.
31366         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31368         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31369         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31370         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31371         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31372         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31373         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31374
31375         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31377         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31379         [defined __arch64__ || defined __sparcv9]
31380         (__INO_T_MATCHES_INO64_T): New macro.
31381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31382         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31383         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31384         * sysdeps/unix/sysv/linux/bits/dirent.h
31385         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31386         (_DIRENT_MATCHES_DIRENT64): New macro.
31387
31388         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31389         Define lockf64 as an alias.
31390         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31391         Define fseeko64 as an alias.
31392         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31393         Define ftello64 as an alias.
31394         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31395         Define _IO_fgetpos64 and fgetpos64 as aliases.
31396         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31397         Define _IO_fsetpos64 and fsetpos64 as aliases.
31398         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31399         Conditionalize body on this.
31400         * libio/fseeko64.c: Likewise.
31401         * libio/ftello64.c: Likewise.
31402         * libio/iofgetpos64.c: Likewise.
31403         * libio/iofsetpos64.c: Likewise.
31404         * sysdeps/wordsize-64/lockf.c: File removed.
31405         * sysdeps/wordsize-64/lockf64.c: File removed.
31406         * sysdeps/wordsize-64/fseeko.c: File removed.
31407         * sysdeps/wordsize-64/fseeko64.c: File removed.
31408         * sysdeps/wordsize-64/ftello.c: File removed.
31409         * sysdeps/wordsize-64/ftello64.c: File removed.
31410         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31411         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31412         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31413         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31414         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31415         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31416         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31417         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31418         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31419         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31420         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31422         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31423         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31424
31425         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31427         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31429         [defined __arch64__ || defined __sparcv9]
31430         (__OFF_T_MATCHES_OFF64_T): New macro.
31431         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31432         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31433         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31434         (__OFF_T_MATCHES_OFF64_T): New macro.
31435
31436 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31437
31438         * stdlib/secure-getenv.c (__secure_getenv): Replace
31439         GLIBC_2_16 with GLIBC_2_17.
31440
31441 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31442
31443         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31444         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31445
31446 2012-08-03  David S. Miller  <davem@davemloft.net>
31447
31448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31449
31450 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31451
31452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31453         Remove.
31454         (__ASSUME_CORRECT_SI_PID): Likewise.
31455         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31456         (__ASSUME_TMPFS_NAME): Likewise.
31457         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31458         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31459         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31460         (HAVE_AUX_SECURE): Make definition unconditional.
31461         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31462         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31463
31464 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31465
31466         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31467         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31468         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31469         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31470         __eloop_threshold instead of SYMLOOP_MAX.
31471
31472         * sysdeps/generic/eloop-threshold.h: New file.
31473         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31474         of MAXSYMLINKS.
31475         * elf/chroot_canon.c (chroot_canon): Likewise.
31476
31477 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31478
31479         [BZ #13717]
31480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31481         Change to 2.6.0 everywhere.
31482         * sysdeps/unix/sysv/linux/configure: Regenerated.
31483         * sysdeps/unix/sysv/linux/kernel-features.h
31484         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31485         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31486         kernel versions.
31487         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31488         (__ASSUME_FUTEX_REQUEUE): Remove.
31489         (__ASSUME_STATFS64): Define unconditionally.
31490         (__ASSUME_AT_SECURE): Likewise.
31491         (__ASSUME_CORRECT_SI_PID): Likewise.
31492         (__ASSUME_TGKILL): Define without depending on kernel version for
31493         i386.
31494         (__ASSUME_UTIMES): Likewise.
31495         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31496         kernel version.
31497         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31498         (__ASSUME_TMPFS_NAME): Likewise.
31499         * README: Update reference to Linux kernel versions.
31500
31501 2012-08-02  Marek Polacek  <polacek@redhat.com>
31502
31503         [BZ# 14150]
31504         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31505         libc_cv_asm_type_prefix with %.
31506         * configure: Regenerated.
31507         * include/libc-symbols.h: Remove comment about
31508         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31509         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31510         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31511         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31512         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31513         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31514         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31515         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31516         * elf/tst-unique2mod1.c: Likewise.
31517         * elf/tst-unique1mod2.c: Likewise.
31518         * elf/tst-unique1mod1.c: Likewise.
31519         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31520         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31521         Replace ASM_TYPE_DIRECTIVE with .type.
31522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31523         * sysdeps/i386/sysdep.h: Likewise.
31524         * sysdeps/x86_64/sysdep.h: Likewise.
31525         * sysdeps/sh/sysdep.h: Likewise.
31526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31527         Do not define ASM_TYPE_DIRECTIVE.
31528         * sysdeps/powerpc/sysdep.h: Likewise.
31529         * sysdeps/powerpc/powerpc32/sysdep.h:
31530         Replace ASM_TYPE_DIRECTIVE with .type.
31531         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31532         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31533         * sysdeps/i386/fpu/e_powf.S: Likewise.
31534         * sysdeps/i386/fpu/e_expl.S: Likewise.
31535         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31536         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31537         * sysdeps/i386/fpu/e_pow.S: Likewise.
31538         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31539         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31540         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31541         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31542         * sysdeps/i386/fpu/e_log2.S: Likewise.
31543         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31544         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31545         * sysdeps/i386/fpu/e_powl.S: Likewise.
31546         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31547         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31548         * sysdeps/i386/fpu/e_logl.S: Likewise.
31549         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31550         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31551         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31552         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31553         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31554         * sysdeps/i386/fpu/e_log.S: Likewise.
31555         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31556         * sysdeps/i386/fpu/e_logf.S: Likewise.
31557         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31558         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31559         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31560         * sysdeps/i386/fpu/e_log10.S: Likewise.
31561         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31562         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31563         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31564         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31565         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31567         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31568         * sysdeps/i386/i686/strtok.S: Likewise.
31569         * sysdeps/i386/i386-mcount.S: Likewise.
31570         * sysdeps/i386/strtok.S: Likewise.
31571         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31572         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31573         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31574         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31575         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31576         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31577         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31578         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31579         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31580         * sysdeps/x86_64/_mcount.S: Likewise.
31581         * sysdeps/x86_64/strtok.S: Likewise.
31582         * sysdeps/sh/_mcount.S: Likewise.
31583
31584 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31585
31586         * libio/iofopen.c: Include <fcntl.h>.
31587         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31588         (_IO_fopen64, fopen64): Define as aliases.
31589         * libio/iofopen64.c: Include <fcntl.h>.
31590         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31591         Conditionalize body on this.
31592         * sysdeps/wordsize-64/iofopen.c: File removed.
31593         * sysdeps/wordsize-64/iofopen64.c: File removed.
31594
31595 2012-08-01  Marek Polacek  <polacek@redhat.com>
31596
31597         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31598         Use dlfcn directly instead of a variable.
31599         (binfmt-subdir): Do not define.
31600         (dlfcn): Likewise.
31601
31602 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31603
31604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31605         Remove all definitions.
31606         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31607         <kernel-features.h>.
31608         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31609         (miss_F_GETOWN_EX): Remove all definitions.
31610         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31611         macro definition.
31612         [!__ASSUME_FCNTL64]: Remove conditional code.
31613         [__ASSUME_FCNTL64]: Make code unconditional.
31614         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31615         <kernel-features.h>.
31616         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31617         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31618         (lockf64) [__NR_fcntl64]: Make code unconditional.
31619         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31620
31621         * sysdeps/unix/sysv/linux/kernel-features.h
31622         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31623         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31624         Make code unconditional.
31625         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31626         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31628         [__NR_vfork]: Make code unconditional.
31629         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31630         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31632         [__NR_vfork]: Make code unconditional.
31633         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31634         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31635
31636 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31637
31638         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31639         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31640
31641         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31642         Define mkstemp64 as an alias.
31643         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31644         Define mkstemps64 as an alias.
31645         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31646         Define mkostemp64 as an alias.
31647         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31648         Define mkostemps64 as an alias.
31649         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31650         Conditionalize body on this.
31651         * misc/mkostemp64.c: Likewise.
31652         * misc/mkostemps64.c: Likewise.
31653         * misc/mkstemps64.c: Likewise.
31654         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31655         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31656         * sysdeps/wordsize-64/mkostemp.c: File removed.
31657         * sysdeps/wordsize-64/mkstemp.c: File removed.
31658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31659         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31660         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31661         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31662
31663         [BZ #14138]
31664         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31665         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31666         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31667         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31668
31669         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31670         compat_symbol macros from <shlib-compat.h> rather than the underlying
31671         default_symbol_version and symbol_version macros, so that DEFAULT
31672         lines in shlib-versions are respected.
31673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31674
31675 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31676
31677         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31678         Declare with warn_unused_result.
31679         (setgid, setregid, setegid, setresgid): Likewise.
31680         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31681         Likewise.
31682         * WUR-REPORT: Remove set*id functions.
31683
31684 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31685
31686         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31687
31688 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31689
31690         [BZ #10191]
31691         * include/sys/socket.h (__libc_accept, __libc_accept4):
31692         Add attribute_hidden.
31693         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31694
31695         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31696         use of PTR_MANGLE.
31697         * inet/getnetgrent_r.c (setup): Likewise.
31698
31699         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31700
31701 2012-07-31  David S. Miller  <davem@davemloft.net>
31702
31703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31704
31705 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31706
31707         [BZ #13629]
31708         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31709         value between 1.0 and 2.0 and smaller part has absolute value less
31710         than 1.0.
31711         * math/s_clog10.c (__clog10): Likewise.
31712         * math/s_clog10f.c (__clog10f): Likewise.
31713         * math/s_clog10l.c (__clog10l): Likewise.
31714         * math/s_clogf.c (__clogf): Likewise.
31715         * math/s_clogl.c (__clogl): Likewise.
31716         * math/libm-test.inc (clog_test): Add more tests.
31717         (clog10_test): Likewise.
31718         * sysdeps/i386/fpu/libm-test-ulps: Update.
31719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31720
31721 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31722
31723         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31724         Exit with zero in case no suitable GID is found, and write a
31725         message to standard error.
31726
31727 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31728
31729         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31730         rather than to 1.
31731         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31732         (MAXPATHLEN): Removed.
31733         (NOGROUP, NODEV): New macros.
31734         (setbit, clrbit, isset, isclr): New macros.
31735         (howmany, roundup, powerof2): New macros.
31736         (DEV_BSIZE): New macro.
31737
31738         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31739         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31740
31741         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31742         definition on [!__NO_LONG_DOUBLE_MATH].
31743
31744         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31745         PTR_MANGLE and PTR_DEMANGLE.
31746
31747         * socket/accept4.c (accept4): Rename to __libc_accept4.
31748         Define accept4 as a weak alias.
31749
31750         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31751         on [_DIRENT_HAVE_D_TYPE].
31752         * io/ftw.c (ftw_dir): Likewise.
31753
31754         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31755
31756         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31757
31758         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31759         Use the BSD numbers rather than the arbitrary ones we had.
31760         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31761         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31762         (SIGXCPU, SIGXFSZ): New macros.
31763         (_NSIG): Now 32.
31764
31765         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31766         initializer on [_LIBC_REENTRANT].
31767
31768         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31769         definitions inside [_POSIX_MAPPED_FILES].
31770
31771         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31772
31773         * dirent/opendir.c: Include <fcntl.h>.
31774
31775         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31776         (__libc_getspecific): Likewise.
31777         (__libc_key_create): Likewise.
31778
31779         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31780         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31781         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31782         (tmpfile64): Define as alias.
31783         * sysdeps/wordsize-64/tmpfile.c: File removed.
31784         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31785         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31787
31788         * stdio-common/vfscanf.c: Include <stdbool.h>.
31789         * nss/makedb.c: Likewise.
31790         * stdio-common/_i18n_number.h: Likewise.
31791         * argp/argp-help.c: Likewise.
31792         * posix/wordexp.c: Likewise.
31793         * sysdeps/posix/spawni.c: Likewise.
31794         * nss/nss_files/files-initgroups.c: Likewise.
31795         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31796         * nss/nss_files/files-initgroups.c: Likewise.
31797         * nss/nss_db/db-netgrp.c: Likewise.
31798         * nss/nss_db/db-initgroups.c: Likewise.
31799         * io/fchmodat.c: Include <sys/stat.h>.
31800
31801         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31802         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31803
31804         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31805         [HAVE_MMAP].
31806
31807         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31808         Add multiple inclusion protection.
31809
31810 2012-07-27  David S. Miller  <davem@davemloft.net>
31811
31812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31813
31814 2012-07-27  Gary Benson  <gbenson@redhat.com>
31815
31816         [BZ #14298]
31817         * elf/rtld.c: Include <stap-probe.h>.
31818         (dl_main): Added static probes "init_start" and "init_complete".
31819         * elf/dl-load.c: Include <stap-probe.h>.
31820         (lose): Take new parameter "nsid".
31821         Added static probe "map_failed".
31822         (_dl_map_object_from_fd): Pass namespace id to lose.
31823         Added static probe "map_start".
31824         (open_verify): Pass namespace id to lose.
31825         * elf/dl-open.c: Include <stap-probe.h>.
31826         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31827         and "reloc_complete".
31828         * elf/dl-close.c: Include <stap-probe.h>.
31829         (_dl_close_worker): Added static probes "unmap_start" and
31830         "unmap_complete".
31831         * elf/rtld-debugger-interface.txt: New file documenting the above.
31832
31833 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31834
31835         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31836         rather than a string variable.
31837         * sunrpc/rpc_main.c (h_output): Likewise.
31838         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31839
31840 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31841
31842         * inet/check_native.c: New file.
31843
31844 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31845
31846         [BZ #13629]
31847         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31848         if larger part has absolute value 1.0.
31849         * math/s_clog10.c (__clog10): Likewise.
31850         * math/s_clog10f.c (__clog10f): Likewise.
31851         * math/s_clog10l.c (__clog10l): Likewise.
31852         * math/s_clogf.c (__clogf): Likewise.
31853         * math/s_clogl.c (__clogl): Likewise.
31854         * math/libm-test.inc (clog_test): Add more tests.
31855         (clog10_test): Likewise.
31856         * sysdeps/i386/fpu/libm-test-ulps: Update.
31857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31858
31859         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31860         (pltexit): Likewise.
31861         (La_regs): Likewise.
31862         (La_retval): Likewise.
31863         (int_retval): Likewise.
31864         Update #error for removed macros to refer only to definitions in
31865         tst-audit.h.
31866         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31867         macro.
31868         (pltexit): Likewise.
31869         (La_regs): Likewise.
31870         (La_retval): Likewise.
31871         (int_retval): Likewise.
31872         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31873         macro.
31874         (pltexit): Likewise.
31875         (La_regs): Likewise.
31876         (La_retval): Likewise.
31877         (int_retval): Likewise.
31878         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31879         macro.
31880         (pltexit): Likewise.
31881         (La_regs): Likewise.
31882         (La_retval): Likewise.
31883         (int_retval): Likewise.
31884         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31885         macro.
31886         (pltexit): Likewise.
31887         (La_regs): Likewise.
31888         (La_retval): Likewise.
31889         (int_retval): Likewise.
31890         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31891         macro.
31892         (pltexit): Likewise.
31893         (La_regs): Likewise.
31894         (La_retval): Likewise.
31895         (int_retval): Likewise.
31896         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31897         macro.
31898         (pltexit): Likewise.
31899         (La_regs): Likewise.
31900         (La_retval): Likewise.
31901         (int_retval): Likewise.
31902         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31903         macro definitions in tst-audit.h.
31904         * sysdeps/i386/tst-audit.h: New file.
31905         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31906         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31907         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31908         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31909         * sysdeps/sh/tst-audit.h: Likewise.
31910         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31911         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31912         * sysdeps/x86_64/tst-audit.h: Likewise.
31913
31914 2012-07-26  Andreas Jaeger  <aj@suse.de>
31915
31916         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31917         ptrace.
31918
31919         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31920         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31921         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31922         PTRACE_O_MASK.
31923         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31924         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31925         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31926
31927         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31928         value.
31929
31930         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31931         _sigsys.
31932         (si_call_addr, si_syscall, si_arch): Define new macro.
31933         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31934         _sigsys.
31935         (si_call_addr, si_syscall, si_arch): Define new marcro.
31936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31937         _sigsys.
31938         (si_call_addr, si_syscall, si_arch): Define new macro.
31939         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31940         _sigsys.
31941         (si_call_addr, si_syscall, si_arch): Define new macro.
31942
31943 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31944
31945         [BZ #13717]
31946         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31947         Change to 2.4.21 where previously 2.4.1.
31948         * sysdeps/unix/sysv/linux/configure: Regenerated.
31949         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31950         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31951         Linux kernel version.
31952         (__ASSUME_STD_AUXV): Remove.
31953         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31954         kernel version.
31955         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31956         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31957         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31958         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31959         (__ASSUME_NETLINK_SUPPORT): Likewise.
31960         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31961         (__no_netlink_support): Remove conditional definition.
31962         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31963         Remove.
31964         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31965         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31966         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31967         (if_nameindex_ioctl): Remove.
31968         (if_nameindex_netlink): Do not handle __no_netlink_support.
31969         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31970         code.
31971         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31972         Remove conditional code.
31973         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31974         code.
31975         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31976         unconditional.
31977         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31978         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31979         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31980         Remove.
31981         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31982         [!__ASSUME_STD_AUXV]: Remove conditional code.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31984         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31985         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31987         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31988         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31989         code.
31990         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31992         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31993         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31994         conditional code.
31995         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31997         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31998         code.
31999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32000         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32001         conditional code.
32002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32003         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32004         code unconditional.
32005         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32006         conditional code.
32007         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32008         unconditional.
32009         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32010         conditional code.
32011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32012         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32013         unconditional.
32014         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32015         conditional code.
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32017         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32018         code unconditional.
32019         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32020         conditional code.
32021         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32022         unconditional.
32023         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32024         conditional code.
32025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32026         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32027         code unconditional.
32028         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32029         conditional code.
32030         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32031         unconditional.
32032         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32033         conditional code.
32034
32035 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32036
32037         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32038         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32039         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32040         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32041         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32042         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32044         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32045         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32046         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32047         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32048         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32049         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32050         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32051         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32052         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32053         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32055         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32057         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32058         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32060
32061 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32062
32063         * Versions.def: Add GLIBC_2.17.
32064         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32065         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32066         Introduce __libc_secure_getenv.
32067         * stdlib/Versions (2.17): Add secure_getenv
32068         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32069         * stdlib/secure-getenv.c: Rename __secure_getenv to
32070         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32071         symbol __secure_getenv for GLIBC_2.0.
32072         * stdlib/tst-secure-getenv.c: New.
32073         * stdlib/Makefile (tests): Add testcase.
32074         * manual/startup.texi (Environment Access): Document
32075         secure_getenv.
32076         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32077         __libc_secure_getenv.
32078         * inet/ruserpass.c (ruserpass): Likewise.
32079         * malloc/mtrace.c (mtrace): Likewise.
32080         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32081         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32082         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32083         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32084         HAVE_SECURE_GETENV.
32085         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32086         __secure_getenv to __libc_secure_getenv.
32087         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32089         Likewise.
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32091         Likewise.
32092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32099
32100 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32101
32102         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32103         (struct La_i86_retval): Likewise.
32104         (struct La_x86_64_regs): Likewise.
32105         (struct La_x86_64_retval): Likewise.
32106         (struct La_x32_regs): Likewise.
32107         (struct La_x32_retval): Likewise.
32108         (struct La_ppc32_regs): Likewise.
32109         (struct La_ppc32_retval): Likewise.
32110         (struct La_ppc64_regs): Likewise.
32111         (struct La_ppc64_retval): Likewise.
32112         (struct La_sh_regs): Likewise.
32113         (struct La_sh_retval): Likewise.
32114         (struct La_s390_32_regs): Likewise.
32115         (struct La_s390_32_retval): Likewise.
32116         (struct La_s390_64_regs): Likewise.
32117         (struct La_s390_64_retval): Likewise.
32118         (struct La_sparc32_regs): Likewise.
32119         (struct La_sparc32_retval): Likewise.
32120         (struct La_sparc64_regs): Likewise.
32121         (struct La_sparc64_retval): Likewise.
32122         (struct audit_ifaces): Remove architecture-specific pltenter and
32123         pltexit members.
32124         * sysdeps/i386/ldsodefs.h: New file.
32125         * sysdeps/powerpc/ldsodefs.h: Likewise.
32126         * sysdeps/s390/ldsodefs.h: Likewise.
32127         * sysdeps/sh/ldsodefs.h: Likewise.
32128         * sysdeps/sparc/ldsodefs.h: Likewise.
32129         * sysdeps/x86_64/ldsodefs.h: Likewise.
32130
32131 2012-07-25  Marek Polacek  <polacek@redhat.com>
32132
32133         [BZ #6808]
32134         * math/libm-test.inc (yn_test): Add another test.
32135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32136         to ERANGE when the result is +-Inf.
32137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32140         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32141
32142 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32143
32144         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32145         equal to 0.
32146         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32147         clock_t.
32148         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32149
32150 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32151
32152         * configure.in <sysdeps resolving>: Correct printing
32153         Implies_before.
32154         * configure: Regenerate.
32155
32156 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32157
32158         * math/w_ilogb.c: Include <limits.h>.
32159         * math/w_ilogbl.c: Likewise.
32160
32161 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32162
32163         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32164         va_copy.  Document allowing for unavailable va_copy only as
32165         pre-C99 compatibility.
32166         * manual/string.texi (Copying and Concatenation): Use va_copy
32167         instead of __va_copy in concat example.
32168
32169 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32170
32171         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32172         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32173         it if not null.
32174
32175         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32176         with O_NOLINK passed to __file_name_lookup.
32177
32178         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32179         with O_NOLINK passed to __file_name_lookup.
32180
32181         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32182         negative N or less than NGIDS.
32183
32184         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32185         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32186         enough.  Use memcpy instead of strncpy.
32187
32188 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32189
32190         * elf/Makefile (check-data): Remove.
32191         (localplt.data): New vpath directive.
32192         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32193         instead of $(check-data).
32194         * scripts/data/localplt-generic.data: Move to ...
32195         * sysdeps/generic/localplt.data: ... here.
32196         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32197         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32198         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32200         ... here.
32201         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32203         ... here.
32204         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32206         ... here.
32207         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32209         ... here.
32210         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32212         ... here.
32213         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32215         ... here.
32216
32217 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32218
32219         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32220         PPC32 and PPC64 files.
32221         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32222         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32223
32224 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32225
32226         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32227         __makecontext_ret to ...
32228         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32229         ... here and call exit if uc_link is NULL.  New file.
32230         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32231         __makecontext_ret.S.
32232         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32233         __makecontext_ret to ...
32234         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32235         ... here and call exit if uc_link is NULL.  New file.
32236         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32237         __makecontext_ret.S.
32238
32239 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32240
32241         * elf/elf.h (R_390_IRELATIVE): New definition.
32242         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32243         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32244         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32246         (elf_machine_lazy_rel): Likewise.
32247         * sysdeps/s390/dl-irel.h: New file.
32248         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32249         * sysdeps/s390/s390-64/memset.S: New asm code.
32250         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32251         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32252         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32253         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32254         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32255         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32257         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32258         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32259         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32260         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32261         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32262         * sysdeps/s390/s390-32/memset.S: New asm code.
32263         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32264
32265 2012-07-17  Marek Polacek  <polacek@redhat.com>
32266
32267         [BZ #14349]
32268         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32269         * sysdeps/s390/s390-64/configure.in: Likewise.
32270         * sysdeps/sparc/configure.in: Likewise.
32271         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32272         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32273         * sysdeps/i386/configure.in: Likewise.
32274         * sysdeps/x86_64/configure.in: Likewise.
32275         * sysdeps/sh/configure.in: Likewise.
32276         * sysdeps/s390/s390-32/configure: Regenerated.
32277         * sysdeps/s390/s390-64/configure: Likewise.
32278         * sysdeps/x86_64/configure: Likewise.
32279         * sysdeps/sh/configure: Likewise.
32280         * sysdeps/powerpc/powerpc64/configure: Likewise.
32281         * sysdeps/powerpc/powerpc32/configure: Likewise.
32282         * sysdeps/sparc/configure: Likwise.
32283         * sysdeps/i386/configure: Likewise.
32284
32285         * elf/dl-open.c: Comment fixes.
32286
32287 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32288
32289         * Makefile [CXX] (check-data): Remove.
32290         [CXX] (c++-types.data): New vpath directive.
32291         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32292         vpath.  Do not allow for C++ type data being missing.
32293         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32294         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32295         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32296         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32297         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32298         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32299         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32301         ... here.
32302         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32304         ... here.
32305         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32307         ... here.
32308         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32310         ... here.
32311         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32313         ... here.
32314         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32316         ... here.
32317         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32319         ... here.
32320         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32322
32323         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32324         definitions to architecture-specific files.
32325         (TLS_IE): Likewise.
32326         (TLS_LD): Likewise.
32327         (TLS_GD): Likewise.
32328         * sysdeps/i386/tls-macros.h: New file.
32329         * sysdeps/powerpc/tls-macros.h: Likewise.
32330         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32331         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32332         * sysdeps/sh/tls-macros.h: Likewise.
32333         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32334         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32335         * sysdeps/x86_64/tls-macros.h: Likewise.
32336
32337 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32338
32339         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32340         zero value for regular exit case.
32341
32342         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32343         (__start_context): Preserve zero value for regular exit case.
32344
32345 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32346             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32347
32348         * manual/setjmp.texi (setcontext): Clarify normal process
32349         termination when uc_link is the null pointer.
32350         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32351         exit call.
32352
32353 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32354
32355         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32356         preprocessor.  Test for each exception mask separately.
32357
32358 2012-07-16  Andreas Jaeger  <aj@suse.de>
32359
32360         * po/ru.po: Update from translation team.
32361
32362 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32363
32364         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32365         equal to 0.
32366         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32367         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32368         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32369         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32371
32372 2012-07-13  Andreas Jaeger  <aj@suse.de>
32373
32374         * po/fr.po: Update from translation team.
32375
32376 2012-07-12  Marek Polacek  <polacek@redhat.com>
32377
32378         [BZ #14173]
32379         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32381         loop condition.
32382
32383 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32384
32385         [BZ #13717]
32386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32387         Change to 2.4.1 where previously 2.4.0.
32388         * sysdeps/unix/sysv/linux/configure: Regenerated.
32389         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32390         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32391         version.
32392         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32393         (__ASSUME_AT_CLKTCK): Remove.
32394         (__ASSUME_AT_PAGESIZE): Likewise.
32395         (__ASSUME_AT_XID): Likewise.
32396         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32397         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32398         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32399         unconditionally.
32400         (HAVE_AUX_PAGESIZE): Likewise.
32401         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32402         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32403         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32404
32405 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32406
32407         [BZ #14307]
32408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32409         the temporary buffer used to invoke __gethostbyname2_r,
32410         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32411         host_data / struct gaih_addrtuple.
32412         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32413         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32414         header file nss/nsswitch.h.
32415         * nss/nsswitch.h (global scope): Add definition of implementation
32416         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32417         resolv/nss_dns/dns-host.c).
32418
32419 2012-07-11  Andreas Jaeger  <aj@suse.de>
32420
32421         * po/fr.po: Update from translation team.
32422
32423         * po/sv.po: Update from translation team
32424         * po/fr.po: Another update from translation team.
32425
32426 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32427
32428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32429         for subnormals or multiply small sinh result by itself.
32430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32432
32433 2012-07-11  David S. Miller  <davem@davemloft.net>
32434
32435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32436
32437 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32438
32439         [BZ #14347]
32440         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32441         (INTERNAL_MARK): Shift it here.
32442
32443 2012-07-10  Marek Polacek  <polacek@redhat.com>
32444
32445         [BZ #14151]
32446         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32447         libc_cv_asm_global_directive with .globl.
32448         * configure: Regenerated.
32449         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32450         with .globl.
32451         * sysdeps/i386/configure: Regenerated.
32452         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32453         with .globl.
32454         * sysdeps/x86_64/configure: Regenerated.
32455         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32456         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32457         * elf/tst-unique2mod2.c: Likewise.
32458         * elf/tst-unique2mod1.c: Likewise.
32459         * elf/tst-unique1mod2.c: Likewise.
32460         * elf/tst-unique1mod1.c: Likewise.
32461         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32463         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32464         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32465         * sysdeps/mach/sysdep.h: Likewise.
32466         * sysdeps/i386/sysdep.h: Likewise.
32467         * sysdeps/i386/i386-mcount.S: Likewise.
32468         * sysdeps/x86_64/_mcount.S: Likewise.
32469         * sysdeps/x86_64/sysdep.h: Likewise.
32470         * sysdeps/sh/_mcount.S: Likewise.
32471         * sysdeps/sh/sysdep.h: Likewise.
32472         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32473         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32474         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32476         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32477         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32478         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32479         * locale/localeinfo.h: Likewise.
32480         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32481         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32482
32483 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32484
32485         [BZ #14336]
32486         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32487         system".
32488         * manual/message.texi (The Uniforum approach): Likewise.
32489         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32490         (glibc iconv Implementation): Likewise.
32491
32492 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32493
32494         [BZ #14337]
32495         * math/s_clog.c (__clog): Avoid scaling a value down where that
32496         could result in underflow.
32497         * math/s_clog10.c (__clog10): Likewise.
32498         * math/s_clog10f.c (__clog10f): Likewise.
32499         * math/s_clog10l.c (__clog10l): Likewise.
32500         * math/s_clogf.c (__clogf): Likewise.
32501         * math/s_clogl.c (__clogl): Likewise.
32502         * math/libm-test.inc (clog_test): Add more tests.
32503         (clog10_test): Likewise.
32504         * sysdeps/i386/fpu/libm-test-ulps: Update.
32505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32506
32507 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32508
32509         [BZ #14283]
32510         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32511         by 7 not 8 to examine high bit of fractional part.
32512
32513         [BZ #14042]
32514         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32515         for call to __mcount_internal.
32516         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32517         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32518         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32519
32520 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32521
32522         [BZ #14154]
32523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32524         approximation for values within 0x1p-13f of an odd multiple of
32525         pi/4.
32526         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32527         exception.  Add more tests.
32528         * sysdeps/i386/fpu/libm-test-ulps: Update.
32529
32530         [BZ #6778]
32531         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32532         inputs and return -1 for them.  Do not check for +Inf in case not
32533         reachable for +Inf.
32534         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32535         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32536         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32537         and return -1 for them.  Do not check for +Inf in case not
32538         reachable for +Inf.
32539         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32540         define.
32541         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32542         and return -1 for them.  Do not check for +Inf in case not
32543         reachable for +Inf.
32544         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32545         spurious underflow.
32546         * sysdeps/i386/fpu/libm-test-ulps: Update.
32547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32548
32549 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32550
32551         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32552
32553 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32554
32555         [BZ #14157]
32556         [BZ #14331]
32557         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32558         could result in spurious underflow.  Scale down values above
32559         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32560         * math/s_csqrtf.c (__csqrtf): Likewise.
32561         * math/s_csqrtl.c (__csqrtl): Likewise.
32562         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32563         spurious underflow.
32564         * sysdeps/i386/fpu/libm-test-ulps: Update.
32565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32566
32567 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32568
32569         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32570         xopen-msg.sed.
32571         * catgets/xopen-msg.awk: New file.
32572         * catgets/xopen-msg.sed: Removed.
32573
32574         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32575         po2text.sed.
32576         * intl/po2test.awk: New file.
32577         * intl/po2test.sed: Removed.
32578
32579 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32580
32581         [BZ #14328]
32582         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32583         or multiply small sinh result by itself.
32584         * math/s_ctanf.c (__ctanf): Likewise.
32585         * math/s_ctanh.c (__ctanh): Likewise.
32586         * math/s_ctanhf.c (__ctanhf): Likewise.
32587         * math/s_ctanhl.c (__ctanhl): Likewise.
32588         * math/s_ctanl.c (__ctanl): Likewise.
32589         * math/libm-test.inc (ctan_test_tonearest): New function.
32590         (ctan_test_towardzero): Likewise.
32591         (ctan_test_downward): Likewise.
32592         (ctan_test_upward): Likewise.
32593         (ctanh_test_tonearest): Likewise.
32594         (ctanh_test_towardzero): Likewise.
32595         (ctanh_test_downward): Likewise.
32596         (ctanh_test_upward): Likewise.
32597         (main): Call these new functions.
32598         * sysdeps/i386/fpu/libm-test-ulps: Update.
32599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32600
32601 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32602
32603         * .gitignore: Delete /ports entry.
32604
32605 2012-07-03  Andreas Jaeger  <aj@suse.de>
32606
32607         * po/bg.po: Update from translation team.
32608         * po/cs.po: Likewise.
32609         * po/de.po: Likewise.
32610         * po/hr.po: Likewise.
32611         * po/nl.pl: Likewise.
32612         * po/pl.po: Likewise.
32613         * po/vi.po: Likewise.
32614
32615 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32616
32617         * Makeconfig [!+link] (+link-before-libc): New variable.
32618         [!+link] (+link-after-libc): Likewise.
32619         [!+link] (+link-tests): Likewise.
32620         [!+link] (+link): Define in terms of $(+link-before-libc) and
32621         $(+link-after-libc).
32622         [!+link-static] (+link-static-before-libc): New variable.
32623         [!+link-static] (+link-static-after-libc): Likewise.
32624         [!+link-static] (+link-static-tests): Likewise.
32625         [!+link-static] (+link-static): Define in terms of
32626         $(+link-static-before-libc) and $(+link-static-after-libc).
32627         [build-shared] (link-libc-before-gnulib): New variable.
32628         [build-shared] (link-libc-tests): Likewise.
32629         [build-shared] (link-libc): Define in terms of
32630         $(link-libc-before-gnulib).
32631         [!build-shared] (link-libc-tests): New variable.
32632         (link-libc-static-tests): New variable.
32633         [!gnulib] (gnulib-arch): New variable.
32634         [!gnulib] (gnulib-tests): Likewise.
32635         [!gnulib] (static-gnulib-arch): Likewise.
32636         [!gnulib] (static-gnulib-tests): Likewise.
32637         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32638         Define with "=" instead of ":=".
32639         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32640         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32641         * Rules (binaries-all-notests): New variable.
32642         (binaries-all-tests): Likewise.
32643         (binaries-static-notests): Likewise.
32644         (binaries-static-tests): Likewise.
32645         (binaries-all): Define using $(binaries-all-notests) and
32646         $(binaries-all-tests).
32647         (binaries-static): Define using $(binaries-static-notests) and
32648         $(binaries-static-tests).
32649         (binaries-shared-tests): New variable.
32650         (binaries-shared-notests): Likewise.
32651         (binaries-shared): Remove variable.
32652         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32653         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32654         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32655         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32656         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32657         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32658         * elf/Makefile (sln-modules): New variable.
32659         (extra-objs): Add $(sln-modules:=.o).
32660         (ldconfig-modules): Add static-stubs.
32661         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32662         * elf/static-stubs.c: New file.
32663
32664         [BZ #14283]
32665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32666         by 7 not 8 to examine high bit of fractional part.  Use volatile
32667         variables when splitting into final array of floats if
32668         __FLT_EVAL_METHOD__ != 0.
32669         * math/libm-test.inc (cos_test): Add another test.
32670         (sin_test): Likewise.
32671         * sysdeps/i386/fpu/libm-test-ulps: Update.
32672
32673         [BZ #14273]
32674         * math/libm-test.inc (cosh_test): Add more tests.
32675
32676         * version.h (RELEASE): Set to "development".
32677         (VERSION): Set to "2.16.90".
32678
32679 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32680
32681         * NEWS: Update copyright. Remove last-updated date.
32682         Mention math library bug fixes and timezone data changes.
32683         * README: Mention GNU/Hurd, x32, and HPPA support status.
32684
32685 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32686
32687         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32688
32689 2012-06-27  Andreas Jaeger  <aj@suse.de>
32690
32691         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32692
32693 2012-06-25  Andreas Jaeger  <aj@suse.de>
32694
32695         * sysdeps/s390/fpu/libm-test-ulps: Update.
32696
32697 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32698             Thomas Schwinge  <thomas@codesourcery.com>
32699
32700         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32701         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32703         fanotify_mark.
32704
32705 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32706
32707         * sysdeps/mach/start.c: Remove file.
32708         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32709         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32710         * sysdeps/sh/init-first.c: Likewise.
32711
32712         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32713         registers for frame unwinding purposes, add CFI directives.
32714         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32715         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32716         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32717         Likewise.
32718
32719         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32720         __fortify_fail returning.
32721         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32722
32723         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32724         sysdeps/sh/____longjmp_chk.S.
32725         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32726         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32727         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32728         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32729
32730         * sysdeps/sh/abort-instr.h: New file.
32731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32732         process in case exit returns.
32733
32734         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32735         initialize the GOT register before use.
32736
32737         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32738         calculation of ARGC > 4.
32739
32740         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32741         meaningful names to some local labels.
32742
32743 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32744             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32745
32746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32747         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32748         (__arch_compare_and_exchange_val_16_acq): Likewise.
32749         (__arch_compare_and_exchange_val_32_acq): Likewise.
32750         (atomic_exchange_and_add): Fix gUSA sequence.
32751         (atomic_add): Likewise.
32752         (atomic_add_negative): Likewise.
32753         (atomic_add_zero): Likewise.
32754         (atomic_bit_test_set): Likewise.
32755
32756 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32757
32758         [BZ #13579]
32759         * include/link.h (struct link_map): Add l_free_initfini.
32760         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32761         l_initfini.
32762         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32763         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32764         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32765         set.
32766
32767 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32768
32769         * configure.in: Use AC_LANG_SOURCE.
32770         * configure: Regenerate.
32771
32772 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32773
32774         * configure.in (libc_cv_localstatedir): New substituted variable.
32775         * configure: Regenerated.
32776         * config.make.in (localstatedir): New variable, substituted from
32777         libc_cv_localstatedir.
32778         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32779         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32780         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32781         * sysdeps/gnu/configure: Regenerated.
32782
32783 2012-06-21  Jeff Law  <law@redhat.com>
32784
32785         [BZ #14277]
32786         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32787         free.  Simplify list management for _LIBC case.
32788
32789 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32790
32791         [BZ #14273]
32792         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32793         Clear sign bit of 64-bit integer value before comparing against
32794         overflow value.
32795
32796         * sysdeps/mach/configure: Regenerated.
32797
32798 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32799
32800         [BZ #14278]
32801         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32802
32803 2012-06-21  Jeff Law  <law@redhat.com>
32804
32805         [BZ #13882]
32806         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32807         uint16_t for elements in the "seen" array to avoid char overflows.
32808         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32809         * elf/dl-open.c (dl_open_worker): Likewise.
32810
32811 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32812
32813         * scripts/list-sources.sh: Scan PORTS for translations.
32814         * po/libc.pot: Regenerated.
32815
32816 2012-06-21  Andreas Jaeger  <aj@suse.de>
32817
32818         [BZ #12194]
32819         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32820         warning.
32821         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32822         * bits/byteswap-16.h (__bswap_16): Likewise.
32823         * bits/byteswap.h (__bswap_constant_16): Likewise.
32824
32825 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32826
32827         [BZ #14117]
32828         * sysdeps/i386/fpu_control.h: Removed.
32829         * sysdeps/x86_64/fpu_control.h: Moved to ...
32830         * sysdeps/x86/fpu_control.h: Here.
32831
32832         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32833         (_FPU_SETCW): Likewise.
32834
32835 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32836
32837         [BZ #14117]
32838         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32839         * sysdeps/x86/fpu/bits/mathinline.h: This.
32840         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32841
32842         [BZ #14050]
32843         [BZ #14117]
32844         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32845         functions if __x86_64__ is defined.
32846
32847 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32848
32849         * string/endian.h: Add !__ASSEMBLER__ condition for including
32850         conversion interfaces.
32851
32852 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32853
32854         [BZ #14241]
32855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32856         of ABS(x) in calculating zero to negative powers other than odd
32857         integers.
32858         * math/libm-test.inc (pow_test): Add more tests.
32859
32860 2012-06-15  Andreas Jaeger  <aj@suse.de>
32861
32862         * manual/contrib.texi (Contributors): Update entry of Liubov
32863         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32864         Machado Filho.
32865
32866 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32867
32868         * string/string.h: Add __wur to GNU version of strerror_r.
32869
32870 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32871
32872         [BZ #14229]
32873         * string/Makefile (tests): Add tst-strtok_r.
32874         * string/tst-strtok_r.c: New file.
32875         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32876         RAX_LP/RDX_LP on SAVE_PTR.
32877
32878 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32879
32880         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32881
32882 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32883
32884         * libm_test.inc (csqrt_test): Allow more spurious underflow
32885         exceptions.
32886         (j0_test): Likewise.
32887         (j1_test): Likewise.
32888         (y0_test): Likewise.
32889         (y1_test): Likewise.
32890
32891 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32892
32893         * po/Makefile (libc.pot): Use UTF-8 charset.
32894
32895 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32896
32897         [BZ #14210]
32898         Suppress sign-conversion warning from FD_SET.
32899         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32900         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32901         not unsigned long int.
32902         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32903
32904 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32905
32906         [BZ #14050]
32907         [BZ #14117]
32908         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32909         __extern_always_inline instead of __extern_inline.
32910         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32911         (__signbit): Likewise.
32912         (__signbitl): Support C++ namespace.
32913         (lrintf): New inline function.
32914         (lrint): Likewise.
32915         (llrintf): Likewise.
32916         (llrint): Likewise.
32917         (fmaxf): Likewise.
32918         (fmax): Likewise.
32919         (fminf): Likewise.
32920         (fmin): Likewise.
32921         (rint): Likewise.
32922         (rintf): Likewise.
32923         (ceil): Likewise.
32924         (ceilf): Likewise.
32925         (floor): Likewise.
32926         (floorf): Likewise.
32927         (nearbyint): Likewise.
32928         (nearbyintf): Likewise.
32929
32930 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32931
32932         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32933         non-default versions.
32934
32935 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32936
32937         [BZ #14218]
32938         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32939
32940 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32941
32942         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32943         (FE_UPWARD, FE_DOWNWARD): Don't define.
32944         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32945         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32946
32947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32948         reading it.
32949         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32950         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32951
32952 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32953
32954         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32956         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32957         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32958
32959 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32960
32961         [BZ #14117]
32962         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32963         * sysdeps/i386/fpu/Implies: New file.
32964         * sysdeps/x86_64/fpu/Implies: Likewise.
32965         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32966         * sysdeps/x86/fpu/bits/fenv.h: This.
32967
32968         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32969         __SSE_MATH__.
32970
32971 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972
32973         [BZ #14134]
32974         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32975         character 0xffff that matches the last element of the
32976         conversion table.
32977
32978 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32979
32980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32981         fmodl commit.
32982
32983 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32984
32985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32986         values higher than 25.6283.
32987
32988 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32989
32990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32991         subnormal exponent extraction and add some __builtin_expect.
32992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32993         Fix for subnormal mantissa calculation.
32994
32995 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32996
32997         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32998         cpu2 is -1 and errno is not ENOSYS.
32999
33000 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33001
33002         [BZ #14117]
33003         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33004         * sysdeps/x86/bits/string.h: This.
33005         * sysdeps/x86_64/bits/string.h: Removed.
33006
33007         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33008         if not compiling for x86-64, but compiling for >= i486.
33009
33010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33011         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33012
33013         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33014         New macro from Linux kernel 3.4.0.
33015         (FP_XSTATE_MAGIC2): Likewise.
33016         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33017         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33018         (struct _fpx_sw_bytes): New struct.
33019         (struct _xsave_hdr): Likewise.
33020         (struct _ymmh_state): Likewise.
33021         (struct _xstate): Likewise.
33022
33023         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33024         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33025         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33026         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33027         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33028         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33029
33030         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33031         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33032         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33033         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33034         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33035         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33036
33037 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33038
33039         [BZ #13743]
33040         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33041         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33042         (sysdep_headers): Include sys/platform/ppc.h.
33043         * sysdeps/powerpc/test-gettimebase.c: Test for
33044         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33045         * manual/Makefile (appendices): Include platform.texi.
33046         * manual/contrib.texi (Contributors): Update @node pointers.
33047         * manual/maint.texi (Maintenance): Likewise.
33048         (Platform): New node.
33049         * manual/platform.texi: New file.  Document the new features.
33050
33051 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33052             Jakub Jelinek  <jakub@redhat.com>
33053
33054         [BZ #14188]
33055         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33056         where __builtin_expect is unavailable.
33057
33058 2012-06-03  David S. Miller  <davem@davemloft.net>
33059
33060         * stdlib/longlong.h: Updated from GCC.
33061
33062 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33063
33064         [BZ #14042]
33065         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33066         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33067         __mcount_internal.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33069         (GLIBC_2.16): Likewise.
33070
33071 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33072
33073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33074
33075 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33076
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33078         (default-abi): New variable.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33080         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33081         variable.
33082         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33083         Likewise.
33084         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33085         Likewise.
33086         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33087         Likewise.
33088
33089         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33090         definition.  Document in comment.
33091
33092 2012-06-01  David S. Miller  <davem@davemloft.net>
33093
33094         * stdlib/longlong.h: Updated from GCC.
33095
33096 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33097
33098         [BZ #14117]
33099         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33100         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33101         sys/debugreg.h sys/io.h here.
33102         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33103         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33104         sys/io.h.
33105         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33106         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33107         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33108         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33109         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33110         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33111
33112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33113         Define only if __x86_64__ is defined.
33114
33115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33116
33117         [BZ #14048]
33118         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33119         Use int64_t for variable i.
33120         * math/libm-test.inc (fmod_test): Add more tests.
33121
33122         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33123         z computation is not scheduled after fetestexcept.
33124         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33125         Use math_force_eval instead of asm to ensure calculation scheduled
33126         before exception test.
33127         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33128         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33129
33130 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33131
33132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33133         computation is not scheduled after fetestexcept.
33134
33135 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33136
33137         [BZ #14117]
33138         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33139         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33140
33141 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33142
33143         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33144         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33145
33146 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33147
33148         [BZ #14117]
33149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33150         <bits/wordsize.h>.
33151         (__WCHAR_MIN): Support __WORDSIZE == 64.
33152         (__WCHAR_MAX): Likewise.
33153
33154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33155         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33156
33157         [BZ #14183]
33158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33159         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33160
33161         [BZ #14117]
33162         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33163         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33164
33165         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33166         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33167
33168         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33169         Defined to 1 if __x86_64__ isn't defined.
33170         (_STAT_VER_LINUX_OLD): New.
33171         (st_atime): Remove duplicate.
33172         (st_mtime): Likewise.
33173         (st_ctime): Likewise.
33174
33175 2012-05-31  David S. Miller  <davem@davemloft.net>
33176
33177         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33178         entries.
33179
33180 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33181
33182         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33183         gen-libm-test.pl.
33184
33185         [BZ #14132]
33186         * elf/dl-reloc.c: Include <_itoa.h>.
33187         (_dl_reloc_bad_type): Remove use of INTUSE.
33188         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33189         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33190         * stdio-common/psiginfo.c (psiginfo): Likewise.
33191         * stdio-common/psignal.c (psignal): Likewise.
33192         * string/strsignal.c (strsignal): Likewise.
33193         * include/signal.h (_sys_siglist): Declare hidden proto.
33194         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33195         INTVARDEF with libc_hidden_data_def.
33196         * stdio-common/itoa-udigits.c: Likewise.
33197         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33198         (_itoa_lower_digits_internal): Remove declaration.
33199         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33200         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33201         (_sys_sigabbrev_internal): Remove aliases.
33202         (_sys_siglist): Define hidden alias.
33203
33204 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33205
33206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33207         bits/sysctl.h.
33208
33209 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33210
33211         [BZ #14117]
33212         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33213         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33214
33215         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33216         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33217         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33218         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33220         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33221
33222         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33223         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33224         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33225
33226         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33227         with __addr.
33228         (insw): Likewise.
33229         (insl): Likewise.
33230         (outsb): Likewise.
33231         (outsw): Likewise.
33232         (outsl): Likewise.
33233
33234         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33235         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33237
33238         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33239         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33240         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33241         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33242         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33243         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33244
33245         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33246         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33247
33248         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33249         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33250
33251         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33253         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33254
33255         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33256         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33257         to ...
33258         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33259
33260         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33261         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33262         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33263
33264         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33265         for x86-64.
33266         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33267
33268 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33269
33270         * math/math.h (M_El): Use two more decimal places.
33271         (M_LOG2El): Likewise.
33272         (M_LOG10El): Likewise.
33273         (M_LN2l): Likewise.
33274         (M_LN10l): Likewise.
33275         (M_PIl): Likewise.
33276         (M_PI_2l): Likewise.
33277         (M_PI_4l): Likewise.
33278         (M_1_PIl): Likewise.
33279         (M_2_PIl): Likewise.
33280         (M_2_SQRTPIl): Likewise.
33281         (M_SQRT2l): Likewise.
33282         (M_SQRT1_2l): Likewise.
33283
33284 2012-05-31  David S. Miller  <davem@davemloft.net>
33285
33286         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33287         values between float registers.
33288         * sysdeps/sparc/sparc64/memset.S: Likewise.
33289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33290
33291 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33292
33293         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33294         -D_FORTIFY_SOURCE=1.
33295         (CPPFLAGS-tst-longjmp_chk.c): Define.
33296         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33297         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33298         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33299         CFLAGS-tst-wchar-h.c.
33300
33301 2012-05-31  Marek Polacek  <polacek@redhat.com>
33302
33303         [BZ #14132]
33304         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33305         __endmntent_internal): Remove declaration.
33306         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33307         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33308         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33309
33310 2012-05-30  David S. Miller  <davem@davemloft.net>
33311
33312         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33313         (___Q_simulate_exceptions): Use real FP ops rather than writing
33314         into the %fsr.
33315         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33316         Likewise.
33317
33318 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33319
33320         [BZ #14117]
33321         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33322         * sysdeps/x86/bits/xtitypes.h: This.
33323
33324         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33325         * sysdeps/x86/bits/wordsize.h: This.
33326
33327         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33328         * sysdeps/x86/bits/huge_vall.h: This.
33329
33330         * sysdeps/i386/bits/select.h: Removed.
33331         * sysdeps/x86_64/bits/select.h: Renamed to ...
33332         * sysdeps/x86/bits/select.h: This.
33333
33334         * sysdeps/i386/bits/setjmp.h: Removed.
33335         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33336         * sysdeps/x86/bits/setjmp.h: This.
33337
33338         * sysdeps/i386/bits/mathdef.h: Removed.
33339         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33340         * sysdeps/x86/bits/mathdef.h: This.
33341
33342 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33343
33344         [BZ #14132]
33345         * include/sys/socket.h (__connect_internal)
33346         (__libc_sa_len_internal): Remove declaration.
33347         (__connect, __libc_sa_len): Declare hidden_proto.
33348         (SA_LEN): Remove use of INTUSE.
33349         * socket/connect.c: Add libc_hidden_def.
33350         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33351         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33352         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33353         alias.
33354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33356         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33357         of adding _internal alias.
33358
33359 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33360
33361         [BZ #14117]
33362         * sysdeps/i386/bits/link.h: Removed.
33363         * sysdeps/i386/bits/linkmap.h: Likewise.
33364         * sysdeps/x86_64/bits/link.h: Renamed to ...
33365         * sysdeps/x86/bits/link.h: This.
33366         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33367         * sysdeps/x86/bits/linkmap.h: This.
33368
33369         * sysdeps/i386/bits/endian.h: Removed.
33370         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33371         * sysdeps/x86/bits/endian.h: This.
33372
33373         * sysdeps/i386/bits/byteswap.h: Removed.
33374         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33375         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33376         * sysdeps/x86/bits/byteswap.h: This.
33377         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33378         * sysdeps/x86/bits/byteswap-16.h: This.
33379         * sysdeps/i386/Implies: Add x86.
33380         * sysdeps/x86_64/Implies: Likewise.
33381
33382 2012-05-30  David S. Miller  <davem@davemloft.net>
33383
33384         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33385         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33387         (FP_TRAPPING_EXCEPTIONS): Define.
33388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33389         (FP_TRAPPING_EXCEPTIONS): Define.
33390         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33391         subnormals only when inexact has been signalled or underflow
33392         exceptions are enabled.
33393         (_FP_PACK_CANONICAL): Likewise.
33394
33395 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33396
33397         [BZ #14183]
33398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33399         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33400
33401 2012-05-30  Richard Henderson  <rth@twiddle.net>
33402
33403         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33404         with #ifndef NOT_IN_libc.
33405
33406         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33407         marked to avoid plt entry.
33408
33409 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33410
33411         [BZ #14112]
33412         * Makeconfig (default-abi): New macro.
33413         (abi-includes): Likewise.
33414         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33415         $(abi-$(default-abi)-lib-soname) for soname if defined.
33416         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33417         abi-variants.
33418         * Makefile (installed-stubs): Likewise.
33419         * include/stubs-biarch.h: Removed.
33420         * scripts/lib-names.awk: Only handle one library at a time.
33421         * scripts/soversions.awk: Remove WORDSIZE support.
33422         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33423         entries.
33424         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33425         Removed.
33426         (syscall-list-default-condition): Likewise.
33427         (syscall-list-default-condition): Likewise.
33428         (syscall-list-includes): Likewise.
33429         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33430         syscall-list-* with abi-*.  Handle undefined abi-variants.
33431         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33432         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33433         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33434         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33435         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33436         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33437         Removed.
33438         (syscall-list-32-options): Likewise.
33439         (syscall-list-32-condition): Likewise.
33440         (syscall-list-64-options): Likewise.
33441         (syscall-list-64-condition): Likewise.
33442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33443         macro.
33444         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33445         Renamed to ...
33446         (abi-*): This.
33447         (abi-64-ld-soname): New macro.
33448         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33449         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33450         Renamed to ...
33451         (abi-*): This.
33452         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33453         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33454
33455 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33456
33457         * sysdeps/unix/sysv/linux/kernel-features.h
33458         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33459         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33460         include <kernel-features.h>.
33461         [!__NR_ftruncate64]: Remove conditional code.
33462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33463         [__NR_ftruncate64]: Make code unconditional.
33464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33465         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33466         include <kernel-features.h>.
33467         [!__NR_ftruncate64]: Remove conditional code.
33468         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33469         [__NR_ftruncate64]: Make code unconditional.
33470         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33472         include <kernel-features.h>.
33473         [!__NR_ftruncate64]: Remove conditional code.
33474         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33475         [__NR_ftruncate64]: Make code unconditional.
33476         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33478         include <kernel-features.h>.
33479         [!__NR_ftruncate64]: Remove conditional code.
33480         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33481         [__NR_ftruncate64]: Make code unconditional.
33482         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33483
33484         * configure.in (libc_cv_fpie): Weaken to a compile test using
33485         LIBC_TRY_CC_OPTION.
33486         * configure: Regenerated.
33487
33488 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33489
33490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33494         Refreshed.
33495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33501         Refreshed.
33502
33503 2012-05-27  David S. Miller  <davem@davemloft.net>
33504
33505         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33506         (___Q_zero): New.
33507         (__Q_simulate_exceptions): Return void.  Change to simulate
33508         exceptions by writing into the %fsr.
33509         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33510         (__Qp_handle_exceptions): Likewise.
33511         (numbers): Delete.
33512         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33513         __Qp_handle_exceptions.
33514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33515         __Qp_handle_exceptions.
33516         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33517         as unused and give dummy FP_RND_NEAREST initializer.
33518         (FP_INHIBIT_RESULTS): Define.
33519         (___Q_simulate_exceptions): Update declaration.
33520         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33521         formatting.
33522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33523         as unused and give dummy FP_RND_NEAREST initializer.
33524         (__Qp_handle_exceptions): Update declaration.
33525         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33526         formatting.
33527
33528 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33529
33530         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33531         the temporary FPU control word.
33532         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33533         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33534         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33535         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33536         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33538         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33539         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33540         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33541         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33542         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33543
33544 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33545
33546         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33547         fields.
33548
33549 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33550
33551         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33552         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33553         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33554         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33555         Likewise.
33556         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33557         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33558         Likewise.
33559
33560 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33561
33562         * po/h.po: Update from translation team.
33563
33564 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33565
33566         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33567
33568         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33569         handling of denormals.
33570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33571         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33572         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33577         Likewise.
33578
33579 2012-05-26  Marek Polacek  <polacek@redhat.com>
33580
33581         [BZ #14152]
33582         * math/libm-test.inc (fma_test): Don't always expect underflow
33583         exception.
33584
33585 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33586
33587         [BZ #12416]
33588         * elf/tst-execstack.c: Include stackinfo.h.
33589         (do_test): Adjust test case to ensure that pthread_getattr_np
33590         behaviour remains the same after marking stack executable.
33591
33592 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33593
33594         * sysdeps/unix/sysv/linux/kernel-features.h
33595         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33596         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33597         kernel-features.h.
33598         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33599         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33600         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33601         kernel-features.h.
33602         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33603         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33604
33605 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33606
33607         * configure.in: Define the default includes to being none.
33608         * configure: Regenerated.
33609
33610 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33611
33612         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33613         * sysdeps/x86_64/setjmp.S: Likewise.
33614         * sysdeps/i386/bsd-setjmp.S: Likewise.
33615         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33616         * sysdeps/i386/setjmp.S: Likewise.
33617         * sysdeps/i386/__longjmp.S: Likewise.
33618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33619         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33620
33621         * include/stap-probe.h: New file.
33622         * configure.in: Handle --enable-systemtap.
33623         * configure: Regenerated.
33624         * config.h.in (USE_STAP_PROBE): New #undef.
33625         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33626         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33627         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33628
33629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33630
33631         [BZ #13717]
33632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33633         to 2.4.0 where earlier.
33634         * sysdeps/unix/sysv/linux/configure: Regenerated.
33635         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33636         <kernel-features.h>.
33637         [__ASSUME_32BITUIDS]: Make code unconditional.
33638         [!__ASSUME_32BITUIDS]: Remove conditional code.
33639         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33640         <kernel-features.h>.
33641         [__ASSUME_32BITUIDS]: Make code unconditional.
33642         [!__ASSUME_32BITUIDS]: Remove conditional code.
33643         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33644         [__ASSUME_32BITUIDS]: Make code unconditional.
33645         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33646         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33647         <kernel-features.h>.
33648         [__ASSUME_32BITUIDS]: Make code unconditional.
33649         [!__ASSUME_32BITUIDS]: Remove conditional code.
33650         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33651         <kernel-features.h>.
33652         [__ASSUME_32BITUIDS]: Make code unconditional.
33653         [!__ASSUME_32BITUIDS]: Remove conditional code.
33654         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33655         <kernel-features.h>.
33656         [__ASSUME_32BITUIDS]: Make code unconditional.
33657         [!__ASSUME_32BITUIDS]: Remove conditional code.
33658         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33659         <kernel-features.h>.
33660         [__ASSUME_32BITUIDS]: Make code unconditional.
33661         [!__ASSUME_32BITUIDS]: Remove conditional code.
33662         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33663         <kernel-features.h>.
33664         [__ASSUME_32BITUIDS]: Make code unconditional.
33665         [!__ASSUME_32BITUIDS]: Remove conditional code.
33666         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33667         <kernel-features.h>.
33668         [__ASSUME_32BITUIDS]: Make code unconditional.
33669         [!__ASSUME_32BITUIDS]: Remove conditional code.
33670         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33671         <kernel-features.h>.
33672         [__ASSUME_32BITUIDS]: Make code unconditional.
33673         [!__ASSUME_32BITUIDS]: Remove conditional code.
33674         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33675         <kernel-features.h>.
33676         [__ASSUME_32BITUIDS]: Make code unconditional.
33677         [!__ASSUME_32BITUIDS]: Remove conditional code.
33678         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33679         <kernel-features.h>.
33680         [__ASSUME_32BITUIDS]: Make code unconditional.
33681         [!__ASSUME_32BITUIDS]: Remove conditional code.
33682         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33683         <kernel-features.h>.
33684         [__ASSUME_32BITUIDS]: Make code unconditional.
33685         [!__ASSUME_32BITUIDS]: Remove conditional code.
33686         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33687         <kernel-features.h>.
33688         [__NR_setresgid] (__setresgid): Do not declare.
33689         [__ASSUME_32BITUIDS]: Make code unconditional.
33690         [!__ASSUME_32BITUIDS]: Remove conditional code.
33691         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33692         <kernel-features.h>.
33693         [__NR_setresuid] (__setresuid): Do not declare.
33694         [__ASSUME_32BITUIDS]: Make code unconditional.
33695         [!__ASSUME_32BITUIDS]: Remove conditional code.
33696         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33697         <kernel-features.h>.
33698         [__ASSUME_32BITUIDS]: Make code unconditional.
33699         [!__ASSUME_32BITUIDS]: Remove conditional code.
33700         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33701         <kernel-features.h>.
33702         [__ASSUME_32BITUIDS]: Make code unconditional.
33703         [!__ASSUME_32BITUIDS]: Remove conditional code.
33704         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33705         <kernel-features.h>.
33706         [__ASSUME_32BITUIDS]: Make code unconditional.
33707         [!__ASSUME_32BITUIDS]: Remove conditional code.
33708         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33709         <kernel-features.h>.
33710         [__ASSUME_32BITUIDS]: Make code unconditional.
33711         [!__ASSUME_32BITUIDS]: Remove conditional code.
33712         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33713         <kernel-features.h>.
33714         [__ASSUME_32BITUIDS]: Make code unconditional.
33715         [!__ASSUME_32BITUIDS]: Remove conditional code.
33716         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33717         <kernel-features.h>.
33718         [__ASSUME_32BITUIDS]: Make code unconditional.
33719         [!__ASSUME_32BITUIDS]: Remove conditional code.
33720         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33721         <kernel-features.h>.
33722         [__ASSUME_32BITUIDS]: Make code unconditional.
33723         [!__ASSUME_32BITUIDS]: Remove conditional code.
33724         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33725         <kernel-features.h>.
33726         [__ASSUME_32BITUIDS]: Make code unconditional.
33727         [!__ASSUME_32BITUIDS]: Remove conditional code.
33728         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33729         <kernel-features.h>.
33730         [__ASSUME_32BITUIDS]: Make code unconditional.
33731         [!__ASSUME_32BITUIDS]: Remove conditional code.
33732         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33733         <kernel-features.h>.
33734         [__ASSUME_32BITUIDS]: Make code unconditional.
33735         [!__ASSUME_32BITUIDS]: Remove conditional code.
33736         * sysdeps/unix/sysv/linux/kernel-features.h
33737         (__ASSUME_SETRESUID_SYSCALL): Remove.
33738         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33739         (__ASSUME_32BITUIDS): Likewise.
33740         (__ASSUME_LDT_WORKS): Likewise.
33741         (__ASSUME_O_DIRECTORY): Likewise.
33742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33743         architecture but not kernel version.
33744         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33745         (__ASSUME_MMAP2_SYSCALL): Likewise.
33746         (__ASSUME_STAT64_SYSCALL): Likewise.
33747         (__ASSUME_IPC64): Likewise.
33748         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33749         <kernel-features.h>.
33750         [__ASSUME_32BITUIDS]: Make code unconditional.
33751         [!__ASSUME_32BITUIDS]: Remove conditional code.
33752         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33753         <kernel-features.h>.
33754         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33755         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33756         132096]: Remove conditional code.
33757         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33758         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33759         <kernel-features.h>.
33760         [__ASSUME_32BITUIDS]: Make code unconditional.
33761         [!__ASSUME_32BITUIDS]: Remove conditional code.
33762         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33763         <kernel-features.h>.
33764         [__ASSUME_32BITUIDS]: Make code unconditional.
33765         [!__ASSUME_32BITUIDS]: Remove conditional code.
33766         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33767         <kernel-features.h>.
33768         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33769         unconditional.
33770         (__setresgid): Do not declare.
33771         [__ASSUME_32BITUIDS]: Make code unconditional.
33772         [!__ASSUME_32BITUIDS]: Remove conditional code.
33773         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33774         <kernel-features.h>.
33775         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33776         unconditional.
33777         (__setresuid): Do not declare.
33778         [__ASSUME_32BITUIDS]: Make code unconditional.
33779         [!__ASSUME_32BITUIDS]: Remove conditional code.
33780         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33781         <kernel-features.h>.
33782         [__ASSUME_32BITUIDS]: Make code unconditional.
33783         [!__ASSUME_32BITUIDS]: Remove conditional code.
33784         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33785         <kernel-features.h>.
33786         [__ASSUME_32BITUIDS]: Make code unconditional.
33787         [!__ASSUME_32BITUIDS]: Remove conditional code.
33788
33789 2012-05-25  Richard Henderson  <rth@twiddle.net>
33790
33791         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33792         dl_hwcap to ifunc resolver.
33793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33794         elf_ifunc_invoke.
33795         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33796         dl_hwcap to ifunc resolver.
33797         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33798
33799 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33800
33801         [BZ #14153]
33802         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33803         for |x| <= 2**-26, not 2**-57.
33804         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33805         exception.
33806
33807 2012-05-24  Jeff Law  <law@redhat.com>
33808
33809         * stdio-common/Makefile (tests): Add bug25.
33810         * stdio-common/bug25.c: New test.
33811
33812 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33813
33814         [BZ #13576]
33815         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33816         multiple of MALLOC_ALIGNMENT in size.
33817         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33818
33819 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33820
33821         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33822         Require >= 256.
33823         (FILENAME_MAX): Use macro-int-constant.
33824         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33825         (_IOFBF): Use macro-int-constant.
33826         (_IOLBF): Likewise.
33827         (_IONBF): Likewise.
33828         (SEEK_CUR): Likewise.
33829         (SEEK_END): Likewise.
33830         (SEEK_SET): Likewise.
33831         (TMP_MAX): Likewise.
33832         (EOF): Use macro-int-constant.  Require < 0.
33833         (NULL): Use macro-constant.  Require == 0.
33834         (stdin): Require type to be FILE *.
33835         (stdout): Likewise.
33836         (stderr): Likewise.
33837         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33838         macro-int-constant.
33839         (EXIT_SUCCESS): Likewise.
33840         (NULL): Use macro-constant.  Require == 0.
33841         (RAND_MAX): Use macro-int-constant.
33842         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33843         [C99-based standards] (strtof): Require function.
33844         [C99-based standards] (strtold): Likewise.
33845         [C99-based standards] (strtoll): Likewise.
33846         [C99-based standards] (strtoull): Likewise.
33847         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33848         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33849         [ISO || ISO99 || ISO11] (math.h): Likewise.
33850         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33851         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33853
33854 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33855
33856         [BZ #14132]
33857         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33858         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33859         * intl/dgettext.c (DCGETTEXT): Likewise.
33860         * intl/gettext.c (DCGETTEXT): Likewise.
33861         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33862         * posix/regex_internal.h (gettext): Likewise.
33863         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33864         Remove declaration.
33865         * include/argz.h (__argz_count_internal)
33866         (__argz_stringify_internal): Remove declaration.
33867         (__argz_count, __argz_stringify): Declare hidden proto.
33868         * intl/dcgettext.c: Remove use of INTDEF.
33869         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33870         * string/argz-stringify.c: Likewise.
33871         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33872         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33873         Declare hidden proto.
33874         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33875         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33876         Declare hidden proto.
33877         * include/stdio.h (__asprintf_internal): Don't declare.
33878         (__asprintf): Don't define as macro.  Declare hidden proto.
33879         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33880         (__fsetlocking): Declare hidden proto.
33881         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33882         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33883         hidden proto.
33884         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33885         (_IO_setlinebuf): Remove use of INTUSE.
33886         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33887         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33888         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33889         Remove declaration.
33890         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33891         (_IO_do_flush): Remove use of INTUSE.
33892         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33893         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33894         (_IO_adjust_column, _IO_least_wmarker)
33895         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33896         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33897         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33898         (_IO_default_doallocate, _IO_wdefault_doallocate)
33899         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33900         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33901         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33902         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33903         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33904         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33905         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33906         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33907         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33908         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33909         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33910         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33911         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33912         proto.
33913         (_IO_flush_all_internal, _IO_adjust_column_internal)
33914         (_IO_default_uflow_internal, _IO_default_finish_internal)
33915         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33916         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33917         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33918         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33919         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33920         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33921         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33922         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33923         (_IO_file_close_internal, _IO_file_close_it_internal)
33924         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33925         (_IO_file_init_internal, _IO_file_attach_internal)
33926         (_IO_file_fopen_internal, _IO_file_read_internal)
33927         (_IO_file_sync_internal, _IO_file_seek_internal)
33928         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33929         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33930         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33931         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33932         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33933         (_IO_list_all_internal, _IO_link_in_internal)
33934         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33935         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33936         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33937         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33938         (_IO_do_write_internal, _IO_padn_internal)
33939         (_IO_getline_info_internal, _IO_getline_internal)
33940         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33941         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33942         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33943         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33944         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33945         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33946         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33947         with libc_hidden_ver, remove use of INTUSE.
33948         * libio/genops.c: Likewise.
33949         * libio/freopen.c: Likewise.
33950         * libio/freopen64.c: Likewise.
33951         * libio/iofclose.c: Likewise.
33952         * libio/iofdopen.c: Likewise.
33953         * libio/iofflush.c: Likewise.
33954         * libio/iofflush_u.c: Likewise.
33955         * libio/iofgets.c: Likewise.
33956         * libio/iofgets_u.c: Likewise.
33957         * libio/iofopen.c: Likewise.
33958         * libio/iofopncook.c: Likewise.
33959         * libio/iofread.c: Likewise.
33960         * libio/iofread_u.c: Likewise.
33961         * libio/ioftell.c: Likewise.
33962         * libio/iofwrite.c: Likewise.
33963         * libio/iogetline.c: Likewise.
33964         * libio/iogets.c: Likewise.
33965         * libio/iogetwline.c: Likewise.
33966         * libio/iopadn.c: Likewise.
33967         * libio/iopopen.c: Likewise.
33968         * libio/ioseekoff.c: Likewise.
33969         * libio/ioseekpos.c: Likewise.
33970         * libio/iosetbuffer.c: Likewise.
33971         * libio/iosetvbuf.c: Likewise.
33972         * libio/ioungetc.c: Likewise.
33973         * libio/ioungetwc.c: Likewise.
33974         * libio/iovdprintf.c: Likewise.
33975         * libio/iovsprintf.c: Likewise.
33976         * libio/iovsscanf.c: Likewise.
33977         * libio/memstream.c: Likewise.
33978         * libio/obprintf.c: Likewise.
33979         * libio/oldfileops.c: Likewise.
33980         * libio/oldiofclose.c: Likewise.
33981         * libio/oldiofdopen.c: Likewise.
33982         * libio/oldiofopen.c: Likewise.
33983         * libio/oldiopopen.c: Likewise.
33984         * libio/oldstdfiles.c: Likewise.
33985         * libio/putc.c: Likewise.
33986         * libio/setbuf.c: Likewise.
33987         * libio/setlinebuf.c: Likewise.
33988         * libio/stdfiles.c: Likewise.
33989         * libio/strops.c: Likewise.
33990         * libio/vasprintf.c: Likewise.
33991         * libio/vscanf.c: Likewise.
33992         * libio/vsnprintf.c: Likewise.
33993         * libio/vswprintf.c: Likewise.
33994         * libio/wfiledoalloc.c: Likewise.
33995         * libio/wfileops.c: Likewise.
33996         * libio/wgenops.c: Likewise.
33997         * libio/wmemstream.c: Likewise.
33998         * libio/wstrops.c: Likewise.
33999         * libio/__fpurge.c: Likewise.
34000         * libio/__fsetlocking.c: Likewise.
34001         * assert/assert.c: Likewise.
34002         * debug/fgets_chk.c: Likewise.
34003         * debug/fgets_u_chk.c: Likewise.
34004         * debug/fread_chk.c: Likewise.
34005         * debug/fread_u_chk.c: Likewise.
34006         * debug/gets_chk.c: Likewise.
34007         * debug/obprintf_chk.c: Likewise.
34008         * debug/vasprintf_chk.c: Likewise.
34009         * debug/vdprintf_chk.c: Likewise.
34010         * debug/vsnprintf_chk.c: Likewise.
34011         * debug/vsprintf_chk.c: Likewise.
34012         * malloc/mtrace.c: Likewise.
34013         * misc/error.c: Likewise.
34014         * misc/syslog.c: Likewise.
34015         * stdio-common/asprintf.c: Likewise.
34016         * stdio-common/fxprintf.c: Likewise.
34017         * stdio-common/getw.c: Likewise.
34018         * stdio-common/isoc99_fscanf.c: Likewise.
34019         * stdio-common/isoc99_scanf.c: Likewise.
34020         * stdio-common/isoc99_vfscanf.c: Likewise.
34021         * stdio-common/isoc99_vscanf.c: Likewise.
34022         * stdio-common/isoc99_vsscanf.c: Likewise.
34023         * stdio-common/printf-prs.c: Likewise.
34024         * stdio-common/printf_fp.c: Likewise.
34025         * stdio-common/printf_fphex.c: Likewise.
34026         * stdio-common/printf_size.c: Likewise.
34027         * stdio-common/putw.c: Likewise.
34028         * stdio-common/scanf.c: Likewise.
34029         * stdio-common/sprintf.c: Likewise.
34030         * stdio-common/tmpfile.c: Likewise.
34031         * stdio-common/vfprintf.c: Likewise.
34032         * stdio-common/vfscanf.c: Likewise.
34033         * stdlib/strfmon_l.c: Likewise.
34034         * sunrpc/openchild.c: Likewise.
34035         * sunrpc/xdr_stdio.c: Likewise.
34036         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34037         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34038
34039 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34040
34041         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34042
34043         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34044         in the third column, to generate for the shared library an IFUNC
34045         that uses _dl_vdso_vsym.
34046         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34047         * Makeconfig (object-suffixes-noshared): New variable.
34048
34049         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34050         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34051         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34052         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34053
34054         [BZ #14132]
34055         * include/sys/time.h (__gettimeofday): Remove macro.
34056         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34057         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34058         Remove INTDEF.
34059         (__gettimeofday): Add libc_hidden_def.
34060         (gettimeofday): Add libc_hidden_weak.
34061         * sysdeps/mach/gettimeofday.c: Likewise.
34062         * sysdeps/posix/gettimeofday.c: Likewise.
34063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34064         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34066         (__gettimeofday_internal): Remove strong_alias.
34067         (__gettimeofday): Add libc_hidden_def.
34068         (gettimeofday): Add libc_hidden_weak.
34069         * sysdeps/unix/syscalls.list (gettimeofday):
34070         Remove __gettimeofday_internal alias.
34071
34072 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34073             H.J. Lu  <hongjiu.lu@intel.com>
34074
34075         [BZ #12495]
34076         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34077         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34078         (largebin_index_32_big): New.
34079         (largebin_index): Use it for 16-byte alignment.
34080         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34081         correction with front_misalign.
34082
34083 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34084
34085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34087         Likewise.
34088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34089         Likewise.
34090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34091         Likewise.
34092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34093         Likewise.
34094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34095         Likewise.
34096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34097         Likewise.
34098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34099         Likewise.
34100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34101         Likewise.
34102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34103         Likewise.
34104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34105         Likewise.
34106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34107         Likewise.
34108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34109         Likewise.
34110
34111         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34112         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34113
34114 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34115
34116         [BZ #10846]
34117         [BZ #14036]
34118         * math/libm-test.inc (exp_test): Add test from bug 14036.
34119         (pow_test): Add test from bug 10846.
34120
34121         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34122         and other flags.
34123         (special_function): Do not include flags in test name.
34124         (parse_args): Likewise.
34125         * sysdeps/i386/fpu/libm-test-ulps: Update.
34126         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34127         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34130
34131         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34132         exceptions.
34133         * math/libm-test.inc ("Philosophy"): Update comment about
34134         exception testing.
34135         (UNDERFLOW_EXCEPTION): New macro.
34136         (UNDERFLOW_EXCEPTION_OK): Likewise.
34137         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34138         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34139         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34140         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34141         (INVALID_EXCEPTION_OK): Update value.
34142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34143         (OVERFLOW_EXCEPTION_OK): Likewise.
34144         (IGNORE_ZERO_INF_SIGN): Likewise.
34145         (test_exceptions): Handle underflow exceptions.
34146         (acos_test): Update for underflow exception expectations.
34147         (cexp_test): Likewise.
34148         (clog_test): Likewise.
34149         (clog10_test): Likewise.
34150         (csqrt_test): Likewise.
34151         (ctan_test): Likewise.
34152         (ctanh_test): Likewise.
34153         (exp_test): Likewise.
34154         (exp10_test): Likewise.
34155         (exp2_test): Likewise.
34156         (expm1_test): Likewise.
34157         (fma_test): Likewise.
34158         (j0_test): Likewise.
34159         (jn_test): Likewise.
34160         (nexttoward_test): Likewise.
34161         (pow_test): Likewise.
34162         (scalbn_test): Likewise.
34163         (scalbln_test): Likewise.
34164         (tan_test): Likewise.
34165         (y1_test): Likewise.
34166         * sysdeps/i386/fpu/libm-test-ulps: Update.
34167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34168
34169 2012-05-23  David S. Miller  <davem@davemloft.net>
34170
34171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34172         (__libc_sigaction): Remove unused local variables.
34173
34174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34175
34176         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34177
34178 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34179
34180         mktime: avoid signed integer overflow
34181         * time/mktime.c (__mktime_internal): Do not mishandle the case
34182         where diff == INT_MIN.
34183
34184         mktime: simplify computation of average
34185         * time/mktime.c (ranged_convert): Use new time_t_avg function
34186         instead of rolling our own (probably-slower) code.
34187
34188         mktime: do not assume signed right shift propagates sign bit
34189         * time/mktime.c (isdst_differ): New static function.
34190         (__mktime_internal): No need to normalize tm_isdst now.
34191         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34192         tm_isdst values.
34193
34194         mktime: merge another wrapv change from gnulib
34195         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34196         from some compilers.
34197
34198         mktime: remove incorrect attempt at unusual arithmetics
34199         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34200         The code didn't really work on such machines anyway.
34201         (TYPE_MINIMUM): Assume two's complement.
34202         (twos_complement_arithmetic): Verify that long_int and time_t
34203         are two's complement (or unsigned, in the latter case).
34204
34205         mktime: check signed shifts on long_int and time_t, too
34206         * time/mktime.c (SHR): Check that shifts work as desired
34207         on the types long_int and time_t too, as SHR is used on
34208         such types.
34209
34210         mktime: do not assume 'long' is wide enough
34211         * time/mktime.c (verify): Move decl up.
34212         (long_int): New type.
34213         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34214         to remove assumption in the code that 'long' is wide enough to
34215         store year values.  This assumption is not true on x32 and on
34216         some non-glibc platforms.
34217
34218         mktime: merge wrapv change from gnulib
34219         * time/mktime.c (WRAPV): New macro.
34220         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34221         (guess_time_tm, __mktime_internal): Do not assume that signed
34222         integer overflow wraps around; modern compilers generate code
34223         where this assumption is no longer valid.
34224
34225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34226
34227         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34228         Replace "jmp L(pseudo_end)" with "ret".
34229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34230         Likewise.
34231
34232 2012-05-23  Andreas Jaeger  <aj@suse.de>
34233
34234         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34235         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34236
34237 2012-05-23  Andreas Jaeger  <aj@suse.de>
34238             Maximilian Attems  <max@stro.at>
34239
34240         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34241         New macros.
34242
34243 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34244
34245         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34246         code so that pseudo_end is just ret and the stack pointer is
34247         correct also for static library in error case.
34248
34249 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34250
34251         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34252         move to syscalls.list.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34257
34258         * manual/install.texi (Running make install): Do not mention Linux
34259         kernel version for which pt_chown is not needed.
34260         (Linux): Do not mention problems with nscd with 2.0 kernels.
34261         * INSTALL: Regenerated.
34262
34263 2012-05-23  Andreas Jaeger  <aj@suse.de>
34264
34265         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34266         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34267         macro.
34268         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34270         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34271         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34272         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34274         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34275         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34277         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34278         * sysdeps/unix/sysv/linux/bits/in.h
34279         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34280
34281 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34282
34283         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34284         (PREPARE_VERSION): Just use assert instead, it will be elided
34285         under [NDEBUG] anyway.
34286
34287 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34288
34289         * sysdeps/unix/sysv/linux/Makefile: Include
34290         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34291         (sysdep_routines): Remove sysctl.
34292         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34293         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34294         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34295         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34296         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34297
34298 2012-05-22  Andreas Jaeger  <aj@suse.de>
34299
34300         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34301         that pseudo_end is just ret and the stack pointer is correct also
34302         for static library in error case.
34303
34304 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34305
34306         [BZ #14122]
34307         * nss/nsswitch.c (defconfig_entries): New variable.
34308         (__nss_database_lookup): Don't leak defconfig entries.
34309         (nss_parse_service_list): Don't leak on error paths.
34310         (free_database_entries): New function.
34311         (free_defconfig): New function.
34312         (free_mem): Move common code to free_database_entries.
34313
34314 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34315
34316         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34317         Add arch_prctl.
34318         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34319
34320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34321         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34323         New macro.
34324         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34325         (INTERNAL_SYSCALL_TYPES): Likewise.
34326         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34327         (LOAD_REGS_TYPES_[1-6]): Likewise.
34328         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34329         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34330
34331 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34332
34333         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34334         copysignl for GLIBC_2_0.
34335         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34336         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34338         logbl for GLIBC_2_0.
34339         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34340         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34341
34342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34343
34344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34345         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34346
34347         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34348         Use "neg %eax".
34349
34350         * time/mktime.c: Update copyright years.
34351
34352 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34353
34354         mktime: merge comment-quoting-style change from gnulib
34355         * time/mktime.c: Quote 'like this' in comments.
34356         The GNU coding standards suggest that we no longer quote `like this',
34357         as "`" and "'" are typically rendered asymmetrically nowadays.
34358         The typical gnulib style is to quote 'like this' when quoting
34359         code, and "like this" when quoting English.
34360
34361         * time/mktime.c (compile-command): Add "-I.".
34362
34363         mktime: merge mktime-internal.h change from gnulib
34364         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34365
34366         mktime: merge time_r change from gnulib
34367         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34368
34369         mktime: merge DEBUG change from gnulib
34370         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34371         case system <time.h> has a #define.
34372
34373         mktime: merge <sys/types.h> change from gnulib
34374         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34375         since <time.t> is now guaranteed to define time_t.
34376
34377         mktime: merge HAVE_CONFIG_H change from gnulib
34378         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34379
34380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34381
34382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34383         Use "neg %eax".
34384
34385         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34386         __rlim_t cast.
34387         (struct rusage): Use anonymous union to pad each field to
34388         __syscall_slong_t.
34389
34390 2012-05-21  David S. Miller  <davem@davemloft.net>
34391
34392         * Makefules (o-iterator): Remove .s cases.
34393         (compile-command.s): Delete.
34394         (COMPILE.s): Delete.
34395         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34396
34397 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34398
34399         * configure.in (libc_cv_predef_stack_protector): Only consider
34400         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34401         * configure: Regenerated.
34402
34403 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34404
34405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34406         New macro.  Use R*LP on int and pointer.
34407         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34408         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34409         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34410         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34411
34412         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34413         [__WORDSIZE_TIME64_COMPAT32] instead of
34414         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34415         (struct utmp): Likewise.
34416         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34417         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34418         Renamed to ...
34419         (__WORDSIZE_TIME64_COMPAT32): This.
34420         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34421         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34422         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34423         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34424         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34425         (__WORDSIZE_TIME64_COMPAT32): New macro.
34426
34427 2012-05-21  Andreas Jaeger  <aj@suse.de>
34428
34429         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34430         only if [SHARED]. Add prototype for __wcschr_ia32.
34431
34432 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34433
34434         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34435         of %rbp unmolested in the jmp_buf while mangling the low bits.
34436         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34437         unmolested high bits of %rbp while demangling the low bits.
34438         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34439
34440 2012-05-21  Andreas Jaeger  <aj@suse.de>
34441
34442         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34443         * sunrpc/svc_simple.c: Use it for registerrpc.
34444         * sunrpc/xcrypt.c: Use it for passwd2des.
34445
34446         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34447
34448 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34449
34450         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34451         Don't define if [__SYSCALL_WORDSIZE != 32].
34452         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34453         New macro.
34454
34455 2012-05-21  Bruno Haible  <bruno@clisp.org>
34456             Andreas Jaeger  <aj@suse.de>
34457
34458         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34459         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34460         inptr and inend for must_buffer_ch.
34461         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34462         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34463         * stdio-common/Makefile (tests): Remove bug15.
34464         (bug15-ENV): Remove macro.
34465         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34466         anymore.
34467
34468 2012-05-19  Andreas Jaeger  <aj@suse.de>
34469             Roland McGrath  <roland@hack.frob.com>
34470
34471         * manual/contrib.texi: Completely rewritten. It contains now an
34472         alphabetical list of contributors and their contributions.
34473
34474 2012-05-21  Richard Henderson  <rth@twiddle.net>
34475
34476         * misc/getauxval.c (__getauxval): Use unsigned long int.
34477         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34478         (getauxval): Use unsigned long int.
34479
34480 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34481
34482         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34483
34484 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34485
34486         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34487         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34488         __alignof__ (long double).
34489
34490 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34491
34492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34493
34494 2012-05-20  Richard Henderson  <rth@twiddle.net>
34495
34496         * misc/getauxval.c: New file.
34497         * misc/sys/auxv.h: New file.
34498         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34499         (routines): Add getauxval.
34500         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34502         * elf/dl-sysdep.c (_dl_auxv): Remove.
34503         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34504         * elf/dl-support.c (_dl_auxv): New variable.
34505         (_dl_aux_init): Initialize it.
34506         * manual/startup.texi (Auxiliary Vector): New node.
34507         * sysdeps/generic/bits/hwcap.h: New file.
34508         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34509         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34510         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34511         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34512         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34515         Update.
34516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34524
34525 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34526
34527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34528
34529 2012-05-19  David S. Miller  <davem@davemloft.net>
34530
34531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34532
34533 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34534
34535         [BZ #14123]
34536         * math/s_ccosh.c: Include <float.h>
34537         (__ccosh): Avoid internal overflow calculating sinh and cosh
34538         values before multiplying by sin and cos values.
34539         * math/s_ccoshf.c: Likewise.
34540         * math/s_ccoshl.c: Likewise.
34541         * math/s_csin.c: Likewise.
34542         * math/s_csinf.c: Likewise.
34543         * math/s_csinl.c: Likewise.
34544         * math/s_csinh.c: Likewise.
34545         * math/s_csinhf.c: Likewise.
34546         * math/s_csinhl.c: Likewise.
34547         * math/libm-test.inc (ccos_test): Add more tests.
34548         (ccosh_test): Likewise.
34549         (csin_test): Likewise.
34550         (csinh_test): Likewise.
34551         * sysdeps/i386/fpu/libm-test-ulps: Update.
34552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34553
34554 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34555
34556         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34557         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34558
34559         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34560
34561 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34562
34563         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34564         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34565         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34566         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34567         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34568         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34569         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34570         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34571         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34572         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34573         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34574         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34575         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34576         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34577         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34578         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34579         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34580         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34581         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34582         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34583         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34584         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34585         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34586         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34587         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34588         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34589         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34590         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34591         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34592         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34593         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34594
34595 2012-05-18  Andreas Jaeger  <aj@suse.de>
34596
34597         * csu/.gitignore: Delete.
34598
34599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34600
34601         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34602         (timex): Use __syscall_slong_t.
34603
34604 2012-05-18  Andreas Jaeger  <aj@suse.de>
34605             Carlos O'Donell  <carlos_odonell@mentor.com>
34606
34607         * manual/install.texi (Configuring and compiling): Update
34608         description about files modified in the source directory.
34609         * INSTALL: Regenerated.
34610
34611 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34612
34613         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34614         value.  Use "or" to set return value to -1.
34615         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34616         negate return value.
34617
34618 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34619
34620         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34621         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34622         failure if the compiler has Graphite support disabled.
34623         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34624         Likewise.
34625         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34626         (CFLAGS-memmove.c): Likewise.
34627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34628         Likewise.
34629
34630 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34631
34632         * sysdeps/x86_64/x32/_itoa.h: New file.
34633
34634         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34635         getdents system call only if kernel and user dirents have the
34636         same d_ino and d_off.
34637
34638         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34639         LLONG_MAX != LONG_MAX.
34640         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34641         (_fitoa_word): Likewise.
34642
34643         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34644         years.
34645         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34646         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34647         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34648
34649         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34650         include <bits/wordsize.h>.  Check __x86_64__ instead of
34651         __WORDSIZE.
34652         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34653         if __x86_64__ is defined.  Use anonymous union on fpstate.
34654
34655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34656         anonymous union.
34657
34658 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34659
34660         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34661         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34662         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34663         Refer to _rtld_local_ro instead of _rtld_global_ro.
34664         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34665         Likewise.
34666         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34667         Likewise.
34668         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34669         Likewise.
34670         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34671         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34672         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34673
34674         * sysdeps/powerpc/powerpc32/dl-machine.c
34675         (__elf_machine_runtime_setup) [PROF]: Don't reference
34676         _dl_prof_resolve.
34677
34678 2012-05-18  Andreas Jaeger  <aj@suse.de>
34679
34680         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34681         function only available for GCCs before 3.4 since GCC 3.4
34682         introduced a builtin.
34683         (lrint): Likewise.
34684         (llrintf): Likewise.
34685         (llrint): Likewise.
34686         (fmaxf): Likewise.
34687         (fmax): Likewise.
34688         (fminf): Likewise.
34689         (fmin): Likewise.
34690         (rint): Likewise.
34691         (rintf): Likewise.
34692         (nearbyint): Likewise.
34693         (nearbyintf): Likewise.
34694         (ceil): Likewise.
34695         (ceilf): Likewise.
34696         (floor): Likewise.
34697         (floorf): Likewise.
34698
34699 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34700
34701         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34702         on both fields and cast pointer to __syscall_ulong_t.
34703
34704         * bits/types.h (__fsword_t): New type.
34705         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34706         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34708         (__FSWORD_T_TYPE): Likewise.
34709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34710         (__FSWORD_T_TYPE): Likewise.
34711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34712         (__FSWORD_T_TYPE): Likewise.
34713         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34714         (__FSWORD_T_TYPE): Likewise.
34715         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34716         __SWORD_TYPE with __fsword_t.
34717         (statfs64): Likewise.
34718
34719 2012-05-17  David S. Miller  <davem@davemloft.net>
34720
34721         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34722
34723 2012-05-17  Andreas Jaeger  <aj@suse.de>
34724
34725         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34726         warning.
34727
34728 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34729
34730         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34731
34732 2012-05-17  Andreas Jaeger  <aj@suse.de>
34733
34734         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34735         when it is used.
34736
34737 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34738
34739         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34740
34741 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34742
34743         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34744         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34745
34746 2012-05-17  Andreas Jaeger  <aj@suse.de>
34747             Carlos O'Donell  <carlos_odonell@mentor.com>
34748
34749         [BZ #14059]
34750         * sysdeps/x86_64/multiarch/init-arch.h
34751         (bit_YMM_Usable): Rename to...
34752         (bit_AVX_Usable): ... this.
34753         (bit_FMA4_Usable): New macro.
34754         (bit_XMM_state): New macro.
34755         (bit_YMM_state): New macro.
34756         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34757         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34758         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34759         (CPUID_OSXSAVE): New macro.
34760         (CPUID_AVX): New macro.
34761         (CPUID_FMA4): New macro.
34762         (index_YMM_Usable): Rename to...
34763         (index_AVX_Usable): ... this.
34764         (HAS_AVX): Use HAS_ARCH_FEATURE.
34765         (HAS_FMA4): Likewise.
34766         (HAS_YMM_USABLE): Remove.
34767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34768         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34769         are present.
34770         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34771         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34772         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34773         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34774         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34775
34776 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34777
34778         * math/libm-test.c: Support platforms without multiple rounding modes.
34779         * math/bug-nextafter.c: Support platforms without FP exceptions.
34780         * math/bug-nexttoward.c: Likewise.
34781         * math/test-fenv.c: Likewise.
34782         * math/test-misc.c: Likewise.
34783         * stdlib/bug-getcontext.c: Likewise.
34784
34785 2012-05-17  Andreas Jaeger  <aj@suse.de>
34786
34787         * manual/examples/search.c (critter_cmp): Change signature to
34788         avoid warnings.
34789         * manual/string.texi (Collation Functions): Likewise.
34790
34791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34792
34793         * bits/types.h: Fold copyright years.
34794         * bits/typesizes.h: Likewise.
34795         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34799         * time/time.h: Likewise.
34800
34801 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34802
34803         [BZ #208]
34804         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34805         in instead of returning them.  Return void.
34806         (__libc_mallinfo): Accumulate over all arenas.
34807         (__malloc_stats): Adjust for change in int_mallinfo interface.
34808
34809 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34810
34811         [BZ #10375]
34812         * configure.in (NM): Add AC_CHECK_TOOL for it.
34813         (libc_extra_cflags): New substituted variable.
34814         Check for -fstack-protector being used implicitly.
34815         * configure: Regenerated.
34816         * config.make.in (config-extra-cflags): New variable,
34817         gets @libc_extra_cflags@.
34818         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34819
34820         [BZ #10375]
34821         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34822         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34823         * configure: Regenerated.
34824         * config.make.in (CPPUNDEFS): New substituted variable.
34825         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34826         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34827         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34828
34829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34830
34831         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34832         (mq_attr): Use __syscall_slong_t.
34833
34834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34835
34836         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34837         Check __x86_64__ instead of __WORDSIZE.
34838         (_STAT_VER_LINUX): Likewise.
34839         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34840         __syscall_ulong_t and __syscall_slong_t.
34841         (stat64): Likewise.
34842
34843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34844
34845         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34846
34847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34848
34849         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34850
34851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34852
34853         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34854         __syscall_ulong_t.
34855
34856         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34857         include <bits/wordsize.h>.  Check __x86_64__ instead of
34858         __WORDSIZE.
34859         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34860         defined.
34861         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34862
34863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34864         include <bits/wordsize.h>.  Check __x86_64__ instead of
34865         __WORDSIZE.
34866         (user_regs_struct): Use "__extension__ unsigned long long"
34867         instead of "unsigned long" if __x86_64__ is defined.
34868         (user): Likewise.  Pad after pointer field if __ILP32__ is
34869         defined.
34870
34871 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34872
34873         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34874         versions 5 to 9.
34875         * configure: Regenerated.
34876         * manual/install.texi (texinfo): Increase version requirement to
34877         4.5 or later.
34878         * INSTALL: Regenerated.
34879
34880         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34881
34882 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34883
34884         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34885
34886         * sysdeps/x86_64/x32/ffs.c: New file.
34887
34888         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34889         __syscall_ulong_t.
34890         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34891         defined.  Use __syscall_ulong_t.
34892         (shminfo): Use __syscall_ulong_t.
34893         (shm_info): Likewise.
34894
34895         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34896         __syscall_ulong_t.
34897
34898         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34899         <bits/wordsize.h>.
34900         (msgqnum_t): Use __syscall_ulong_t.
34901         (msglen_t): Likewise.
34902         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34903         __syscall_ulong_t.
34904
34905         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34906         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34907
34908         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34909
34910         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34911         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34912
34913         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34914         __syscall_slong_t.
34915
34916         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34917         include <bits/wordsize.h>.  Check __x86_64__ instead of
34918         __WORDSIZE.
34919
34920         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34921         "unsigned long long int" if __x86_64__ is defined.
34922         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34923
34924         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34925         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34926         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34927
34928         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34929         <stdint.h>.
34930         (GET_PC): Cast to uintptr_t first.
34931         (GET_FRAME): Likewise.
34932         (GET_STACK): Likewise.
34933
34934         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34935         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34936         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34937         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34938         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34939         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34940         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34941         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34942         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34943         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34945         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34946         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34947         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34948         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34949         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34950         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34951         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34952         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34953         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34954         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34955         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34956         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34957         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34958         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34959         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34961         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34962         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34963
34964 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34965
34966         * Makerules (+depfiles): Also collect depfiles from .oS in
34967         $(extra-objs).
34968         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34969         .oS, $(libnldbl-routines)).
34970
34971         * Makerules (native-compile-mkdep-flags): Define.
34972         * sunrpc/Makefile (extra-objs): Add $(addprefix
34973         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34974         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34975         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34976         calling $(make-target-directory).
34977
34978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34979
34980         * bits/types.h (__snseconds_t): Removed.
34981         * time/time.h (struct timespec): Replace __snseconds_t with
34982         __syscall_slong_t.
34983         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34984         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34985         Likewise.
34986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34987         (__SNSECONDS_T_TYPE): Likewise.
34988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34989         (__SNSECONDS_T_TYPE): Likewise.
34990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34991         (__SNSECONDS_T_TYPE): Likewise.
34992
34993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34994
34995         * sysdeps/mach/hurd/bits/typesizes.h
34996         (__SYSCALL_SLONG_TYPE): New macro.
34997         (__SYSCALL_ULONG_TYPE): Likewise.
34998
34999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35000
35001         * bits/types.h (__syscall_slong_t): New type.
35002         (__syscall_ulong_t): Likewise.
35003
35004         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35005         (__SYSCALL_ULONG_TYPE): Likewise.
35006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35007         (__SYSCALL_SLONG_TYPE): Likewise.
35008         (__SYSCALL_ULONG_TYPE): Likewise.
35009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35010         (__SYSCALL_SLONG_TYPE): Likewise.
35011         (__SYSCALL_ULONG_TYPE): Likewise.
35012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35013         (__SYSCALL_SLONG_TYPE): Likewise.
35014         (__SYSCALL_ULONG_TYPE): Likewise.
35015
35016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35017
35018         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35019         Add sigaltstack-offsets.sym.
35020         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35021         <sigaltstack-offsets.h>.
35022         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35023         longjmp_msg pointer.
35024         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35025         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35026         signal stack.
35027         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35028
35029 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35030
35031         * elf/stackguard-macros.h: Remove file.
35032         * sysdeps/generic/stackguard-macros.h: New file.
35033         * sysdeps/i386/stackguard-macros.h: Likewise.
35034         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35035         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35036         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35037         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35038         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35039         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35040         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35041         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35042         <elf/stackguard-macros.h>.
35043
35044         [BZ #14109]
35045         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35046         __aligned__ in attribute.
35047         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35048         (gregset_t): Likewise.
35049
35050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35051
35052         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35053         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35054         * sysdeps/x86_64/x32/Implies-after: New file.
35055
35056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35057
35058         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35059         and access return value for _dl_profile_fixup.  Use R10_LP to
35060         load frame size.
35061
35062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35063
35064         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35065
35066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35067
35068         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35069         * sysdeps/x86_64/x32/sysdep.h: New file.
35070
35071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35072
35073         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35074         * sysdeps/x86_64/setjmp.S: Likewise.
35075
35076 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35077
35078         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35079         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35080         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35081         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35082         remove unused global constant.
35083
35084 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35085
35086         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35087         include of <not-cancel.h>.
35088
35089 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35090
35091         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35092
35093 2012-05-15  Jeff Law  <law@redhat.com>
35094             Andreas Jaeger  <aj@suse.de>
35095
35096         [BZ #13594]
35097         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35098         out from...
35099         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35100         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35101         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35102         code changing __hst_map_handle.map.
35103
35104 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35105
35106         * configure.in (sysnames): Look for Implies-before and Implies-after
35107         files.
35108         * configure: Regenerated.
35109
35110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35111
35112         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35113         8-byte data alignment with LP_SIZE alignment.
35114
35115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35116
35117         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35118         into R10_LP.
35119
35120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35121
35122         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35123
35124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35125
35126         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35127         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35128         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35129         Likewise.
35130         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35131
35132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35133
35134         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35135         (stackinfo_sub_sp): Likewise.
35136
35137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35138
35139         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35140         RAX_LP.
35141
35142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35143
35144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35145         into R*_LP.
35146
35147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35148
35149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35150         sizes into R*_LP.
35151
35152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35153
35154         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35155
35156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35157
35158         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35159         into R11_LP and load __x86_64_shared_cache_size_half into
35160         R8_LP.
35161
35162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35163
35164         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35165         R8_LP.
35166
35167 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35168
35169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35170         logb for POWER7.
35171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35172         logbf for POWER7.
35173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35174         logbl for POWER7.
35175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35176         powerpc32/power7/fpu/s_logb.c via #include.
35177         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35178         powerpc32/power7/fpu/s_logbf.c via #include.
35179         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35180         powerpc32/power7/fpu/s_logbl.c via #include.
35181
35182 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35183
35184         * README.libm: Remove file.
35185
35186 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35187
35188         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35189         count for x32.  Use R*_LP and omit operand-size suffix.
35190
35191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35192
35193         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35194         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35195         * sysdeps/x86_64/x32/shlib-versions: New file.
35196
35197 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35198
35199         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35200         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35201         Use _dl_fatal_printf instead.
35202
35203 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35204
35205         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35206         set if not set by the user.  Do not allow for being unset.
35207         * sysdeps/unix/sysv/linux/configure: Regenerated.
35208
35209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35210
35211         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35212         the `q' suffix from lea and replace .quad with ASM_ADDR.
35213
35214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35215
35216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35217         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35218         instead of $17.
35219         (PTR_DEMANGLE): Likewise.
35220
35221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35222
35223         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35224         (LP_OP): Likewise.
35225         (ASM_ADDR): Likewise.
35226         (RAX_LP): Likewise.
35227         (RBP_LP): Likewise.
35228         (RBX_LP): Likewise.
35229         (RCX_LP): Likewise.
35230         (RDI_LP): Likewise.
35231         (RSI_LP): Likewise.
35232         (RSP_LP): Likewise.
35233         (R8_LP): Likewise.
35234         (R9_LP): Likewise.
35235         (R10_LP): Likewise.
35236         (R10_LP): Likewise.
35237         (R11_LP): Likewise.
35238         (R12_LP): Likewise.
35239         (R13_LP): Likewise.
35240         (R14_LP): Likewise.
35241         (R15_LP): Likewise.
35242
35243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         * sysdeps/x86_64/x32/dl-machine.h: New file.
35246
35247 2012-05-14  Andreas Jaeger  <aj@suse.de>
35248
35249         * manual/Makefile (subdir): Remove export of subdir.
35250         (all): Remove target.
35251         (.PHONY): Remove all from list.
35252         (mkinstalldirs): Remove.
35253         (.PHONY): Remove installdirs from list.
35254         ($(inst_infodir)/libc.info): Use make-target-directory.
35255         (installdirs): Remove.
35256         (subdir_%): Remove.
35257         (glibc-targets): Remove.
35258         (lib): Remove.
35259         (stubs): Remove.
35260         ($(objpfx)stubs ../po/manual.pot): Remove.
35261         ($(objpfx)stamp%): Remove.
35262         (make-target-directory): Remove.
35263         (subdir_install): Remove.
35264         (routines): Remove.
35265         (aux): Remove.
35266         (sources): Remove.
35267         (objects): Remove.
35268         (headers): Remove.
35269
35270         [BZ #13750]
35271         * manual/.gitignore: Remove, it's not needed anymore.
35272         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35273         all files in it.
35274         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35275         directory.
35276         (texis): Renamed to $(objpfx)texis.
35277         (texis-path): New, contains path to generated files.
35278         (chapters.%): Use texis-path for complete path, add extra argument
35279         libc-texinfo.sh.
35280         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35281         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35282         (summary,texi, stamp-summary): Use complete path of
35283         files. Generate files in build dir.
35284         (dir-add.texi): Build in build dir.
35285         (libm-err.texi,stamp-libm-err): Likewise.
35286         (version.texi, stamp-version): Likewise.
35287         (.%c.texi): Likewise.
35288         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35289         (mostlyclean): Remove target.
35290         (realclean): Remove target.
35291         (generated): Add new variable with contents from mostlyclean and
35292         realclean, remove entries duplicated in common-mostlyclean, add
35293         stamp-libm-err and stamp-version.
35294         (generated-dirs): Add libc directory.
35295         ($(inst_infodir)/libc.info): Install files from build dir.
35296
35297         * manual/install.texi (Configuring and compiling): Adjust since
35298         the info files are not part of the tar ball anymore.
35299
35300 2012-05-14  Andreas Jaeger  <aj@suse.de>
35301
35302         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35303         variable.
35304
35305 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35306
35307         [BZ #13717]
35308         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35309         to 2.2.0 where earlier.
35310         * sysdeps/unix/sysv/linux/configure: Regenerated.
35311         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35312         Remove conditional code.
35313         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35314         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35315         Remove conditional code.
35316         [!__NR_lchown]: Likewise.
35317         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35318         [__NR_lchown]: Likewise.
35319         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35320         comment referencing __ASSUME_LCHOWN_SYSCALL.
35321         * sysdeps/unix/sysv/linux/i386/sigaction.c
35322         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35323         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35324         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35325         Remove conditional code.
35326         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35327         (__protocol_available): Remove #if 0 code.
35328         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35329         conditional code.
35330         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35331         * sysdeps/unix/sysv/linux/kernel-features.h
35332         (__ASSUME_GETCWD_SYSCALL): Don't define.
35333         (__ASSUME_REALTIME_SIGNALS): Likewise.
35334         (__ASSUME_PREAD_SYSCALL): Likewise.
35335         (__ASSUME_PWRITE_SYSCALL): Likewise.
35336         (__ASSUME_POLL_SYSCALL): Likewise.
35337         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35338         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35339         non-SPARC.
35340         (__ASSUME_SIOCGIFNAME): Don't define.
35341         (__ASSUME_MSG_NOSIGNAL): Likewise.
35342         (__ASSUME_SENDFILE): Define unconditionally.
35343         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35344         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35345         conditional code.
35346         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35347         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35348         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35349         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35350         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35351         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35352         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35354         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35357         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35358         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35360         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35363         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35366         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35369         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35372         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35373         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35375         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35377         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35378         Remove conditional code.
35379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35380         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35381         Remove conditional code.
35382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35383         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35384         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35385         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35386         Remove conditional code.
35387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35388         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35389         Remove conditional code.
35390         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35391         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35392         Remove conditional code.
35393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35394         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35395         Remove conditional code.
35396         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35397         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35398         Remove conditional code.
35399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35400         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35401         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35403         * sysdeps/unix/sysv/linux/sigaction.c
35404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35406         * sysdeps/unix/sysv/linux/sigpending.c
35407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35409         * sysdeps/unix/sysv/linux/sigprocmask.c
35410         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35411         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35412         * sysdeps/unix/sysv/linux/sigsuspend.c
35413         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35414         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35416         (__libc_missing_rt_sigs): Remove.
35417         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35418         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35419         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35420         Remove conditional code.
35421         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35422         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35423         return 1.
35424         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35425         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35426         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35427         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35428
35429 2012-05-14  Andreas Jaeger  <aj@suse.de>
35430
35431         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35432         it's not used in glibc.
35433         (__coshm1): Likewise.
35434         (__acosh1p): Likewise.
35435         (__sgn): Likewise.
35436
35437         * manual/string.texi (Copying and Concatenation): Add missing
35438         variable in concat example.
35439         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35440
35441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35442
35443         [BZ #14103]
35444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35445         __builtin_clzl with __builtin_clzll.
35446
35447 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35448
35449         [BZ #14104]
35450         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35451         libc_freeres_ptr.
35452
35453 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35454
35455         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35456         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35457         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35458         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35459
35460 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35461
35462         * NEWS: Update ia64 info.
35463
35464 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35465
35466         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35467         used as bcopy.
35468
35469 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35470
35471         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35472         * sysdeps/unix/syscalls.list (dup3): Likewise.
35473         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35474         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35475
35476 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35477
35478         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35479         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35480
35481 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35482
35483         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35484         thread pointer.
35485         (TLS_IE): Use mov/add instead of movq/addq to load thread
35486         pointer.
35487         (TLS_GD_PREFIX): New.
35488         (TLS_GD): Use it.
35489
35490 2012-05-11  David S. Miller  <davem@davemloft.net>
35491
35492         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35493         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35494         (_FPU_SETCW): Likewise.
35495
35496 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35497
35498         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35499         is 32-byte aligned.
35500
35501 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35502
35503         [BZ #11837]
35504         * iconvdata/gb18030.c: Update tables.
35505         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35506         characters specially.
35507         (BODY for TO_LOOP): Add encoding of missing ranges.
35508
35509 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35510
35511         [BZ #13673]
35512         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35513         * sysdeps/mach/hurd/dup3.c: Likewise.
35514         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35515         * sysdeps/powerpc/memmove.c:: Likewise.
35516
35517 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35518
35519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35520         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35521
35522 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35523
35524         * elf/elf.h (R_X86_64_RELATIVE64): New.
35525         (R_X86_64_NUM): Updated.
35526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35527         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35528         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35529         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35530         tst-quad1pie tst-quad2pie
35531         (modules-names): Add tst-quadmod1 tst-quadmod2.
35532         ($(objpfx)tst-quad1): New dependency.
35533         ($(objpfx)tst-quad2): Likewise.
35534         ($(objpfx)tst-quad1pie): Likewise.
35535         ($(objpfx)tst-quad2pie): Likewise.
35536         * sysdeps/x86_64/tst-quad1.c: New file.
35537         * sysdeps/x86_64/tst-quad1pie.c: New file.
35538         * sysdeps/x86_64/tst-quad2.c: Likewise.
35539         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35540         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35541         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35542         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35543         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35544
35545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35546
35547         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35548         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35549         * streams/stropts.h (t_scalar_t): Define type.
35550
35551         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35552         (_PATH_PRESERVE): Set to "/var/lib".
35553         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35554
35555         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35556         instead of int.
35557
35558         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35559         if __dir_mkfile succeeded.
35560
35561         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35562         checking for _hurd_dtablesize.  Unlock it right after having
35563         finished _hurd_dtable allocation.
35564
35565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35566
35567         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35568         * sysdeps/mach/hurd/configure: Regenerated.
35569         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35570         special-casing to...
35571         * sysdeps/gnu/configure.in: ... this new file.
35572         * sysdeps/unix/sysv/linux/configure: Regenerated.
35573         * sysdeps/gnu/configure: New generated file.
35574
35575         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35576         for Linux: use nsec instead of usec, as well as:
35577         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35578         members of type struct timespec.
35579         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35580         New macros.
35581         (struct stat64): Likewise.
35582         (_STATBUF_ST_NSEC): New macro.
35583         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35584
35585         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35586         __strtoul_internal rather than strtoul.
35587
35588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35589
35590         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35591         and reject them.
35592
35593 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35594
35595         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35596         which preserves existing values.
35597         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35598
35599 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35600
35601         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35602         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35603         greater than FD_SETSIZE.
35604
35605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35606
35607         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35608         allocated, call __vm_protect to finish enabling the existing space, and
35609         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35610         allocate the remainder.
35611
35612 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35613
35614         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35615         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35616
35617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35618
35619         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35620         sysdeps/mach/hurd/readlink.c.
35621
35622         * posix/tst-sysconf.c (posix_options): Only use
35623         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35624         _POSIX_SYNCHRONIZED_IO when they are defined
35625         * sysdeps/mach/hurd/bits/posix_opt.h:
35626         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35627         (_XOPEN_REALTIME): Undefine macro.
35628         (_XOPEN_REALTIME_THREADS): Undefine macro.
35629         (_XOPEN_SHM): Undefine macro.
35630         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35631         macro to -1.
35632         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35633         macro to -1.
35634         (_POSIX_ASYNC_IO): Undefine macro.
35635         (_POSIX_PRIORITIZED_IO): Undefine macro.
35636         (_POSIX_SPIN_LOCKS): Define macro to -1.
35637
35638         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35639         SA_NODEFER, SA_RESETHAND.
35640         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35641         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35642         F_DUPFD_CLOEXEC.
35643
35644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35645
35646         * elf/Makefile (pldd-modules): Define unconditionally.
35647
35648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35649
35650         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35651
35652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35653
35654         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35655         Return ENOENT when name is empty.
35656         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35657
35658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35659
35660         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35661
35662         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35663
35664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35665
35666         Fix mlock in all cases except non-readable pages.
35667         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35668         instead of VM_PROT_ALL as parameter to __vm_wire function.
35669
35670         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35671         (__mkdir): When path is `/', just fail with EEXIST.
35672         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35673
35674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35675
35676         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35677         <sys/uio.h> (for writev).
35678         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35679         and <sys/param.h> (for MIN).
35680
35681 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35682
35683         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35684         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35685         if interrupted.
35686
35687 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35688
35689         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35690         Depend on against $(link-rpcuserlibs).
35691
35692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35693
35694         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35695         (__libc_stack_end): Do not use attribute_relro.
35696         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35697         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35698         to libthread-provided value.
35699         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35700         attribute_relro.
35701
35702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35703
35704         [BZ #3748]
35705         * bits/libc-lock.h (__libc_once_get): New macro.
35706         * sysdeps/mach/bits/libc-lock.h: Likewise.
35707         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35709         instead of using implementation details.
35710
35711         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35712         * libio/freopen.c: Likewise.
35713         * libio/freopen64.c: Likewise.
35714         * misc/syslog.c: Likewise.
35715         * nscd/connections.c: Likewise.
35716         * nscd/netgroupcache.c: Likewise.
35717         * sysdeps/posix/getcwd.c: Likewise.
35718
35719 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35720
35721         * math/w_ilogbf.c: Add #include <limits.h>.
35722
35723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35724
35725         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35726         path instead of returning without unlocking.
35727
35728         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35729         immediate-write ioctls.
35730         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35731
35732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35733
35734         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35735         __builtin_frame_address instead of making assumptions about the
35736         location of the return address relative to DATA.  Force early load of
35737         the return address.
35738         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35739         __builtin_frame_address.
35740
35741         dup3 for GNU Hurd.
35742         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35743         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35744         implement dup3 and do some further code clean-ups.
35745         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35746         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35747
35748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35749
35750         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35751
35752         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35753         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35754         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35755         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35756         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35757         d->port.lock.
35758
35759         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35760         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35761         when handler == SIG_ERR, not when handler != SIG_ERR.
35762
35763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35764
35765         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35766         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35767         definitions.
35768
35769         accept4 for GNU Hurd.
35770         * include/sys/socket.h (__libc_accept4): New prototype.
35771         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35772         to implement __libc_accept4.
35773         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35774         __libc_accept4.
35775         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35776
35777         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35778         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35779         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35780         signal-defines.sym.
35781
35782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35783
35784         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35785
35786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35787
35788         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35789         assertion on O_CLOEXEC flag.
35790         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35791         * hurd/intern-fd.c: Likewise.
35792         * hurd/port2fd.c: Likewise.
35793
35794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35795
35796         [BZ #3906]
35797         * bits/in.h (IPV6_PKTINFO): Define new macro.
35798         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35799
35800 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35801
35802         [BZ #13954]
35803         [BZ #13955]
35804         [BZ #13956]
35805         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35806         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35807         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35808         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35809         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35810         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35811         * math/libm-test.inc (logb_test) : Additional logb tests.
35812
35813 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35814             Andreas Jaeger  <aj@suse.de>
35815
35816         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35817         * configure: Regenerated.
35818         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35819         * config.make.in (link-obsolete-rpc): New substituted variable.
35820         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35821         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35822         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35823         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35824         so that libc.a contains the symbols.
35825         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35826         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35827         * sunrpc/auth_none.c: Likewise.
35828         * sunrpc/auth_unix.c: Likewise.
35829         * sunrpc/authdes_prot.c: Likewise.
35830         * sunrpc/authuxprot.c: Likewise.
35831         * sunrpc/clnt_gen.c: Likewise.
35832         * sunrpc/clnt_perr.c: Likewise.
35833         * sunrpc/clnt_raw.c: Likewise.
35834         * sunrpc/clnt_simp.c: Likewise.
35835         * sunrpc/clnt_tcp.c: Likewise.
35836         * sunrpc/clnt_udp.c: Likewise.
35837         * sunrpc/clnt_unix.c: Likewise.
35838         * sunrpc/des_crypt.c: Likewise.
35839         * sunrpc/des_soft.c: Likewise.
35840         * sunrpc/get_myaddr.c: Likewise.
35841         * sunrpc/key_call.c: Likewise.
35842         * sunrpc/key_prot.c: Likewise.
35843         * sunrpc/netname.c: Likewise.
35844         * sunrpc/pm_getmaps.c: Likewise.
35845         * sunrpc/pm_getport.c: Likewise.
35846         * sunrpc/pmap_clnt.c: Likewise.
35847         * sunrpc/pmap_prot.c: Likewise.
35848         * sunrpc/pmap_prot2.c: Likewise.
35849         * sunrpc/pmap_rmt.c: Likewise.
35850         * sunrpc/publickey.c: Likewise.
35851         * sunrpc/rpc_cmsg.c: Likewise.
35852         * sunrpc/rpc_common.c: Likewise.
35853         * sunrpc/rpc_dtable.c: Likewise.
35854         * sunrpc/rpc_prot.c: Likewise.
35855         * sunrpc/rpc_thread.c: Likewise.
35856         * sunrpc/rtime.c: Likewise.
35857         * sunrpc/svc.c: Likewise.
35858         * sunrpc/svc_auth.c: Likewise.
35859         * sunrpc/svc_raw.c: Likewise.
35860         * sunrpc/svc_run.c: Likewise.
35861         * sunrpc/svc_tcp.c: Likewise.
35862         * sunrpc/svc_udp.c: Likewise.
35863         * sunrpc/svc_unix.c: Likewise.
35864         * sunrpc/svcauth_des.c: Likewise.
35865         * sunrpc/xcrypt.c: Likewise.
35866         * sunrpc/xdr.c: Likewise.
35867         * sunrpc/xdr_array.c: Likewise.
35868         * sunrpc/xdr_float.c: Likewise.
35869         * sunrpc/xdr_intXX_t.c: Likewise.
35870         * sunrpc/xdr_mem.c: Likewise.
35871         * sunrpc/xdr_rec.c: Likewise.
35872         * sunrpc/xdr_ref.c: Likewise.
35873         * sunrpc/xdr_sizeof.c: Likewise.
35874         * sunrpc/xdr_stdio.c: Likewise.
35875
35876 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35877
35878         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35879         change.  Update copyright years.
35880
35881 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35882
35883         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35884
35885 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35886             Joseph Myers  <joseph@codesourcery.com>
35887             Paul Pluzhnikov  <ppluzhnikov@google.com>
35888
35889         [BZ #14012]
35890         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35891         requiring rpcgen.
35892         [cross-compiling] (extra-libs): Likewise.
35893         [cross-compiling] (extra-libs-others): Likewise.
35894         [cross-compiling] (librpcsvc-routines): Likewise.
35895         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35896         [cross-compiling] (omit-deps): Likewise.
35897         (sunrpc-CPPFLAGS): New variable.
35898         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35899         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35900         (cross-rpcgen-objs): New variable.
35901         (extra-objs): Append $(cross-rpcgen-objs).
35902         ($(cross-rpcgen-objs)): New rule.
35903         ($(objpfx)cross-rpcgen): Likewise.
35904         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35905         comment.
35906         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35907         ($(objpfx)x%.stmp): Likewise.
35908         * sunrpc/proto.h [IS_IN_build] (_): Define.
35909         [IS_IN_build] (_libc_intl_domainname): Likewise.
35910
35911 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35912
35913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35914         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35915         and R_X86_64_TPOFF64.
35916
35917 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35918
35919         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35920         sysdeps/unix/sysv/syscalls.list.
35921         (stime): Likewise.
35922         (utime): Likewise.
35923         * sysdeps/unix/sysv/syscalls.list: Remove file.
35924
35925 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35926
35927         [BZ #3440]
35928         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35929         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35930         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35931         (__LC_IDENTIFICATION): Make these macros useful in #if
35932         expressions, as required by C99.
35933
35934 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35935
35936         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35937         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35938         after this.
35939
35940 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35941
35942         * stdlib/longlong.h: Updated from GCC.
35943
35944 2012-05-09  Andreas Jaeger  <aj@suse.de>
35945
35946         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35947         default is first entry.
35948         (run_mode): Set type.
35949         (main): Remove informal message about syslog.
35950         (options): Fix typo.
35951
35952         [BZ #14053]
35953         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35954         to asm.
35955         (lrint): Likewise.
35956         (llrintf): Likewise.
35957         (llrint): Likewise.
35958         (rint): Likewise.
35959         (rintf): Likewise.
35960         (nearbyint): Likewise.
35961         (nearbyintf): Likewise.
35962
35963 2012-05-09  Andreas Jaeger  <aj@suse.de>
35964             Pedro Alves  <palves@redhat.com>
35965
35966         * nscd/nscd.c (run_mode): Use enum.
35967         (main): Cleanup coding style issue.
35968
35969 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35970             Andreas Jaeger  <aj@suse.de>
35971
35972         * nscd/nscd.c (go_background): Replaced with...
35973         (run_mode): ... this.
35974         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35975         (options): Add -F --foreground.
35976         (main): Implement it.
35977         (parse_opt): Parse it.
35978
35979 2012-05-09  Andreas Jaeger  <aj@suse.de>
35980
35981         [BZ #14083]
35982         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35983         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35984         -Wconversion warning.
35985         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35986         Likewise.
35987
35988 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35989
35990         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35991         == 0.
35992         (LC_ALL): Use macro-int-constant.
35993         (LC_COLLATE): Likewise.
35994         (LC_CTYPE): Likewise.
35995         (LC_MESSAGES): Likewise.
35996         (LC_MONETARY): Likewise.
35997         (LC_NUMERIC): Likewise.
35998         (LC_TIME): Likewise.
35999         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36000         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36001         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36002         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36003         Specify type.
36004         [C99-based standards] (float_t): Expect type.
36005         [C99-based standards] (double_t): Expect type.
36006         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36007         type.
36008         [C99-based standards] (HUGE_VALL): Likewise.
36009         [C99-based standards] (INFINITY): Likewise.
36010         [C99-based standards] (NAN): Likewise.
36011         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36012         [C99-based standards] (FP_NAN): Likewise.
36013         [C99-based standards] (FP_NORMAL): Likewise.
36014         [C99-based standards] (FP_SUBNORMAL): Likewise.
36015         [C99-based standards] (FP_ZERO): Likewise.
36016         [C99-based standards] (FP_FAST_FMA): Use
36017         optional-macro-int-constant.  Specify type.  Require == 1.
36018         [C99-based standards] (FP_FAST_FMAF): Likewise.
36019         [C99-based standards] (FP_FAST_FMAL): Likewise.
36020         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36021         [C99-based standards] (FP_ILOGBNAN): Likewise.
36022         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36023         Specify type.
36024         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36025         [C99-based standards] (math_errhandling): Specify type.
36026         [ISO99 || ISO11] (signgam): Do not allow.
36027         [non-C99-based standards] (copysignf): Do not allow.
36028         [non-C99-based standards] (exp2f): Likewise.
36029         [non-C99-based standards] (log2f): Likewise.
36030         [non-C99-based standards] (modff): Allow.
36031         [non-C99-based standards] (erff): Do not allow.
36032         [non-C99-based standards] (erfcf): Likewise.
36033         [non-C99-based standards] (gammaf): Likewise.
36034         [non-C99-based standards] (hypotf): Likewise.
36035         [non-C99-based standards] (j0f): Likewise.
36036         [non-C99-based standards] (j1f): Likewise.
36037         [non-C99-based standards] (jnf): Likewise.
36038         [non-C99-based standards] (lgammaf): Likewise.
36039         [non-C99-based standards] (tgammaf): Likewise.
36040         [non-C99-based standards] (y0f): Likewise.
36041         [non-C99-based standards] (y1f): Likewise.
36042         [non-C99-based standards] (ynf): Likewise.
36043         [non-C99-based standards] (isnanf): Likewise.
36044         [non-C99-based standards] (acoshf): Likewise.
36045         [non-C99-based standards] (asinhf): Likewise.
36046         [non-C99-based standards] (atanhf): Likewise.
36047         [non-C99-based standards] (cbrtf): Likewise.
36048         [non-C99-based standards] (expm1f): Likewise.
36049         [non-C99-based standards] (ilogbf): Likewise.
36050         [non-C99-based standards] (log1pf): Likewise.
36051         [non-C99-based standards] (logbf): Likewise.
36052         [non-C99-based standards] (nextafterf): Likewise.
36053         [non-C99-based standards] (remainderf): Likewise.
36054         [non-C99-based standards] (rintf): Likewise.
36055         [non-C99-based standards] (scalbf): Likewise.
36056         [non-C99-based standards] (copysignl): Likewise.
36057         [non-C99-based standards] (exp2l): Likewise.
36058         [non-C99-based standards] (log2l): Likewise.
36059         [non-C99-based standards] (modfl): Allow.
36060         [non-C99-based standards] (erfl): Do not allow.
36061         [non-C99-based standards] (erfcl): Likewise.
36062         [non-C99-based standards] (gammal): Likewise.
36063         [non-C99-based standards] (hypotl): Likewise.
36064         [non-C99-based standards] (j0l): Likewise.
36065         [non-C99-based standards] (j1l): Likewise.
36066         [non-C99-based standards] (jnl): Likewise.
36067         [non-C99-based standards] (lgammal): Likewise.
36068         [non-C99-based standards] (tgammal): Likewise.
36069         [non-C99-based standards] (y0l): Likewise.
36070         [non-C99-based standards] (y1l): Likewise.
36071         [non-C99-based standards] (ynl): Likewise.
36072         [non-C99-based standards] (isnanl): Likewise.
36073         [non-C99-based standards] (acoshl): Likewise.
36074         [non-C99-based standards] (asinhl): Likewise.
36075         [non-C99-based standards] (atanhl): Likewise.
36076         [non-C99-based standards] (cbrtl): Likewise.
36077         [non-C99-based standards] (expm1l): Likewise.
36078         [non-C99-based standards] (ilogbl): Likewise.
36079         [non-C99-based standards] (log1pl): Likewise.
36080         [non-C99-based standards] (logbl): Likewise.
36081         [non-C99-based standards] (nextafterl): Likewise.
36082         [non-C99-based standards] (remainderl): Likewise.
36083         [non-C99-based standards] (rintl): Likewise.
36084         [non-C99-based standards] (scalbl): Likewise.
36085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36086         [non-C99-based standards] (FP_*): Do not allow.
36087         [C99-based standards] (FP_*): Change to
36088         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36089         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36090         allow.
36091         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36092         (SIG_ERR): Likewise.
36093         [X/Open-based standards] (SIG_HOLD): Likewise.
36094         (SIG_IGN): Likewise.
36095         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36096         positive value.
36097         (SIGFPE): Likewise.
36098         (SIGILL): Likewise.
36099         (SIGINT): Likewise.
36100         (SIGSEGV): Likewise.
36101         (SIGTER): Likewise.
36102         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36103         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36104         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36105         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36106         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36107         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36108         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36109         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36110         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36111         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36112         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36113         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36114         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36115         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36116         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36117         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36118         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36119         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36120         [X/Open-based standards] (SIGTRAP): Likewise.
36121         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36122         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36123         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36124         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36125         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36126         allow.
36127
36128 2012-05-08  Ian Wienand  <ianw@vmware.com>
36129
36130         [BZ #14080]
36131         * time/tzset.c (__tzset_parse_tz): Update default rules for
36132         daylight time changes in the Energy Policy Act of 2005.
36133
36134 2012-05-09  Andreas Jaeger  <aj@suse.de>
36135
36136         [BZ #13983]
36137         * elf/ldconfig.c (parse_conf): Change string to make clear that
36138         ldconfig only issued a warning if ld.so.conf does not exist.
36139
36140 2012-05-08  David S. Miller  <davem@davemloft.net>
36141
36142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36143         movxtod instead of popping the value on the stack.
36144
36145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36146
36147 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36148
36149         * config.h.in: Add HAVE_ARM_PCS_VFP.
36150
36151 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36152
36153         [BZ #13979]
36154         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36155         checking but the checks are disabled for any reason.
36156
36157 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36158
36159         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36160         and ELF64_R_TYPE with ELFW(R_TYPE).
36161
36162 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36163
36164         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36165         (ulimit): Likewise.
36166
36167         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36168         (settimeofday): Likewise.
36169
36170 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36171
36172         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36173         a struct th_u2 inside the union, and move tu_block/tu_code into
36174         a new th_u3 union of tu_block/tu_code inside of that.  Move
36175         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36176         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36177         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36178         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36179         (th_stuff): Change to th_u1.tu_stuff.
36180         (th_data): Define.
36181         (th_msg): Change to th_u1.th_u2.tu_data.
36182
36183 2012-05-07  David S. Miller  <davem@davemloft.net>
36184
36185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36186
36187         [BZ #14074]
36188         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36189         (SETUP_PIC_REG): Use it.
36190         (SETUP_PIC_REG_LEAF): Use it.
36191
36192 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36193
36194         [BZ #13885]
36195         [BZ #13923]
36196         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36197         USE_AS_EXPM1L.
36198         (EXPL_FINITE): Likewise.
36199         (FLDLOG): Likewise.
36200         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36201         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36202         e_expl.S.
36203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36204         USE_AS_EXPM1L.
36205         (EXPL_FINITE): Likewise.
36206         (FLDLOG): Likewise.
36207         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36208         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36209         e_expl.S.
36210         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36211         test of -max_value argument for long double.
36212         * sysdeps/i386/fpu/libm-test-ulps: Update.
36213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36214
36215 2012-05-06  David S. Miller  <davem@davemloft.net>
36216
36217         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36218         quad soft-float symbols whose references which are compiler
36219         generated.
36220         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36221
36222 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36223
36224         [BZ #13884]
36225         [BZ #13914]
36226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36227         USE_AS_EXP10L.
36228         (EXPL_FINITE): Likewise.
36229         (FLDLOG): Likewise.
36230         (c0): Likewise.
36231         (c1): Likewise.
36232         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36233         Adjust comments for base varying.
36234         (__expl_finite): Change alias to EXPL_FINITE.
36235         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36236         e_expl.S.
36237         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36238         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36239         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36240         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36241         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36242         USE_AS_EXP10L.
36243         (EXPL_FINITE): Likewise.
36244         (FLDLOG): Likewise.
36245         (c0): Likewise.
36246         (c1): Likewise.
36247         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36248         Adjust comments for base varying.
36249         (__expl_finite): Change alias to EXPL_FINITE.
36250         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36251         tests for bugs.
36252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36253
36254         [BZ #14064]
36255         * math/libm-test.inc (check_float_internal): Correct ulp
36256         calculation for subnormal expected results.
36257
36258 2012-05-06  Andreas Jaeger  <aj@suse.de>
36259
36260         * Makeconfig (+math-flags): New, set to -frounding-math.
36261         (+cflags): Add +math-flags so that all of glibc gets compiled with
36262         it.
36263
36264         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36265
36266 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36267
36268         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36269         Disable one test.
36270
36271         [BZ #13787]
36272         [BZ #13922]
36273         [BZ #14036]
36274         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36275         (__ieee754_expl): Allow for and saturate large arguments.
36276         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36277         (u_threshold): Likewise.
36278         (__exp): Call __ieee754_exp before checking for overflow and
36279         underflow.
36280         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36281         (u_threshold): Likewise.
36282         (__expf): Call __ieee754_expf before checking for overflow and
36283         underflow.
36284         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36285         (u_threshold): Likewise.
36286         (__expl): Call __ieee754_expl before checking for overflow and
36287         underflow.
36288         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36289         (__ieee754_expl): Allow for and saturate large arguments.
36290         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36291         missing overflow exception on overflow.
36292         (expm1_test): Do not allow missing overflow exception on overflow.
36293
36294         * sysdeps/i386/fpu/e_expl.c: Move to ...
36295         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36296         rather than using inline asm.
36297         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36298         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36299         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36300
36301         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36302         (nice): Likewise.
36303         (poll): Likewise.
36304         (signal): Likewise.
36305         (time): Likewise.
36306         (times): Likewise.
36307
36308 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36309
36310         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36311         sysdeps/unix/common/syscalls.list.
36312         (fchmod): Likewise.
36313         (fchown): Likewise.
36314         (ftruncate): Likewise.
36315         (getrusage): Likewise.
36316         (gettimeofday): Likewise.
36317         (setpgid): Likewise.
36318         (setregid): Likewise.
36319         (setreuid): Likewise.
36320         (sigaction): Likewise.
36321         (truncate): Likewise.
36322         (vhangup): Likewise.
36323         * sysdeps/unix/common/syscalls.list: Remove file.
36324         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36325         * sysdeps/unix/sysv/linux/Implies: Likewise.
36326
36327 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36328
36329         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36331         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36332         Moved to ...
36333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36334         Here.
36335         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36336         to ...
36337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36338         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36339         to ...
36340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36341         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36342         to ...
36343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36344         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36345         to ...
36346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36347         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36348         to ...
36349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36350         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36351         to ...
36352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36353         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36354         to ...
36355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36356         Here.
36357         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36358         to ...
36359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36360         Here.
36361         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36362         to ...
36363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36364         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36365         Moved to ...
36366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36367         Here.
36368         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36369         to ...
36370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36371
36372 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36373
36374         * sysdeps/unix/common/bits/dirent.h: Remove file.
36375         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36376
36377         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36378         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36379         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36380         * sysdeps/unix/bsd/isatty.c: Likewise.
36381         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36382         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36383         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36384
36385 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36386
36387         [BZ #13563]
36388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36389         long double comparison inaccuracies.
36390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36392
36393 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36394
36395         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36397
36398 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36399
36400         [BZ #14049]
36401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36402         nonzero digits before rounding a hex value.
36403         * stdlib/tst-strtod.c (tests): Add another test.
36404
36405 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36406
36407         * sysdeps/s390/fpu/libm-test-ulps: Update.
36408
36409 2012-05-03  Andreas Jaeger  <aj@suse.de>
36410
36411         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36412         does not get optimized out.
36413         (malloc_opt_barrier): New.
36414
36415 2012-05-03  Andreas Jaeger  <aj@suse.de>
36416             Roland McGrath  <roland@hack.frob.com>
36417
36418         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36419         intermediate file deletion.
36420         (generated): Add .symlist files.
36421
36422 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36423
36424         [BZ #13775]
36425         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36426         Redirect under this condition.
36427         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36428         [__USE_GNU] (__dprintf_chk): Not under this condition.
36429         [__USE_GNU] (__vdprintf_chk): Likewise.
36430         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36431         under this condition.
36432         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36433         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36434         [__USE_XOPEN2K8] (vdprintf): Likewise.
36435         [__USE_GNU] (__dprintf_chk): Not under this condition.
36436         [__USE_GNU] (__vdprintf_chk): Likewise.
36437         [__USE_GNU] (dprintf): Likewise.
36438         [__USE_GNU] (vdprintf): Likewise.
36439
36440 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36441
36442         * elf/Makefile (common-generated): Set this instead of generated for
36443         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36444         $(all-built-dso)-derived lists.
36445
36446 2012-05-03  Andreas Jaeger  <aj@suse.de>
36447
36448         * sysdeps/i386/fpu/libm-test-ulps: Update.
36449
36450         * FAQ: Removed.
36451         * FAQ.in: Likewise.
36452         * scripts/gen-FAQ.pl: Likewise.
36453         * manual/install.texi (Installation): Point to online location of
36454         FAQ.
36455         * Makefile (files-for-dist): Remove FAQ.
36456         (FAQ): Remove.
36457
36458 2012-05-02  Allan McRae  <allan@archlinux.org>
36459
36460         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36461         (LDFLAGS-reldepmod5.so): Likewise.
36462         (LDFLAGS-reldep6mod1.so): Likewise.
36463         (LDFLAGS-reldep6mod4.so): Likewise.
36464         (LDFLAGS-reldep8mod3.so): Likewise.
36465         (LDFLAGS-unload4mod1.so): Likewise.
36466         (LDFLAGS-unload4mod2.so): Likewise.
36467         (LDFLAGS-tst-initorder): Likewise.
36468         (LDFLAGS-tst-initordera2.so): Likewise.
36469         (LDFLAGS-tst-initordera3.so): Likewise.
36470         (LDFLAGS-tst-initordera4.so): Likewise.
36471         (LDFLAGS-tst-initorderb2.so): Likewise.
36472         (LDFLAGS-noload): Likewise.
36473         (LDFLAGS-next): Likewise.
36474         (LDFLAGS-order2mod1.so): Likewise.
36475         (LDFLAGS-order2mod2.so): Likewise.
36476         (LDFLAGS-tst-initorder2): Likewise.
36477         (LDFLAGS-tst-initorder2a.so): Likewise.
36478         (LDFLAGS-tst-initorder2b.so): Likewise.
36479         (LDFLAGS-tst-initorder2c.so): Likewise.
36480         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36481
36482 2012-05-02  David S. Miller  <davem@davemloft.net>
36483
36484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36485
36486 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36487
36488         [BZ #14055]
36489         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36490
36491 2012-05-02  Andreas Jaeger  <aj@suse.de>
36492
36493         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36494         since we manipulate rounding mode.
36495         (CPPFLAGS-test-idouble.c): Likewise.
36496         (CPPFLAGS-test-ifloat.c): Likewise.
36497         (CFLAGS-test-ldouble.c): Likewise.
36498         (CFLAGS-test-double.c): Likewise.
36499         (CFLAGS-test-float.c): Likewise.
36500         (CFLAGS-test-misc.c): Likewise.
36501         (CFLAGS-test-test-fenv.c): Likewise.
36502
36503 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36504
36505         [BZ #2550]
36506         [BZ #2570]
36507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36508         comparisons to determine direction to adjust input.
36509
36510 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36511
36512         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36513         output to the target.
36514
36515         * scripts/localplt.awk: New file.
36516         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36517         (check-localplt-CFLAGS): Variable removed.
36518         ($(all-built-dso:=.jmprel)): New static pattern rule.
36519         (generated): Add those targets.
36520         (localplt-built-dso): New variable.
36521         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36522
36523         * elf/check-localplt.c: File removed.
36524
36525         * scripts/check-execstack.awk: New file.
36526         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36527         (check-execstack-CFLAGS): Variable removed.
36528         ($(objpfx)check-execstack.h): Target removed.
36529         ($(objpfx)execstack-default): New target.
36530         (generated): Add that instead of check-execstack.h.
36531         ($(all-built-dso:=.phdr)): New static pattern rule.
36532         (generated): Add those targets.
36533         * elf/check-execstack.c: File removed.
36534
36535         * scripts/check-textrel.awk: New file.
36536         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36537         (check-textrel-CFLAGS): Variable removed.
36538         (all-built-dso): Use := to define.o
36539         ($(all-built-dso:=.dyn)): New static pattern rule.
36540         (generated): Add those targets.
36541         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36542         * config.make.in (READELF): New substituted variable.
36543         * elf/check-textrel.c: File removed.
36544
36545 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36546
36547         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36548         allow.
36549         * conform/data/ctype.h-data [C99-based standards] (isblank):
36550         Expect function.
36551         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36552         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36554         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36555         Specify type.  Require positive value.
36556         (EILSEQ): Likewise.
36557         (ERANGE): Likewise.
36558         [ISO || POSIX] (EILSEQ): Do not expect.
36559         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36560         Specify type.  Require positive value.
36561         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36562         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36563         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36564         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36565         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36566         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36567         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36568         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36569         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36570         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36571         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36572         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36573         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36574         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36575         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36576         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36577         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36578         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36579         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36580         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36581         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36582         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36583         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36584         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36585         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36586         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36587         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36588         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36589         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36590         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36591         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36592         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36593         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36594         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36595         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36596         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36597         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36598         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36599         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36600         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36601         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36602         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36603         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36604         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36605         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36606         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36607         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36608         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36609         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36610         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36611         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36612         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36613         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36614         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36615         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36616         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36617         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36618         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36619         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36620         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36621         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36622         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36623         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36624         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36625         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36626         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36627         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36628         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36629         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36630         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36631         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36632         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36633         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36634         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36635         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36636         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36637         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36638         Require >= 2.
36639         (FLT_ROUNDS): Expect as macro, not constant.
36640         (FLT_MANT_DIG): Use macro-int-constant.
36641         (DBL_MANT_DIG): Likewise.
36642         (LDBL_MANT_DIG): Likewise.
36643         (FLT_DIG): Likewise.
36644         (DBL_DIG): Likewise.
36645         (LDBL_DIG): Likewise.
36646         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36647         (DBL_MIN_EXP): Likewise.
36648         (LDBL_MIN_EXP): Likewise.
36649         (FLT_MAX_EXP): Use macro-int-constant.
36650         (DBL_MAX_EXP): Likewise.
36651         (LDBL_MAX_EXP): Likewise.
36652         (FLT_MAX_10_EXP): Likewise.
36653         (DBL_MAX_10_EXP): Likewise.
36654         (LDBL_MAX_10_EXP): Likewise.
36655         (FLT_MAX): Use macro-constant.
36656         (DBL_MAX): Likewise.
36657         (LDBL_MAX): Likewise.
36658         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36659         (DBL_EPSILON): Likewise.
36660         (LDBL_EPSILON): Likewise.
36661         (FLT_MIN): Likewise.
36662         (DBL_MIN): Likewise.
36663         (LDBL_MIN): Likewise.
36664         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36665         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36666         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36667         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36668         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36669         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36670         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36671         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36672         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36673         [ISO11] (FLT_TRUE_MIN): Likewise.
36674         [ISO11] (LDBL_TRUE_MIN): Likewise.
36675         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36676         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36677         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36678         (SCHAR_MAX): Likewise.
36679         (UCHAR_MAX): Likewise.
36680         (CHAR_MIN): Likewise.
36681         (CHAR_MAX): Likewise.
36682         (MB_LEN_MAX): Use macro-int-constant.
36683         (SHRT_MIN): Use macro-int-constant.  Specify type.
36684         (SHRT_MAX): Likewise.
36685         (USHRT_MAX): Likewise.
36686         (INT_MAX): Likewise.
36687         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36688         bound negative.
36689         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36690         bound with "U".
36691         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36692         bound with "L".
36693         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36694         bound negative.  Suffix upper bound with "L".
36695         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36696         bound with "UL".
36697         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36698         Specify type.
36699         [C99-based standards] (LLONG_MAX): Likewise.
36700         [C99-based standards] (ULLONG_MAX): Likewise.
36701         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36702         == 0.
36703         [ISO11] (max_align_t): Require type.
36704         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36705
36706         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36707         from $CFLAGS, without defining away __attribute__ calls.
36708         (checknamespace): Use $CFLAGS_namespace.
36709
36710         * conform/conformtest.pl (@keywords): Only include C99 keywords
36711         for standards based on C99 or C11.
36712
36713         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36714         Disable tests.
36715         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36716         UNIX98]: Likewise.
36717
36718         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36719         usability of symbols in #if.
36720
36721         * conform/conformtest.pl: If macro or constant types start
36722         "promoted:", expect the symbol to be of the following type
36723         promoted by the integer promotions.
36724
36725         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36726         in one place.  Also handle "macro-constant".
36727
36728         * conform/conformtest.pl: Only accept expected macro values with
36729         "==".  Parse all "macro" lines in one place.
36730         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36731
36732         * conform/conformtest.pl: Handle braced types on "constant" lines
36733         instead of handling "typed-constant".
36734         * conform/data/signal.h-data: Use "constant" instead of
36735         "typed-constant".
36736
36737         * conform/conformtest.pl: Handle "optional-" at start of lines in
36738         one place rather than duplicating several cases.  Handle each
36739         format of "macro" line with initial "optional-".
36740
36741         * conform/conformtest.pl: Only accept expected constant or
36742         optional-constant values with "==".  Parse all "constant" lines in
36743         one place.  Parse all "optional-constant" lines in one place.
36744         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36745         * conform/data/fmtmsg.h-data: Likewise.
36746         * conform/data/netinet/in.h-data: Likewise.
36747         * conform/data/tar.h-data: Likewise.
36748         * conform/data/limits.h-data: Use "==" form on "constant" and
36749         "optional-constant" lines.
36750
36751         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36752         Use -std=c99 for XOPEN2K.
36753         (@knownproblems): Remove.
36754         (newtoken): Don't check %isknown.
36755
36756         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36757         Do not expect macro.
36758         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36759         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36760         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36761         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36762         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36763         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36764         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36765         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36766         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36767         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36768         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36769         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36770         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36771         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36772         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36773         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36774         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36775         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36776         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36777         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36778         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36779         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36780         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36781         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36782         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36783         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36784         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36785         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36786         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36787         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36788         [XPG3] (acosh): Likewise.
36789         [XPG3] (asinh): Likewise.
36790         [XPG3] (atanh): Likewise.
36791         [XPG3] (cbrt): Likewise.
36792         [XPG3] (expm1): Likewise.
36793         [XPG3] (ilogb): Likewise.
36794         [XPG3] (log1p): Likewise.
36795         [XPG3] (logb): Likewise.
36796         [XPG3] (nextafter): Likewise.
36797         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36798         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36799         [XPG3] (remainder): Likewise.
36800         [XPG3] (rint): Likewise.
36801         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36802         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36803         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36804         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36805         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36806         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36807         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36808         [UNIX98 || XOPEN2K] (scalb): Expect.
36809         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36810         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36811         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36812         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36813         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36814         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36815         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36816         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36817         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36818         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36819         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36820         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36821         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36822         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36823         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36824         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36825         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36826         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36827         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36828         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36829         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36830         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36831         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36832         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36833         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36834         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36835         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36836         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36837         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36838         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36839         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36840         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36841         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36842         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36843         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36844         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36845         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36846         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36847         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36848         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36849         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36850         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36851         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36852         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36853         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36854         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36855         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36856         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36857         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36858         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36859         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36860         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36861         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36862         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36863         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36864         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36865         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36866         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36867         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36868         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36869         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36870         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36871         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36872         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36873         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36874         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36875         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36876         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36877         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36878         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36879         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36880         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36881         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36882         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36883         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36884         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36885         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36886         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36887         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36888         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36889         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36890         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36891         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36892         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36893         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36894         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36895         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36896         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36897         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36898         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36899         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36900         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36901         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36902         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36903         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36904         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36905         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36906         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36907         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36908         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36909         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36910         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36911         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36912         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36913         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36914         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36915         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36916         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36917         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36918         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36919         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36920         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36921         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36922         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36923         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36924         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36925         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36926         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36927         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36928         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36929         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36930         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36931         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36932         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36933         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36934         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36935         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36936         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36937         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36938         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36939         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36940         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36941         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36942         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36943         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36944         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36945         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36946
36947         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36948         _XOPEN_SOURCE_EXTENDED for XPG4.
36949
36950         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36951
36952         * Makeconfig (localtime): Remove variable.
36953         (inst_localtime-file): Likewise.
36954
36955 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36956
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36958         Update.
36959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36960         Update.
36961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36962         Update.
36963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36964         Update.
36965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36966         Update.
36967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36968         Update.
36969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36970         Update.
36971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36972         Update.
36973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36974         Update.
36975
36976 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36977
36978         [BZ #2550]
36979         [BZ #2570]
36980         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36981         comparisons to determine direction to adjust input.
36982         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36983         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36985         Likewise.
36986         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36987         Likewise.
36988         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36989         Likewise.
36990         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36991         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36992         Likewise.
36993         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36994         Likewise.
36995         * math/libm-test.inc (nexttoward_test): Add more tests.
36996
36997 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36998
36999         [BZ #14040]
37000         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37001         in version GLIBC_2.1, not GLIBC_2.0.
37002         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37003         Likewise.
37004
37005 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37006
37007         [BZ #13942]
37008         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37009         (1 - x) * (1 + x).
37010         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37011         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37012         * math/libm-test.inc (acos_test): Add more tests.
37013         (asin_test): Likewise.
37014         * sysdeps/i386/fpu/libm-test-ulps: Update.
37015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37016
37017         [BZ #14034]
37018         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37019         of square root.
37020         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37021         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37022         * math/libm-test.inc (acos_test_tonearest): New function.
37023         (acos_test_towardzero): Likewise.
37024         (acos_test_downward): Likewise.
37025         (acos_test_upward): Likewise.
37026         (asin_test_tonearest): Likewise.
37027         (asin_test_towardzero): Likewise.
37028         (asin_test_downward): Likewise.
37029         (asin_test_upward): Likewise.
37030         (main): Call the new functions.
37031         * sysdeps/i386/fpu/libm-test-ulps: Update.
37032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37033
37034         [BZ #13884]
37035         [BZ #13924]
37036         * math/e_exp10.c: Include <float.h>.
37037         (__ieee754_exp10): Handle underflow here rather than multiplying
37038         large negative argument by M_LN10.
37039         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37040         of __ieee754_expf.
37041         * math/e_exp10l.c: Include <float.h>.
37042         (__ieee754_exp10l): Handle underflow here rather than multiplying
37043         large negative argument by M_LN10l.
37044         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37045         spurious overflow exception on underflow.
37046
37047 2012-04-29  Marek Polacek  <polacek@redhat.com>
37048
37049         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37050         (__fortify_function): New macro.
37051         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37052         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37053         __extern_always_inline.
37054         * libio/bits/stdio2.h: Likewise.
37055         * libio/bits/stdio.h: Likewise.
37056         * string/string.h: Likewise.
37057         * string/bits/string3.h: Likewise.
37058         * include/stdio.h: Likewise.
37059         * stdlib/bits/stdlib.h: Likewise.
37060         * stdlib/stdlib.h: Likewise.
37061         * rt/bits/mqueue2.h: Likewise.
37062         * rt/mqueue.h: Likewise.
37063         * posix/bits/unistd.h: Likewise.
37064         * posix/unistd.h: Likewise.
37065         * io/bits/poll2.h: Likewise.
37066         * io/bits/fcntl2.h: Likewise.
37067         * io/fcntl.h: Likewise.
37068         * io/sys/poll.h: Likewise.
37069         * misc/bits/syslog.h: Likewise.
37070         * misc/bits/syslog-ldbl.h: Likewise.
37071         * misc/sys/syslog.h: Likewise.
37072         * socket/bits/socket2.h: Likewise.
37073         * socket/sys/socket.h: Likewise.
37074         * debug/tst-chk1.c: Likewise.
37075         * wcsmbs/bits/wchar2.h: Likewise.
37076         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37077         * wcsmbs/wchar.h: Likewise.
37078
37079 2012-04-29  Andreas Jaeger  <aj@suse.de>
37080
37081         * Makerules (tests): Remove enable-check-abi protection.
37082         (check-abi-warn): Remove.
37083         (check-abi-%): Remove check-abi-warn usage.
37084
37085         * configure.in: Remove check-abi configure option.
37086         * configure: Regenerated.
37087         * config.make.in (enable-check-abi): Remove.
37088
37089 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37090
37091         [BZ #14033]
37092         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37093         double functions to double *_finite functions.
37094
37095         [BZ #13941]
37096         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37097         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37098         LDBL_MIN_EXP.
37099         * stdio-common/Makefile (tests): Add tst-sprintf3.
37100         * stdio-common/tst-sprintf3.c: New file.
37101
37102         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37103         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37104
37105 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37106
37107         * conform/conformtest.pl: Remove duplicate typed-constant
37108         handling.
37109
37110 2012-04-28  David S. Miller  <davem@davemloft.net>
37111
37112         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37113         (check-abi-%): Remove AWK script prerequisite and explicit
37114         abilist directory.
37115         (check-abi): Rewrite to just diff the symlist with the abilist.
37116         (config-tls, config-abi-config): Delete, no longer used.
37117         (update-abi-%): Remove AWK script and explicit abilist directory.
37118         (update-abi): Rewrite to simply compare and conditionally copy the
37119         symlist and the sysdep abilist file.  Remove update-abi-config
37120         checks.
37121         * abilist/ld.abilist: Remove.
37122         * abilist/libBrokenLocale.abilist: Remove.
37123         * abilist/libanl.abilist: Remove.
37124         * abilist/libcrypt.abilist: Remove.
37125         * abilist/libdl.abilist: Remove.
37126         * abilist/librt.abilist: Remove.
37127         * abilist/libthread_db.abilist: Remove.
37128         * abilist/libutil.abilist: Remove.
37129         * scripts/extract-abilist.awk: Remove.
37130         * scripts/merge-abilist.awk: Remove.
37131         * sysdeps/generic/libcidn.abilist: New file.
37132         * sysdeps/generic/libnss_compat.abilist: New file.
37133         * sysdeps/generic/libnss_db.abilist: New file.
37134         * sysdeps/generic/libnss_dns.abilist: New file.
37135         * sysdeps/generic/libnss_files.abilist: New file.
37136         * sysdeps/generic/libnss_hesiod.abilist: New file.
37137         * sysdeps/generic/libnss_nis.abilist: New file.
37138         * sysdeps/generic/libnss_nisplus.abilist: New file.
37139         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37140         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37141         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37142         file.
37143         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37144         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37145         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37146         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37147         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37148         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37149         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37150         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37151         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37152         file.
37153         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37154         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37155         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37156         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37157         file.
37158         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37159         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37160         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37161         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37162         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37163         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37164         file.
37165         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37166         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37167         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37168         file.
37169         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37171         New file.
37172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37173         New file.
37174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37175         New file.
37176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37177         New file.
37178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37179         New file.
37180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37181         New file.
37182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37183         New file.
37184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37185         New file.
37186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37187         New file.
37188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37189         New file.
37190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37191         New file.
37192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37193         New file.
37194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37195         New file.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37197         file.
37198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37199         New file.
37200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37201         New file.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37203         file.
37204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37205         New file.
37206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37207         New file.
37208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37209         file.
37210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37211         New file.
37212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37213         New file.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37215         New file.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37217         New file.
37218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37219         New file.
37220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37221         New file.
37222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37224         file.
37225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37226         New file.
37227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37228         file.
37229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37230         file.
37231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37232         file.
37233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37234         file.
37235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37236         file.
37237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37238         New file.
37239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37240         file.
37241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37242         file.
37243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37244         New file.
37245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37246         file.
37247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37249         file.
37250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37251         New file.
37252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37253         file.
37254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37255         file.
37256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37257         file.
37258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37259         file.
37260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37261         file.
37262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37263         New file.
37264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37265         file.
37266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37267         file.
37268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37269         New file.
37270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37271         file.
37272         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37273         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37274         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37275         file.
37276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37277         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37278         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37279         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37280         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37281         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37282         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37283         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37284         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37285         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37288         file.
37289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37290         New file.
37291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37292         file.
37293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37294         file.
37295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37296         file.
37297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37298         file.
37299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37300         file.
37301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37302         New file.
37303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37304         New file.
37305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37306         file.
37307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37308         New file.
37309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37310         file.
37311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37313         file.
37314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37315         New file.
37316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37317         file.
37318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37319         file.
37320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37321         file.
37322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37323         file.
37324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37325         file.
37326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37327         New file.
37328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37329         New file.
37330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37331         file.
37332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37333         New file.
37334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37335         file.
37336
37337 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37338
37339         * conform/conformtest.pl: Fix typo in handling typed-constant from
37340         allow-header.
37341
37342 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37343
37344         * README: Cut down references to pre-2.6 Linux kernels and
37345         Linuxthreads.  Update lists of configurations in libc and ports
37346         and sort alphabetically.  Say "or newer" with Linux kernel version
37347         requirements.
37348
37349         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37350
37351 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37352
37353         [BZ #887]
37354         * math/libm-test.inc (logb_test_downward): New test to expose
37355         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37356         rounding mode.
37357
37358 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37359
37360         [BZ #14027]
37361         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37362         to be done.
37363         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37364         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37365
37366 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37367
37368         * sysdeps/unix/i386/brk.S: Remove file.
37369         * sysdeps/unix/i386/dl-brk.S: Likewise.
37370         * sysdeps/unix/i386/pipe.S: Likewise.
37371         * sysdeps/unix/i386/sigreturn.S: Likewise.
37372         * sysdeps/unix/i386/syscall.S: Likewise.
37373         * sysdeps/unix/i386/vfork.S: Likewise.
37374         * sysdeps/unix/i386/wait.S: Likewise.
37375
37376         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37377         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37378
37379         * configure.in (arm*-none*): Do not allow without
37380         --enable-hacker-mode.
37381         (netbsd*): Remove case setting base_os.
37382         (386bsd*): Likewise.
37383         (freebsd*): Likewise.
37384         (bsdi*): Likewise.
37385         (osf*): Likewise.
37386         (sunos*): Likewise.
37387         (ultrix*): Likewise.
37388         (newsos*): Likewise.
37389         (dynix*): Likewise.
37390         (*bsd*): Likewise.
37391         (sysv*): Likewise.
37392         (isc*): Likewise.
37393         (esix*): Likewise.
37394         (sco*): Likewise.
37395         (minix*): Likewise.
37396         (irix4*): Likewise.
37397         (irix6*): Likewise.
37398         (solaris[2-9]*): Likewise.
37399         (none): Likewise.
37400         * configure: Regenerated.
37401
37402 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37403
37404         [BZ #11521]
37405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37406         overflow or cancellation in calculating denominator.
37407         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37408         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37409         down expression to avoid unexpected rounding in newer GCCs.
37410         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37411
37412 2012-04-26  David S. Miller  <davem@davemloft.net>
37413
37414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37415         long-double compat symbols.
37416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37429
37430 2012-04-25  David S. Miller  <davem@davemloft.net>
37431
37432         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37433         HWCAP_* values only after the memory barriers have been defined.
37434         (atomic_full_barrier): Define.
37435         (atomic_read_barrier): Define.
37436         (atomic_write_barrier): Define.
37437
37438 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37439
37440         * shlib-versions: Add libgcc_s version information.
37441         * sysdeps/generic/libgcc_s.h: Remove.
37442         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37443         libgcc_s.h.
37444         * sysdeps/gnu/unwind-resume.c: Likewise.
37445         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37446
37447 2012-04-25  David S. Miller  <davem@davemloft.net>
37448
37449         * sysdeps/unix/sparc/brk.S: Delete.
37450         * sysdeps/unix/sparc/dl-brk.S: Delete.
37451         * sysdeps/unix/sparc/pipe.S: Delete.
37452         * sysdeps/unix/sparc/sysdep.S: Delete.
37453         * sysdeps/unix/sparc/sysdep.h: Delete.
37454         * sysdeps/unix/sparc/vfork.S: Delete.
37455         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37456         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37457         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37458         (ret_ERRVAL, r0, r1, MOVE): Define.
37459         (JUMPTARGET): Remove.
37460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37461         sysdeps/unix/sparc/sysdep.h
37462         (ENTRY, END): Remove.
37463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37464
37465 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37466
37467         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37468         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37469         -DIS_IN_build.
37470
37471         * timezone/README: Update upstream location and email address for
37472         tzcode and tzdata.
37473         * timezone/zdump.c: Update from tzcode 2012b.
37474         * timezone/zic.c: Likewise.
37475
37476         * configure.in (libc_cv_as_needed): Remove test.
37477         * configure: Regenerated.
37478         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37479         conditional definition.
37480         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37481         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37482         * config.make.in (have-as-needed): Remove variable.
37483
37484 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37485             Paul Pluzhnikov  <ppluzhnikov@google.com>
37486
37487         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37488         strings correctly.
37489
37490 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37491
37492         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37493         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37494         * sysdeps/sh/strlen.S: Likewise.
37495
37496 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37497
37498         * sysdeps/unix/fork.S: Remove file.
37499         * sysdeps/unix/i386/fork.S: Likewise.
37500         * sysdeps/unix/sparc/fork.S: Likewise.
37501
37502         * sysdeps/unix/system.c: Remove file.
37503         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37504
37505         * sysdeps/unix/getegid.S: Remove file.
37506         * sysdeps/unix/geteuid.S: Likewise.
37507
37508 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37509
37510         * scripts/check-localplt.awk: New file.
37511         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37512         of diff.
37513         * scripts/data/localplt-generic.data: Add a comment.
37514
37515         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37516         NODE when __dir_mkfile failed.
37517         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37518         Reported by Ludovic Courtès <ludo@gnu.org>.
37519
37520 2012-04-24  Andreas Jaeger  <aj@suse.de>
37521
37522         * Makerules (common-clean): Also remove gen-as-const-headers
37523         files.
37524
37525 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37526
37527         * Makerules (native-compile): Do not change working directory for
37528         build.  Use $(OUTPUT_OPTION) in command.
37529         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37530
37531 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532
37533         [BZ #13886]
37534         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37535         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37536         * math/libm-test.inc (floor_test): Add more tests.
37537         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37538
37539 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37540
37541         * sysdeps/unix/getdents.c: Remove file.
37542         * sysdeps/unix/sysv/getdents.c: Likewise.
37543         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37544
37545         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37546         sysdeps/unix/mman/syscalls.list.
37547         (mmap): Likewise.
37548         (mprotect): Likewise.
37549         (msync): Likewise.
37550         (munmap): Likewise.
37551         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37552         * sysdeps/unix/mman/syscalls.list: Remove.
37553         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37554
37555         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37556         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37557         * configure: Regenerated.
37558         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37559         $(libgcc_s_suffix).
37560         * config.make.in (libgcc_s_suffix): Remove variable.
37561
37562 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37563
37564         * sysdeps/unix/sysv/gethostname.c: Move to ...
37565         * sysdeps/posix/gethostname.c: ... here.
37566
37567         * sysdeps/unix/execve.S: Remove file.
37568
37569         * sysdeps/unix/_exit.S: Remove file.
37570
37571 2012-04-23  Andreas Jaeger  <aj@suse.de>
37572
37573         [BZ #13739]
37574         * manual/Makefile: Remove make dist support, there's no
37575         need for a stand-alone documentation tar ball.
37576         (TEXI2DVI): Define always, it's not in Makeconfig.
37577         (dist): Removed.
37578         (tar-it): Removed.
37579         (edition): Removed.
37580         (glibc-doc-$(edition).tar): Removed
37581         (%.Z): Removed.
37582         (%.gz): Removed.
37583         (%.uu): Removed.
37584         (ETAGS): Remove, it's in Makeconfig.
37585         (move-if-change): Remove, it's in Makeconfig.
37586
37587 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37588
37589         [BZ #13970]
37590         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37591         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37592         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37593         (strtod_l, strtof_l, strtold_l): Remove __wur.
37594         It is not necessarily an error to ignore strtol's return value.
37595         One can reliably look at the stored endptr to decide whether
37596         the number had valid syntax.
37597
37598 2012-04-21  Andreas Jaeger  <aj@suse.de>
37599
37600         [BZ #13739]
37601         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37602
37603 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37604
37605         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37606         * sysdeps/unix/sysv/Versions: Remove file.
37607
37608 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37609
37610         [BZ #13927]
37611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37612
37613 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37614
37615         [BZ #7064]
37616         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37617         version from __vm86.
37618
37619 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37620
37621         * sysdeps/unix/common/lxstat.c: Remove file.
37622         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37623
37624         * sysdeps/unix/sysv/Makefile: Remove file.
37625
37626         * sysdeps/unix/sysv/direct.h: Remove file.
37627
37628         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37629         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37630         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37631         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37632         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37633         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37634         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37635
37636         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37637
37638         * sysdeps/unix/xmknod.c: Remove file.
37639         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37640
37641         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37642
37643         * sysdeps/unix/sysv/i386/time.S: Remove file.
37644
37645         * sysdeps/unix/fxstat.c: Remove file.
37646         * sysdeps/unix/xstat.c: Likewise.
37647         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37648
37649         * sysdeps/unix/sysv/sigaction.c: Remove file.
37650
37651         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37652         (sysdep_headers): Remove variable.
37653         [termio.h not in sysdep_headers] (generated): Likewise.
37654         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37655         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37656         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37657         * sysdeps/unix/sysv/tcflow.c: Likewise.
37658         * sysdeps/unix/sysv/tcflush.c: Likewise.
37659         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37660         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37661         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37662         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37663         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37664
37665         * sysdeps/unix/siglist.c: Remove file.
37666
37667         * sysdeps/unix/getppid.S: Remove file.
37668
37669         * sysdeps/unix/mkdir.c: Remove file.
37670         * sysdeps/unix/rmdir.c: Likewise.
37671
37672 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37673
37674         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37675         ERR_MAX value.
37676         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37677         errlist-compat value.
37678
37679 2012-04-18  David S. Miller  <davem@davemloft.net>
37680
37681         * sysdeps/generic/memcopy.h (reg_char): Delete.
37682         * debug/strcat_chk.c: Use char, not reg_char.
37683         * debug/strcpy_chk.c: Likewise.
37684         * debug/strncat_chk.c: Likewise.
37685         * debug/strncpy_chk.c: Likewise.
37686         * string/memchr.c: Likewise.
37687         * string/memrchr.c: Likewise.
37688         * string/rawmemchr.c: Likewise.
37689         * string/strcat.c: Likewise.
37690         * string/strchr.c: Likewise.
37691         * string/strchrnul.c: Likewise.
37692         * string/strcmp.c: Likewise.
37693         * string/strcpy.c: Likewise.
37694         * string/strncat.c: Likewise.
37695         * string/strncmp.c: Likewise.
37696         * string/strncpy.c: Likewise.
37697
37698 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37699
37700         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37701         __builtin_memcopy is called when src and dest ranges are known to not
37702         overlap.
37703
37704 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37705
37706         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37707         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37708         fwd_align_merge macro call.
37709         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37710         bwd_align_merge macro call.
37711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37712
37713 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37714
37715         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37716         bwd_align_merge macros.
37717         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37718         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37719         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37720
37721 2012-04-18  David S. Miller  <davem@davemloft.net>
37722
37723         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37724
37725 2012-04-18  Andreas Jaeger  <aj@suse.de>
37726
37727         [BZ# 6794]
37728         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37729         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37730         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37731
37732         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37733         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37734         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37735
37736         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37737         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37738         Adjust for changed ldbl-128 files.
37739
37740         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37741         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37742         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37743
37744 2012-04-17  David S. Miller  <davem@davemloft.net>
37745
37746         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37747
37748 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37749
37750         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37751         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37752         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37753         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37754         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37755         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37756
37757 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37758
37759         [BZ #6794]
37760         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37761         * math/libm-test.inc: Add ilogb errno and exception tests.
37762         * math/w_ilogb.c: New file: ilogb wrapper.
37763         * math/w_ilogbf.c: New file: ilogbf wrapper.
37764         * math/w_ilogbl.c: New file: ilogbl wrapper.
37765         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37766         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37767         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37768         exception being thrown with 0.0 as argument.
37769         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37770         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37771         exception being thrown with 0.0 as argument.
37772         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37773         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37774         exception being thrown with 0.0 as argument.
37775         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37776         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37777         exception being thrown with 0.0 as argument.
37778         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37779         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37780         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37781         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37783         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37784         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37785         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37786         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37787
37788 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37789
37790         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37791         with altivec.
37792
37793 2012-04-16  Marek Polacek  <polacek@redhat.com>
37794
37795         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37796
37797 2012-04-16  Marek Polacek  <polacek@redhat.com>
37798
37799         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37800         operands of fdivp instruction.
37801
37802 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37803
37804         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37805         * elf/tst-auditmod3b.c: Likewise.
37806         * elf/tst-auditmod4b.c: Likewise.
37807         * elf/tst-auditmod5b.c: Likewise.
37808         * elf/tst-auditmod6b.c: Likewise.
37809         * elf/tst-auditmod6c.c: Likewise.
37810         * elf/tst-auditmod7b.c: Likewise.
37811         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37812         * sysdeps/x86_64/preconfigure.in: Likewise.
37813         * sysdeps/x86_64/preconfigure: Regenerated.
37814
37815 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37816
37817         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37818         __ILP32__.
37819
37820 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37821
37822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37823         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37824
37825 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37826
37827         [BZ #13973]
37828         * locale/iso-639.def: Fix gl language name. Spotted by
37829         Yaron Shahrabani.
37830
37831 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37832
37833         [BZ #2074]
37834         * libio/libio.h (__io_write_fn): Update comment.
37835
37836 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37837
37838         [BZ #2074]
37839         * stdio.texi (Hook Functions): The user provided writer function
37840         is not allowed to return -1.
37841
37842 2012-04-11  David S. Miller  <davem@davemloft.net>
37843
37844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37845
37846 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37847
37848         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37849         Add a leading slash to rtkaio.
37850
37851 2012-04-11  Jim Meyering  <meyering@redhat.com>
37852
37853         [BZ #11959]
37854         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37855         It is not necessarily an error to ignore fwrite's return
37856         value.  One can reliably use ferror to test for errors after
37857         the fact.
37858
37859 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37860
37861         * bits/types.h (__snseconds_t): New type.
37862         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37863
37864         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37866         (__SNSECONDS_T_TYPE): Likewise.
37867         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37868         (__SNSECONDS_T_TYPE): Likewise.
37869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37870         (__SNSECONDS_T_TYPE): Likewise.
37871
37872 2012-04-10  Andreas Jaeger  <aj@suse.de>
37873
37874         [BZ #2636]
37875         * manual/time.texi (Processor Time): Return type of times is
37876         elapsed real time since an arbitrary point in the past.
37877         (CPU Time): Move CLK_TCK from here...
37878         (Processor Time): ...to here.  Correct description.
37879         * manual/conf.texi (Constants for Sysconf): Correct description of
37880         _SC_CLK_TCK.
37881
37882 2012-04-10  David S. Miller  <davem@davemloft.net>
37883
37884         [BZ #13967]
37885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37886         where the is a gap between DT_REL(A) and DT_JMPREL.
37887
37888 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37889
37890         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37891         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37892         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37893
37894 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37895
37896         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37897         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37898         (dl_main): Handle --inhibit-cache.
37899         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37900         _dl_inhibit_cache.
37901         * elf/dl-load.c (_dl_map_object): Use it.
37902         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37903
37904 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37905
37906         [BZ #13872]
37907         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37908         (__ieee754_powl): Saturate large exponents rather than testing for
37909         overflow of y*log2(x).
37910         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37911         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37912         exceptions.
37913
37914         [BZ #11521]
37915         * math/s_ctan.c: Include <float.h>.
37916         (__ctan): Avoid internal overflow or cancellation in calculating
37917         denominator.
37918         * math/s_ctanf.c: Likewise.
37919         * math/s_ctanl.c: Likewise.
37920         * math/s_ctanh.c: Likewise.
37921         * math/s_ctanhf.c: Likewise.
37922         * math/s_ctanhl.c: Likewise.
37923         * math/libm-test.inc (ctan_test): Add more tests.
37924         (ctanh_test): Likewise.
37925         * sysdeps/i386/fpu/libm-test-ulps: Update.
37926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37927
37928 2012-04-09  Andreas Jaeger  <aj@suse.de>
37929
37930         [BZ #6894]
37931         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37932         is an optional BSD extension.
37933
37934         [BZ #10254]
37935         * manual/stdio.texi (Opening Streams): Document additional fopen
37936         parameters.
37937
37938 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37939
37940         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37941         %eax without telling the compiler.
37942
37943 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37944
37945         [BZ # 13963]
37946         * manual/install.texi: Use sourceware.org.
37947
37948 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37949
37950         [BZ #13873]
37951         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37952         (__ieee754_pow): Generate overflow and underflow using huge*huge
37953         and tiny*tiny rather than just returning constant infinity or zero
37954         for large exponents.
37955         * math/libm-test.inc (pow_test): Require overflow exceptions for
37956         applicable cases of large exponents.
37957
37958         [BZ #706]
37959         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37960         (__ieee754_pow): Use iterative multiplication algorithm only for
37961         integer exponents with absolute value below 1024.  Check for odd
37962         integer exponents when using algorithm for real exponents.
37963         * math/libm-test.inc (pow_test): Add more tests.
37964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37965
37966 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37967
37968         [BZ #13705]
37969         * math/libm-test.inc (exp_test): Do not allow overflow exception
37970         on underflow test.
37971
37972 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37973
37974         [BZ #13705]
37975         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37976         instead of __kernel_standard_f.
37977
37978 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37979
37980         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37981         * sysdeps/x86_64/memset_chk.S: Likewise.
37982
37983 2012-04-08  Andreas Jaeger  <aj@suse.de>
37984
37985         [BZ #10153]
37986         * manual/startup.texi (Environment Access): Describe return value
37987         for putenv and setenv.
37988
37989         [BZ #6895]
37990         * manual/filesys.texi (Directory Entries): Add description for
37991         DT_LNK.
37992
37993         [BZ #6890]
37994         * manual/filesys.texi (Directory Entries): Clarify that it's file
37995         system not operating system in the description of DT_UNKNOWN.
37996
37997         [BZ #6578]
37998         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37999
38000 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38001
38002         [BZ #6649]
38003         * manual/llio.texi (Opening and Closing Files): Add cross
38004         reference to explain mode argument.
38005
38006 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38007
38008         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38009         * sysdeps/x86_64/memset_chk.S: Likewise.
38010
38011 2012-04-07  David S. Miller  <davem@davemloft.net>
38012
38013         * elf/elf.h (R_SPARC_WDISP10): Define.
38014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38015         R_SPARC_SIZE32.
38016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38017         R_SPARC_SIZE64 and R_SPARC_H34.
38018
38019 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38020
38021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38022         conditions and remove no longer applicable assertion.
38023
38024 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38025
38026         * bits/byteswap.h: Include <features.h>.
38027         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38028         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38029
38030 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38031
38032         * bits/byteswap.h (__bswap_16): Removed.
38033         Include <bits/byteswap-16.h> to get __bswap_16.
38034         * sysdeps/i386/bits/byteswap.h: Likewise.
38035         * sysdeps/s390/bits/byteswap.h: Likewise.
38036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38037         * bits/byteswap-16.h: New file.
38038         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38039         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38040         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38041         * string/Makefile (headers): Add bits/byteswap-16.h.
38042
38043 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38044
38045         [BZ #13895]
38046         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38047         extra indirection.
38048         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38049         * nss/tst-nss-static.c: New.
38050
38051 2012-04-06  Robert Millan  <rmh@gnu.org>
38052
38053         [BZ #6486]
38054         * manual/llio.texi (File Position Primitive): lseek
38055         refers to WHENCE when it really means OFFSET.
38056
38057 2012-04-06  Andreas Jaeger  <aj@suse.de>
38058
38059         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38060         strncmp declarations.
38061
38062         * abilist/libc.abilist: Add __poll and __ppoll.
38063
38064 2012-04-05  David S. Miller  <davem@davemloft.net>
38065
38066         * scripts/check-local-headers.sh: Accept a host triplet in the
38067         path matched by the exclude regexp.
38068
38069         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38070         definition.
38071         * sysdeps/powerpc/powerpc32/dl-machine.h
38072         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38073         * sysdeps/s390/s390-32/dl-machine.h
38074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38075         * sysdeps/sparc/sparc32/dl-machine.h
38076         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38077         * sysdeps/sparc/sparc64/dl-machine.h
38078         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38079
38080         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38081         lazy binding.
38082         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38083         undefined symbol errors.
38084
38085         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38086         DT_NEEDED entries.
38087
38088 2012-04-05  Michael Matz  <matz@suse.de>
38089
38090         [BZ #13592]
38091         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38092
38093 2012-04-05  Andreas Jaeger  <aj@suse.de>
38094
38095         [BZ #13908]
38096         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38097         comment.
38098
38099 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38100
38101         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38102         which ROUND is no valid rounding mode.
38103
38104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38105
38106         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38107         read again.
38108         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38109
38110 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38111
38112         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38113         an exception using FPU order intentionally.
38114
38115 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38116
38117         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38118         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38119         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38120         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38121
38122 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38123
38124         [BZ #12340]
38125         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38126         EINVAL when BUFLEN is too smal.
38127
38128 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38129
38130         [BZ #13553]
38131         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38132         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38133
38134 2012-04-03  Andreas Jaeger  <aj@suse.de>
38135
38136         [BZ #13938]
38137         * manual/setjmp.texi (System V contexts): Fix sentence.
38138
38139         [BZ #13926]
38140         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38141         New macro for this case.
38142         [!__GNUC__] (__bswap_64): New inline function for this case.
38143         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38144         * bits/byteswap.h: Likewise.
38145         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38146         ull, guard with __GLIBC_HAVE_LONG_LONG.
38147
38148         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38149         __GLIBC_HAVE_LONG_LONG.
38150
38151         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38152         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38153
38154 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38155
38156         [BZ #13691]
38157         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38158         inptr and inend, rather than using last_ch.
38159
38160 2012-04-02  David S. Miller  <davem@davemloft.net>
38161
38162         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38163         * stdio-common/printf-parse.h (read_int): Change return type to
38164         'int', return -1 on INT_MAX overflow.
38165         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38166         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38167         overflows INT_MAX.  Check for overflow of in-format-string precision
38168         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38169         SIZE_MAX not INT_MAX for integer overflow test.
38170         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38171         skip the construct in the format string but do not record anything.
38172         * stdio-common/bug22.c: Adjust to test both width/prevision
38173         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38174         explicitly for proper errno values.
38175
38176 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38177
38178         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38179         CHAR_MAX.
38180         * string/test-strcmp.c [! WIDE]: Likewise.
38181         * time/tst-mktime2.c: Likewise for INT_MAX.
38182         * string/test-string.h: #include <sys/param.h> for MIN.
38183
38184         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38185         * sysdeps/i386/init-first.c (init): Likewise.
38186         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38187         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38188         * sysdeps/sh/init-first.c (init): Likewise.
38189
38190 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38191
38192         * po/ru.po: Update from translation team.
38193         * po/vi.po: Likewise.
38194
38195 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38196
38197         * resolv/nss_dns/dns-host.c: Merge copyright years.
38198
38199 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38200
38201         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38202         Optimize memcpy with prefetch if
38203         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38204         src, dst pointers have unequal 16 byte alignments.
38205
38206 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38207
38208         [BZ #13928]
38209         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38210         from a CNAME entry and return the minimum ttl for the query.
38211         (gaih_getanswer_slice): Likewise.
38212
38213 2012-03-30  Jeff Law  <law@redhat.com>
38214
38215         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38216         due to long keys.
38217         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38218         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38219
38220         * resolv/nss_dns/dns-host.c: Update copyright year.
38221
38222 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38223
38224         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38225         requests to save a system call.  Fix check that all bytes are sent.
38226
38227         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38228         comments for sendmmsg.
38229
38230 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38231
38232         [BZ #13691]
38233         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38234         with only 1 character between 0x0041 and 0x01b0.
38235         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38236         * wcsmbs/tst-mbsnrtowcs.c: New file.
38237
38238 2012-03-29  David S. Miller  <davem@davemloft.net>
38239
38240         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38241         small copies by hand.
38242
38243 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38244
38245         [BZ #13761]
38246         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38247         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38248         group memberships.
38249
38250 2012-03-28  David S. Miller  <davem@davemloft.net>
38251
38252         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38253         that branches into memcpy.
38254         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38257         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38259         bits.
38260         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38261         implementation too.
38262         * sysdeps/sparc/mempcpy.S: New file.
38263
38264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38265         the IFUNC routine in the libc case.
38266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38267
38268         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38269         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38270         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38271         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38272         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38273         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38274         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38275         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38276
38277         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38278         loop to 256 bytes instead of 64 bytes and fix test signedness.
38279
38280         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38281         * sysdeps/sparc/sparc32/Makefile: rather than here...
38282         * sysdeps/sparc/sparc64/Makefile: and here.
38283
38284 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38285
38286         * malloc/mallocbug.c: Avoid warnings about unused variables.
38287
38288 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38289
38290         [BZ #13760]
38291         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38292         in the right place. Discard and retry query if response is
38293         larger than input buffer size.
38294
38295 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38296
38297         [BZ #369]
38298         [BZ #2678]
38299         [BZ #3866]
38300         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38301         x for large integer exponent.
38302         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38303         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38304         sign of result as needed afterwards.
38305         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38307         result for underflowing pow the same as for overflow.
38308         (__kernel_standard_l): Handle powl overflow and underflow here
38309         rather than calling __kernel_standard.
38310         * math/libm-test.inc (pow_test): Add more tests.
38311
38312         [BZ #3868]
38313         [BZ #13879]
38314         [BZ #13910]
38315         [BZ #13911]
38316         [BZ #13912]
38317         [BZ #13913]
38318         [BZ #13915]
38319         [BZ #13916]
38320         [BZ #13917]
38321         [BZ #13918]
38322         [BZ #13919]
38323         [BZ #13920]
38324         [BZ #13921]
38325         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38326         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38327         (__kernel_standard_l): New function.
38328         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38329         __kernel_standard.
38330         * math/w_acosl.c (__acosl): Likewise.
38331         * math/w_asinl.c (__asinl): Likewise.
38332         * math/w_atan2l.c (__atan2l): Likewise.
38333         * math/w_atanhl.c (__atanhl): Likewise.
38334         * math/w_coshl.c (__coshl): Likewise.
38335         * math/w_exp10l.c (__exp10l): Likewise.
38336         * math/w_exp2l.c (__exp2l): Likewise.
38337         * math/w_fmodl.c (__fmodl): Likewise.
38338         * math/w_hypotl.c (__hypotl): Likewise.
38339         * math/w_j0l.c (__j0l, __y0l): Likewise.
38340         * math/w_j1l.c (__j1l, __y1l): Likewise.
38341         * math/w_jnl.c (__jnl, __ynl): Likewise.
38342         * math/w_lgammal.c (__lgammal): Likewise.
38343         * math/w_log10l.c (__log10l): Likewise.
38344         * math/w_log2l.c (__log2l): Likewise.
38345         * math/w_logl.c (__logl): Likewise.
38346         * math/w_powl.c (__powl): Likewise.
38347         * math/w_remainderl.c (__remainderl): Likewise.
38348         * math/w_scalbl.c (sysv_scalbl): Likewise.
38349         * math/w_sinhl.c (__sinhl): Likewise.
38350         * math/w_sqrtl.c (__sqrtl): Likewise.
38351         * math/w_tgammal.c (__tgammal): Likewise.
38352         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38353         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38354         * math/libm-test.inc (acos_test): Add more tests.
38355         (acosh_test): Likewise.
38356         (asin_test): Likewise.
38357         (atanh_test): Likewise.
38358         (exp_test): Likewise.
38359         (exp10_test): Likewise.
38360         (exp2_test): Likewise.
38361         (expm1_test): Likewise.
38362         (lgamma_test): Likewise.
38363         (log_test): Likewise.
38364         (log10_test): Likewise.
38365         (log1p_test): Likewise.
38366         (log2_test): Likewise.
38367         (pow_test): Do not allow some spurious overflow exceptions.
38368         (sqrt_test): Add more tests.
38369         (tgamma_test): Likewise.
38370         (y0_test): Likewise.
38371         (y1_test): Likewise.
38372         (yn_test): Likewise.
38373
38374 2012-03-27  Anton Blanchard  <anton@samba.org>
38375
38376         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38377         MAP_HUGETLB.
38378         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38379         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38380         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38381
38382 2012-03-27  David S. Miller  <davem@davemloft.net>
38383
38384         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38385
38386         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38387         have-as-vis3 check.
38388
38389 2012-03-27  Andreas Jaeger  <aj@suse.de>
38390
38391         * sysdeps/x86_64/elf/configure.in: Moved to ...
38392         * sysdeps/x86_64/configure.in: ... here.
38393         * sysdeps/x86_64/elf/start.S: Moved to ...
38394         * sysdeps/x86_64/start.S: ... here.
38395         * sysdeps/x86_64/elf/configure: Delete.
38396
38397         * sysdeps/x86_64/configure.in: Merge contents from
38398         sysdeps/i386/configure.in (without i686 check).
38399
38400         * sysdeps/i386/elf/Versions: Merge into ...
38401         * sysdeps/i386/Versions: ... this.
38402         * sysdeps/i386/elf/Versions: Delete file.
38403         * sysdeps/i386/elf/start.S: Moved to ...
38404         * sysdeps/i386/start.S: ...here.
38405         * sysdeps/i386/elf/configure.in: Merge into...
38406         * sysdeps/i386/configure.in: ...here.
38407         * sysdeps/i386/elf/configure.in: Delete file.
38408         * sysdeps/i386/elf/configure: Delete file.
38409
38410         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38411         * debug/backtracesyms.c: ... here.
38412         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38413         * debug/backtracesymsfd.c: ... here.
38414         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38415         * sysdeps/generic/ifunc-sel.h: ... here.
38416
38417         * sysdeps/unix/i386/start.c: Delete file.
38418         * sysdeps/unix/sparc/start.c: Delete file.
38419         * sysdeps/unix/start.c: Delete file.
38420
38421         * sysdeps/sh/elf/configure.in: Moved to ...
38422         * sysdeps/sh/configure.in: ... here.
38423         * sysdeps/sh/elf/start.S: Moved to ...
38424         * sysdeps/sh/start.S: ... here.
38425         * sysdeps/sh/elf/configure: Delete file.
38426
38427         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38428         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38429         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38430         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38431         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38432         * sysdeps/powerpc/powerpc64/start.S: here.
38433         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38434         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38435         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38436         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38437         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38438
38439         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38440         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38441         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38442         * sysdeps/powerpc/powerpc32/start.S: ... here.
38443         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38444         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38445         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38446
38447         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38448         * sysdeps/powerpc/ifunc-sel.h: ... here.
38449         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38450         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38451
38452         * sysdeps/sparc/elf/configure.in: Moved to ...
38453         * sysdeps/sparc/configure.in: ... here.
38454         * sysdeps/sparc/elf/configure: Delete file.
38455         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38456         * sysdeps/sparc/sparc32/start.S: ... here.
38457         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38458         * sysdeps/sparc/sparc64/start.S: ... here.
38459         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38460         * sysdeps/sparc/sparc32/Makefile: ... this.
38461         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38462         * sysdeps/sparc/sparc64/Makefile: ... this.
38463
38464         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38465         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38466         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38467         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38468         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38469         * sysdeps/s390/s390-32/setjmp.S: ... here.
38470         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38471         * sysdeps/s390/s390-32/configure.in: ... here.
38472         * sysdeps/s390/s390-32/elf/configure: Delete file.
38473         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38474         * sysdeps/s390/s390-32/start.S: ... here.
38475
38476         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38477         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38478         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38479         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38480         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38481         * sysdeps/s390/s390-64/setjmp.S: ... here.
38482         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38483         * sysdeps/s390/s390-64/configure.in: ... here
38484         * sysdeps/s390/s390-64/elf/configure: Delete file.
38485         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38486         * sysdeps/s390/s390-64/start.S: ... here.
38487         * sysdeps/s390/s390-64/elf/configure: Delete.
38488
38489         * configure.in: Remove support for elf directories in sysdeps.
38490
38491         * configure: Regenerated.
38492         * sysdeps/i386/configure: Regenerated.
38493         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38494         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38495         * sysdeps/s390/s390-32/configure: Regenerated.
38496         * sysdeps/s390/s390-64/configure: Regenerated.
38497         * sysdeps/sh/configure: Regenerated.
38498         * sysdeps/sparc/configure: Regenerated.
38499         * sysdeps/x86_64/configure: Regenerated.
38500
38501 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38502
38503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38504
38505         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38506         denormal result into account.
38507
38508 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38509
38510         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38511         Reported by Allan McRae <allan@archlinux.org>.
38512
38513 2012-03-23  Jeff Law  <law@redhat.com>
38514
38515         * nss/getnssent.c (__nss_getent): Fix typo.
38516
38517 2012-03-23  David S. Miller  <davem@davemloft.net>
38518
38519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38520
38521 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38522
38523         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38524         to pad to uint64_t for each field.
38525         (dl_tls_index): Replace unsigned long with uint64_t.
38526
38527 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38528         Paul Pluzhnikov  <ppluzhnikov@google.com>
38529
38530         [BZ #6528]
38531         * grp/Makefile (otherlibs): Don't set it.
38532         * inet/Makefile (otherlibs): Likewise.
38533         * login/Makefile (otherlibs): Likewise.
38534         * nscd/Makefile (otherlibs): Likewise.
38535         * posix/Makefile (otherlibs): Likewise.
38536         * pwd/Makefile (otherlibs): Likewise.
38537         * rt/Makefile (otherlibs): Likewise.
38538         * sunrpc/Makefile (otherlibs): Likewise.
38539         * nss/Makefile (otherlibs): Likewise.
38540         Add libnss_files to routines and static-only-routines.
38541         ($(objpfx)getent): Remove rule.
38542         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38543         static-only-routines.
38544
38545 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38546
38547         [BZ #13892]
38548         * math/s_cexp.c: Include <float.h>.
38549         (__cexp): Handle exp result overflowing not necessarily
38550         overflowing both real and imaginary parts of result.
38551         * math/s_cexpf.c: Likewise.
38552         * math/s_cexpl.c: Likewise.
38553         * math/libm-test.inc (cexp_test): Add more tests.
38554         * sysdeps/i386/fpu/libm-test-ulps: Update.
38555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38556
38557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38558
38559         * include/link.h (ELFW): New macro.
38560         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38561         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38562
38563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38564
38565         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38566         with uint64_t.
38567
38568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38569
38570         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38571         declaration.
38572         (struct La_x32_retval): Likewise.
38573
38574 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38575
38576         * sysdeps/x86_64/preconfigure.in: New file.
38577         * sysdeps/x86_64/preconfigure: New generated file.
38578
38579 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38580
38581         [BZ #13824]
38582         * math/e_exp2l.c: Include <float.h>.
38583         (__ieee754_exp2l): Handle overflow and underflow cases
38584         separately.  Only pass fractional part of argument to
38585         __ieee754_expl.
38586         * math/libm-test.inc (exp2_test): Add more tests.
38587
38588         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38589         negating x to take absolute value.
38590         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38591         Likewise.
38592         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38593         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38594         Likewise.
38595         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38596         computing low part if x was negated.
38597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38598
38599 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38600
38601         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38602         la_x32_gnu_pltexit.
38603         (pltexit): Cast int_retval to ptrdiff_t.
38604         * elf/tst-auditmod3b.c: Likewise.
38605         * elf/tst-auditmod4b.c: Likewise.
38606         * elf/tst-auditmod5b.c: Likewise.
38607         * elf/tst-auditmod6b.c: Likewise.
38608         * elf/tst-auditmod6c.c: Likewise.
38609         * elf/tst-auditmod7b.c: Likewise.
38610
38611         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38612         and x32_gnu_pltexit.
38613
38614         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38615         __ELF_NATIVE_CLASS.
38616         (La_x32_regs): New macro.
38617         (La_x32_retval): Likewise.
38618         (la_x32_gnu_pltenter): New function prototype.
38619         (la_x32_gnu_pltexit): Likewise.
38620
38621 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38622
38623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38624         exponent.
38625
38626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38627
38628         * configure.in (libc_cv_cc_nofma): Check for option to disable
38629         generation of FMA instructions.
38630         * configure: Regenerate.
38631         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38632         * sysdeps/ieee754/dbl-64/Makefile: New file.
38633         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38634         Remove brandred-fma4.
38635         (CFLAGS-brandred-fma4.c): Remove.
38636         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38638         define.
38639         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38640         define.
38641
38642 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38643
38644         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38645         LLONG_MAX != LONG_MAX.
38646         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38647         (_fitoa_word): Likewise.
38648         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38649         LLONG_MAX != LONG_MAX.
38650         * stdio-common/_itowa.h: Include <_itoa.h>.
38651         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38652         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38653         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38654         only if not defined.
38655         (_ITOA_WORD_TYPE): Likewise.
38656         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38657         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38658
38659 2012-03-21  David S. Miller  <davem@davemloft.net>
38660
38661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38662
38663 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38664
38665         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38666         of x86_64 when setting libc_cv_slibdir, libdir and
38667         libc_cv_localedir.
38668         * sysdeps/unix/sysv/linux/configure: Regenerated.
38669
38670 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38671
38672         * manual/lang.texi (Old Varargs): Remove section.
38673         (How Variadic): Update menu.
38674         (va_start): Do not mention varargs.h.
38675
38676 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38677             Joseph Myers  <joseph@codesourcery.com>
38678
38679         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38680         link test.
38681         * configure: Regenerated.
38682
38683 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38684
38685         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38686         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38687         conformtest.pl
38688
38689 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38690
38691         * NOTES: Remove.
38692         * Makefile (files-for-dist): Remove NOTES.
38693         (NOTES): Remove rule.
38694         * README: Don't refer to NOTES.
38695         * manual/creature.texi: Don't include macros.texi.
38696         * manual/intro.texi (creature.texi): Remove comment referring to
38697         NOTES.
38698
38699         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38700         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38701         * configure: Regenerated.
38702         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38703         LIBC_TRY_CC_OPTION.
38704         (libc_cv_as_i686): Likewise.
38705         (libc_cv_cc_avx): Likewise.
38706         (libc_cv_cc_sse2avx): Likewise.
38707         (libc_cv_cc_fma4): Likewise.
38708         (libc_cv_cc_novzeroupper): Likewise.
38709         * sysdeps/i386/configure: Regenerated.
38710
38711         [BZ #13883]
38712         * sysdeps/i386/fpu/s_cexp.S: Remove.
38713         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38714         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38715         * math/libm-test.inc (cexp_test): Add more tests.
38716         * sysdeps/i386/fpu/libm-test-ulps: Update.
38717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38718
38719 2012-03-21  Allan McRae  <allan@archlinux.org>
38720
38721         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38722
38723 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38724
38725         [BZ #13871]
38726         * math/w_exp2.c: Do not include <float.h>.
38727         (o_threshold, u_threshold): Remove.
38728         (__exp2): Calculate result before checking finiteness and calling
38729         __kernel_standard.
38730         * math/w_exp2f.c: Likewise.
38731         * math/w_exp2l.c: Likewise.
38732         * math/libm-test.inc (exp2_test): Require overflow exception for
38733         1e6 input.
38734
38735         [BZ #3866]
38736         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38737         range of signed 64-bit integers before using fistpll.  Remove
38738         checks for whether integers fit in mantissa bits.
38739         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38740         the range of signed 32-bit integers before using fistpl.  Remove
38741         checks for whether integers fit in mantissa bits.
38742         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38743         (__ieee754_powl): Test for y outside the range of signed 64-bit
38744         integers before using fistpll.  Reduce 64-bit values to 63-bit
38745         ones as needed.
38746         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38747         divide-by-zero is raised for zero to large negative powers.
38748         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38749         (__ieee754_powl): Test for y outside the range of signed 64-bit
38750         integers before using fistpll.  Reduce 64-bit values to 63-bit
38751         ones as needed.
38752         * math/libm-test.inc (pow_test): Add more tests.
38753
38754 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38755
38756         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38757         <stdio-common/_itoa.h>.
38758         * debug/segfault.c: Likewise.
38759         * elf/dl-cache.c: Likewise.
38760         * elf/dl-minimal.c: Likewise.
38761         * elf/dl-misc.c: Likewise.
38762         * elf/dl-sysdep.c: Likewise.
38763         * elf/dl-version.c: Likewise.
38764         * elf/rtld.c: Likewise.
38765         * hurd/hurdsock.c: Likewise.
38766         * hurd/lookup-retry.c: Likewise.
38767         * malloc/malloc.c: Likewise.
38768         * malloc/mtrace.c: Likewise.
38769         * nscd/nscd_getgr_r.c: Likewise.
38770         * nscd/nscd_getpw_r.c: Likewise.
38771         * nscd/nscd_getserv_r.c: Likewise.
38772         * posix/getopt_init.c: Likewise.
38773         * posix/wordexp.c: Likewise.
38774         * stdio-common/_itoa.c: Likewise.
38775         * stdio-common/printf_fphex.c: Likewise.
38776         * stdio-common/vfprintf.c: Likewise.
38777         * string/_strerror.c: Likewise.
38778         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38779         * sysdeps/i386/i686/hp-timing.h: Likewise.
38780         * sysdeps/mach/_strerror.c: Likewise.
38781         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38782         * sysdeps/mach/hurd/sethostid.c: Likewise.
38783         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38784         * sysdeps/mach/xpg-strerror.c: Likewise.
38785         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38786         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38787         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38788         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38789         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38790         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38791         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38792         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38793         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38794         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38795         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38796         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38797         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38798         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38799         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38800         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38801         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38802         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38803         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38804         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38805         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38806
38807         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38808
38809         * stdio-common/_itoa.h: Moved to ...
38810         * sysdeps/generic/_itoa.h: Here.
38811
38812         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38813
38814         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38815         instead of "_itoa.h" and "_itowa.h".
38816         * stdio-common/vfprintf.: Likewise.
38817
38818 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38819
38820         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38821         <bits/wordsize.h>.
38822         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38823         (__signbit): Likwise.
38824         (llrintf): Likwise.
38825         (llrint): Likwise.
38826
38827 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38828
38829         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38830         __WORDSIZE != 64.
38831
38832 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38833
38834         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38835         OVERFLOW_EXCEPTION_OK.
38836         * math/libm-test.inc ("Philosophy"): Update comment about
38837         exception testing.
38838         (OVERFLOW_EXCEPTION): Define.
38839         (OVERFLOW_EXCEPTION_OK): Likewise.
38840         (INVALID_EXCEPTION_OK): Renumber.
38841         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38842         (IGNORE_ZERO_INF_SIGN): Likewise.
38843         (test_exceptions): Handle FE_OVERFLOW.
38844         (exp10_test): Expect overflow exceptions.
38845         (exp2_test): Likewise.
38846         (expm1_test): Likewise.
38847         (nextafter_test): Likewise.
38848         (pow_test): Likewise.
38849         (scalbn_test): Likewise.
38850         (scalbln_test): Likewise.
38851
38852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38853
38854         * sysdeps/x86_64/bits/atomic.h
38855         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38856         64bit integer.
38857         (atomic_exchange_acq): Likewise.
38858         (__arch_exchange_and_add_body): Likewise.
38859         (__arch_add_body): Likewise.
38860         (atomic_add_negative): Likewise.
38861         (atomic_add_zero): Likewise.
38862
38863 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38864
38865         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38866         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38867
38868 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38869
38870         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38871         Check __x86_64__ instead of __WORDSIZE.
38872
38873 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38874
38875         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38876
38877 2012-03-19  David S. Miller  <davem@davemloft.net>
38878
38879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38880
38881         * sysdeps/sparc/fpu/fenv_private.h: New file.
38882         * sysdeps/sparc/fpu/math_private.h: Use it.
38883         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38884         Remove.
38885         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38886         (libc_feholdexcept_setroundl): Remove.
38887         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38888         Remove.
38889         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38890         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38891
38892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38893
38894         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38895         int64_t instead of long int.
38896         (INSERT_WORDS64): Likwise.
38897
38898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38899
38900         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38901         _Unwind_GetCFA return to _Unwind_Ptr first.
38902
38903 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38904
38905         [BZ #13629]
38906         * math/s_clog.c: Include <float.h>.
38907         (__clog): Scale large or subnormal inputs.
38908         * math/s_clogf.c: Likewise.
38909         * math/s_clogl.c: Likewise.
38910         * math/s_clog10.c: Include <float.h>.
38911         (M_LOG10_2): Define.
38912         (__clog10): Scale large or subnormal inputs.
38913         * math/s_clog10f.c: Likewise.
38914         * math/s_clog10l.c: Likewise.
38915         * math/libm-test.inc (clog_test): Add more tests.
38916         (clog10_test): Likewise.
38917         * sysdeps/i386/fpu/libm-test-ulps: Update.
38918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38919
38920         [BZ #11451]
38921         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38922         x and y.
38923         * math/libm-test.inc (atan2_test): Add another test.
38924
38925         * Makerules (common-objdir-compile): Remove.
38926         * sysdeps/unix/Makefile (config-generated): Do not add
38927         $(unix-generated) to variable.
38928         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38929         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38930         Remove rule.
38931         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38932         Likewise.
38933         [generic bits/local_lim.h] (before-compile): Do not append to
38934         variable.
38935         [generic bits/local_lim.h] (common-generated): Likewise.
38936         [generic sys/param.h] (before-compile): Do not append to variable.
38937         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38938         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38939         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38940         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38941         include.
38942         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38943         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38944         [generic sys/param.h] ($(addprefix
38945         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38946         [generic sys/param.h] (common-generated): Do not append to
38947         variable.
38948         [generic sys/param.h] (sysdep_headers): Likewise.
38949         [generic bits/errno.h] (before-compile): Do not append to
38950         variable.
38951         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38952         rule.
38953         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38954         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38955         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38956         [generic bits/errno.h] (common-generated): Do not append to
38957         variable.
38958         [generic bits/ioctls.h] (before-compile): Do not append to
38959         variable.
38960         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38961         rule.
38962         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38963         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38964         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38965         rule.
38966         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38967         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38968         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38969         [generic bits/ioctls.h] (common-generated): Do not append to
38970         variable.
38971         [generic sys/syscall.h] (syscall.h): Remove variable.
38972         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38973         rule.
38974         [generic sys/syscall.h] (before-compile): Do not append to
38975         variable.
38976         [generic sys/syscall.h] (common-generated): Likewise.
38977         * sysdeps/unix/errnos-tmpl.c: Remove file.
38978         * sysdeps/unix/errnos.awk: Likewise.
38979         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38980         * sysdeps/unix/ioctls.awk: Likewise.
38981         * sysdeps/unix/mk-local_lim.c: Likewise.
38982         * sysdeps/unix/snarf-ioctls: Likewise.
38983
38984 2012-03-19  Richard Henderson  <rth@twiddle.net>
38985
38986         * sysdeps/i386/fpu/fenv_private.h: New file.
38987         * sysdeps/i386/fpu/math_private.h: Use it.
38988         (math_opt_barrier, math_force_eval): Remove.
38989         (libc_feholdexcept_setround_53bit): Remove.
38990         (libc_feupdateenv_53bit): Remove.
38991         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38992         (math_opt_barrier, math_force_eval): Remove.
38993         (libc_feholdexcept): Remove.
38994         (libc_feholdexcept_setround): Remove.
38995         (libc_fetestexcept, libc_fesetenv): Remove.
38996         (libc_feupdateenv_test): Remove.
38997         (libc_feupdateenv, libc_feholdsetround): Remove.
38998         (libc_feresetround): Remove.
38999
39000         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39001         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39002
39003         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39004         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39005         (libc_feupdateenv_testl): New.
39006         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39007         (libc_feupdateenv_testf): New.
39008         (libc_feupdateenv): Use libc_feupdateenv_test.
39009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39010         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39011
39012         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39013         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39014         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39015         (libc_feresetround_noex): New.
39016         (libc_feresetround_noexf): New.
39017         (libc_feresetround_noexl): New.
39018         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39019         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39020         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39022         SET_RESTORE_ROUND.
39023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39025         (__cos): Likewise.
39026         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39027         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39028         SET_RESTORE_ROUND_NOEX.
39029         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39030         SET_RESTORE_ROUND_NOEXF.
39031         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39032         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39033         (libc_feholdsetroundf): New.
39034         (libc_feresetround, libc_feresetroundf): New.
39035
39036         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39037         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39038         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39039
39040         * sysdeps/generic/math_private.h: Include <fenv.h>.
39041         (default_libc_feholdexcept): New.
39042         (default_libc_feholdexcept_setround): New.
39043         (default_libc_fesetenv, default_libc_feupdateenv): New.
39044         (libc_feholdexcept): Only define if undefined.
39045         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39046         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39047         (libc_feholdexcept_setroundl): Likewise.
39048         (libc_feholdexcept_setround_53bit): Likewise.
39049         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39050         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39051         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39052         (libc_feupdateenv_53bit): Likewise.
39053         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39054         (libc_feholdexcept): Convert from macro to inline function.
39055         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39056         (libc_fesetenv, libc_feupdateenv): Likewise.
39057
39058         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39059         not previously defined.
39060         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39061         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39062         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39063         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39064         * sysdeps/ieee754/flt-32/math_private.h: New file.
39065         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39066         math_private.h below SET_FLOAT_WORD.
39067         (__isnan, __isinf_ns, __finite): Remove.
39068         (__isnanf, __isinf_nsf, __finitef): Remove.
39069
39070 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39071
39072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39073
39074 2012-03-17  David S. Miller  <davem@davemloft.net>
39075
39076         [BZ #6471]
39077         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39078         for 2.16.
39079
39080 2012-03-16  David S. Miller  <davem@davemloft.net>
39081
39082         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39083         warnings.
39084
39085         [BZ #6471]
39086         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39087         properly.
39088         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39089         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39090         sysdep_routines when subdir is sysvipc.
39091         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39092         __getshmlba helper.
39093
39094         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39095
39096 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39097
39098         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39099         [__LP64__].
39100
39101 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39102
39103         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39104         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39105         (__lround): Renamed to ...
39106         (__llround): This.  Replace long int with long long int.
39107         Define lround functions as aliases of llround functions.
39108         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39109
39110 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39111
39112         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39113         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39114         adresses to uintptr_t.  Replace "long int" and "unsigned long
39115         int" with "greg_t" on va_arg.
39116
39117 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39118
39119         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39120         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39121
39122         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39123         Move e_machine check before EI_CLASS check.  Handle x32
39124         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39125         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39126         SKIP_EM_IA_64 and include
39127         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39128
39129         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39130         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39131         (add_system_dir): New macro.
39132
39133         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39134         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39135
39136 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39137
39138         [BZ #2551]
39139         [BZ #2552]
39140         [BZ #2553]
39141         [BZ #2554]
39142         [BZ #2562]
39143         [BZ #2563]
39144         [BZ #2565]
39145         [BZ #2566]
39146         [BZ #2576]
39147         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39148         (y0): Likewise.
39149         * math/w_j0f.c (j0f): Likewise.
39150         (y0f): Likewise.
39151         * math/w_j0l.c (__j0l): Likewise.
39152         (__y0l): Likewise.
39153         * math/w_j1.c (j1): Likewise.
39154         (y1): Likewise.
39155         * math/w_j1f.c (j1f): Likewise.
39156         (y1f): Likewise.
39157         * math/w_j1l.c (__j1l): Likewise.
39158         (__y1l): Likewise.
39159         * math/w_jn.c (jn): Likewise.
39160         (yn): Likewise.
39161         * math/w_jnf.c (jnf): Likewise.
39162         (ynf): Likewise.
39163         * math/w_jnl.c (__jnl): Likewise.
39164         (__ynl): Likewise.
39165         * math/libm-test.inc (j0_test): Add more tests.
39166         (j1_test): Likewise.
39167         (jn_test): Likewise.  Add trailing semicolon to existing test.
39168         (y0_test): Likewise.
39169         (y1_test): Likewise.
39170         * sysdeps/i386/fpu/libm-test-ulps: Update.
39171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39172
39173         [BZ #13851]
39174         [BZ #13854]
39175         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39176         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39177         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39178         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39179         (__tanl): Set errno for infinite argument.
39180         * sysdeps/i386/fpu/mptan.c: Remove.
39181         * sysdeps/i386/fpu/s_tan.S: Likewise.
39182         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39183         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39184         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39185         * math/libm-test.inc (tan_test): Add more tests and enable more
39186         tests for double and long double.
39187         * sysdeps/i386/fpu/libm-test-ulps: Update.
39188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39189
39190 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39191
39192         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39193         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39194
39195 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39196
39197         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39198         * configure.in: Use it for both main tree and add-ons.
39199         * configure: Regenerated.
39200
39201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39202
39203         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39204
39205 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39206
39207         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39208         in comment.
39209
39210         [BZ #13851]
39211         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39212         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39213         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39214         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39215         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39216         infinite argument.
39217         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39219         != 0 for prec == 2.
39220         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39221         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39222         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39223         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39224         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39225         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39226         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39227         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39228         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39229         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39230         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39231         * math/libm-test.inc (cos_test): Add more tests and enable more
39232         tests for long double.
39233         (sin_test): Likewise.
39234         (sincos_test): Likewise.
39235         * sysdeps/i386/fpu/libm-test-ulps: Update.
39236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39237
39238 2012-03-16  David S. Miller  <davem@davemloft.net>
39239
39240         * sysdeps/sparc/fpu/math_private.h: New file.
39241
39242 2012-03-15  David S. Miller  <davem@davemloft.net>
39243
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39245         file.
39246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39248         file.
39249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39255         sysdep routines.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39257
39258         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39259         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39260
39261         * sysdeps/sparc/sparc-ifunc.h: New file.
39262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39263         sparc-ifunc.h
39264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39266         Likewise.
39267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39268         Likewise.
39269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39273         Likewise.
39274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39279         Likewise.
39280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39281         Likewise.
39282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39288         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39289         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39304         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39305         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39306
39307 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39308
39309         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39310         scaling.
39311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39312
39313 2012-03-15  Andreas Jaeger  <aj@suse.de>
39314
39315         [BZ #13852]
39316         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39317         ieee754/flt-32 implementation for sin, cos and sincos.
39318         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39319         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39320         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39321         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39322         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39323         ieee754/flt-32 implementation for tan.
39324
39325         * math/libm-test.inc (cos_test): Enable some large input tests for
39326         float as well
39327         (sin_test): Likewise.
39328         (sincos_test): Likewise.
39329         (tan_test): Add tests for large input.
39330
39331         * sysdeps/i386/fpu/libm-test-ulps: Update.
39332
39333 2012-03-15  Andreas Jaeger  <aj@suse.de>
39334
39335         [BZ #13658]
39336         * math/libm-test.inc (cos_test): Add more test cases.
39337         (sin_test): Likewise.
39338         (sincos_test): Likewise.
39339
39340 2012-03-15  Andreas Jaeger  <aj@suse.de>
39341
39342         [BZ #13837]
39343         * math/libm-test.inc (cos_test): Add a test case for large input
39344         value.
39345         (sin_test): Likewise.
39346         (sincos_test): Likewise.
39347
39348 2012-03-15  Andreas Jaeger  <aj@suse.de>
39349             Joseph Myers  <joseph@codesourcery.com>
39350
39351         [BZ #13658]
39352         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39353         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39354         * sysdeps/i386/fpu/branred.c: Likewise.
39355         * sysdeps/i386/fpu/dosincos.c: Likewise.
39356         * sysdeps/i386/fpu/mpa.c: Likewise.
39357         * sysdeps/i386/fpu/s_cos.S: Likewise.
39358         * sysdeps/i386/fpu/s_sin.S: Likewise.
39359         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39360         * sysdeps/i386/fpu/sincos32.c: Likewise.
39361
39362         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39363         Define.
39364         (libc_feupdateenv_53bit): Define.
39365         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39366         Define.
39367         (libc_feupdateenv_53bit): Define.
39368
39369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39370         53 bit (without extend i386 double precision).
39371
39372         * math/libm-test.inc (sincos_test): Add tests for large input.
39373         (sin): Likewise.
39374         (cos): Likewise.
39375
39376         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39377
39378 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39379
39380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39381
39382 2012-03-15  David S. Miller  <davem@davemloft.net>
39383
39384         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39385         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39386         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39387         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39400         file.
39401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39403         file.
39404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39406         file.
39407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39409         file.
39410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39411         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39412         fmin/fmax sysdep routines.
39413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39414
39415 2012-03-14  David S. Miller  <davem@davemloft.net>
39416
39417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39424         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39440         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39443         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39444         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39446         routines.
39447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39448         file.
39449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39451         file.
39452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39454         file.
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39457         file.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39460         file.
39461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39463         file.
39464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39465         file.
39466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39467         file.
39468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39469         file.
39470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39471         New file.
39472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39473         file.
39474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39475         file.
39476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39478         file.
39479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39481         file.
39482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39484         file.
39485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39487         VIS3 routines.
39488
39489         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39490         New file.
39491
39492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39493
39494         * sysdeps/sparc/configure.in: New file.
39495         * sysdeps/sparc/configure: Generate.
39496         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39497         * configure: Regenerate.
39498         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39499         * config.make.in (have-as-vis3): New.
39500         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39501         available use -Av9d instead of -Av9a.
39502         * sysdeps/sparc/sparc64/Makefile: Likewise.
39503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39505         New file.
39506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39507         file.
39508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39509         New file.
39510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39511         file.
39512         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39517
39518         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39519         fzeros/fnegs to load 0x80000000 into a float register instead of
39520         using the stack.
39521         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39522
39523 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39524
39525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39526         bits/syscall.h.
39527         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39528         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39529         ($(inst_includedir)/bits/syscall.h): Remove rule.
39530         ($(objpfx)bits/syscall.d): Include instead of
39531         $(objpfx)syscall-list.d.
39532         (generated): Change syscall-list.h and syscall-list.d to
39533         bits/syscall.h and bits/syscall.d.
39534
39535 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39536
39537         [BZ #13846]
39538         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39539
39540 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39541
39542         [BZ #13841]
39543         * math/s_csqrt.c: Include <float.h>.
39544         (__csqrt): Scale large or subnormal inputs.
39545         * math/s_csqrtf.c: Likewise.
39546         * math/s_csqrtl.c: Likewise.
39547         * math/libm-test.inc (csqrt_test): Add more tests.
39548         * sysdeps/i386/fpu/libm-test-ulps: Update.
39549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39550
39551         [BZ #13840]
39552         * math/libm-test.inc (hypot_test): Add more tests.
39553
39554 2012-03-13  David S. Miller  <davem@davemloft.net>
39555
39556         [BZ #13840]
39557         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39558         double-precision for the calculation instead of scaling.
39559
39560 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39561
39562         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39563         manipulate bits before adding and subtracting TWO52[sx].
39564         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39566         Likewise.
39567         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39568
39569 2012-03-13  David S. Miller  <davem@davemloft.net>
39570
39571         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39572         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39574         rtld-global-offsets.h
39575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39576
39577         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39578         large parameters.
39579
39580         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39581
39582         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39583         'err' in the ifdef scope in which it is actually used.
39584
39585         * nss/nss_db/db-init.c: Include string.h
39586
39587 2012-03-12  David S. Miller  <davem@davemloft.net>
39588
39589         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39590         masking out of the most significant byte of random value used.
39591         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39592         Fix coding style in previous change.
39593
39594         * sysdeps/unix/sysv/linux/kernel-features.h
39595         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39596         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39597         expression.
39598         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39599         later.
39600
39601 2012-03-11  David S. Miller  <davem@davemloft.net>
39602
39603         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39604         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39605         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39606         for 'resultvar' otherwise things get truncated on 64-bit.
39607
39608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39609         Fix masking out of the most significant byte of random value used.
39610
39611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39612
39613 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39614
39615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39616
39617 2012-03-09  David S. Miller  <davem@davemloft.net>
39618
39619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39620         variables with appropriate CPP guards.
39621         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39622         from the frame pointer, not the stack pointer.  Correct layout
39623         comments.  Fix test on resulting framesize and the management of
39624         the outregs buffer for pltexit.  Preserve floating point return
39625         values across _dl_call_pltexit call.
39626         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39627         framesize and the management of the outregs buffer for pltexit.
39628         Preserve floating point return values across _dl_call_pltexit
39629         call.
39630         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39631         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39632         (la_sparc64_gnu_pltexit): New functions.
39633         (print_exit): Fix format string for return register value.
39634
39635 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39636
39637         * sunrpc/Makefile (others): Add rpcgen.
39638         ($(objpfx)rpcgen): Remove special build rule and dependency on
39639         libc.
39640         * sunrpc/rpcgen.c: New file.
39641
39642 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39643
39644         [BZ #13673]
39645         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39646         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39647         * sysdeps/i386/crti.S: Likewise.
39648         * sysdeps/i386/crtn.S: Likewise.
39649         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39650         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39651         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39652         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39653         * sysdeps/sh/crti.S: Likewise.
39654         * sysdeps/sh/crtn.S: Likewise.
39655         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39656
39657         [BZ #13673]
39658         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39659         with URL.
39660         * locale/programs/locfile-kw.gperf: Likewise.
39661         * locale/programs/charmap-kw.h: Regenerated.
39662         * locale/programs/locfile-kw.h: Likewise.
39663
39664         [BZ #13673]
39665         * intl/plural.y: Replace FSF snail mail address with URL.
39666         * intl/plural.c: Regenerated.
39667
39668 2012-03-09  Richard Henderson  <rth@twiddle.net>
39669
39670         * include/math_private.h: Remove file.
39671         * math/math_private.h: Move file ...
39672         * sysdeps/generic/math_private.h: ... here.
39673
39674         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39675         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39676         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39677
39678         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39679         and <math_private.h>.
39680         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39681         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39682         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39683         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39684         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39685         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39686         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39688         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39689         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39690         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39691         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39692         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39694         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39695         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39696         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39697         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39698         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39699         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39700         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39701         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39702         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39704         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39705         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39706         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39707         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39710         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39711         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39712         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39713         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39714         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39715         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39716         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39717         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39718         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39719         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39720         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39721         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39722         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39723         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39724         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39725         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39726         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39727         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39728         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39729         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39730         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39731         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39732         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39733         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39734         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39735         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39736         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39737         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39738         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39739         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39740         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39742         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39743         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39744         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39745         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39746         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39747         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39748         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39749         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39750         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39751         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39752         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39758         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39759         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39762         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39763         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39764         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39765         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39766         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39767         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39768         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39769         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39770         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39771         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39772         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39773         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39774         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39775         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39776         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39777         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39778         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39779         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39780         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39781         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39782         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39783         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39784         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39785         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39786         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39787         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39788         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39789         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39790         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39791         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39792         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39793         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39794         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39795         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39796         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39797         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39798         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39799         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39800         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39801         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39802         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39803         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39804         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39805         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39807         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39808         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39809         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39810         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39811         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39812         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39813         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39814         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39815         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39816         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39817         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39818         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39819         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39820         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39821         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39822         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39823         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39824         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39825         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39826         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39827         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39828         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39829         * sysdeps/ieee754/k_standard.c: Likewise.
39830         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39831         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39832         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39833         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39834         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39835         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39836         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39837         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39838         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39839         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39840         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39842         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39843         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39844         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39845         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39846         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39847         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39848         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39849         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39850         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39851         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39852         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39853         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39854         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39855         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39856         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39857         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39858         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39859         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39860         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39861         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39862         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39863         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39864         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39865         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39866         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39867         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39868         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39869         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39872         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39873         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39874         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39876         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39878         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39880         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39881         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39882         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39883         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39886         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39887         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39888         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39889         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39890         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39891         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39892         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39893         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39897         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39898         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39899         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39900         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39902         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39903         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39907         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39908         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39909         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39910         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39911         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39912         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39913         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39914         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39915         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39916         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39917         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39918         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39920         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39921         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39923         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39925         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39926         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39927         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39928         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39932         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39937         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39942         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39945         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39949         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39952         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39953         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39957         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39959         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39962         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39965         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39966         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39972         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39975         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39976         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39978         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39979         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39980         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39982         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39990         * sysdeps/ieee754/s_lib_version.c: Likewise.
39991         * sysdeps/ieee754/s_matherr.c: Likewise.
39992         * sysdeps/ieee754/s_signgam.c: Likewise.
39993         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39994         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39995         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39996         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39997         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39998         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39999         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40000         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40001         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40002         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40003         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40004         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40005         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40006         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40007         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40008         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40010         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40013         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40014
40015 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40016
40017         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40018         * sunrpc/rpc_main.c: Likewise.
40019         * sunrpc/rpc_svcout.c: Likewise.
40020
40021 2012-03-09  David S. Miller  <davem@davemloft.net>
40022
40023         * include/math_private.h: New file.
40024
40025 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40026
40027         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40028         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40029         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40030         from <bits/socket_type.h>.
40031         (enum __socket_type): Don't define here.
40032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40034         bits/socket_type.h.
40035
40036         [BZ #13566]
40037         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40038         checking __USE_GNU.
40039
40040         * Makerules ($(inst_includedir)/%.h): New rule.
40041         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40042         (install-others): Remove variable setting.
40043         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40044
40045 2012-03-08  Richard Henderson  <rth@twiddle.net>
40046
40047         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40048         from macro to inline function; merge with the
40049         !__LIBC_INTERNAL_MATH_INLINES version.
40050         (__ieee754_sqrtf): Likewise.
40051
40052         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40053         to inline function.
40054         (__rintf, __floor, __floorf): Likewise.
40055
40056         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40057         macro to inline function.
40058         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40059
40060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40061         not <math/math_private.h>.
40062
40063 2012-03-08  David S. Miller  <davem@davemloft.net>
40064
40065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40066         copyright year.
40067         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40068
40069 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40070
40071         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40072         normalization.
40073         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40074         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40075
40076 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40077
40078         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40079         be defined individually, they must be defined as a block.  Define
40080         S for printing a string instead of hidint the different by using a
40081         macro for adding the 'l'.
40082         * stdio-common/tst-fphex-wide.c: Adjust.
40083
40084 2012-03-07  Marek Polacek  <polacek@redhat.com>
40085
40086         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40087
40088 2012-03-08  Marek Polacek  <polacek@redhat.com>
40089
40090         [BZ #13806]
40091         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40092         * stdio-common/tst-fphex.c: Define a few macros to make the
40093         test reusable.  Use them.
40094         * stdio-common/tst-fphex-wide.c: New file.
40095
40096 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40097
40098         [BZ #6911]
40099         * manual/macros.texi (gnusystems): New macro.
40100         (nongnusystems): Likewise.
40101         (gnulinuxhurdsystems): Likewise.
40102         (gnuhurdsystems): Likewise..
40103         (gnulinuxsystems): Likewise.
40104         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40105         variants of the GNU system, not "GNU system".
40106         * manual/conf.texi: Likewise.
40107         * manual/errno.texi: Likewise.  Update example of errno macro
40108         expansion.
40109         * manual/filesys.texi: Likewise.
40110         (getumask): Document as specific to GNU/Hurd.
40111         * manual/install.texi: Likewise.  Reword some references to
40112         GNU/Linux.
40113         * manual/intro.texi: Likewise.
40114         * manual/io.texi: Likewise.
40115         (File Name Portability): Detail which constraints are inapplicable
40116         to all GNU systems and which are only inapplicable to GNU/Hurd.
40117         * manual/job.texi: Likewise.
40118         * manual/llio.texi: Likewise.
40119         (O_NOCTTY): Document as present on GNU/Linux.
40120         * manual/maint.texi: Likewise.
40121         * manual/memory.texi: Likewise.
40122         * manual/pattern.texi: Likewise.
40123         * manual/pipe.texi: Likewise.
40124         * manual/process.texi: Likewise.
40125         * manual/resource.texi: Likewise.
40126         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40127         child on GNU/Hurd.
40128         * manual/setjmp.texi: Likewise.
40129         * manual/signal.texi: Likewise.
40130         * manual/startup.texi: Likewise.
40131         * manual/stdio.texi: Likewise.
40132         * manual/terminal.texi: Likewise.
40133         (ONLCR): Document as POSIX.
40134         (OXTABS): Document availability on GNU/Linux as XTABS.
40135         (ONOEOT): Document availability separately from other bits.
40136         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40137         * manual/time.texi: Likewise.
40138         * manual/users.texi: Likewise.
40139         * INSTALL: Regenerated.
40140         * sysdeps/gnu/errlist.c: Regenerated.
40141
40142         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40143         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40144         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40145         puts.
40146         * configure: Regenerated.
40147
40148 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40149
40150         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40151         default includes instead of AC_HEADER_CHECK.
40152         * sysdeps/i386/configure: Regenerated.
40153
40154         [BZ #10716]
40155         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40156         * math/s_cacoshf.c (__cacoshf): Likewise.
40157         * math/s_cacoshl.c (__cacoshl): Likewise.
40158         * math/s_casinh.c (__casinh): Set signs of result from argument.
40159         * math/s_casinhf.c (__casinhf): Likewise.
40160         * math/s_casinhl.c (__casinhl): Likewise.
40161         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40162         (casinh_test): Add more tests.
40163         * sysdeps/i386/fpu/libm-test-ulps: Update.
40164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165
40166 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40167
40168         * po/zh_TW.po: Update from translation team.
40169
40170         * login/Makefile (distribute): Remove variable.
40171         * catgets/Makefile: Likewise.
40172         * mach/Makefile: Likewise.
40173         * malloc/Makefile: Likewise.
40174         * misc/Makefile: Likewise.
40175         * iconv/Makefile: Likewise.
40176         * nscd/Makefile: Likewise.
40177         * hurd/Makefile: Likewise.
40178         * manual/Makefile: Likewise.
40179         * locale/Makefile: Likewise.
40180         * intl/Makefile: Likewise.
40181         * conform/Makefile: Likewise.
40182         * nss/Makefile: Likewise.
40183         * time/Makefile: Likewise.
40184         * soft-fp/Makefile: Likewise.
40185         * dirent/Makefile: Likewise.
40186         * gmon/Makefile: Likewise.
40187         * po/Makefile: Likewise.
40188         * rt/Makefile: Likewise.
40189         * socket/Makefile: Likewise.
40190         * math/Makefile: Likewise.
40191         * signal/Makefile: Likewise.
40192         * debug/Makefile: Likewise.
40193         * elf/Makefile: Likewise.
40194         * timezone/Makefile: Likewise.
40195         * stdlib/Makefile: Likewise.
40196         * iconvdata/Makefile: Likewise.
40197         * sunrpc/Makefile: Likewise.
40198         * io/Makefile: Likewise.
40199         * argp/Makefile: Likewise.
40200         * inet/Makefile: Likewise.
40201         * hesiod/Makefile: Likewise.
40202         * grp/Makefile: Likewise.
40203         * csu/Makefile: Likewise.
40204         * wctype/Makefile: Likewise.
40205         * crypt/Makefile: Likewise.
40206         * libio/Makefile: Likewise.
40207         * string/Makefile: Likewise.
40208         * nis/Makefile: Likewise.
40209         * resolv/Makefile: Likewise.
40210         * stdio-common/Makefile: Likewise.
40211         * wcsmbs/Makefile: Likewise.
40212         * dlfcn/Makefile: Likewise.
40213         * posix/Makefile: Likewise.
40214
40215         [BZ #6959]
40216         * timezone/Makefile: Don't install timezone files, just the programs
40217         and scripts.
40218
40219 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40220
40221         * nss/databases.def: Add missing gshadow entry.
40222
40223         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40224
40225 2012-03-06  Marek Polacek  <polacek@redhat.com>
40226
40227         [BZ #13726]
40228         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40229         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40230         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40231         * stdio-common/tst-long-dbl-fphex.c: New file.
40232
40233 2012-03-06  David S. Miller  <davem@davemloft.net>
40234
40235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40236         (set_obp_int): New function.
40237         (get_obp_int): New function.
40238         (__get_clockfreq_via_dev_openprom): Likewise.
40239         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40240         Avoid unused variable warnings on 'val' and use builtin_expect.
40241         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40242         __builtin_expect.
40243         (INLINE_CLONE_SYSCALL): Likewise.
40244
40245 2012-03-05  David S. Miller  <davem@davemloft.net>
40246
40247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40248
40249 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40250
40251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40252
40253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40254         only for |x| >= 40.
40255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40256
40257 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40258
40259         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40260         Replace gettimeofday with __vdso_gettimeofday.
40261
40262         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40263         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40264         __vdso_clock_gettime and __vdso_getcpu.
40265
40266         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40267         time with __vdso_time.
40268
40269 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40270
40271         * manual/lang.texi (size_t): Note types to which size_t may be
40272         equivalent with the GNU C Library, but do not describe when
40273         differences between them are significant.
40274
40275 2012-03-05  Andreas Jaeger  <aj@suse.de>
40276
40277         * sysdeps/i386/fpu/libm-test-ulps: Update.
40278
40279 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40280
40281         [BZ #3976]
40282         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40283         (__ieee754_pow): Save and restore rounding mode and use
40284         round-to-nearest for main computations.
40285         * math/libm-test.inc (pow_test_tonearest): New function.
40286         (pow_test_towardzero): Likewise.
40287         (pow_test_downward): Likewise.
40288         (pow_test_upward): Likewise.
40289         (main): Call the new functions.
40290         * sysdeps/i386/fpu/libm-test-ulps: Update.
40291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40292
40293         [BZ #3976]
40294         * math/libm-test.inc (cosh_test_tonearest): New function.
40295         (cosh_test_towardzero): Likewise.
40296         (cosh_test_downward): Likewise.
40297         (cosh_test_upward): Likewise.
40298         (sinh_test_tonearest): Likewise.
40299         (sinh_test_towardzero): Likewise.
40300         (sinh_test_downward): Likewise.
40301         (sinh_test_upward): Likewise.
40302         (main): Call the new functions.
40303         * sysdeps/i386/fpu/libm-test-ulps: Update.
40304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40305
40306 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40307
40308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40309         default stack guard is set in last bytes.
40310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40311
40312 2012-03-05  Kees Cook  <keescook@chromium.org>
40313
40314         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40315
40316         [BZ #13656]
40317         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40318         possibly allocate from heap instead of stack.
40319         * stdio-common/bug-vfprintf-nargs.c: New file.
40320         * stdio-common/Makefile (tests): Add nargs overflow test.
40321
40322 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40323
40324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40325
40326 2012-03-03  Marek Polacek  <polacek@redhat.com>
40327
40328         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40329         * math/math_private.h: Likewise.
40330         * stdlib/tst-strtod.c: Likewise.
40331         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40332         * sysdeps/x86_64/bits/atomic.h: Likewise.
40333
40334 2012-03-02  David S. Miller  <davem@davemloft.net>
40335
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40340         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40341         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40342         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40343         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40344
40345 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40346
40347         [BZ #13792]
40348         * manual/examples/README: New file, says the example source files
40349         can be used under GPL>=2.
40350         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40351         line containing just "*/".
40352         * manual/examples/add.c: Add copyright header (GPL>=2).
40353         * manual/examples/argp-ex1.c: Likewise.
40354         * manual/examples/argp-ex2.c: Likewise.
40355         * manual/examples/argp-ex3.c: Likewise.
40356         * manual/examples/argp-ex4.c: Likewise.
40357         * manual/examples/atexit.c: Likewise.
40358         * manual/examples/db.c: Likewise.
40359         * manual/examples/dir.c: Likewise.
40360         * manual/examples/dir2.c: Likewise.
40361         * manual/examples/execinfo.c: Likewise.
40362         * manual/examples/filecli.c: Likewise.
40363         * manual/examples/filesrv.c: Likewise.
40364         * manual/examples/fmtmsgexpl.c: Likewise.
40365         * manual/examples/genpass.c: Likewise.
40366         * manual/examples/inetcli.c: Likewise.
40367         * manual/examples/inetsrv.c: Likewise.
40368         * manual/examples/isockad.c: Likewise.
40369         * manual/examples/longopt.c: Likewise.
40370         * manual/examples/memopen.c: Likewise.
40371         * manual/examples/memstrm.c: Likewise.
40372         * manual/examples/mkfsock.c: Likewise.
40373         * manual/examples/mkisock.c: Likewise.
40374         * manual/examples/mygetpass.c: Likewise.
40375         * manual/examples/pipe.c: Likewise.
40376         * manual/examples/popen.c: Likewise.
40377         * manual/examples/rprintf.c: Likewise.
40378         * manual/examples/search.c: Likewise.
40379         * manual/examples/select.c: Likewise.
40380         * manual/examples/setjmp.c: Likewise.
40381         * manual/examples/sigh1.c: Likewise.
40382         * manual/examples/sigusr.c: Likewise.
40383         * manual/examples/stpcpy.c: Likewise.
40384         * manual/examples/strdupa.c: Likewise.
40385         * manual/examples/strftim.c: Likewise.
40386         * manual/examples/strncat.c: Likewise.
40387         * manual/examples/subopt.c: Likewise.
40388         * manual/examples/swapcontext.c: Likewise.
40389         * manual/examples/termios.c: Likewise.
40390         * manual/examples/testopt.c: Likewise.
40391         * manual/examples/testpass.c: Likewise.
40392         * manual/examples/timeval_subtract.c: Likewise.
40393
40394         [BZ #13792]
40395         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40396         function to ...
40397         * manual/timeval_subtract.c.texi: ... here, new file.
40398
40399 2012-03-02  David S. Miller  <davem@davemloft.net>
40400
40401         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40402
40403 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40404
40405         [BZ #3976]
40406         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40407         (__sin): Save and restore rounding mode and use round-to-nearest
40408         for all computations.
40409         (__cos): Save and restore rounding mode and use round-to-nearest
40410         for all computations.
40411         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40412         <fenv.h>.
40413         (tan): Save and restore rounding mode and use round-to-nearest for
40414         all computations.
40415         * math/libm-test.inc (cos_test_tonearest): New function.
40416         (cos_test_towardzero): Likewise.
40417         (cos_test_downward): Likewise.
40418         (cos_test_upward): Likewise.
40419         (sin_test_tonearest): Likewise.
40420         (sin_test_towardzero): Likewise.
40421         (sin_test_downward): Likewise.
40422         (sin_test_upward): Likewise.
40423         (tan_test_tonearest): Likewise.
40424         (tan_test_towardzero): Likewise.
40425         (tan_test_downward): Likewise.
40426         (tan_test_upward): Likewise.
40427         (main): Call the new functions.
40428         * sysdeps/i386/fpu/libm-test-ulps: Update.
40429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40430
40431         [BZ #10135]
40432         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40433         small n, then large n, before computing and testing k+n.
40434         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40436         Likewise.
40437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40438         Likewise.
40439         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40440         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40441         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40442         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40443         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40444         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40445         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40446         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40447         * math/libm-test.inc (scalbn_test): Add more tests.
40448         (scalbln_test): Likewise.
40449
40450         * manual/filesys.texi (mode_t): Describe constraints on size and
40451         signedness, not exact equivalence to a particular type.
40452         (ino_t): Likewise.
40453         (ino64_t): Likewise.
40454         (dev_t): Likewise.
40455         (nlink_t): Likewise.
40456         (blkcnt_t): Likewise.
40457         (blkcnt64_t): Likewise.
40458         * manual/llio.texi (off_t): Likewise.
40459
40460         [BZ #3976]
40461         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40462         (__ieee754_exp): Save and restore rounding mode and use
40463         round-to-nearest for all computations.
40464         * math/libm-test.inc (exp_test_tonearest): New function.
40465         (exp_test_towardzero): Likewise.
40466         (exp_test_downward): Likewise.
40467         (exp_test_upward): Likewise.
40468         (main): Call the new functions.
40469         * sysdeps/i386/fpu/libm-test-ulps: Update.
40470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40471
40472 2012-03-01  Chris Demetriou  <cgd@google.com>
40473
40474         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40475         have predictable order.
40476
40477 2012-03-01  David S. Miller  <davem@davemloft.net>
40478
40479         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40480
40481         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40482         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40483         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40484         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40485
40486         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40487         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40488         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40490         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40491         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40492         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40493         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40494         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40495
40496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40497
40498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40499         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40500         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40501
40502         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40503         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40504         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40505         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40506         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40508         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40509         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40510         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40511         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40512         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40513         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40515         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40516         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40518         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40519         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40520         * sysdeps/sparc/elf/configure: Regenerated.
40521
40522 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40523
40524         * configure.in (AS, LD): Require binutils 2.20 or later.
40525         * configure: Regenerated.
40526         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40527         as required minimum version.
40528         * INSTALL: Regenerated.
40529
40530         [BZ #2541]
40531         [BZ #4108]
40532         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40533         before squaring exponent.
40534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40535         bottom long double and 27 bits of top long double before squaring
40536         exponent.
40537         * math/libm-test.inc (erfc_test): Add more tests.
40538         * sysdeps/i386/fpu/libm-test-ulps: Update.
40539         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40541
40542 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40543
40544         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40545         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40546         containing bit-fields.
40547         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40548         * soft-fp/single.h (_FP_UNION_S): Likewise.
40549         * soft-fp/double.h (_FP_UNION_D): Likewise.
40550
40551 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40552
40553         [BZ #13786]
40554         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40555         not include ../strcmp.S.
40556         [USE_AS_STRNCASECMP_L]: Likewise.
40557         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40558         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40559         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40560         (__strncasecmp_l_ia32): Define as alias to
40561         __strncasecmp_l_nonascii.
40562
40563         [BZ #5794]
40564         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40565         * sysdeps/i386/fpu/libm-test-ulps: Update.
40566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40567
40568         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40570
40571 2012-02-29  Jeff Law  <law@redhat.com>
40572
40573         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40574         out of bounds read.
40575
40576 2012-02-29  Marek Polacek  <polacek@redhat.com>
40577
40578         [BZ #13706]
40579         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40580         * elf/Makefile: Add rules to run tst-unused-dep.out.
40581
40582 2012-02-28  David S. Miller  <davem@davemloft.net>
40583
40584         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40585         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40586         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40587         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40588         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40589         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40590
40591 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40592
40593         * math/libm-test.inc (llround_test): Move one test from
40594         lround_test.  Use TEST_f_L in moved test.
40595         (lround_test): Move misplaced test to llround_test.  Add testcase
40596         from bug 2561.
40597
40598 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40599
40600         * sysdeps/x86_64/fpu/e_expf.S: New file.
40601         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40602
40603 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40604
40605         [BZ #13637]
40606         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40607         of remain_len that may cause incomplete multi-byte character and
40608         false match.
40609         * posix/bug-regex33.c: New file.
40610         * posix/Makefile (tests): Add bug-regex33.
40611
40612 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40613
40614         * manual/macros.texi: New file.
40615         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40616         * manual/libc.texinfo: Include macros.texi.
40617         * manual/creatute.texi: Likewise.
40618         * manual/install.texi: Likewise.
40619         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40620         @glibcadj{} in references to the GNU C Library.
40621         * manual/charset.texi: Likewise.
40622         * manual/conf.texi: Likewise.
40623         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40624         when not using those macros.
40625         * manual/creature.texi: Likewise.
40626         * manual/crypt.texi: Likewise.
40627         * manual/errno.texi: Likewise.
40628         * manual/filesys.texi: Likewise.
40629         * manual/header.texi: Likewise.
40630         * manual/install.texi: Likewise.
40631         * manual/intro.texi: Likewise.
40632         * manual/io.texi: Likewise.
40633         * manual/job.texi: Likewise.
40634         * manual/lang.texi: Likewise.
40635         * manual/libc.texiinfo: Likewise.
40636         * manual/llio.texi: Likewise.
40637         * manual/locale.texi: Likewise.
40638         * manual/maint.texi: Likewise.
40639         * manual/math.texi: Likewise.
40640         * manual/memory.texi: Likewise.
40641         * manual/message.texi: Likewise.
40642         * manual/nss.texi: Likewise.
40643         * manual/pattern.texi: Likewise.
40644         * manual/process.texi: Likewise.
40645         * manual/resource.texi: Likewise.
40646         * manual/search.texi: Likewise.
40647         * manual/setjmp.texi: Likewise.
40648         * manual/signal.texi: Likewise.
40649         * manual/socket.texi: Likewise.
40650         * manual/startup.texi: Likewise.
40651         * manual/stdio.texi: Likewise.
40652         * manual/string.texi: Likewise.
40653         * manual/sysinfo.texi: Likewise.
40654         * manual/syslog.texi: Likewise.
40655         * manual/terminal.texi: Likewise.
40656         * manual/time.texi: Likewise.
40657         * manual/users.texi: Likewise.
40658         * INSTALL: Regenerated.
40659         * NOTES: Regenerated.
40660         * sysdeps/gnu/errlist.c: Regenerated.
40661
40662 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40663
40664         * include/dirent.h: Include <dirstream.h> before
40665         <dirent/dirent.h>.
40666
40667 2012-02-28  David S. Miller  <davem@davemloft.net>
40668
40669         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40670         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40671         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40672         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40673
40674 2012-02-27  David S. Miller  <davem@davemloft.net>
40675
40676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40678         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40679         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40680
40681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40682         frame pointer instead of stack pointer relative arg slot.
40683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40684         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40685         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40686
40687 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40688
40689         [BZ #3992]
40690         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40691
40692 2012-02-27  David S. Miller  <davem@davemloft.net>
40693
40694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40698         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40699         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40700         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40701         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40702
40703 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40704
40705         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40706         later.  Allow versions 5-9.
40707         * configure: Regenerated.
40708         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40709         required minimum version and 4.6 as recommended version.  Do not
40710         mention bugs in GCC 2.7 and 2.8.
40711         * INSTALL: Regenerated.
40712
40713 2012-02-27  David S. Miller  <davem@davemloft.net>
40714
40715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40721         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40722         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40723
40724         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40725         manipulate bits before adding and subtracting TWO112[sx].
40726         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40727
40728 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40729
40730         [BZ #13775]
40731         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40732         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40733         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40734         being in POSIX, because they are in 1003.1-2008.
40735
40736         * rt/tst-aio.c: Include <fcntl.h>.
40737         * rt/tst-aio7.c: Likewise.
40738         * rt/tst-aio64.c: Likewise.
40739
40740         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40741
40742 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40743
40744         * manual/install.texi (--with-headers): Describe headers as
40745         interface headers, not private headers.
40746         (Specific advice for GNU/Linux systems): Describe use of headers
40747         from "make headers_install", not private headers from older
40748         kernels.
40749         * INSTALL: Regenerated.
40750         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40751         Change to 2.6.19.
40752         * sysdeps/unix/sysv/linux/configure: Regenerated.
40753
40754         * manual/llio.texi (fclean): Remove documentation.
40755
40756         * manual/Makefile (libc-texi-generated): New variable.  Include
40757         version.texi.
40758         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40759         $(libc-texi-generated), not duplicated list of files.
40760         (version.texi, stamp-version): New rules.
40761         (realclean): Remove $(libc-texi-generated), not individual files
40762         from that list.  Do not remove dir-add.texinfo.
40763         * manual/libc.texinfo: Comment out uses of edition numbers and
40764         references to printed manual.  Remove last-updated dates.
40765         (EDITION): Comment out.
40766         (ISBN): Likewise.
40767         (VERSION, UPDATED): Remove.
40768         (version.texi): Include.
40769
40770 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40771
40772         * sysdeps/posix/spawni.c: Include <signal.h>.
40773         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40774         * sysdeps/pthread/aio_fsync.c: Likewise.
40775
40776 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40777
40778         * conform/Makefile (tests): Run only when not cross-compiling and
40779         when fast-check is not defined.
40780
40781         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40782         * conform/data/limits.h-data: Fixes for POSIX2008.
40783         * conform/run-conformtest.sh: Run all tests.
40784         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40785         headers.
40786         * include/bits/dlfcn.h: Likewise.
40787         * include/langinfo.h: Likewise.
40788         * include/monetary.h: Likewise.
40789         * include/sys/poll.h: Likewise.
40790
40791         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40792         for __USE_GNU.
40793         * posix/spawn.h: Define __need_sigset_t.
40794         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40795         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40796         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40797         to get sigevent_t only.
40798         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40799         only for __USE_GNU.
40800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40801         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40802         process_vm_writev only for __USE_GNU.
40803         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40804
40805         * conform/Makefile: For now ignore errors from run-conformtest.
40806         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40807         POSIX to avoid namespace pollution.  Don't prepend headers.
40808         * conform/data/aio.h-data: Fixes for POSIX testing.
40809         * conform/data/fcntl.h-data: Likewise.
40810         * conform/data/glob.h-data: Likewise.
40811         * conform/data/grp.h-data: Likewise.
40812         * conform/data/pthread.h-data: Likewise.
40813         * conform/data/pwd.h-data: Likewise.
40814         * conform/data/signal.h-data: Likewise.
40815         * conform/data/spawn.h-data: Likewise.
40816         * conform/data/stdio.h-data: Likewise.
40817         * conform/data/stdlib.h-data: Likewise.
40818         * conform/data/stropts.h-data: Likewise.
40819         * conform/data/sys/mman.h-data: Likewise.
40820         * conform/data/sys/stat.h-data: Likewise.
40821         * conform/data/sys/types.h-data: Likewise.
40822         * conform/data/sys/wait.h-data: Likewise.
40823         * conform/data/time.h-data: Likewise.
40824         * conform/data/unistd.h-data: Likewise.
40825         * conform/data/utime.h-data: Likewise.
40826
40827         * io/sys/stat.h: fchmod was always in POSIX.
40828         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40829         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40830         * rt/aio.h: Define __need_timespec before including <time.h>.
40831         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40832         struct.  Add forward declaration of pthread_attr_t and use it in
40833         sigevent.
40834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40835         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40836         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40837         always remove CLK_TCK definition.
40838
40839 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40840
40841         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40842
40843 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40844
40845         * conform/run-conformtest.sh: New file.
40846         * conform/Makefile: Run run-conformtest for tests.
40847         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40848         support.
40849
40850         * conform/data/uchar.h-data: New file.
40851         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40852         * conform/data/arpa/inet.h-data: Likewise.
40853         * conform/data/assert.h-data: Likewise.
40854         * conform/data/complex.h-data: Likewise.
40855         * conform/data/cpio.h-data: Likewise.
40856         * conform/data/ctype.h-data: Likewise.
40857         * conform/data/dirent.h-data: Likewise.
40858         * conform/data/dlfcn.h-data: Likewise.
40859         * conform/data/errno.h-data: Likewise.
40860         * conform/data/fcntl.h-data: Likewise.
40861         * conform/data/float.h-data: Likewise.
40862         * conform/data/fmtmsg.h-data: Likewise.
40863         * conform/data/fnmatch.h-data: Likewise.
40864         * conform/data/ftw.h-data: Likewise.
40865         * conform/data/glob.h-data: Likewise.
40866         * conform/data/grp.h-data: Likewise.
40867         * conform/data/iconv.h-data: Likewise.
40868         * conform/data/inttypes.h-data: Likewise.
40869         * conform/data/langinfo.h-data: Likewise.
40870         * conform/data/libgen.h-data: Likewise.
40871         * conform/data/limits.h-data: Likewise.
40872         * conform/data/locale.h-data: Likewise.
40873         * conform/data/math.h-data: Likewise.
40874         * conform/data/monetary.h-data: Likewise.
40875         * conform/data/mqueue.h-data: Likewise.
40876         * conform/data/ndbm.h-data: Likewise.
40877         * conform/data/net/if.h-data: Likewise.
40878         * conform/data/netdb.h-data: Likewise.
40879         * conform/data/netinet/in.h-data: Likewise.
40880         * conform/data/nl_types.h-data: Likewise.
40881         * conform/data/poll.h-data: Likewise.
40882         * conform/data/pthread.h-data: Likewise.
40883         * conform/data/pwd.h-data: Likewise.
40884         * conform/data/regex.h-data: Likewise.
40885         * conform/data/sched.h-data: Likewise.
40886         * conform/data/search.h-data: Likewise.
40887         * conform/data/semaphore.h-data: Likewise.
40888         * conform/data/setjmp.h-data: Likewise.
40889         * conform/data/signal.h-data: Likewise.
40890         * conform/data/spawn.h-data: Likewise.
40891         * conform/data/stdarg.h-data: Likewise.
40892         * conform/data/stdio.h-data: Likewise.
40893         * conform/data/stdlib.h-data: Likewise.
40894         * conform/data/string.h-data: Likewise.
40895         * conform/data/strings.h-data: Likewise.
40896         * conform/data/stropts.h-data: Likewise.
40897         * conform/data/sys/ipc.h-data: Likewise.
40898         * conform/data/sys/mman.h-data: Likewise.
40899         * conform/data/sys/msg.h-data: Likewise.
40900         * conform/data/sys/resource.h-data: Likewise.
40901         * conform/data/sys/select.h-data: Likewise.
40902         * conform/data/sys/sem.h-data: Likewise.
40903         * conform/data/sys/shm.h-data: Likewise.
40904         * conform/data/sys/socket.h-data: Likewise.
40905         * conform/data/sys/stat.h-data: Likewise.
40906         * conform/data/sys/statvfs.h-data: Likewise.
40907         * conform/data/sys/time.h-data: Likewise.
40908         * conform/data/sys/timeb.h-data: Likewise.
40909         * conform/data/sys/times.h-data: Likewise.
40910         * conform/data/sys/types.h-data: Likewise.
40911         * conform/data/sys/uio.h-data: Likewise.
40912         * conform/data/sys/un.h-data: Likewise.
40913         * conform/data/sys/utsname.h-data: Likewise.
40914         * conform/data/sys/wait.h-data: Likewise.
40915         * conform/data/syslog.h-data: Likewise.
40916         * conform/data/tar.h-data: Likewise.
40917         * conform/data/termios.h-data: Likewise.
40918         * conform/data/utime.h-data: Likewise.
40919         * conform/data/utmpx.h-data: Likewise.
40920         * conform/data/varargs.h-data: Likewise.
40921         * conform/data/wchar.h-data: Likewise.
40922         * conform/data/wctype.h-data: Likewise.
40923         * conform/data/wordexp.h-data: Likewise.
40924
40925         * include/stropts.h: New file.
40926         * include/uchar.h: New file.
40927         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40928         * include/assert.h: Likewise.
40929         * include/ctype.h: Likewise.
40930         * include/dirent.h: Likewise.
40931         * include/dlfcn.h: Likewise.
40932         * include/fcntl.h: Likewise.
40933         * include/fnmatch.h: Likewise.
40934         * include/glob.h: Likewise.
40935         * include/grp.h: Likewise.
40936         * include/libio.h: Likewise.
40937         * include/locale.h: Likewise.
40938         * include/math.h: Likewise.
40939         * include/net/if.h: Likewise.
40940         * include/netdb.h: Likewise.
40941         * include/netinet/in.h: Likewise.
40942         * include/pthread.h: Likewise.
40943         * include/pwd.h: Likewise.
40944         * include/regex.h: Likewise.
40945         * include/sched.h: Likewise.
40946         * include/search.h: Likewise.
40947         * include/setjmp.h: Likewise.
40948         * include/signal.h: Likewise.
40949         * include/stdio.h: Likewise.
40950         * include/stdlib.h: Likewise.
40951         * include/string.h: Likewise.
40952         * include/sys/cdefs.h: Likewise.
40953         * include/sys/mman.h: Likewise.
40954         * include/sys/msg.h: Likewise.
40955         * include/sys/resource.h: Likewise.
40956         * include/sys/select.h: Likewise.
40957         * include/sys/socket.h: Likewise.
40958         * include/sys/stat.h: Likewise.
40959         * include/sys/statvfs.h: Likewise.
40960         * include/sys/time.h: Likewise.
40961         * include/sys/times.h: Likewise.
40962         * include/sys/uio.h: Likewise.
40963         * include/sys/utsname.h: Likewise.
40964         * include/sys/wait.h: Likewise.
40965         * include/termios.h: Likewise.
40966         * include/time.h: Likewise.
40967         * include/ulimit.h: Likewise.
40968         * include/unistd.h: Likewise.
40969         * include/utime.h: Likewise.
40970         * include/wchar.h: Likewise.
40971         * include/wctype.h: Likewise.
40972         * include/wordexp.h: Likewise.
40973
40974         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40975
40976         * time/time.h: TIME_UTC must be a macro.
40977         Make timespec_get available for ISO C11 only as well.
40978
40979 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40980
40981         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40982         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40983
40984 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40985
40986         * configure.in: Use -o not -a in test for unsupported multi-arch.
40987
40988 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40989
40990         * manual/texinfo.tex: Update to version 2012-01-19.16.
40991
40992 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40993
40994         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40995
40996 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40997
40998         [BZ #13738]
40999         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41000         * manual/fdl-1.3.texi: New file.
41001         * manual/fdl-1.1.texi: File removed.
41002
41003         [BZ #13738]
41004         * manual/libc.texinfo (FDL_VERSION): New @set.
41005         Use it for mention of FDL in cover text.
41006         (Documentation License): Use it in @include file name.
41007
41008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41009             Roland McGrath  <roland@hack.frob.com>
41010
41011         [BZ #5461]
41012         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41013         (not LONG_LONG_MAX and LONG_LONG_MIN.
41014         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41015         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41016         name.
41017         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41018
41019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41020
41021         [BZ #2547]
41022         [BZ #11365]
41023         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41024         manipulate bits before adding and subtracting TWO23[sx].
41025         * math/libm-test.inc (nearbyint_test): Add more tests.
41026
41027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41028
41029         [BZ #2548]
41030         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41031         bits before adding and subtracting TWO23[sx].
41032         * math/libm-test.inc (rint_test): Add more tests.
41033         (rint_test_tonearest): Likewise.
41034         (rint_test_towardzero): Likewise.
41035         (rint_test_downward): Likewise.
41036         (rint_test_upward: Likewise.
41037
41038 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41039
41040         [BZ #10110]
41041         * include/stdc-predef.h: New file.  Extracted from features.h.
41042         * include/features.h: Include stdc-predef.h.
41043         * Makefile (headers): Add stdc-predef.h.
41044         * CONFORMANCE (Compiler limitations): Update.
41045
41046 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41047
41048         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41049
41050 2012-02-21  David S. Miller  <davem@davemloft.net>
41051
41052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41053         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41054
41055 2012-02-20  David S. Miller  <davem@davemloft.net>
41056
41057         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41058         using a normal save/restore sequence, rather than allocating a
41059         dummy stack frame just to store a frame pointer and restore.
41060         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41061
41062 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41063
41064         * manual/install.texi: Fix stray word in line-wrapped comment.
41065
41066 2012-02-20  David S. Miller  <davem@davemloft.net>
41067
41068         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41069         both binutils and gcc support GOTDATA.
41070
41071         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41072         "rd %pc" in the PIC register setup sequences.
41073
41074         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41075         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41076         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41077         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41078         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41080         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41081         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41082         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41083         (SYSCALL_ERROR_HANDLER): Likewise.
41084         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41085         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41087         (SYSCALL_ERROR_HANDLER): Likewise.
41088
41089         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41090         (HAVE_GCC_GOTDATA): New.
41091         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41092         relocation support in both binutils and gcc.
41093         * sysdeps/sparc/elf/configure: Regenerate.
41094
41095         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41096         * sysdeps/sparc/sparc32/elf/configure: Delete.
41097         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41098         * sysdeps/sparc/sparc64/elf/configure: Delete.
41099         * sysdeps/sparc/elf/configure.in: New file.
41100         * sysdeps/sparc/elf/configure: Generate.
41101
41102         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41103         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41104         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41105         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41106         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41107
41108 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41109
41110         * manual/install.texi: Do not mention specific glibc version
41111         numbers.
41112         * manual/libc.texinfo (VERSION, UPDATED): Update.
41113         (@copying): Use @copyright{} and range of years.
41114
41115 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41116
41117         [BZ #13695]
41118         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41119         [crti.S not in sysdirs] (generated): Do not append.
41120         [crti.S not in sysdirs] (omit-deps): Likewise.
41121         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41122         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41123         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41124         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41125         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41126         Likewise.
41127         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41128         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41129         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41130         * csu/defs.awk: Remove file.
41131         * sysdeps/generic/initfini.c: Likewise.
41132         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41133         variable.
41134         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41135         Likewise.
41136
41137 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41138
41139         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41140         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41141         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41142         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41143         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41144         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41145         <bits/epoll.h>.
41146         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41147         (__EPOLL_PACKED): Define to empty if not defined by
41148         <bits/epoll.h>.
41149         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41151         bits/epoll.h.
41152
41153 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41154
41155         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41156         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41157         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41158         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41159         <bits/timerfd.h>.
41160         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41162         bits/timerfd.h.
41163
41164 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41165
41166         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41167         in C locale.
41168         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41169         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41170         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41172
41173 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41174
41175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41176         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41177
41178 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41179
41180         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41181         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41182         defined.
41183         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41184         Likewise.
41185         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41186         entry for 2.16.
41187
41188 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41189
41190         * math/w_acos.c: Use non-signaling floating-point comparisons.
41191         * math/w_acosf.c: Likewise.
41192         * math/w_acosh.c: Likewise.
41193         * math/w_acoshf.c: Likewise.
41194         * math/w_acoshl.c: Likewise.
41195         * math/w_acosl.c: Likewise.
41196         * math/w_asin.c: Likewise.
41197         * math/w_asinf.c: Likewise.
41198         * math/w_asinl.c: Likewise.
41199         * math/w_atanh.c: Likewise.
41200         * math/w_atanhf.c: Likewise.
41201         * math/w_atanhl.c: Likewise.
41202         * math/w_exp2.c: Likewise.
41203         * math/w_exp2f.c: Likewise.
41204         * math/w_exp2l.c: Likewise.
41205         * math/w_j0.c: Likewise.
41206         * math/w_j0f.c: Likewise.
41207         * math/w_j0l.c: Likewise.
41208         * math/w_j1.c: Likewise.
41209         * math/w_j1f.c: Likewise.
41210         * math/w_j1l.c: Likewise.
41211         * math/w_jn.c: Likewise.
41212         * math/w_jnf.c: Likewise.
41213         * math/w_log.c: Likewise.
41214         * math/w_log10.c: Likewise.
41215         * math/w_log10f.c: Likewise.
41216         * math/w_log10l.c: Likewise.
41217         * math/w_log2.c: Likewise.
41218         * math/w_log2f.c: Likewise.
41219         * math/w_log2l.c: Likewise.
41220         * math/w_logf.c: Likewise.
41221         * math/w_logl.c: Likewise.
41222         * math/w_sqrt.c: Likewise.
41223         * math/w_sqrtf.c: Likewise.
41224         * math/w_sqrtl.c: Likewise.
41225         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41226         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41227         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41228         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41229         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41230
41231 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41232
41233         [BZ #9739]
41234         * manual/string.texi (strnlen): Use correct parameter name in
41235         equivalent expression.
41236
41237 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41238
41239         [BZ #11174]
41240         * manual/users.texi (seteuid): Consistently use neweuid for
41241         argument name.
41242
41243 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41244
41245         [BZ #13704]
41246         * manual/nss.texi (Services in the NSS configuration): Correct
41247         list of services in example configuration file.
41248
41249 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41250
41251         [BZ #11322]
41252         * manual/arith.texi: Remove statements about negative zero
41253         behaving identically to zero.
41254
41255 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41256
41257         [BZ #5993]
41258         * manual/install.texi: Do not document upgrading from libc5.
41259
41260 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41261
41262         [BZ #4596]
41263         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41264
41265 2012-02-18  David S. Miller  <davem@davemloft.net>
41266
41267         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41268         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41269         %o7 across the call.
41270         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41271         instead.
41272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41273         SETUP_PIC_REG_LEAF.
41274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41275         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41276         * sysdeps/sparc/crtn.S: Likewise.
41277
41278 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41279
41280         * aout/Makefile: Remove.
41281
41282 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41283
41284         [BZ #13058]
41285         * manual/examples/argp-ex1.c (main): Format definition in GNU
41286         style.
41287         * manual/examples/argp-ex2.c (main): Likewise.
41288         * manual/examples/argp-ex3.c (main): Likewise.
41289         * manual/examples/argp-ex4.c (main): Likewise.
41290         * manual/examples/longopt.c (main): Use new-style prototype
41291         definition.
41292         * manual/examples/strncat.c (main): Specify return type and use
41293         (void) for arguments.
41294         * manual/examples/subopt.c (main): Use char **argv argument.
41295
41296 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41297
41298         [BZ #5077]
41299         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41300         rounding modes.
41301
41302 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41303
41304         [BZ #6907]
41305         * manual/string.texi (strchr): Change when strchrnul is
41306         recommended.
41307
41308 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41309
41310         [BZ #174]
41311         * manual/locale.texi (setlocale): Document LOCPATH.
41312
41313 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41314
41315         [BZ #10210]
41316         * manual/process.texi (execle): Move @dots{} before last argument.
41317
41318 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41319
41320         [BZ #12047]
41321         * manual/charset.texi (Generic Charset Conversion): Fix typo
41322         (LC_TYPE -> LC_CTYPE).
41323
41324 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41325
41326         [BZ #5805]
41327         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41328         (scalbnf): Likewise.
41329         (scalbnl): Likewise.
41330         (scalbln): Likewise.
41331         (scalblnf): Likewise.
41332         (scalblnl): Likewise.
41333         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41334         (vwarnx): Likewise.
41335         (verr): Likewise.
41336         (verrx): Likewise.
41337         * manual/filesys.texi (telldir): Use braces around return type.
41338         * manual/llio.texi (mmap): Add space after comma.
41339         (mmap64): Likewise.
41340         * manual/math.texi (jn): Use @var{} on parameter names.
41341         (jnf): Likewise.
41342         (jnl): Likewise.
41343         (yn): Likewise.
41344         (ynf): Likewise.
41345         (ynl): Likewise.
41346         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41347         line.
41348         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41349         "...".
41350         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41351         (sched_get_priority_max): Likewise.
41352         * manual/signal.texi (sigvec): Add space after comma.
41353         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41354         names.
41355         (if_indextoname): Likewise.
41356         (if_freenameindex): Likewise.
41357         (sendto): Use ',' instead of '.' in prototype.
41358         * manual/startup.texi (syscall): Use @dots{} instead of literal
41359         "...".
41360         * manual/stdio.texi (__fpending): Separate initial words of
41361         paragraph from @deftypefun line.
41362         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41363         "...".
41364         (vsyslog): Use @var{} on parameter names.
41365         * manual/terminal.texi (stty): Use @var{} on parameter names.
41366         * manual/users.texi (getutmp): Use @var{} on parameter names.
41367         (getutmpx): Likewise.
41368
41369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41370
41371         [BZ #6884]
41372         * manual/stdio.texi (fopen): Fix typos in description of
41373         ",ccs=STRING".
41374
41375 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41376
41377         [BZ #4026]
41378         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41379         get clock_id definition.
41380
41381 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41382
41383         [BZ #4822]
41384         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41385         (madvise): Cast every argument to void on its own.
41386
41387 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41388
41389         [BZ #9902]
41390         * manual/startup.texi (Exit Status): Fix typo.
41391
41392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41393
41394         [BZ #10140]
41395         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41396         * manual/examples/argp-ex2.c: Likewise.
41397         * manual/examples/argp-ex3.c: Likewise.
41398
41399 2012-02-16  Richard Henderson  <rth@redhat.com>
41400
41401         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41402         * sysdeps/s390/s390-32/initfini.c: Remove.
41403         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41404         * sysdeps/s390/s390-64/initfini.c: Remove.
41405
41406 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41407
41408         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41409         compiler output for sysdeps/generic/initfini.c.
41410         * sysdeps/sh/elf/initfini.c: Remove file.
41411
41412 2012-02-16  David S. Miller  <davem@davemloft.net>
41413
41414         [BZ #11494]
41415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41416
41417         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41418         * sysdeps/sparc/crti.S: New file.
41419         * sysdeps/sparc/crtn.S: New file.
41420         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41421         * sysdeps/sparc/sparc64/Makefile: Likewise.
41422
41423 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41424
41425         [BZ #3335]
41426         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41427
41428 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41429
41430         [BZ #4822]
41431         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41432
41433         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41434         (write, read, close): Likewise.
41435         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41436
41437 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41438
41439         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41440         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41441         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41442         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41443         <bits/signalfd.h>.
41444         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41446         bits/signalfd.h.
41447
41448 2012-02-14  Marek Polacek  <polacek@redhat.com>
41449
41450         * sysdeps/x86_64/crti.S: New file.
41451         * sysdeps/x86_64/crtn.S: New file.
41452         * sysdeps/x86_64/elf/initfini.c: Remove file.
41453
41454 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41455
41456         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41457         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41458         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41459         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41460         <bits/inotify.h>.
41461         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41463         bits/inotify.h.
41464
41465 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41466
41467         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41468         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41469         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41470         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41471         <bits/eventfd.h>.
41472         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41474         bits/eventfd.h.
41475
41476 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41477
41478         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41479         __feraiseexcept instead of feraiseexcept.
41480
41481         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41482         nanosleep invocations.
41483         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41484         strings, and add error checking for a nanosleep invocations.
41485
41486 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41487
41488         Replace FSF snail mail address with URLs, as per GNU coding standards.
41489         Most of the snail mail addresses were wrong anyway, and omitting
41490         them makes the source code easier to maintain.  Almost all of the
41491         changes are to license notices and to locale LC_IDENTIFICATION
41492         addresses, except for this one:
41493         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41494         not its snail mail address.
41495
41496 2012-02-09  Richard Henderson  <rth@twiddle.net>
41497
41498         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41499         of kernel-features.h.
41500
41501         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41502
41503 2012-02-08  Marek Polacek  <polacek@redhat.com>
41504
41505         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41506         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41507         * sysdeps/gnu/_G_config.h: Likewise.
41508         * sysdeps/generic/_G_config.h: Likewise.
41509
41510 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41511
41512         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41513         tests.
41514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41515
41516         * sysdeps/powerpc/powerpc32/crti.S: New file.
41517         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41518         * sysdeps/powerpc/powerpc64/crti.S: New file.
41519         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41520
41521         * Makeconfig (have-initfini): Don't set.
41522         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41523         * configure.in (nopic_initfini): Don't substitute.
41524         * config.h.in (HAVE_INITFINI): Don't #undef.
41525         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41526         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41527
41528 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41529
41530         Support crti.S and crtn.S provided directly by architectures.
41531         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41532         [crti.S in sysdirs] (omit-deps): Likewise.
41533         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41534         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41535         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41536         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41537         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41538         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41539         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41540         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41541         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41542         compiler output for sysdeps/generic/initfini.c.
41543         * sysdeps/i386/elf/Makefile: Remove file.
41544         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41545
41546 2012-02-07  Marek Polacek  <polacek@redhat.com>
41547
41548         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41549         * sysdeps/gnu/_G_config.h: Likewise.
41550         * sysdeps/mach/hurd/_G_config.h: Likewise.
41551
41552 2012-02-07  Marek Polacek  <polacek@redhat.com>
41553
41554         * math/Makefile (tests): Add tst-CMPLX2.
41555         * math/tst-CMPLX2.c: New file.
41556
41557 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41558
41559         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41560
41561         * math/libm-test.inc (jn_test): Add missing L suffix.
41562
41563 2012-02-06  Marek Polacek  <polacek@redhat.com>
41564
41565         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41566         * sysdeps/i386/fpu/e_powf.S: Likewise.
41567         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41568         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41569         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41570         * sysdeps/i386/fpu/e_pow.S: Likewise.
41571         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41573         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41574         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41575         * sysdeps/i386/fpu/e_log2.S: Likewise.
41576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41578         * sysdeps/i386/fpu/e_powl.S: Likewise.
41579         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41580         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41581         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41582         * sysdeps/i386/fpu/e_logl.S: Likewise.
41583         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41584         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41585         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41586         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41587         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41588         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41589         * sysdeps/i386/fpu/e_log.S: Likewise.
41590         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41591         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41592         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41593         * sysdeps/i386/fpu/e_logf.S: Likewise.
41594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41595         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41596         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41597         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41598         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41599         * sysdeps/i386/fpu/e_log10.S: Likewise.
41600         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41601         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41602         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41603         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41604         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41605         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41606         * sysdeps/i386/asm-syntax.h: Likewise.
41607         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41608         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41609         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41610         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41611         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41612         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41613         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41614         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41615         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41616         * sysdeps/powerpc/sysdep.h: Likewise.
41617         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41618         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41619
41620 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41621
41622         [BZ #411]
41623         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41624
41625 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41626
41627         * sysdeps/i386/sysdep.h: Include <features.h>.
41628         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41629         version.
41630
41631 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41632
41633         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41634         Define.
41635         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41636         LOAD_PIC_REG_STR.
41637
41638 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41639
41640         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41641         (SETUP_PIC_REG): Use GET_PC_THUNK.
41642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41643         macro.
41644
41645 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41646
41647         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41648         for non-PIC compilation.
41649         (SETUP_PIC_REG): Add .p2align directive.
41650         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41651         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41652         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41653         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41654         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41655         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41656         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41658         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41659         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41660         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41661         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41662         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41663         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41664         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41665         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41666         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41667         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41668         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41669         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41670         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41671         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41673         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41674         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41676         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41677         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41678         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41679         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41680         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41681         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41682         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41683         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41684         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41685         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41686         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41687         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41688         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41689         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41690         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41691
41692 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41693
41694         * math/tst-CMPLX.c: Include <stdio.h>.
41695
41696 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41697
41698         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41699         float.
41700         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41701         * sysdeps/sparc/bits/mathdef.h: Likewise.
41702
41703 2012-01-31  Marek Polacek  <polacek@redhat.com>
41704
41705         * libio/libio.h: Don't define _PARAMS.
41706         * locale/programs/config.h: Don't define PARAMS.
41707         * stdlib/strtol_l.c: Likewise.
41708         (__strtol_l): Remove PARAMS from the prototype.
41709
41710 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41711
41712         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41713         names.  Just use the correct names.  Remove unnecessary wrapper
41714         functions.
41715         * malloc/arena.c: Likewise.
41716         * malloc/hooks.c: Likewise.
41717
41718         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41719         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41720         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41721
41722 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41723
41724         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41725         into tail calls.
41726         (update_get_addr): New function.
41727         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41728         GET_ADDR_MODULE parameter.
41729
41730 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41731
41732         * crypt/cert.c: Remove __STDC__ conditionals.
41733         * crypt/crypt-entry.c: Likewise.
41734         * crypt/crypt_util.c: Likewise.
41735         * libio/filedoalloc.c: Likewise.
41736         * libio/fileops.c: Likewise.
41737         * libio/genops.c: Likewise.
41738         * libio/iofclose.c: Likewise.
41739         * libio/iofdopen.c: Likewise.
41740         * libio/iofopen.c: Likewise.
41741         * libio/iofopen64.c: Likewise.
41742         * libio/iogetdelim.c: Likewise.
41743         * libio/iopopen.c: Likewise.
41744         * libio/obprintf.c: Likewise.
41745         * libio/oldfileops.c: Likewise.
41746         * libio/oldiofclose.c: Likewise.
41747         * libio/oldiofdopen.c: Likewise.
41748         * libio/oldiofopen.c: Likewise.
41749         * libio/oldiopopen.c: Likewise.
41750         * libio/wfiledoalloc.c: Likewise.
41751         * libio/wgenops.c: Likewise.
41752         * locale/programs/xmalloc.c: Likewise.
41753         * misc/syslog.c: Likewise.
41754         * stdio-common/xbug.c: Likewise.
41755         * string/memchr.c: Likewise.
41756         * string/memcmp.c: Likewise.
41757         * string/memrchr.c: Likewise.
41758         * string/rawmemchr.c: Likewise.
41759         * sysdeps/posix/getcwd.c: Likewise.
41760         * time/strftime_l.c: Likewise.
41761
41762 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41763
41764         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41765         * config.make.in (config-cflags-sse2avx): Define.
41766         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41767         Fix typo.
41768
41769 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41770
41771         * scripts/config.guess: Update from upstream config git repository.
41772         * scripts/config.sub: Likewise.
41773
41774 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41775
41776         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41777         (EM_NUM): Update.
41778         (R_TILEPRO_*, R_TILEGX_*): New macros.
41779
41780         * scripts/firstversions.awk: Fix bug in version range handling.
41781
41782         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41783
41784         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41785
41786         * include/sys/epoll.h: New file.
41787         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41788         libc_hidden_def.
41789
41790 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41791
41792         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41793         Avoid unnecessary __WORDSIZE == 64 test.
41794         (fmaxf): Use VEX format if possible.
41795         (fmax): Likewise.
41796         (fminf): Likewise.
41797         (fmin): Likewise.
41798
41799         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41800         * math/math_private.h: Remove libc_fegetround* and
41801         libc_fesetround*.
41802         * sysdeps/i386/configure.in: Check for -msse2avx.
41803         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41804         also if SSE2AVX is defined.
41805         Remove libc_fegetround* and libc_fesetround*.
41806         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41807         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41808         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41809         of HAS_YMM_USABLE.
41810         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41811         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41813         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41814         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41815
41816         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41817
41818 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41819
41820         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41821         size is not set.
41822         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41823
41824 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41825
41826         [BZ #13618]
41827         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41828         relocation.
41829         * Makeconfig (libm): Define.
41830         * elf/Makefile: Add rules to build and run tst-relsort1.
41831         * elf/tst-relsort1.c: New file.
41832         * elf/tst-relsort1mod1.c: New file.
41833         * elf/tst-relsort1mod2.c: New file.
41834
41835 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41836
41837         * math/s_ldexp.c: Remove __STDC__ conditionals.
41838         * math/s_ldexpf.c: Likewise.
41839         * math/s_ldexpl.c: Likewise.
41840         * math/s_nextafter.c: Likewise.
41841         * math/s_nexttowardf.c: Likewise.
41842         * math/s_significand.c: Likewise.
41843         * math/s_significandf.c: Likewise.
41844         * math/s_significandl.c: Likewise.
41845         * math/w_jnl.c: Likewise.
41846         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41847         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41848         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41849         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41850         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41851         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41852         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41853         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41854         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41855         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41856         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41857         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41858         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41859         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41860         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41861         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41862         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41863         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41865         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41866         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41867         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41868         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41870         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41871         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41872         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41873         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41874         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41875         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41876         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41877         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41878         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41879         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41880         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41881         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41882         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41883         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41884         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41885         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41886         * sysdeps/ieee754/k_standard.c: Likewise.
41887         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41904         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41905         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41906         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41909         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41910         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41911         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41912         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41913         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41916         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41918         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41919         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41920         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41921         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41922         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41923         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41925         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41926         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41927         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41929         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41930         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41933         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41935         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41936         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41937         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41940         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41941         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41942         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41943         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41944         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41945         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41946         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41947         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41948         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41949         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41950         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41951         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41952         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41953         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41954         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41955         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41956         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41957         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41958         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41959         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41960         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41961         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41962         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41963         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41964         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41965         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41966         * sysdeps/ieee754/s_matherr.c: Likewise.
41967         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41968         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41971
41972 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41973
41974         * crypt/md5.h: Remove __STDC__ conditionals.
41975         * libio/libioP.h: Likewise.
41976         * locale/programs/config.h: Likewise.
41977         * sysdeps/generic/sysdep.h: Likewise.
41978         * sysdeps/i386/asm-syntax.h: Likewise.
41979         * sysdeps/s390/asm-syntax.h: Likewise.
41980         * sysdeps/unix/sysdep.h: Likewise.
41981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41983
41984 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41985
41986         * libio/libio.h: Remove __STDC__ conditionals.
41987         * malloc/obstack.h: Likewise.
41988         * math/complex.h: Likewise.
41989         * math/math.h: Likewise.
41990         * sysdeps/generic/_G_config.h: Likewise.
41991         * sysdeps/gnu/_G_config.h: Likewise.
41992         * sysdeps/mach/hurd/_G_config.h: Likewise.
41993         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41994         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41995         * sysdeps/sparc/bits/mathdef.h: Likewise.
41996
41997 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41998
41999         [BZ #13583]
42000         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42001         Clean up HAS_* macros.
42002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42003         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42004         possible.
42005         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42006         HAS_AVX.
42007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42008         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42012
42013 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42014
42015         * elf/tst-unique3.cc (gets): Remove declaration.
42016         * elf/tst-unique3lib.cc (gets): Likewise.
42017         * elf/tst-unique3lib2.cc (gets): Likewise.
42018         * elf/tst-unique4.cc (gets): Likewise.
42019
42020 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42021
42022         * include/stdio.h: Add C++ protection.  Add gets declarations and
42023         definitions.
42024         * debug/tst-chk1.c: Don't declare gets here.
42025         * stdio-common/tst-gets.c: Likewise.
42026
42027 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42028
42029         * posix/glob: Remove directory.
42030
42031 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42032
42033         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42034
42035 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42036
42037         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42038         of the non-standard EPFNOSUPPORT.
42039
42040 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42041
42042         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42043         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42044         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42045
42046 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42047
42048         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42049
42050 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42051
42052         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42053         transient errors.
42054         * nscd/grpcache.c (cache_addgr): Likewise.
42055         * nscd/hstcache.c (cache_addhst): Likewise.
42056         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42057         * nscd/pwdcache.c (cache_addpw): Likewise.
42058         * nscd/servicescache.c (cache_addserv): Likewise.
42059
42060 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42061
42062         * malloc/malloc.c: Various cleanups.
42063         * malloc/hooks.c: Likewise.
42064
42065         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42066         * stdlib/bug-fmtmsg1.c: New file.
42067
42068         * stdlib/fmtmsg.c (init): Add missing unlock.
42069         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42070
42071 2012-01-12  Marek Polacek  <polacek@redhat.com>
42072
42073         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42074         and _GNU_SOURCE.
42075
42076 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42077
42078         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42079         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42080         macro to ensure uniqueness of label name.
42081         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42082         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42083
42084 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42085
42086         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42087
42088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42089         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42090         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42092
42093 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42094
42095         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42096
42097         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42098         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42099         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42100
42101         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42102
42103         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42104         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42105         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42107
42108         * math/bits/math-finite.h: Add ldexp support.
42109
42110 2012-01-10  Marek Polacek  <polacek@redhat.com>
42111
42112         * locale/programs/localedef.h (show_archive_content): Add noreturn
42113         attribute.
42114
42115 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42116
42117         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42118
42119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42120
42121         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42122
42123         * io/Makefile (headers): Add bits/poll2.h.
42124
42125 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42126
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42128         typo #include statement.
42129
42130 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42131
42132         * include/sys/cdefs.h: Define __attribute_alloc_size.
42133         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42134         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42135         * elf/pldd.c: Likewise.
42136         * iconv/iconv_charmap.c: Likewise.
42137         * iconv/iconvconfig.c: Likewise.
42138         * iconv/strtab.c: Likewise.
42139         * locale/programs/locale.c: Likewise.
42140         * locale/programs/localedef.h: Likewise.
42141         * locale/programs/simple-hash.c: Likewise.
42142         * nscd/nscd.h: Likewise.
42143         * nss/makedb.c: Likewise.
42144         * sysdeps/generic/ldconfig.h: Likewise.
42145         * locale/programs/localedef.c: Remove xmalloc prototype.
42146         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42147
42148 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42149
42150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42151         appropriate.
42152
42153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42154
42155         * math/Makefile (tests): Add tst-CMPLX.
42156         * math/tst-CMPLX.c: New file.
42157
42158         * math/complex.h (CMPLXL): Fix typo.
42159
42160         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42161         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42162         GLIBC_2.16.
42163         * debug/tst-chk1.c: Add poll and ppoll tests.
42164         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42165         * include/sys/poll.h: Add hidden proto for ppoll.
42166         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42167         * sysdeps/mach/hurd/ppoll.c: Likewise.
42168         * io/ppoll.c: Likewise.
42169         * debug/poll_chk.c: New file.
42170         * debug/ppoll_chk.c: New file.
42171         * include/bits/poll2.h: New file.
42172         * io/bits/poll2.h: New file.
42173
42174         [BZ #1350]
42175         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42176
42177         * configure.in: static is always set to yes.  Remove.
42178         * config.make.in: Don't set build-static.
42179         * Makeconfig: Remove use of build-static.
42180         * dlfcn/Makefile: Likewise.
42181         * elf/Makefile: Likewise.
42182         * math/Makefile: Likewise.
42183         * misc/Makefile: Likewise.
42184         * nptl/Makefile: Likewise.
42185         * sysdeps/mach/hurd/Makefile: Likewise.
42186
42187         * configure.in: PWD_P is not used anymore.
42188         * config.make.in: Remove PWD_P entry.
42189
42190         * configure.in: Remove last remnants of RANLIB.
42191         No need to check for signed size_t anymore.
42192         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42193         and IA-64.
42194         Remove __builtin_expect test because we require at least gcc 3.4.
42195         * aclocal.m4: Likewise.
42196
42197         * wcsmbs/mbrtoc16.c: Implement using towc function.
42198         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42199         * wcsmbs/wcsmbsload.c: Likewise.
42200         * iconv/gconv_simple.c: Likewise.
42201         * iconv/gconv_int.h: Likewise.
42202         * iconv/gconv_builtin.h: Likewise.
42203         * iconv/iconv_prog.c: Remove CHAR16 handling.
42204
42205         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42206
42207         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42208
42209         * configure.in: Remove --with-elf and --enable-bounded options.
42210         Dont set base_machine for ia64.  More non-ELF conditions removed.
42211         Remove testing and setting of leading underscore information.
42212         * config.make.in (build-bounded): Set to no.
42213         * config.h.in: Remove NO_UNDERSCORES entry.
42214         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42215         them.
42216         * csu/start.c: Remove !NO_UNDERSCORE code.
42217         * locale/localeinfo.h: Likewise.
42218         * sysdeps/generic/machine-gmon.h: Likewise.
42219         * sysdeps/generic/sysdep.h: Likewise.
42220         * sysdeps/i386/sysdep.h: Likewise.
42221         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42222         * sysdeps/mach/sysdep.h: Likewise.
42223         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42225         * sysdeps/sh/sysdep.h: Likewise.
42226         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42227         * sysdeps/unix/i386/sysdep.S: Likewise.
42228         * sysdeps/unix/sparc/start.c: Likewise.
42229         * sysdeps/unix/sparc/sysdep.S: Likewise.
42230         * sysdeps/unix/sparc/sysdep.h: Likewise.
42231         * sysdeps/unix/start.c: Likewise.
42232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42233         * sysdeps/x86_64/sysdep.h: Likewise.
42234
42235 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42236
42237         [BZ #13553]
42238         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42239         for non-gcc.
42240         * argp/argp-fmtstream.h: Use const instead __const.
42241         * argp/argp.h: Likewise.
42242         * assert/assert.h: Likewise.
42243         * bits/fenv.h: Likewise.
42244         * bits/sched.h: Likewise.
42245         * bits/sigset.h: Likewise.
42246         * bits/sigthread.h: Likewise.
42247         * catgets/nl_types.h: Likewise.
42248         * conform/data/pthread.h-data: Likewise.
42249         * crypt/crypt-private.h: Likewise.
42250         * crypt/crypt.h: Likewise.
42251         * crypt/crypt_util.c: Likewise.
42252         * ctype/ctype.h: Likewise.
42253         * debug/execinfo.h: Likewise.
42254         * debug/mbsnrtowcs_chk.c: Likewise.
42255         * debug/mbsrtowcs_chk.c: Likewise.
42256         * debug/wcsnrtombs_chk.c: Likewise.
42257         * debug/wcsrtombs_chk.c: Likewise.
42258         * debug/wcstombs_chk.c: Likewise.
42259         * dirent/dirent.h: Likewise.
42260         * dlfcn/dlfcn.h: Likewise.
42261         * elf/neededtest4.c: Likewise.
42262         * grp/grp.h: Likewise.
42263         * gshadow/gshadow.h: Likewise.
42264         * iconv/gconv.h: Likewise.
42265         * iconv/gconv_int.h: Likewise.
42266         * iconv/gconv_simple.c: Likewise.
42267         * iconv/iconv.h: Likewise.
42268         * iconv/loop.c: Likewise.
42269         * iconv/skeleton.c: Likewise.
42270         * include/aio.h: Likewise.
42271         * include/aliases.h: Likewise.
42272         * include/argz.h: Likewise.
42273         * include/arpa/inet.h: Likewise.
42274         * include/assert.h: Likewise.
42275         * include/dirent.h: Likewise.
42276         * include/dlfcn.h: Likewise.
42277         * include/execinfo.h: Likewise.
42278         * include/fcntl.h: Likewise.
42279         * include/fenv.h: Likewise.
42280         * include/glob.h: Likewise.
42281         * include/grp.h: Likewise.
42282         * include/libintl.h: Likewise.
42283         * include/mntent.h: Likewise.
42284         * include/netdb.h: Likewise.
42285         * include/pwd.h: Likewise.
42286         * include/rpc/netdb.h: Likewise.
42287         * include/sched.h: Likewise.
42288         * include/search.h: Likewise.
42289         * include/shadow.h: Likewise.
42290         * include/signal.h: Likewise.
42291         * include/stdio.h: Likewise.
42292         * include/stdlib.h: Likewise.
42293         * include/string.h: Likewise.
42294         * include/sys/socket.h: Likewise.
42295         * include/sys/stat.h: Likewise.
42296         * include/sys/statfs.h: Likewise.
42297         * include/sys/statvfs.h: Likewise.
42298         * include/sys/syslog.h: Likewise.
42299         * include/sys/time.h: Likewise.
42300         * include/sys/uio.h: Likewise.
42301         * include/time.h: Likewise.
42302         * include/unistd.h: Likewise.
42303         * include/utmp.h: Likewise.
42304         * include/wchar.h: Likewise.
42305         * include/wctype.h: Likewise.
42306         * inet/aliases.h: Likewise.
42307         * inet/arpa/inet.h: Likewise.
42308         * inet/netinet/ether.h: Likewise.
42309         * inet/netinet/in.h: Likewise.
42310         * intl/libintl.h: Likewise.
42311         * io/bits/fcntl2.h: Likewise.
42312         * io/fcntl.h: Likewise.
42313         * io/ftw.h: Likewise.
42314         * io/sys/poll.h: Likewise.
42315         * io/sys/stat.h: Likewise.
42316         * io/sys/statfs.h: Likewise.
42317         * io/sys/statvfs.h: Likewise.
42318         * io/utime.h: Likewise.
42319         * libio/bits/stdio.h: Likewise.
42320         * libio/bits/stdio2.h: Likewise.
42321         * libio/libio.h: Likewise.
42322         * libio/libioP.h: Likewise.
42323         * libio/stdio.h: Likewise.
42324         * locale/lc-ctype.c: Likewise.
42325         * locale/locale.h: Likewise.
42326         * login/utmp.h: Likewise.
42327         * malloc/arena.c: Likewise.
42328         * malloc/malloc.c: Likewise.
42329         * malloc/malloc.h: Likewise.
42330         * malloc/mcheck.c: Likewise.
42331         * malloc/mtrace.c: Likewise.
42332         * math/bits/mathcalls.h: Likewise.
42333         * math/fenv.h: Likewise.
42334         * math/math_private.h: Likewise.
42335         * misc/bits/error.h: Likewise.
42336         * misc/bits/syslog.h: Likewise.
42337         * misc/err.h: Likewise.
42338         * misc/error.h: Likewise.
42339         * misc/fstab.h: Likewise.
42340         * misc/mntent.h: Likewise.
42341         * misc/regexp.h: Likewise.
42342         * misc/search.h: Likewise.
42343         * misc/sgtty.h: Likewise.
42344         * misc/sys/mman.h: Likewise.
42345         * misc/sys/syslog.h: Likewise.
42346         * misc/sys/uio.h: Likewise.
42347         * misc/sys/xattr.h: Likewise.
42348         * misc/ttyent.h: Likewise.
42349         * nis/rpcsvc/ypclnt.h: Likewise.
42350         * nss/nss.h: Likewise.
42351         * posix/bits/unistd.h: Likewise.
42352         * posix/fnmatch.h: Likewise.
42353         * posix/glob.h: Likewise.
42354         * posix/sched.h: Likewise.
42355         * posix/spawn.h: Likewise.
42356         * posix/sys/wait.h: Likewise.
42357         * posix/unistd.h: Likewise.
42358         * posix/wordexp.h: Likewise.
42359         * pwd/pwd.h: Likewise.
42360         * resolv/netdb.h: Likewise.
42361         * resource/sys/resource.h: Likewise.
42362         * rt/aio.h: Likewise.
42363         * rt/bits/mqueue2.h: Likewise.
42364         * rt/mqueue.h: Likewise.
42365         * shadow/shadow.h: Likewise.
42366         * signal/signal.h: Likewise.
42367         * socket/send.c: Likewise.
42368         * socket/sendto.c: Likewise.
42369         * socket/sys/socket.h: Likewise.
42370         * stdio-common/printf.h: Likewise.
42371         * stdlib/bits/stdlib.h: Likewise.
42372         * stdlib/fmtmsg.h: Likewise.
42373         * stdlib/monetary.h: Likewise.
42374         * stdlib/stdlib.h: Likewise.
42375         * stdlib/ucontext.h: Likewise.
42376         * streams/stropts.h: Likewise.
42377         * string/argz.h: Likewise.
42378         * string/bits/string2.h: Likewise.
42379         * string/string.h: Likewise.
42380         * string/strings.h: Likewise.
42381         * sunrpc/rpc/auth.h: Likewise.
42382         * sunrpc/rpc/auth_des.h: Likewise.
42383         * sunrpc/rpc/clnt.h: Likewise.
42384         * sunrpc/rpc/netdb.h: Likewise.
42385         * sunrpc/rpc/pmap_clnt.h: Likewise.
42386         * sunrpc/rpc/xdr.h: Likewise.
42387         * sysdeps/generic/inttypes.h: Likewise.
42388         * sysdeps/generic/net/if.h: Likewise.
42389         * sysdeps/generic/sys/swap.h: Likewise.
42390         * sysdeps/gnu/net/if.h: Likewise.
42391         * sysdeps/gnu/utmpx.h: Likewise.
42392         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42393         * sysdeps/i386/i486/bits/string.h: Likewise.
42394         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42395         * sysdeps/s390/bits/string.h: Likewise.
42396         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42397         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42398         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42399         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42400         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42401         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42402         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42403         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42404         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42405         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42406         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42407         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42408         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42409         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42410         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42411         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42412         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42414         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42417         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42418         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42419         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42420         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42421         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42422         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42423         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42424         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42425         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42426         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42427         * sysvipc/sys/ipc.h: Likewise.
42428         * sysvipc/sys/msg.h: Likewise.
42429         * sysvipc/sys/sem.h: Likewise.
42430         * sysvipc/sys/shm.h: Likewise.
42431         * termios/termios.h: Likewise.
42432         * time/sys/time.h: Likewise.
42433         * time/time.h: Likewise.
42434         * wcsmbs/bits/wchar2.h: Likewise.
42435         * wcsmbs/uchar.h: Likewise.
42436         * wcsmbs/wchar.h: Likewise.
42437         * wctype/wctype.h: Likewise.
42438
42439         [BZ #13551]
42440         * Makeconfig: Remove all but ELF support including AIX support.
42441         * Makerules: Likewise.
42442         * config.h.in: Likewise.
42443         * config.make.in: Likewise.
42444         * configure: Likewise.
42445         * configure.in: Likewise.
42446         * csu/Makefile: Likewise.
42447         * csu/version.c: Likewise.
42448         * debug/Makefile: Likewise.
42449         * dlfcn/Makefile: Likewise.
42450         * elf/Makefile: Likewise.
42451         * extra-lib.mk: Likewise.
42452         * iconv/Makefile: Likewise.
42453         * include/libc-symbols.h: Likewise.
42454         * include/shlib-compat.h: Likewise.
42455         * resolv/Makefile: Likewise.
42456         * resolv/res_libc.c: Likewise.
42457         * rt/Makefile: Likewise.
42458         * sysdeps/i386/asm-syntax.h: Likewise.
42459         * sysdeps/i386/sysdep.h: Likewise.
42460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42461         * sysdeps/mach/sysdep.h: Likewise.
42462         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42463         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42464         * sysdeps/s390/asm-syntax.h: Likewise.
42465         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42466         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42467         * sysdeps/sh/sysdep.h: Likewise.
42468         * sysdeps/unix/sparc/sysdep.h: Likewise.
42469         * sysdeps/wordsize-32/divdi3.c: Likewise.
42470         * sysdeps/x86_64/sysdep.h: Likewise.
42471
42472         * argp/Versions: Remove _argp_unlock_xxx.
42473
42474         [BZ #13559]
42475         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42476         * abilist/libBrokenLocale.abilist: Likewise.
42477         * abilist/libanl.abilist: Likewise.
42478         * abilist/libc.abilist: Likewise.
42479         * abilist/libcrypt.abilist: Likewise.
42480         * abilist/libdl.abilist: Likewise.
42481         * abilist/libm.abilist: Likewise.
42482         * abilist/libnsl.abilist: Likewise.
42483         * abilist/libpthread.abilist: Likewise.
42484         * abilist/libresolv.abilist: Likewise.
42485         * abilist/librt.abilist: Likewise.
42486         * abilist/libthread_db.abilist: Likewise.
42487         * abilist/libutil.abilist: Likewise.
42488         * abilist/libnss_db.abilist: New file.
42489
42490         * scripts/abilist.awk: Add support for indirect functions.
42491
42492         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42493
42494         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42495
42496         * shlib-versions: Remove entries for ports architectures.
42497
42498         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42499         files in ports.
42500         * elf/stackguard-macros.h: Remove support for IA-64.
42501         * elf/tst-auditmod1.c: Likewise.
42502         * sysdeps/generic/ldsodefs.h: Likewise.
42503
42504         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42505         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42506         configure files.
42507
42508         [BZ #13552]
42509         * configure.in: Remove --enable-omitfp support.
42510         * FAQ.in: Adjust.
42511         * config.make.in: Likewise.
42512         * Makeconfig: Likewise.
42513         * manual/install.texi: Likewise.
42514
42515         In case anyone cares, the IA-64 architecture could move to ports.
42516         * sysdeps/ia64/*: Removed.
42517         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42518         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42519
42520         [BZ #13555]
42521         * configure.in: Remove entries for unsupported architectures.
42522
42523         [BZ #13533]
42524         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42525         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42526         routines.
42527         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42528         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42529         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42530         fall back to using wcrtomb.
42531         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42532         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42533         renaming.
42534         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42535         * wcsmbs/tst-c16c32-1.c: New file.
42536
42537         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42538         local variable.
42539
42540         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42541
42542         * elf/tst-unique3.cc: Add explicit declaration of gets.
42543         * elf/tst-unique3lib.cc: Likewise.
42544         * elf/tst-unique3lib2.cc: Likewise.
42545         * elf/tst-unique4.cc: Likewise.
42546
42547         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42548
42549 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42550
42551         [BZ #13566]
42552         * assert/assert.h (static_assert): Don't define for C++.
42553         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42554         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42555
42556 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42557
42558         * iconv/loop.c (single loop): Fix assertion in storing of
42559         remaining bytes.
42560
42561         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42562
42563 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42564
42565         * posix/getconf.c: Update copyright year.
42566         * nss/getent.c: Likewise.
42567         * nss/makedb.c: Likewise.
42568         * iconv/iconvconfig.c: Likewise.
42569         * iconv/iconv_prog.c: Likewise.
42570         * elf/ldconfig.c: Likewise.
42571         * elf/pldd.c: Likewise.
42572         * elf/sotruss.ksh: Likewise.
42573         * catgets/gencat.c: Likewise.
42574         * csu/version.c: Likewise.
42575         * elf/ldd.bash.in: Likewise.
42576         * elf/sprof.c (print_version): Likewise.
42577         * locale/programs/locale.c: Likewise.
42578         * locale/programs/localedef.c: Likewise.
42579         * login/programs/pt_chown.c: Likewise.
42580         * nscd/nscd.c (print_version): Likewise.
42581         * debug/xtrace.sh: Likewise.
42582         * malloc/memusage.sh: Likewise.
42583         * malloc/mtrace.pl: Likewise.
42584         * debug/catchsegv.sh: Likewise.
42585
42586 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42587
42588         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42589         pure attribute.
42590
42591 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42592
42593         [BZ #13533]
42594         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42595         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42596         transformations.
42597         * iconv/gconv_int.h: Likewise.
42598         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42599         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42600         from libc for GLIBC_2.16.
42601         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42602         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42603         * wcsmbs/uchar.h: Really define mbstate_t.
42604         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42605         * wcsmbs/c16rtomb.c: New file.
42606         * wcsmbs/mbrtoc16.c: New file.
42607         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42608         for C/POSIX locale.
42609         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42610         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42611
42612         * wcsmbs/wchar.h: Add missing __restrict.
42613
42614 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42615
42616         [BZ #13532]
42617         * time/Makefile (routines): Add timespec_get.
42618         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42619         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42620         timespec for ISO C11.
42621         * time/timespec_get.c: New file.
42622         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42623         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42624
42625         [BZ #13531]
42626         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42627         * stdlib/stdlib.h: Declare aligned_alloc.
42628         * Versions.def: Add GLIBC_2.16 for libc.
42629         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42630
42631         [BZ 13527]
42632         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42633         ISO C11.
42634
42635         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42636         code.
42637
42638         [BZ #13528]
42639         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42640
42641         [BZ #13529]
42642         * assert/assert.h (static_assert): Define.
42643
42644         * version.h: Update for 2.16 development version.
42645
42646         [BZ #13526]
42647         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42648         _ISOC11_SOURCE.
42649
42650         * version.h (RELEASE): Bump for 2.15 release.
42651         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42652
42653         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42654         Patch by Marek Polacek <mpolacek@redhat.com>.
42655
42656         * bits/byteswap.h: Protect long long constants with __extension__.
42657         * sysdeps/i386/bits/byteswap.h: Likewise.
42658         * sysdeps/ia64/bits/byteswap.h: Likewise.
42659         * sysdeps/s390/bits/byteswap.h: Likewise.
42660         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42661
42662 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42663
42664         [BZ #13540]
42665         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42666         destination buffer.
42667         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42668
42669 2011-12-23  Marek Polacek  <polacek@redhat.com>
42670
42671         * elf/dl-addr.c (determine_info): Add inline keyword.
42672         * elf/tst-auditmod4b.c (check_avx): Likewise.
42673         * elf/tst-auditmod6b.c (check_avx): Likewise.
42674         * elf/tst-auditmod6c.c (check_avx): Likewise.
42675         * elf/tst-auditmod7b.c (check_avx): Likewise.
42676
42677 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42678
42679         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42680         !__SSE_MATH__.
42681
42682 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42683
42684         [BZ #13540]
42685         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42686         processing for last bytes.
42687
42688 2011-08-06  Bruno Haible  <bruno@clisp.org>
42689
42690         [BZ #13061]
42691         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42692         U+0385, not to U+1FEE.
42693
42694         [BZ #13062]
42695         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42696         entry for U+00A5 U+0301.
42697
42698 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42699
42700         [BZ #13166]
42701         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42702         buffer for the output is too small.
42703
42704         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42705         optimization.
42706
42707         [BZ #13185]
42708         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42709         SSE flags if possible.
42710
42711 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42712
42713         [BZ #13540]
42714         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42715         processing for last bytes.
42716
42717 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42718
42719         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42720         (syscall-list-default-options, syscall-list-default-condition)
42721         (syscall-list-includes): Define.
42722         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42723         list of ABIs and options and #if conditions for each ABI.  Do not
42724         handle common syscalls between ABIs specially.
42725         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42726         Remove.
42727         (syscall-list-variants, syscall-list-32bit-options)
42728         (syscall-list-32bit-condition, syscall-list-64bit-options)
42729         (syscall-list-64bit-condition): Define.
42730         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42731         (syscall-list-variants, syscall-list-32bit-options)
42732         (syscall-list-32bit-condition, syscall-list-64bit-options)
42733         (syscall-list-64bit-condition): Define.
42734         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42735         Remove.
42736         (syscall-list-variants, syscall-list-32bit-options)
42737         (syscall-list-32bit-condition, syscall-list-64bit-options)
42738         (syscall-list-64bit-condition): Define.
42739         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42740         Remove.
42741         (syscall-list-variants, syscall-list-32bit-options)
42742         (syscall-list-32bit-condition, syscall-list-64bit-options)
42743         (syscall-list-64bit-condition): Define.
42744
42745 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42746
42747         * locale/iso-639.def: Add brx entry.
42748
42749         [BZ #13328]
42750         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42751         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42752
42753         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42754         __feraiseexcept_renamed.
42755
42756 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42757
42758         [BZ #13538]
42759         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42760         EPOLLET with unsigned values.
42761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42762         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42763
42764         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42765         to large cancellation.
42766         * math/s_cacoshf.c: Likewise.
42767         * math/s_cacoshl.c: Likewise.
42768
42769 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42770
42771         [BZ #13305]
42772         [BZ #12786]
42773         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42774         * math/s_cacoshf.c: Likewise.
42775         * math/s_cacoshl.c: Likewise.
42776
42777 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42778
42779         [BZ #13439]
42780         * iconv/gconv.h: Define __GCONV_SWAP.
42781         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42782         * iconvdata/utf-16.c: Likewise.
42783         * iconvdata/utf-32.c: Likewise.
42784
42785 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42786
42787         [BZ #13524]
42788         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42789         numerator after shifting it by one limb.
42790
42791 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42792
42793         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42794         under [__USE_EXTERN_INLINES].
42795
42796 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42797
42798         [BZ #13446]
42799         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42800
42801 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42802
42803         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42804         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42805         optimized code.
42806         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42807         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42808         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42809         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42810         for strncasecmp/strncasecmp_l compilation.
42811         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42812         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42813
42814 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42815
42816         [BZ #13484]
42817         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42818         of __asm__.
42819
42820 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42821
42822         [BZ #13506]
42823         * time/tzfile.c (__tzfile_read): Check values from file header.
42824
42825 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42826
42827         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42828         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42829         * powerpc/powerpc32/dl-start.S: Likewise.
42830         * powerpc/powerpc32/elf/start.S: Likewise.
42831         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42832         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42833         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42834         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42835         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42836         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42837         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42838         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42839         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42840         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42841         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42842         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42843         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42844         * powerpc/powerpc32/memset.S: Likewise.
42845         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42846         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42847         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42848         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42849         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42850         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42851         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42852         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42853         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42854         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42855         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42856         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42857         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42858
42859 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42860
42861         * math/libm-test.inc: Added more nearbyint tests.
42862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42863         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42866
42867 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42868
42869         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42870         FD_CLOEXEC.
42871
42872 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42873
42874         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42875         Add wcscpy-ssse3 wcscpy-c.
42876         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42877         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42878         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42879         * sysdeps/x86_64/wcschr.S: New file.
42880         * sysdeps/x86_64/wcsrchr.S: New file.
42881         * string/test-strcmp.c: Remove checking of wcscmp function for
42882         wrong alignments.
42883         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42884         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42885         wcsrchr-sse2 wcsrchr-c.
42886         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42887         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42888         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42889         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42890         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42891         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42892         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42893         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42894         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42895         * wcsmbc/wcschr.c (WCSCHR): New macro.
42896
42897 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42898
42899         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42900         * wcsmbs/test-wcsrchr.c: New file.
42901         * string/test-strrchr.c: Add wcsrchr support.
42902         (WIDE): New macro.
42903         * wcsmbs/test-wcscpy.c: New file.
42904         * string/test-strcpy.c: Add wcscpy support.
42905         (WIDE): New macro.
42906
42907 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42910         the inner loop.
42911
42912 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42913
42914         [BZ #13472]
42915         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42916
42917 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42920         Minor optimizations.
42921
42922         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42923         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42924         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42925
42926 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42927
42928         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42929         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42930         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42931         for gcc to avoid warnings.
42932         * inet/Makefile (tests): Add tst-checks.
42933         * inet/tst-checks.c: New file.
42934
42935         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42936         warning.
42937
42938         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42939         __wmemcmp_sse2.
42940
42941         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42942         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42943
42944         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42945
42946 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42947
42948         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42949         problem.
42950
42951         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42952
42953 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42954
42955         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42956         conditional on GCC version.
42957         (__arch_compare_and_exchange_val_8_acq)
42958         (__arch_compare_and_exchange_val_16_acq)
42959         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42960         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42961         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42962
42963 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42964
42965         * sysdeps/sh/backtrace.c: New file.
42966
42967 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42968
42969         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42970         parenthesis.
42971
42972 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42973
42974         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42975         falling back to utime.
42976
42977 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42978
42979         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42980         expectations for float.
42981
42982 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42983
42984         * locale/weight.h (findidx): Add parameter len.
42985         * locale/weightwc.h (findidx): Likewise.
42986         * posix/fnmatch_loop.c (FCT): Adjust caller.
42987         * posix/regcomp.c (build_equiv_class): Likewise.
42988         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42989         * posix/regexec.c (check_node_accept_bytes): Likewise.
42990         * string/strcoll_l.c (STRCOLL): Likewise.
42991         * string/strxfrm_l.c (STRXFRM): Likewise.
42992
42993 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42994
42995         * Makefile.in: Remove CVSOPT handling.
42996         * configure.in: Remove use of AC_REVISION.
42997         * iconvdata/Makefile (distribute): No need to filter out CVS.
42998         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42999         handling.
43000
43001 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43002
43003         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43004         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43005         [USE_AS_STRNCASECMP_L]: Likewise.
43006         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43007         NO_TLS_DIRECT_SEG_REFS.
43008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43009         Fix argument offsets for non-PIC.
43010         [USE_AS_STRNCASECMP_L]: Likewise.
43011         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43012         NO_TLS_DIRECT_SEG_REFS.
43013
43014 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43017         O_CLOEXEC.
43018         * locale/loadlocale.c (_nl_load_locale): Likewise.
43019
43020 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43021
43022         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43023         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43024         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43025         (SYSCALL_GETTIME): Set errno on error.
43026
43027         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43028         count references to noai6ai_cached.
43029
43030 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43031
43032         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43033
43034         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43035         FD_CLOEXEC for /proc/self/maps.
43036
43037         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43038         FD_CLOEXEC for /proc/meminfo.
43039
43040         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43041         gai.conf.
43042
43043         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43044         FD_CLOEXEC for given file.
43045
43046         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43047
43048         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43049         FD_CLOEXEC for /etc/hosts.
43050         (_gethtent): Likewise.
43051
43052         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43053
43054         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43055         cancellation and set FD_CLOEXEC for /etc/netgroup.
43056
43057         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43058         reading /etc/publickey.
43059
43060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43061         allow cancellation when reading /etc/group.
43062
43063         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43064         cancellation.
43065         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43066
43067         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43068         when using data file.
43069
43070         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43071
43072         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43073         (write_nis_obj): Use "c" and "e" in fopen.
43074
43075         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43076
43077         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43078
43079         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43080
43081         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43082
43083         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43084         locale.alias.
43085
43086         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43087
43088         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43089
43090         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43091
43092         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43093         file parsing and set FD_CLOEXEC.
43094
43095 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43096
43097         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43098
43099 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43100
43101         * malloc/arena.c (arena_get2): Don't call reused_arena when
43102         _int_new_arena failed.
43103
43104 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43105
43106         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43107         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43108         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43110         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43111         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43112         to compile strcasecmp and strncasecmp.
43113         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43114         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43115
43116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43117
43118 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43119
43120         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43121         locale-defines.sym to gen-as-const-headers.
43122         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43123         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43125         to compile strcasecmp and strncasecmp.
43126         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43127         strcasecmp_l and strncasecmp_l.
43128         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43129         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43130         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43131         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43132         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43133         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43134         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43135         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43136         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43137         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43138         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43139
43140 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43141
43142         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43143         result of SYSDEP_GETTIME_CPU to retval.
43144         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43145         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43146
43147         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43148         variable.
43149
43150         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43151         mantissa words.
43152         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43153
43154         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43155         from unused variable.
43156
43157         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43158         DWARF definitions.
43159         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43160         for assembling.
43161
43162         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43163         over namespaces.
43164
43165         * sunrpc/rpc_prot.c (rejected): Fix case value.
43166
43167         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43168         unsigned long long int to avoid warnings in shift.
43169
43170         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43171         of use of trans.
43172         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43173         variable tmp.
43174
43175         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43176         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43177         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43178
43179         * nis/nis_table.c (nis_list): Use variable of correct type for
43180         result of __follow_path call.
43181
43182 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43183
43184         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43185         of math functions ceil, trunc, floor, round, and sqrt, when
43186         avaliable on the platform.
43187         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43188         name clash.
43189         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43190         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43191         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43192
43193 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43194
43195         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43196         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43197
43198 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43199
43200         * include/unistd.h: Fix __readlink return type.
43201         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43202
43203 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43204
43205         * stdlib/ucontext.h: Undo last change for makecontext.
43206
43207 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43208
43209         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43210
43211         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43212         * setjmp/setjmp.h: Mark functions as non-leaf.
43213         * setjmp/bits/setjmp2.h: Likewise.
43214         * stdlib/ucontext.h: Likewise.
43215
43216 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43217
43218         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43219         (reused_arena): Don't check arena limit.
43220         (arena_get2): Atomically check arena limit.
43221
43222 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43223
43224         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43225         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43226
43227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43228         instructions.
43229
43230 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43231
43232         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43233         handler when locking.
43234
43235         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43236         Fix size of allocated buffer.
43237
43238 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43239
43240         [BZ #10103]
43241         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43242         declarations for long double functions.
43243         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43244
43245         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43246
43247 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43248
43249         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43250         installed.
43251
43252         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43253         is disabled.
43254
43255 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43256
43257         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43258
43259 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43260
43261         * include/alloca.h (stackinfo_alloca_round): Define.
43262         (extend_alloca): Use it.
43263         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43264         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43265         here.
43266
43267         * scripts/check-local-headers.sh: Ignore libaudit.h.
43268
43269         * nscd/Makefile (extra-objs): Make recursively expanded.
43270
43271 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43272
43273         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43275
43276         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43277         * posix/tst-rfc3484-2.c: Likewise.
43278         * posix/tst-rfc3484-3.c: Likewise.
43279
43280         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43281         process_vm_writev.
43282         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43283         process_vm_writev.
43284         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43285         process_vm_writev from libc using GLIBC_2.15 version.
43286
43287         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43288
43289 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43290
43291         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43292         stack usage.
43293
43294 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43295
43296         [BZ #13367]
43297         * nss/getent.c (initgroups_keys): Show error message in case no group
43298         names are given.
43299
43300         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43301         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43302         __bump_nl_timestamp.
43303         * nscd/connections (nscd_init): When host database is served open
43304         netlink socket and request notification about configuration changes.
43305         (main_loop_poll): Track netlink file descriptor and bump timestamp
43306         in case data becomes available.
43307         (main_loop_epoll): Likewise.
43308         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43309         (database_pers_head): Add extra_data fileds.
43310         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43311         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43312         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43313         Adjust caller.
43314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43315         in6ai data, call __free_in6ai.
43316         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43317         Add -DHAVE_NETLINK.
43318         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43319         interface information.  Reuse previous data if netlink timestamp
43320         is not changed.
43321         (__bump_nl_timestamp): New function.
43322         (__free_in6ai): New function.
43323
43324 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43325
43326         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43327         close_not_cancel_no_status here.
43328         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43329
43330 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43331
43332         [BZ #13276]
43333         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43334         return value.
43335
43336         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43337         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43338         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43339
43340 2011-07-03  Andreas Jaeger  <aj@suse.de>
43341
43342         [BZ #10709]
43343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43344         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43345         * math/libm-test.inc (sin_test): Add test case.
43346
43347 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43348
43349         [BZ #13337]
43350         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43351         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43352
43353         * elf/chroot_canon.c (chroot_canon): Cleanups.
43354
43355         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43356
43357         [BZ #13335]
43358         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43359         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43360
43361         * string/test-strchr.c: Make usable for strchrnul testing.
43362         * string/test-strchrnul.c: New file.
43363         * string/Makefile (strop-tests): Add strchrnul.
43364
43365         * po/it.po: Update from translation team.
43366         * po/es.po: Likewise.
43367
43368 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43369
43370         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43371         the three constants needed as parameters.  Drop the others.
43372         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43373         __m128i_strloadu_tolower.
43374         Create and initialize variable zero and use it in all the places
43375         where _mm_setzero_si128 was used.
43376
43377         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43378         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43379         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43380         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43381         anymore.
43382         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43383         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43384         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43385         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43386         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43387         __mpranred, __mptan.
43388         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43389         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43390         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43391         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43392         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43393         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43394         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43395         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43396         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43397
43398 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43399
43400         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43401         redefine if SHARED.
43402         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43403
43404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43405         wide char related routines to wcsmbs subdir.
43406
43407 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43408
43409         [BZ #13344]
43410         * misc/sys/cdefs.h (__THROWNL): Define.
43411         * posix/unistd.h: Use __THREADNL instead of __THREAD
43412         for memory synchronization functions.
43413
43414 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43415
43416         [BZ #13349]
43417         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43418         doesn't exist.
43419         * manual/stdio.texi (Obstack Streams): Node removed.
43420
43421 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43422
43423         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43424         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43425         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43426
43427         * math/math_private.h (math_force_eval): Allow non-addressable
43428         arguments.
43429         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43430
43431 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43432
43433         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43434         file is not needed.
43435
43436         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43443         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43444         Add AVX variants.
43445         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43446         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43447         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43448         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43449         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43450         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43451         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43452         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43453         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43454         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43455         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43456         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43457         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43458         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43459         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43460         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43461         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43462         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43463         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43464
43465         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43466         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43467
43468         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43469         place.  Use VEX encoding when compiling for AVX.
43470
43471 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43472
43473         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43474         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43475
43476         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43477
43478 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43479
43480         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43481         useless if() expression.
43482         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43483         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43484         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43485         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43486         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43487         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43488         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43489         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43490         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43493         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43494         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43495         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43496         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43497         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43498         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43499         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43500         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43501
43502         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43503
43504 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43505
43506         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43507         condition.
43508         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43509
43510 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43511
43512         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43513         .text section.  Avoid duplicate constants.
43514         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43516         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43520         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43522         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43523         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43524         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43525         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43526         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43527         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43529         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43531         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43534         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43536         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43537         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43538         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43539         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43540         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43541         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43542         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43543         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43544         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43545         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43546         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43547         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43548         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43549         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43550         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43551         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43552         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43553         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43554         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43555         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43556         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43557         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43558         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43559
43560 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43561
43562         * sysdeps/x86_64/dla.h: Move to ...
43563         * sysdeps/x86_64/fpu/dla.h: ...here.
43564         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43565         situations.  Use __builtin_fma only for gcc 4.6 and up.
43566
43567         * config.make.in: Add have-mfma4 entry.
43568         * configure.in: Substitute libc_cv_cc_fma4.
43569         * math/Makefile (dbl-only-routines): Add sincostab.
43570         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43571         Use __sincostab not sincos.
43572         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43573         name is a macro.
43574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43578         using __copysign.
43579         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43580         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43581         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43582         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43583         and __inv.
43584         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43585         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43586         __copysign.
43587         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43588         define aliases when function name is a macro.
43589         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43590         sysdeps/ieee754/dbl-64/sincos.tbl.
43591         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43592         fma4-enabled routines.
43593         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43594         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43595         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43596         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43597         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43598         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43599         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43600         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43601         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43602         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43603         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43604         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43605         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43606         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43607         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43608         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43609         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43610         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43611         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43613         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43614         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43615         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43616         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43618         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43619         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43620         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43621         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43622         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43623
43624         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43625         rename.
43626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43634
43635 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43636
43637         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43638
43639 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43640
43641         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43642
43643         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43644         prediction.
43645         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43646
43647         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43648         Remove unused variable magic_bits.
43649         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43650
43651         * string/strnlen.c: Define and use STRNLEN macro.
43652         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43653         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43655         * wcsmbs/wcslen.c: Define and use WCSLEN.
43656         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43657         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43658         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43659         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43660         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43661         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43662         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43663
43664 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43665
43666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43667         strnlen-sse2-no-bsf.
43668         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43670         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43671         Add strnlen support.
43672         (USE_AS_STRNLEN): New macro.
43673         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43674         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43675         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43676         * sysdeps/x86_64/wcslen.S: New file.
43677
43678 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43679
43680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43681         XMM-moves are used for copying on small sizes.
43682
43683 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43684
43685         * wcsmbs/Makefile (strop-tests): Add wcschr.
43686         * wcsmbs/test-wcschr.c: New file.
43687         * string/test-strchr.c: Update.
43688         Add wcschr support.
43689         (WIDE): New macro.
43690
43691 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43692
43693         * wcsmbs/Makefile (strop-tests): Add wcslen.
43694         * wcsmbs/test-wcslen.c: New file.
43695         * string/test-strlen.c: Update.
43696         Add wcslen support.
43697         (WIDE): New macro.
43698
43699 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43700
43701         * po/it.po: Update from translation team.
43702
43703 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43704
43705         * sysdeps/x86_64/wcscmp.S: Update.
43706         Fix wrong comparison semantics.
43707         wcscmp shall use signed comparison not unsigned.
43708         Don't use substraction to avoid overflow bug.
43709         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43710         * wcsmbc/wcscmp.c: Likewise.
43711         * string/test-strcmp.c: Likewise.
43712         Add new tests to check cases with negative values.
43713
43714 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43715
43716         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43717         * sysdeps/x86_64/dla.h: ...here.  New file.
43718         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43723         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43727
43728 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43729
43730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43731         __ynl_finite aliases.
43732
43733 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43734
43735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43736
43737         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43738         define DLA_FMA.
43739         [DLA_FMA] (EMULV): Use DLA_FMA.
43740         [DLA_FMA] (MUL12): Use EMULV.
43741         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43742         that are not needed.
43743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43745         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43750
43751 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43752
43753         * math/s_nan.c: Undef __nan.
43754         * math/s_nanf.c: Undef __nanf.
43755         * math/s_nanl.c: Undef __nanl.
43756         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43757         "math_private.h".
43758
43759 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43760
43761         * math/s_catan.c: Add branch predictions.
43762         * math/s_catanf.c: Likewise.
43763         * math/s_catanh.c: Likewise.
43764         * math/s_catanhf.c: Likewise.
43765         * math/s_catanhl.c: Likewise.
43766         * math/s_catanl.c: Likewise.
43767         * math/s_cexp.c: Likewise.
43768         * math/s_cexpf.c: Likewise.
43769         * math/s_cexpl.c: Likewise.
43770         * math/s_clog.c: Likewise.
43771         * math/s_clog10.c: Likewise.
43772         * math/s_clog10f.c: Likewise.
43773         * math/s_clog10l.c: Likewise.
43774         * math/s_clogf.c: Likewise.
43775         * math/s_clogl.c: Likewise.
43776         * math/s_csqrt.c: Likewise.
43777         * math/s_csqrtf.c: Likewise.
43778         * math/s_csqrtl.c: Likewise.
43779         * math/s_ctanf.c: Likewise.
43780         * math/s_ctanh.c: Likewise.
43781         * math/s_ctanhf.c: Likewise.
43782         * math/s_ctanhl.c: Likewise.
43783         * math/s_ctanl.c: Likewise.
43784
43785         * math/math_private.h: Define __nan, __nanf, __nanl.
43786         * math/s_cacosh.c: Include <math_private.h>.
43787         * math/s_cacoshl.c: Likewise.
43788         * math/s_casinh.c: Likewise.
43789         * math/s_casinhf.c: Likewise.
43790         * math/s_casinhl.c: Likewise.
43791         * math/s_ccos.c: Rely entire on ccosh.
43792         * math/s_ccosf.c: Rely entire on ccoshf.
43793         * math/s_ccosl.c: Rely entirely on ccoshl.
43794         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43795         Remove tests for FE_INVALID.
43796         * math/s_ccoshf.c: Likewise.
43797         * math/s_ccoshl.c: Likewise.
43798         * math/s_csin.c: Likewise.
43799         * math/s_csinf.c: Likewise.
43800         * math/s_csinh.c Likewise.
43801         * math/s_csinhf.c: Likewise.
43802         * math/s_csinhl.c: Likewise.
43803         * math/s_csinl.c: Likewise.
43804         * math/s_ctan.c: Likewise.
43805         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43806         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43807         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43808
43809 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43810
43811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43812         compilation problems.
43813
43814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43815         __builtin_expect.
43816
43817 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43818
43819         * sysdeps/i386/configure.in: Test for -mfma4 option.
43820         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43821         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43822         COMMON_CPUID_INDEX_80000001.
43823         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43824         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43825         use it if FMA3 is not supported.
43826         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43827
43828         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43829         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43830
43831 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43832
43833         [BZ #12892]
43834         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43835         it would create a cycle with a link time dependency.
43836
43837 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43838
43839         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43840         instruction.
43841         * string/Makefile (strop-tests): Add rawmemchr.
43842         * string/test-rawmemchr.c: New file.
43843
43844         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43845         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43846         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43847         when compiling str{,n}casecmp and when AVX is available.  Hook up
43848         new optimized code in initializers.
43849
43850 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43851
43852         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43853         __feraiseexcept instead of feraiseexcept.
43854
43855 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43856
43857         * math/math_private.h: Define defaults for libc_fetestexcept and
43858         libc_feupdateenv.
43859         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43860         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43861         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43862         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43863         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43864         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43865         libc_fetestexcept and libc_feupdateenv.
43866
43867         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43868         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43869         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43870         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43871         libc_feholdexcept_setround.
43872
43873         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43874         Add s_nearbyint-c and s_nearbyintf-c.
43875         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43876         nearbyintf inlines.
43877         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43878         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43879         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43880         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43881
43882         * math/math_private.h: Define defaults for libc_fegetround,
43883         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43884         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43885         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43886         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43887         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43888         standard functions.
43889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43890         Remove comments and hacks for old compiler versions.
43891         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43892         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43893         libc_feholdexceptl.
43894
43895 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43896
43897         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43898         (__feraiseexcept_renamed): Add __NTH.
43899         (feraiseexcept): Add __NTH.  Rename local variables to fix
43900         namespace violations.
43901
43902 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43903
43904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43905
43906         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43907
43908         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43909         recently added interfaces.
43910         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43911
43912         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43913         about macro parameter expansion.
43914
43915         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43916         __NO_MATH_INLINES is defined.  Cleanups.
43917
43918         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43919         and __floorf is target has SSE4.1.
43920         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43921         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43922         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43923         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43924
43925         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43926         name.
43927         (floorf): Likewise.
43928
43929         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43930
43931 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43932
43933         * misc/sys/cdefs.h: Fix last change.
43934
43935         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43936         database lookup.
43937
43938 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43939
43940         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43941
43942         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43943         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43944         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43945         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43946         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43947         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43948         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43949         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43950         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43951         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43952         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43953         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43954         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43955         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43956         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43957         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43958         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43959         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43960         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43961         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43962         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43963         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43964
43965         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43966         ceil, ceilf, floor, floorf.
43967
43968         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43969         Perform IRELATIVE relocations last.
43970
43971         * elf/do-rel.h: Add another parameter nrelative, replacing the
43972         local variable with the same name.  Change name of the function
43973         to end in Rel or Rela (uppercase).
43974         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43975         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43976         elf_dynamic_do_##reloc function.
43977
43978 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43979
43980         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43981         is sufficient, at least on modern CPUs.
43982
43983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43984
43985         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43986         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43987
43988         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43989         __expl_finite.
43990         * math/bits/math-finite.h: Add entries for exp.
43991         * math/e_expl.c: Add __*_finite alias.
43992         * sysdeps/i386/fpu/e_exp.S: Likewise.
43993         * sysdeps/i386/fpu/e_expf.S: Likewise.
43994         * sysdeps/i386/fpu/e_expl.c: Likewise.
43995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43996         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43997         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43999         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44000         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44001         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44002
44003         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44004         is sufficient, at least on modern CPUs.
44005
44006         * ctype/ctype-info.c (__ctype_init): Define.
44007         * include/ctype.h (__ctype_init): Declare.
44008         (__ctype_b_loc): The variable is always initialized.
44009         (__ctype_toupper_loc): Likewise.
44010         (__ctype_tolower_loc): Likewise.
44011         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44012         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44013
44014 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44015
44016         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44017
44018         * configure.in: Also look in $cxxmachine/include for C++ system
44019         headers.
44020
44021 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44022
44023         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44024         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44025         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44026         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44028         (USE_AS_WMEMCMP): New macro.
44029         Fixing indents.
44030         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44031         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44032         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44033         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44035         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44036         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44037         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44038         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44039         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44040         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44041         (USE_AS_WMEMCMP): New macro.
44042         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44043         * sysdeps/string/test-memcmp.c: Update.
44044         Fix simple_wmemcmp.
44045         Add new tests.
44046         * wcsmbs/wmemcmp.c: Update.
44047         (WMEMCMP): New macro.
44048         Fix overflow bug.
44049
44050 2011-10-12  Andreas Jaeger  <aj@suse.de>
44051
44052         [BZ #13268]
44053         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44054
44055 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44056
44057         * libio/iofwide.c (do_length): Avoid warning.
44058
44059         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44060
44061 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44062
44063         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44064
44065         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44066         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44067         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44068         * sysdeps/i386/i686/fpu/e_log.S: New file.
44069         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44070         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44071
44072         * ctype/ctype.h: Add support for inlined isXXX functions when
44073         compiling C++ code.
44074
44075 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44076
44077         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44078
44079         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44080
44081 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44082
44083         [BZ #13291]
44084         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44085
44086 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44087
44088         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44089         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44090         feraiseexcept.
44091
44092         * sysdeps/x86_64/memrchr.S: Check for zero size.
44093
44094         * string/stratcliff.c: Add memrchr tests.
44095
44096 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44097
44098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44099         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44100         rawmemchr-sse2 rawmemchr-sse2-bsf.
44101         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44102         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44103         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44104         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44105         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44106         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44107         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44108         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44109         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44110         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44111         * string/memrchr.c (MEMRCHR): New macro.
44112
44113 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44114
44115         Add integration with gcc's -ffinite-math-only and optimize wrapper
44116         functions in libm.
44117         * Versions.def: Define GLIBC_2.15 version for libm.
44118         * math/Makefile (headers): Add bits/math-finite.h.
44119         * math/bits/math-finite.h: New file.
44120         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44121         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44122         * math/e_acoshl.c: Add __*_finite alias.
44123         * math/e_acosl.c: Likewise.
44124         * math/e_asinl.c: Likewise.
44125         * math/e_atan2l.c: Likewise.
44126         * math/e_atanhl.c: Likewise.
44127         * math/e_coshl.c: Likewise.
44128         * math/e_exp10.c: Likewise.
44129         * math/e_exp10f.c: Likewise.
44130         * math/e_exp10l.c: Likewise.
44131         * math/e_exp2l.c: Likewise.
44132         * math/e_fmodl.c: Likewise.
44133         * math/e_gammal_r.c: Likewise.
44134         * math/e_hypotl.c: Likewise.
44135         * math/e_j0l.c: Likewise.
44136         * math/e_j1l.c: Likewise.
44137         * math/e_jnl.c: Likewise.
44138         * math/e_lgammal_r.c: Likewise.
44139         * math/e_log10l.c: Likewise.
44140         * math/e_log2l.c: Likewise.
44141         * math/e_logl.c: Likewise.
44142         * math/e_powl.c: Likewise.
44143         * math/e_sinhl.c: Likewise.
44144         * math/e_sqrtl.c: Likewise.
44145         * math/e_scalb.c: Completely rewritten and optimized.
44146         * math/e_scalbf.c: Likewise.
44147         * math/e_scalbl.c: Likewise.
44148         * math/w_acos.c: Likewise.
44149         * math/w_acosf.c: Likewise.
44150         * math/w_acosl.c: Likewise.
44151         * math/w_acosh.c: Likewise.
44152         * math/w_acoshf.c: Likewise.
44153         * math/w_acoshl.c: Likewise.
44154         * math/w_asin.c: Likewise.
44155         * math/w_asinf.c: Likewise.
44156         * math/w_asinl.c: Likewise.
44157         * math/w_atan2.c: Likewise.
44158         * math/w_atan2f.c: Likewise.
44159         * math/w_atan2l.c: Likewise.
44160         * math/w_atanh.c: Likewise.
44161         * math/w_atanhf.c: Likewise.
44162         * math/w_atanhl.c: Likewise.
44163         * math/w_exp10.c: Likewise.
44164         * math/w_exp10f.c: Likewise.
44165         * math/w_exp10l.c: Likewise.
44166         * math/w_fmod.c: Likewise.
44167         * math/w_fmodf.c: Likewise.
44168         * math/w_fmodl.c: Likewise.
44169         * math/w_j0.c: Likewise.
44170         * math/w_j0f.c: Likewise.
44171         * math/w_j0l.c: Likewise.
44172         * math/w_j1.c: Likewise.
44173         * math/w_j1f.c: Likewise.
44174         * math/w_j1l.c: Likewise.
44175         * math/w_jn.c: Likewise.
44176         * math/w_jnf.c: Likewise.
44177         * math/w_log.c: Likewise.
44178         * math/w_logf.c: Likewise.
44179         * math/w_logl.c: Likewise.
44180         * math/w_log10.c: Likewise.
44181         * math/w_log10f.c: Likewise.
44182         * math/w_log10l.c: Likewise.
44183         * math/w_log2.c: Likewise.
44184         * math/w_log2f.c: Likewise.
44185         * math/w_log2l.c: Likewise.
44186         * math/w_pow.c: Likewise.
44187         * math/w_powf.c: Likewise.
44188         * math/w_powl.c: Likewise.
44189         * math/w_remainder.c: Likewise.
44190         * math/w_remainderf.c: Likewise.
44191         * math/w_remainderl.c: Likewise.
44192         * math/w_scalb.c: Likewise.
44193         * math/w_scalbf.c: Likewise.
44194         * math/w_scalbl.c: Likewise.
44195         * math/w_sqrt.c: Likewise.
44196         * math/w_sqrtf.c: Likewise.
44197         * math/w_sqrtl.c: Likewise.
44198         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44199         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44200         used.
44201         * math/math_private.h: Declare __kernel_standard_f.
44202         * math/w_cosh.c: Remove cruft and optimize a bit.
44203         * math/w_coshf.c: Likewise.
44204         * math/w_coshl.c: Likewise.
44205         * math/w_exp2.c: Likewise.
44206         * math/w_exp2f.c: Likewise.
44207         * math/w_exp2l.c: Likewise.
44208         * math/w_hypot.c: Likewise.
44209         * math/w_hypotf.c: Likewise.
44210         * math/w_hypotl.c: Likewise.
44211         * math/w_lgamma.c: Likewise.
44212         * math/w_lgamma_r.c: Likewise.
44213         * math/w_lgammaf.c: Likewise.
44214         * math/w_lgammaf_r.c: Likewise.
44215         * math/w_lgammal.c: Likewise.
44216         * math/w_lgammal_r.c: Likewise.
44217         * math/w_sinh.c: Likewise.
44218         * math/w_sinhf.c: Likewise.
44219         * math/w_sinhl.c: Likewise.
44220         * math/w_tgamma.c: Likewise.
44221         * math/w_tgammaf.c: Likewise.
44222         * math/w_tgammal.c: Likewise.
44223         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44224         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44225         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44226         Minor optimizations.  Pretty printing.  Remove cruft.
44227         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44228         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44229         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44230         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44231         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44232         * sysdeps/i386/fpu/e_asin.S: Likewise.
44233         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44234         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44235         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44236         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44237         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44238         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44239         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44240         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44241         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44242         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44243         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44244         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44245         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44246         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44247         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44248         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44249         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44250         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44251         * sysdeps/i386/fpu/e_log.S: Likewise.
44252         * sysdeps/i386/fpu/e_log10.S: Likewise.
44253         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44254         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44255         * sysdeps/i386/fpu/e_log2.S: Likewise.
44256         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44257         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44258         * sysdeps/i386/fpu/e_logf.S: Likewise.
44259         * sysdeps/i386/fpu/e_logl.S: Likewise.
44260         * sysdeps/i386/fpu/e_pow.S: Likewise.
44261         * sysdeps/i386/fpu/e_powf.S: Likewise.
44262         * sysdeps/i386/fpu/e_powl.S: Likewise.
44263         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44264         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44265         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44266         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44267         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44268         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44269         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44270         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44271         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44272         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44275         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44276         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44277         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44278         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44279         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44283         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44292         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44293         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44294         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44295         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44296         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44297         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44298         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44299         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44300         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44301         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44302         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44303         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44304         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44306         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44307         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44308         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44309         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44310         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44311         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44312         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44313         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44314         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44315         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44317         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44318         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44319         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44320         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44321         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44322         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44323         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44324         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44325         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44327         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44328         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44329         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44330         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44331         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44332         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44333         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44334         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44336         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44337         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44339         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44340         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44341         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44342         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44344         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44346         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44348         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44349         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44350         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44351         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44352         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44353         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44354         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44355         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44356         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44357         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44358         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44359         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44360         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44361         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44362         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44363         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44364         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44365         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44366         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44367         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44368         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44369         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44370         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44371         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44372         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44373         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44374         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44375         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44376         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44377         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44378         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44379         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44380         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44381         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44382         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44383         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44384         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44385         (__isnanf): Likewise.
44386         (__isinf_ns): Likewise.
44387         (__isinf_nsf): Likewise.
44388         (__finite): Likewise.
44389         (__finitef): Likewise.
44390         (__ieee754_sqrt): Define as macro.
44391         (__ieee754_sqrtf): Define as macro.
44392         (__ieee754_sqrtl): Define as macro.
44393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44394         inlined copy.
44395         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44396         __FINITE_MATH_ONLY__ consistent.
44397         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44398
44399 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44400
44401         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44402         of rawmemchr.
44403
44404         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44405
44406 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44407
44408         * po/ja.po: Update from translation team.
44409
44410 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44411
44412         * locale/programs/locarchive.c (prepare_address_space): New function.
44413         (create_archive, enlarge_archive, open_archive): Use it.
44414
44415         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44416         inside [SHARED], where it is used.
44417
44418         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44419
44420         * nss/getent.c (netgroup_keys): Remove unused variable.
44421         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44422
44423 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44424
44425         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44426         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44427         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44428         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44429         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44430         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44431         * math/Makefile (libm-calls): Add s_isinf_ns.
44432         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44433         * math/multc3.c: Likewise.
44434         * math/s_casin.c: Likewise.
44435         * math/s_casinf.c: Likewise.
44436         * math/s_casinl.c: Likewise.
44437         * math/s_ccos.c: Likewise.
44438         * math/s_ccosf.c: Likewise.
44439         * math/s_ccosl.c: Likewise.
44440         * math/s_ctan.c: Likewise.
44441         * math/s_ctanf.c: Likewise.
44442         * math/s_ctanh.c: Likewise.
44443         * math/s_ctanhf.c: Likewise.
44444         * math/s_ctanhl.c: Likewise.
44445         * math/s_ctanl.c: Likewise.
44446         * math/w_fmod.c: Likewise.
44447         * math/w_fmodf.c: Likewise.
44448         * math/w_fmodl.c: Likewise.
44449         * math/w_remainder.c: Likewise.
44450         * math/w_remainderf.c: Likewise.
44451         * math/w_remainderl.c: Likewise.
44452         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44453         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44454         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44456         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44457         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44458         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44459         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44460
44461         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44462         of the number.
44463         * stdio-common/printf_fphex.c: Likewise.
44464         * stdio-common/printf_size.c: Likewise.
44465
44466         * math/e_exp10.c: Include math_private.h using <...> not "...".
44467         * math/e_exp10f.c: Likewise.
44468         * math/e_exp10l.c: Likewise.
44469         * math/e_exp2l.c: Likewise.
44470         * math/e_j0l.c: Likewise.
44471         * math/e_j1l.c: Likewise.
44472         * math/e_jnl.c: Likewise.
44473         * math/e_lgammal_r.c: Likewise.
44474         * math/e_rem_pio2l.c: Likewise.
44475         * math/e_scalb.c: Likewise.
44476         * math/e_scalbf.c: Likewise.
44477         * math/e_scalbl.c: Likewise.
44478         * math/k_cosl.c: Likewise.
44479         * math/k_sinl.c: Likewise.
44480         * math/k_tanl.c: Likewise.
44481         * math/s_cacoshf.c: Likewise.
44482         * math/s_catan.c: Likewise.
44483         * math/s_catanf.c: Likewise.
44484         * math/s_catanh.c: Likewise.
44485         * math/s_catanhf.c: Likewise.
44486         * math/s_catanhl.c: Likewise.
44487         * math/s_catanl.c: Likewise.
44488         * math/s_ccosh.c: Likewise.
44489         * math/s_ccoshf.c: Likewise.
44490         * math/s_ccoshl.c: Likewise.
44491         * math/s_cexp.c: Likewise.
44492         * math/s_cexpf.c: Likewise.
44493         * math/s_cexpl.c: Likewise.
44494         * math/s_clog.c: Likewise.
44495         * math/s_clog10.c: Likewise.
44496         * math/s_clog10f.c: Likewise.
44497         * math/s_clog10l.c: Likewise.
44498         * math/s_clogf.c: Likewise.
44499         * math/s_clogl.c: Likewise.
44500         * math/s_csin.c: Likewise.
44501         * math/s_csinf.c: Likewise.
44502         * math/s_csinh.c: Likewise.
44503         * math/s_csinhf.c: Likewise.
44504         * math/s_csinhl.c: Likewise.
44505         * math/s_csinl.c: Likewise.
44506         * math/s_csqrt.c: Likewise.
44507         * math/s_csqrtf.c: Likewise.
44508         * math/s_csqrtl.c: Likewise.
44509         * math/s_ctan.c: Likewise.
44510         * math/s_ctanf.c: Likewise.
44511         * math/s_ctanh.c: Likewise.
44512         * math/s_ctanhf.c: Likewise.
44513         * math/s_ctanhl.c: Likewise.
44514         * math/s_ctanl.c: Likewise.
44515         * math/s_ldexp.c: Likewise.
44516         * math/s_ldexpf.c: Likewise.
44517         * math/s_ldexpl.c: Likewise.
44518         * math/s_significand.c: Likewise.
44519         * math/s_significandf.c: Likewise.
44520         * math/s_significandl.c: Likewise.
44521         * math/w_acos.c: Likewise.
44522         * math/w_acosf.c: Likewise.
44523         * math/w_acosh.c: Likewise.
44524         * math/w_acoshf.c: Likewise.
44525         * math/w_acoshl.c: Likewise.
44526         * math/w_acosl.c: Likewise.
44527         * math/w_asin.c: Likewise.
44528         * math/w_asinf.c: Likewise.
44529         * math/w_asinl.c: Likewise.
44530         * math/w_atan2.c: Likewise.
44531         * math/w_atan2f.c: Likewise.
44532         * math/w_atan2l.c: Likewise.
44533         * math/w_atanh.c: Likewise.
44534         * math/w_atanhf.c: Likewise.
44535         * math/w_atanhl.c: Likewise.
44536         * math/w_cosh.c: Likewise.
44537         * math/w_coshf.c: Likewise.
44538         * math/w_coshl.c: Likewise.
44539         * math/w_dremf.c: Likewise.
44540         * math/w_exp10.c: Likewise.
44541         * math/w_exp10f.c: Likewise.
44542         * math/w_exp10l.c: Likewise.
44543         * math/w_exp2.c: Likewise.
44544         * math/w_exp2f.c: Likewise.
44545         * math/w_fmod.c: Likewise.
44546         * math/w_fmodf.c: Likewise.
44547         * math/w_fmodl.c: Likewise.
44548         * math/w_hypot.c: Likewise.
44549         * math/w_hypotf.c: Likewise.
44550         * math/w_hypotl.c: Likewise.
44551         * math/w_j0.c: Likewise.
44552         * math/w_j0f.c: Likewise.
44553         * math/w_j0l.c: Likewise.
44554         * math/w_j1.c: Likewise.
44555         * math/w_j1f.c: Likewise.
44556         * math/w_j1l.c: Likewise.
44557         * math/w_jn.c: Likewise.
44558         * math/w_jnf.c: Likewise.
44559         * math/w_jnl.c: Likewise.
44560         * math/w_lgamma.c: Likewise.
44561         * math/w_lgamma_r.c: Likewise.
44562         * math/w_lgammaf.c: Likewise.
44563         * math/w_lgammaf_r.c: Likewise.
44564         * math/w_lgammal.c: Likewise.
44565         * math/w_lgammal_r.c: Likewise.
44566         * math/w_log.c: Likewise.
44567         * math/w_log10.c: Likewise.
44568         * math/w_log10f.c: Likewise.
44569         * math/w_log10l.c: Likewise.
44570         * math/w_log2.c: Likewise.
44571         * math/w_log2f.c: Likewise.
44572         * math/w_log2l.c: Likewise.
44573         * math/w_logf.c: Likewise.
44574         * math/w_logl.c: Likewise.
44575         * math/w_pow.c: Likewise.
44576         * math/w_powf.c: Likewise.
44577         * math/w_powl.c: Likewise.
44578         * math/w_remainder.c: Likewise.
44579         * math/w_remainderf.c: Likewise.
44580         * math/w_remainderl.c: Likewise.
44581         * math/w_scalb.c: Likewise.
44582         * math/w_scalbf.c: Likewise.
44583         * math/w_scalbl.c: Likewise.
44584         * math/w_sinh.c: Likewise.
44585         * math/w_sinhf.c: Likewise.
44586         * math/w_sinhl.c: Likewise.
44587         * math/w_sqrt.c: Likewise.
44588         * math/w_sqrtf.c: Likewise.
44589         * math/w_sqrtl.c: Likewise.
44590         * math/w_tgamma.c: Likewise.
44591         * math/w_tgammaf.c: Likewise.
44592         * math/w_tgammal.c: Likewise.
44593
44594         * po/ja.po: Update from translation team.
44595
44596 2011-09-29  Andreas Jaeger  <aj@suse.de>
44597
44598         [BZ #13179]
44599         * sunrpc/netname.c (netname2host): Fix logic.
44600
44601         [BZ #6779]
44602         [BZ #6783]
44603         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44604         correctly.
44605         * math/w_remainder.c (__remainder): Likewise.
44606         * math/w_remainderf.c (__remainderf): Likewise.
44607         * math/libm-test.inc (remainder_test): Add test cases.
44608
44609 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44610
44611         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44612         sdiv_qrnnd.
44613
44614 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44615
44616         * string/test-memcmp.c: Avoid unncessary #defines.
44617         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44618
44619 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44620
44621         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44622         Use new sse2 version for core i3 - i7 as it's faster
44623         than sse42 version.
44624         (bit_Prefer_PMINUB_for_stringop): New.
44625         * sysdeps/x86_64/rawmemchr.S: Update.
44626         Replace with faster SSE2 version.
44627         * sysdeps/x86_64/memrchr.S: New file.
44628         * sysdeps/x86_64/memchr.S: Update.
44629         Replace with faster SSE2 version.
44630
44631 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44632
44633         * elf/dl-load.c (lose): Add cast to avoid warning.
44634
44635 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44636
44637         * po/ca.po: Update from translation team.
44638
44639         * inet/getnetgrent_r.c: Hook up nscd.
44640         * nscd/Makefile (routines): Add nscd_netgroup.
44641         (nscd-modules): Add netgroupcache.
44642         (CFLAGS-netgroupcache.c): Define.
44643         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44644         (cache_search): Add const to second parameter.
44645         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44646         INNETGR.
44647         (dbs): Add netgrdb entry.
44648         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44649         (verify_persistent_db): Handle netgrdb.
44650         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44651         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44652         GETFDNETGR.
44653         (netgroup_response_header): Define.
44654         (innetgroup_response_header): Define.
44655         (datahead): Add netgroup_response_header and innetgroup_response_header
44656         elements.
44657         * nscd/nscd.conf: Add entries for netgroup cache.
44658         * nscd/nscd.h (dbtype): Add netgrdb.
44659         (_PATH_NSCD_NETGROUP_DB): Define.
44660         (netgroup_iov_disabled): Declare.
44661         (xmalloc, xcalloc, xrealloc): Move declarations here.
44662         (cache_search): Adjust prototype.
44663         Add netgroup-related prototypes.
44664         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44665         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44666         (__nscd_innetgr): Declare.
44667         * nscd/selinux.c (perms): Use access_vector_t as element type and
44668         add netgroup-related initializers.
44669         * nscd/netgroupcache.c: New file.
44670         * nscd/nscd_netgroup.c: New file.
44671         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44672         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44673         For four parameters use innetgr.
44674         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44675         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44676         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44677         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44678
44679         * nscd/connections.c (register_traced_file): Don't register file
44680         for disabled databases.
44681
44682 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44683
44684         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44685
44686         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44687         from tree and freeing node.
44688
44689 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44690
44691         * nss/nsswitch.c (__nss_database_lookup): Handle
44692         nss_parse_service_list out of memory case.
44693
44694 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44695
44696         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44697         out of memory case.
44698
44699 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44700
44701         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44702         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44703         pass it down.
44704         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44705         elf_machine_rela, elf_machine_lazy_rel.
44706         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44707         (ELF_DYNAMIC_DO_REL): Likewise.
44708         (ELF_DYNAMIC_DO_RELA): Likewise.
44709         (ELF_DYNAMIC_RELOCATE): Likewise.
44710         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44711         to ELF_DYNAMIC_DO_REL.
44712         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44713         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44714         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44715         elf_machine_rela.
44716         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44717         skip_ifunc, don't call ifunc function if non-zero.
44718         (elf_machine_rela): Likewise.
44719         (elf_machine_lazy_rel): Likewise.
44720         (elf_machine_lazy_rela): Likewise.
44721         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44722         (elf_machine_lazy_rel): Likewise.
44723         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44724         Likewise.
44725         (elf_machine_lazy_rel): Likewise.
44726         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44727         Likewise.
44728         (elf_machine_lazy_rel): Likewise.
44729         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44730         (elf_machine_lazy_rel): Likewise.
44731         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44732         (elf_machine_lazy_rel): Likewise.
44733         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44734         (elf_machine_lazy_rel): Likewise.
44735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44736         (elf_machine_lazy_rel): Likewise.
44737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44738         (elf_machine_lazy_rel): Likewise.
44739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44740         (elf_machine_lazy_rel): Likewise.
44741
44742 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44743
44744         * nss/nss_files/files-init.c (_nss_files_init): Use static
44745         initialization for all the *_traced_file variables.
44746
44747 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44748
44749         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44750
44751 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44752
44753         [BZ #13226]
44754         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44755
44756 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44757
44758         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44759         Reread the line before reparsing it.
44760
44761 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44762
44763         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44764
44765 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44766             Maxim Kuvyrkov  <maxim@codesourcery.com>
44767             Joseph Myers  <joseph@codesourcery.com>
44768
44769         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44770         if needed for __stack_chk_guard.
44771
44772 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44773
44774         * sysdeps/posix/spawni.c (script_execute): Always define it.
44775         It will be optimized away if unused.
44776         (maybe_script_execute): New function.
44777         (__spawni): Call it.
44778
44779         * Makerules: Don't include tls.make.
44780         (config-tls): Always set to thread.
44781         * tls.make.c: File removed.
44782
44783 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44784
44785         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44786         * config.make.in (CPPFLAGS-config): New substituted variable.
44787
44788 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44789
44790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44791
44792         [BZ #13192]
44793         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44794         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44795
44796 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44797
44798         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44799         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44800         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44801         (CALL_FAIL): Likewise.
44802         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44803         (CALL_FAIL): Macro removed.
44804         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44805
44806 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44807
44808         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44809         for __FINITE_MATH_ONLY__ == 1.
44810
44811 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44812
44813         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44814         __ieee754_sqrt instead of sqrt.
44815         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44816         __ieee754_sqrtf instead of sqrtf.
44817         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44818         __floorf instead of floorf.
44819         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44820         __floorf, __truncf instead of floorf, truncf.
44821
44822 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44823
44824         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44825
44826         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44827         __extern_always_inline.
44828         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44829         32-bit.
44830
44831 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44832
44833         * elf/rtld.c (dl_main): Also relocate in dependency order when
44834         doing symbol dependency testing.
44835
44836 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44837
44838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44839         Always define `refsym'.
44840
44841 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44842
44843         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44844         (__FD_ELT): Renamed from __FDELT.
44845         * misc/bits/select2.h (__FD_ELT): Likewise.
44846         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44847         __FD_MASK instead of __FDELT, __FDMASK.
44848         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44849         Likewise.
44850         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44851         Likewise.
44852
44853         * elf/Makefile (gen-ldd): Fix pattern.
44854
44855         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44856         (init_tls): Likewise.
44857
44858 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44859
44860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44861
44862 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44863
44864         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44865         `struct cmsghdr *' instead of `void *'.
44866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44867         Likewise.
44868
44869 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44870
44871         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44872         if non-absolute.
44873         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44874         ldd_rewrite_script.
44875
44876 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44877
44878         * configure.in: Remove --with-tls option.
44879         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44880         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44881         out in case it is missing.
44882         * sysdeps/ia64/elf/configure.in: Likewise.
44883         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44884         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44885         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44886         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44887         * sysdeps/sh/elf/configure.in: Likewise.
44888         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44889         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44890         * sysdeps/x86_64/elf/configure.in: Likewise.
44891         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44892         * sysdeps/mach/hurd/tls.h: Likewise.
44893
44894         [BZ #13067]
44895         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44896
44897         [BZ #13090]
44898         * configure.in: Fix use of AC_INIT.
44899
44900         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44901
44902 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44903
44904         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44905         __set_errno.
44906         * malloc/hooks.c: Likewise.
44907
44908         [BZ #11929]
44909         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44910         variables statically.
44911         (narenas): Initialize.
44912         (list_lock): Initialize.
44913         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44914         initializtion of main_arena and list_lock.  Small cleanups.
44915         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44916         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44917         Add initializers to main_arena and mp_.
44918         (malloc_state): Remove pagesize member.  Change all users to use
44919         GLRO(dl_pagesize).
44920
44921         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44922         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44923         is always initialized.
44924
44925         * malloc/malloc.c: Removed unused configurations and dead code.
44926         * malloc/arena.c: Likewise.
44927         * malloc/hooks.c: Likewise.
44928         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44929
44930         * include/tls.h: Removed.  USE___THREAD must always be defined.
44931         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44932         * elf/dl-libc.c: Likewise.
44933         * elf/dl-tsd.c: Likewise.
44934         * include/errno.h: Likewise.
44935         * include/netdb.h: Likewise.
44936         * include/resolv.h: Likewise.
44937         * inet/herrno-loc.c: Likewise.
44938         * inet/herrno.c: Likewise.
44939         * malloc/arena.c: Likewise.
44940         * malloc/hooks.c: Likewise.
44941         * malloc/malloc.c: Likewise.
44942         * resolv/res-state.c: Likewise.
44943         * resolv/res_libc.c: Likewise.
44944         * sysdeps/i386/dl-machine.h: Likewise.
44945         * sysdeps/ia64/dl-machine.h: Likewise.
44946         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44947         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44948         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44949         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44950         * sysdeps/sh/dl-machine.h: Likewise.
44951         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44952         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44953         * sysdeps/unix/i386/sysdep.S: Likewise.
44954         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44955         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44960         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44961         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44964         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44965         * sysdeps/x86_64/dl-machine.h: Likewise.
44966         * tls.make.c: Likewise.
44967
44968         * configure.in: Remove --with-__thread option.  Make tests for
44969         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44970         tls_model attribute fail if no support is available.  Remove
44971         USE_IN_LIBIO.
44972         * Makeconfig: Adjust for dropped configure option.  All features are
44973         now mandatory.
44974         * Makerules: Likewise.
44975         * Versions.def: Likewise.
44976         * argp/argp-fmtstream.c: Likewise.
44977         * argp/argp-fmtstream.h: Likewise.
44978         * argp/argp-help.c: Likewise.
44979         * assert/assert.c: Likewise.
44980         * config.h.in: Likewise.
44981         * config.make.in: Likewise.
44982         * configure: Likewise.
44983         * configure.in: Likewise.
44984         * csu/Versions: Likewise.
44985         * csu/init.c: Likewise.
44986         * elf/tst-audit2.c: Likewise.
44987         * elf/tst-tls10.c: Likewise.
44988         * elf/tst-tls10.h: Likewise.
44989         * elf/tst-tls11.c: Likewise.
44990         * elf/tst-tls12.c: Likewise.
44991         * elf/tst-tls14.c: Likewise.
44992         * elf/tst-tlsmod11.c: Likewise.
44993         * elf/tst-tlsmod12.c: Likewise.
44994         * elf/tst-tlsmod13.c: Likewise.
44995         * elf/tst-tlsmod13a.c: Likewise.
44996         * elf/tst-tlsmod14a.c: Likewise.
44997         * elf/tst-tlsmod15b.c: Likewise.
44998         * elf/tst-tlsmod16a.c: Likewise.
44999         * elf/tst-tlsmod16b.c: Likewise.
45000         * elf/tst-tlsmod7.c: Likewise.
45001         * elf/tst-tlsmod8.c: Likewise.
45002         * elf/tst-tlsmod9.c: Likewise.
45003         * gmon/gmon.c: Likewise.
45004         * grp/fgetgrent_r.c: Likewise.
45005         * grp/putgrent.c: Likewise.
45006         * hurd/fopenport.c: Likewise.
45007         * include/libc-symbols.h: Likewise.
45008         * include/tls.h: Likewise.
45009         * intl/gettextP.h: Likewise.
45010         * intl/loadinfo.h: Likewise.
45011         * locale/global-locale.c: Likewise.
45012         * locale/localeinfo.h: Likewise.
45013         * mach/devstream.c: Likewise.
45014         * malloc/arena.c: Likewise.
45015         * malloc/set-freeres.c: Likewise.
45016         * misc/err.c: Likewise.
45017         * misc/getttyent.c: Likewise.
45018         * misc/mntent_r.c: Likewise.
45019         * posix/getopt.c: Likewise.
45020         * posix/wordexp.c: Likewise.
45021         * pwd/fgetpwent_r.c: Likewise.
45022         * resolv/Versions: Likewise.
45023         * resolv/res_hconf.c: Likewise.
45024         * shadow/fgetspent_r.c: Likewise.
45025         * shadow/putspent.c: Likewise.
45026         * stdio-common/printf_fphex.c: Likewise.
45027         * stdio-common/tmpfile.c: Likewise.
45028         * stdlib/abort.c: Likewise.
45029         * stdlib/fmtmsg.c: Likewise.
45030         * sunrpc/auth_unix.c: Likewise.
45031         * sunrpc/clnt_perr.c: Likewise.
45032         * sunrpc/clnt_tcp.c: Likewise.
45033         * sunrpc/clnt_udp.c: Likewise.
45034         * sunrpc/clnt_unix.c: Likewise.
45035         * sunrpc/openchild.c: Likewise.
45036         * sunrpc/svc_simple.c: Likewise.
45037         * sunrpc/svc_tcp.c: Likewise.
45038         * sunrpc/svc_udp.c: Likewise.
45039         * sunrpc/svc_unix.c: Likewise.
45040         * sunrpc/xdr.c: Likewise.
45041         * sunrpc/xdr_array.c: Likewise.
45042         * sunrpc/xdr_rec.c: Likewise.
45043         * sunrpc/xdr_ref.c: Likewise.
45044         * sunrpc/xdr_stdio.c: Likewise.
45045
45046 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45047
45048         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45049
45050 2011-07-03  Andreas Jaeger  <aj@suse.de>
45051
45052         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45053         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45054         regenerate with gen-libm-tests.pl.
45055
45056 2010-05-12  Petr Baudis  <pasky@suse.cz>
45057
45058         [BZ #11589]
45059         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45060         around j0() zero points by switching to j1().
45061         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45062         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45064         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45065
45066 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45067
45068         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45069         instead of 0.
45070         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45071         instead of 0.
45072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45073         Patch in part by Pavel Roskin <proski@gnu.org>.
45074
45075         [BZ #13138]
45076         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45077         realloc.
45078         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45079         Free memory block if necessary.
45080
45081         [BZ #12847]
45082         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45083         be NULL.  Don't lock in this case.
45084
45085 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45086
45087         * elf/elf.h (ELFOSABI_GNU): New macro.
45088         (ELFOSABI_LINUX): Define to that.
45089
45090 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45091
45092         * string/strncat.c (strncat): Undef the symbol in case it has been
45093         defined in bits/string.h.
45094
45095 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45096
45097         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45098
45099         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45100         link map.
45101
45102 2011-08-17  Andreas Jaeger  <aj@suse.de>
45103
45104         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45105
45106 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45107             Ian Lance Taylor  <iant@google.com>
45108
45109         * math/libm-test.inc (lround_test): New testcase.
45110         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45111
45112 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45113
45114         * Makefile: Remove support for automatic cvs check-ins.
45115         * Makerules: Likewise.
45116         * config.make.in: Likewise.
45117         * configure.in: Likewise.
45118         * intl/Makefile: Likewise.
45119         * locale/Makefile: Likewise.
45120         * po/Makefile: Likewise.
45121         * posix/Makefile: Likewise.
45122         * sysdeps/gnu/Makefile: Likewise.
45123         * sysdeps/mach/hurd/Makefile: Likewise.
45124         * sysdeps/sparc/sparc32/Makefile: Likewise.
45125
45126         [BZ #13118]
45127         * posix/Makefile (bug-regex32-ENV): Define.
45128         Patch by John Stanley <jpsinthemix@verizon.net>.
45129
45130         * misc/Makefile (headers): Add bits/select2.h.
45131         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45132         * misc/bits/select2.h: New file.
45133         * include/bits/select2.h: New file.
45134         * debug/Makefile (routines): Add fdelt_chk.
45135         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45136         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45137         FD_ISSET.
45138         * debug/fdelt_chk.c: New file.
45139
45140         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45141         * wcsmbs/test-wmemcmp.c: Likewise.
45142         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45143         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45144
45145 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45146
45147         * string/Makefile (strop-tests): Add memcmp.
45148         * string/test-wmemcmp.c: New file.
45149         * string/test-memcmp.c: Add wmemcmp support.
45150
45151 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45152
45153         [BZ #13153]
45154         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45155         2011-07-19 change.
45156
45157         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45158         garbage value in a __mach_port_mod_refs call in the cases of the
45159         task-self and thread-self ports.
45160
45161 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45162
45163         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45164
45165 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45166
45167         * elf/dl-load.c (lose): Check for non-null L.
45168
45169 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45170
45171         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45172
45173         * elf/dl-libc.c (dlerror_run): Pass back error code from
45174         dl_catch_error.
45175
45176         [BZ #13123]
45177         * elf/dl-load.c (lose): Free l_origin if it is valid.
45178
45179         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45180         names.
45181         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45182         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45183         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45184         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45185         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45186         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45187
45188 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45189
45190         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45191         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45192         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45193         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45194         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45195         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45196         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45197         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45198         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45199         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45200
45201 2011-08-15  Alan Modra  <amodra@gmail.com>
45202
45203         [BZ #13092]
45204         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45205         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45206         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45207         ppc_mcount to static-only-routines.
45208         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45209         __mcount_internal.
45210         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45211         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45212
45213 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45214
45215         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45216         for finite and infinity parameters.
45217
45218 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45219
45220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45221         and add nop instructions for throughput optimization.
45222         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45223
45224 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45225
45226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45227         aligned copy for power7 with vector-scalar instructions.
45228         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45229
45230 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45231
45232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45233         AVX check.
45234
45235 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45236
45237         [BZ #13144]
45238         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45239         last change.
45240
45241 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45242
45243         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45244         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45245         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45246         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45247         clock_gettime.
45248
45249 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45250
45251         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45252         Forgot to demangle the pointer.
45253
45254         * sysdeps/i386/sysdep.h: Define atom_text_section.
45255         * sysdeps/x86_64/sysdep.h: Likewise.
45256         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45257         section with atom_text_section.
45258         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45259         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45260         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45261         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45262         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45263
45264         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45265         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45266         already be defined.  Change to take two parameters and don't assign
45267         result to variable.  Adjust all users.
45268         Define INTERNAL_GETTIME if not already defined.
45269         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45270         call.
45271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45272         HAVE_CLOCK_GETTIME_VSYSCALL.
45273         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45274
45275         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45276         gettimeofday vsyscall, just use time.
45277
45278 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45279
45280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45281         <errno.h>.
45282
45283 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45284
45285         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45286         syscall on x86-64.
45287         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45288         syscall.
45289         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45291         syscall if possible.
45292
45293 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45294
45295         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45296         e_ident.  Don't pass to find_mapsXX.
45297         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45298
45299 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45300
45301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45302         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45303         * sysdeps/x86_64/multiarch/strchr.S: Update.
45304         Check bit_slow_BSF bit.
45305         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45306         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45307         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45308
45309 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45310
45311         [BZ #13134]
45312         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45313         before glibc 2.15.
45314         (tryshell): Define.
45315         (__spawni): Change last parameter to be flag.  Test
45316         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45317         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45318         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45319         * posix/spawni.c: Likewise.
45320         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45321         * posix/spawnp.c: Likewise.  Change normal version to use
45322         SPAWN_XFLAGS_USE_PATH.
45323         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45324         SPAWN_XFLAGS_TRY_SHELL.
45325
45326         [BZ #13150]
45327         * posix/glob.h: Remove gcc 1.x support.
45328
45329         [BZ #13068]
45330         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45331
45332 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45333
45334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45335         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45336         strrchr-sse2-bsf
45337         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45338         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45339         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45340         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45341         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45342         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45343
45344 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45345
45346         * sysdeps/x86_64/wcscmp.S: New file.
45347
45348         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45349         wcscmp-c wcscmp-sse2
45350         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45351         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45352         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45353         * wcsmbs/wcscmp.c: Allow renaming.
45354
45355 2011-09-05  David S. Miller  <davem@davemloft.net>
45356
45357         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45358         stack slot, rather than the struct return pointer slot.
45359         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45360         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45362         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45363
45364 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45365
45366         * po/ja.po: Update from translation team.
45367
45368         [BZ #13144]
45369         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45370         kernel in 64-bit binaries.
45371
45372 2011-09-01  David S. Miller  <davem@davemloft.net>
45373
45374         * elf/elf.h (HWCAP_SPARC_*): Move to..
45375         * sysdeps/sparc/sysdep.h: this new file and add new values.
45376         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45377         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45378         _DL_HWCAP_COUNT to 24.
45379         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45380         entries.
45381         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45382         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45383         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45385         instead of magic constants.
45386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45387
45388 2011-08-31  David S. Miller  <davem@davemloft.net>
45389
45390         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45392         Reimplement to do errno handling inline.
45393         (SYSCALL_ERROR_HANDLER): New macro.
45394         (__SYSCALL_STRING): Do not do errno handling in asm.
45395         (__CLONE_SYSCALL_STRING): Delete.
45396         (__INTERNAL_SYSCALL_STRING): Delete.
45397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45398         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45399         (PSEUDO): Reimplement to do errno handling inline.
45400         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45401         (SYSCALL_ERROR_HANDLER): New macro.
45402         (__SYSCALL_STRING): Do not do errno handling in asm.
45403         (__CLONE_SYSCALL_STRING): Delete.
45404         (__INTERNAL_SYSCALL_STRING): Delete.
45405         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45406         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45407         i386.
45408         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45409         (inline_syscall*): Add 'err' argument.
45410         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45411         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45412         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45413         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45414
45415         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45416         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45417
45418 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45419
45420         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45421
45422 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45423
45424         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45425         directive.
45426
45427 2011-08-24  David S. Miller  <davem@davemloft.net>
45428
45429         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45430
45431 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45432
45433         * elf/Makefile: Add rules to build and run unload8 test.
45434         * elf/unload8.c: New file.
45435         * elf/unload8mod1.c: New file.
45436         * elf/unload8mod1x.c: New file.
45437         * elf/unload8mod2.c: New file.
45438         * elf/unload8mod3.c: New file.
45439
45440         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45441         it wasn't used.
45442
45443 2011-08-23  David S. Miller  <davem@davemloft.net>
45444
45445         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45446         subtract stack bias.
45447         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45448         %sp not %fp in calculations.
45449         (_JMPBUF_UNWINDS_ADJ): Likewise.
45450
45451         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45452         (aio_suspend): Call it to force an exception region around the
45453         AIO_MISC_WAIT() invocation.
45454
45455 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45456
45457         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45458         backslash.
45459
45460 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45461
45462         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45463         protection macro.
45464         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45465         and <dl-machine.h>.
45466         (Elf64_FuncDesc): Remove.
45467
45468 2011-08-22  David S. Miller  <davem@davemloft.net>
45469
45470         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45471         sigaltstack check, add missing cfi directives.
45472         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45473         missing cfi directives, and sigaltstack handling.
45474
45475 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45476
45477         [BZ #11724]
45478         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45479         object is seen twice.
45480         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45481
45482         * elf/Makefile (distribute): Add tst-initorder2.c.
45483         (tests): Add tst-initorder2.
45484         (modules-names): Add tst-initorder2a tst-initorder2b
45485         tst-initorder2c tst-initorder2d.  Add rules to build them.
45486         ($(objpfx)tst-initorder2.out): New rule.
45487         * elf/tst-initorder2.c: New file.
45488         * elf/tst-initorder2.exp: New file.
45489
45490 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45491
45492         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45493
45494         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45495         dependencies back to end of function.
45496
45497         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45498         $(elfobjdir)/ld.so.
45499
45500 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45501
45502         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45503         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45505         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45506         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45507         of __vdso_gettimeofday.
45508         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45509         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45510         attribute_hidden.
45511         (_libc_vdso_platform_setup): Remove initialization of
45512         __vdso_gettimeofday and __vdso_time.
45513
45514 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45515
45516         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45517         and fgetc_unlocked.
45518         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45519         getc_unlocked.
45520
45521         * elf/dl-open.c (add_to_global): Report additions to the global scope
45522         for LD_DEBUG=scopes.
45523         (dl_open_worker): Also print scope of newly loaded dependencies.
45524         (_dl_show_scope): Indicate if there is no scope.
45525
45526         [BZ #13114]
45527         * stdio-common/Makefile (tests): Add bug24.
45528         * stdio-common/bug24.c: New file.
45529
45530 2011-08-19  Andreas Jaeger  <aj@suse.de>
45531
45532         [BZ #13114]
45533         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45534         non-existant file when using close-on-exec mode.
45535
45536 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45537
45538         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45539         the very first instruction.
45540
45541         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45542         the CFI state in the end.
45543         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45544         inclusion of dl-trampoline.h.
45545         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45546
45547 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45548
45549         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45550         expectations for long double.
45551
45552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45553         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45554
45555 2011-08-14  David S. Miller  <davem@davemloft.net>
45556
45557         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45558         artificual limit depends upon the system page size.
45559
45560 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45561
45562         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45563         * resolv/Makefile: Define CFLAGS-libresolv.
45564
45565 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45566
45567         * nss/makedb.c (compute_tables): Make variables used in nested
45568         function static.
45569
45570 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45571
45572         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45573         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45574         if buffer was too small.
45575
45576         * elf/pldd.c (main): Attach to all threads in the process.
45577         Rewrite /proc handling to use *at functions.
45578
45579 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45580
45581         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45582         specifies first scope to show.
45583         (dl_open_worker): Update callers.  Move printing scope of new
45584         object to before the relocation.
45585         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45586         * sysdeps/generic/ldsodefs.h: Update declaration.
45587
45588         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45589         string for the scope number.
45590
45591 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45592
45593         * nscd/servicescache.c (cache_addserv): Make sure written is always
45594         initialized.
45595
45596 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45597
45598         * sysdeps/i386/i486/bits/atomic.h
45599         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45600         statement expression, so as to suppress "set but not used" warning.
45601         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45602
45603         * string/strncat.c (STRNCAT): Use prototype definition.
45604
45605         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45606         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45607         -Iprograms here.
45608         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45609         (localedef-modules): Add localedef.
45610         (locale-modules): Add locale.
45611
45612         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45613         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45614         to avoid a warning.
45615
45616 2011-08-14  David S. Miller  <davem@davemloft.net>
45617
45618         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45619         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45620
45621 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45622
45623         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45624         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45625         * elf/rtld.c (dl_main): Set l_name of vDSO.
45626         Call _dl_show_scope when DL_DEBUG_SCOPES.
45627         (process_dl_debug): Recognize scopes flag and also set it for all.
45628         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45629         Declare _dl_show_scope.
45630
45631         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45632         (do_dlopen): Pass caller_dlopen to dl_open.
45633         (__libc_dlopen_mode): Initialize caller_dlopen.
45634
45635         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45636         of libc.  Make tolower call locale-independent.  Optimize a bit by
45637         using isdigit instead of isalnum.
45638         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45639
45640 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45641
45642         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45643         was a dependency or dynamically loaded.
45644
45645 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45646
45647         * intl/l10nflist.c: Allow architecture-specific pop function.
45648         * sysdeps/x86_64/l10nflist.c: New file.
45649
45650         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45651         classification.
45652
45653 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45654
45655         * include/dirent.h: Add libc_hidden_proto for scandirat and
45656         scandirat64.  Don't declare __scandirat64.
45657         * dirent/scandirat.c: Add libc_hidden_def.
45658         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45659         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45660
45661 2011-08-10  David S. Miller  <davem@davemloft.net>
45662
45663         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45664         enum.
45665         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45668
45669 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45670
45671         * Versions.def [libc]: Add GLIBC_2.15.
45672         * dirent/Makefile (routines): Add scandirat and scandirat64.
45673         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45674         GLIBC_2.15.
45675         * dirent/dirent.h: Declare scandirat and scandirat64.
45676         * dirent/scandirat.c: New file.
45677         * dirent/scandirat64.c: New file.
45678         * sysdeps/wordsize-64/scandirat.c: New file.
45679         * sysdeps/wordsize-64/scandirat64.c: New file.
45680         * dirent/opendir.c: Define opendirat.
45681         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45682         using scandirat.
45683         * dirent/scandir64.c: Adjust for scandir.c change.
45684         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45685         __scandirat64, and __scandir_cancel_handler.
45686         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45687         additional parameter and use openat instead of open (outside of ld.so).
45688         Add new __opendir as wrapper around __opendirat.
45689         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45690         here without requiring old scandirat implementation.
45691
45692 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45693
45694         * dirent/scandir.c (cancel_handler): Renamed to
45695         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45696         defined.  Adjust users.
45697         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45699
45700 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45701
45702         * string/test-string.h (IMPL): Use __STRING to expand name and then
45703         stringify it.
45704
45705         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45706         of cleanups.
45707
45708 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45709
45710         * string/Makefile: Update.
45711         (strop-tests): Append strncat.
45712         * string/test-wcscmp.c: New file.
45713         New comprehensive test for wcscmp.
45714         * string/test-strcmp.c: Update.
45715         (WIDE): New define.
45716
45717 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45718
45719         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45720         line.
45721
45722 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45723
45724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45725         encoding to ACE if AI_IDN.
45726
45727 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45728
45729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45730         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45731
45732 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45733
45734         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45735         Fix overflow bug in strncat.
45736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45737
45738         * string/test-strncat.c: Update.
45739         Add new tests for checking overflow bugs.
45740
45741 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45742
45743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45744         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45745         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45746         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45747         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45748         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45749         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45750         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45751         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45752
45753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45754         (USE_AS_STRCAT): Define.
45755         Add strcat and strncat support.
45756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45757
45758 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45759
45760         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45761         __n bigger than INT_MAX+1.
45762         (__strncmp_g): Likewise.
45763
45764 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45765
45766         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45767         * libio/stido.h: Likewise.
45768
45769         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45770         (AF_NFC): Define.
45771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45772         (AF_NFC): Define.
45773
45774         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45776         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45777         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45779
45780         [BZ #13021]
45781         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45782         installed.
45783
45784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45785         typo.
45786         (_dl_x86_64_save_sse): Likewise.
45787
45788 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45789
45790         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45791         OSXSAVE.
45792         (_dl_x86_64_save_sse): Likewise.
45793
45794         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45795
45796         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45797
45798 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45799
45800         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45801         change.
45802         (_dl_x86_64_save_sse): Use correct AVX check.
45803
45804 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45805
45806         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45807         bug in strncpy/strncat.
45808         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45809
45810 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45811
45812         * string/tester.c (test_strcat): Add tests for different alignments
45813         of source and destination.
45814         (test_strncat): Likewise.
45815
45816 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45817
45818         [BZ #12852]
45819         * posix/glob.c (glob): Check passed in values before using them in
45820         expressions to avoid some overflows.
45821         (glob_in_dir): Likewise.
45822
45823         [BZ #13007]
45824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45825         check for AVX enablement so that we don't crash with old kernels and
45826         new hardware.
45827         * elf/tst-audit4.c: Add same checks here.
45828         * elf/tst-audit6.c: Likewise.
45829
45830         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45831
45832 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45833
45834         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45835
45836 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45837
45838         * po/cs.po: Update from translation team.
45839         * po/bg.po: Likewise.
45840
45841 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45842
45843         * misc/sys/cdefs.h: Add support for const attribute.
45844         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45845         to gnu_dev_{major,minor,makedev} functions.
45846
45847 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45848
45849         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45850
45851 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45852
45853         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45854         strlen results.
45855
45856 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45857
45858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45859         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45860         register in order to avoid conflicts with the soft frame pointer
45861         being held in r11 when necessary.
45862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45863         (INTERNAL_VSYSCALL_NCS): Likewise.
45864
45865 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45866
45867         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45868         * elf/dl-fini.c (_dl_fini): Adjust caller.
45869         * elf/dl-close.c (_dl_close_worker): Likewise.
45870         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45871
45872 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45873
45874         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45875         "aux_cache->nlibs < 0".
45876
45877         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45878         in the reload-count case.
45879
45880 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45881
45882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45883         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45884         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45885         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45886         * sysdeps/x86_64/multiarch/strcat.S: New file.
45887         * sysdeps/x86_64/multiarch/strncat.S: New file.
45888         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45889         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45890         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45891         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45892         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45893         (USE_AS_STRCAT): Define.
45894         Add strcat and strncat support.
45895         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45897         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45898         * string/strncat.c: Update.
45899         (USE_AS_STRNCAT): Define.
45900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45901         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45902         and i7.
45903         * sysdeps/x86_64/multiarch/init-arch.h
45904         (bit_Prefer_PMINUB_for_stringop): New.
45905         (index_Prefer_PMINUB_for_stringop): Likewise.
45906         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45907         bit_Prefer_PMINUB_for_stringop.
45908
45909 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45910
45911         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45912         buffer64.
45913         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45914         of casting of buffer.
45915         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45916         buffer32 and buffer64.
45917         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45918         writes instead of casting of buffer.
45919         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45920         buffer32.
45921         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45922         casting of buffer.
45923
45924 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45925
45926         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45927
45928 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45929
45930         * nscd/nscd.c (termination_handler): Don't do anything for a database
45931         if it has not yet been initialized.
45932
45933 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45934
45935         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45936
45937 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45938
45939         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45940
45941 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45942
45943         * po/nl.po: Update from translation team.
45944         * po/sv.po: Likewise.
45945
45946 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45947
45948         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45949         now disallowed by GCC.
45950
45951         * configure.in (use-default-link): Default to yes if a test -shared
45952         link meets our qualifications.
45953         * configure: Regenerated.
45954
45955         * config.make.in (output-format): New variable.
45956         * configure.in: Check for ld --print-output-format support.
45957         * configure: Regenerated.
45958         * Makerules ($(common-objpfx)format.lds)
45959         [$(output-format) != unknown]: Just use $(output-format),
45960         instead of the linker-script munging.
45961
45962 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45963
45964         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45965         of $(common-objpfx)shlib.lds.
45966         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45967
45968         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45969         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45970
45971         * configure.in (-z relro check): Adjust test code to add a large
45972         writable data section after it.
45973         * configure: Regenerated.
45974
45975 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45976
45977         * configure.in (-z relro check): Fix test code to make the variable
45978         truly const.
45979         * configure: Regenerated.
45980
45981 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45982
45983         * nscd/nscd.h (struct traced_file): Define.
45984         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45985         elements.  Add traced_files.
45986         (inotify_fd): Declare.
45987         (register_traced_file): Declare.
45988         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45989         (inotify_fd): Export.
45990         (resolv_conf_descr): Remove.
45991         (nscd_init): Move inotify descriptor creation to main.
45992         Don't register files for notification here.
45993         (register_traced_file): New function.
45994         (invalidate_cache): Don't use reset_res to determine whether to call
45995         res_init, go through the list of registered files.
45996         (main_loop_poll): The inotify descriptors are now stored in the
45997         structures for the traced files.
45998         (main_loop_epoll): Likewise
45999         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46000         to __nss_disable_nscd.
46001         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46002         for a database anymore.  Check the records for all the registered
46003         files instead.
46004         * nss/Makefile (libnss_files-routines): Add files-init.
46005         (libnss_db-routines): Add db-init.
46006         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46007         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46008         * nss/nss_db/db-init.c: New file.
46009         * nss/nss_files/files-init.c: New file.
46010         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46011         __nss_lookup_function.
46012         (__nss_lookup_function): Call nss_load_library.
46013         (nss_load_all_libraries): New function.
46014         (__nss_disable_nscd): Take parameter with callback function for files
46015         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46016         used for the cached services.
46017         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46018         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46019         options for features to all the files in nscd.
46020
46021         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46022
46023 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46024
46025         * csu/elf-init.c (__libc_csu_init): Comment typo.
46026
46027 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46028
46029         * po/pl.po: Update from translation team.
46030         * po/ja.po: Likewise.
46031         * po/ru.po: Likewise.
46032         * po/ko.po: Likewise.
46033         * po/fr.po: Likewise.
46034
46035 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46036
46037         * configure.in (.ctors/.dtors header and trailer check):
46038         Use an empirical test on a built program.
46039         * configure: Regenerated.
46040
46041         * configure.in (-z relro check): Use an empirical test on a built DSO.
46042         Detect, but do not require, on ia64.
46043         * configure: Regenerated.
46044
46045         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46046         Update tests that use readelf to use $READELF instead.
46047         * configure: Regenerated.
46048
46049 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46050
46051         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46052         if the result is not used.
46053
46054 2011-07-05  Andreas Jaeger  <aj@suse.de>
46055
46056         [BZ#9696]
46057         * stdlib/tst-strtod.c: Add testcase.
46058
46059 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46060
46061         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46062         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46063         The latter has a higher limit.  Take additional parameter to pass to
46064         the new function.
46065         (__pathconf): Pass file to __statfs_link_max.
46066         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46067         __statfs_link_max.
46068         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46069         __statfs_link_max.
46070
46071         [BZ #12868]
46072         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46073         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46074         Handle Lustre.
46075         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46076         (__statfs_filesize_max): Likewise.
46077         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46078
46079 2011-07-05  Andreas Jaeger  <aj@suse.de>
46080
46081         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46082
46083 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46084
46085         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46086         `status' variable.
46087         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46088         Likewise.
46089
46090 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46091
46092         * Makefile (strop-tests): Add strncat.
46093         * string/test-strncat.c: New file.
46094
46095 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46096
46097         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46098
46099 2011-06-21  Andreas Jaeger  <aj@suse.de>
46100
46101         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46102         Copy rule from iconvdata/Makefile.
46103
46104 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46105
46106         [BZ #12922]
46107         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46108         but no long options are defined, just return 'W'.
46109
46110 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46111
46112         [BZ #9696]
46113         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46114
46115 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46116
46117         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46118         netgroups to read.
46119         (innetgr): Likewise.
46120
46121 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46122
46123         * config.make.in (install_root): Default to $(DESTDIR).
46124
46125 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46126
46127         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46128
46129 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46130
46131         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46132
46133         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46134         containing directory rather than embedding absolute directory names.
46135
46136         * scripts/check-local-headers.sh: Rewritten using awk.
46137         Match by word, not by line.  Print error messages for matches.
46138         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46139
46140         * Makerules [shlib-lds-flags empty]:
46141         ($(common-objpfx)libc_pic.opts): New target.
46142         ($(common-objpfx)libc_pic.os.clean): New target.
46143         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46144
46145         * config.make.in (OBJCOPY): New variable.
46146         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46147         * configure: Regenerated.
46148
46149         * config.make.in (use-default-link): New variable.
46150         * configure.in (use_default_link): Grok --with-default-link to set it.
46151         * configure: Regenerated.
46152         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46153         (shlib-lds, shlib-lds-flags): Define to empty.
46154
46155         * Makerules (shlib-lds): New variable.
46156         (shlib-lds-flags): New variable.
46157         (build-shlib, build-moduile, build-module-asneeded): Use it.
46158         ($(common-objpfx)libc.so): Use $(shlib-lds).
46159         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46160         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46161
46162         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46163         DT_FLAGS/DT_FLAGS_1 with zero flags.
46164
46165         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46166         linker script munging.
46167
46168 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46169
46170         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46171         as 128-bit value.
46172         * crypt/sha512.c (sha512_process_block): Perform total addition using
46173         128-bit if possible.
46174         (__sha512_finish_ctx): Likewise.
46175         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46176         as 64-bit value.
46177         * crypt/sha256.c (SWAP64): Define.
46178         (sha256_process_block): Perform total addition using 64-bit if
46179         possible.
46180         (__sha256_finish_ctx): Likewise.
46181
46182 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46183
46184         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46185         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46186         * nscd/hstcache.c (cache_addhst): Likewise.
46187         * nscd/grpcache.c (cache_addgr): Likewise.
46188         * nscd/aicache.c (addhstaiX): Likewise
46189         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46190
46191 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46192
46193         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46195         * nscd/hstcache.c (cache_addhst): Likewise.
46196         * nscd/grpcache.c (cache_addgr): Likewise.
46197         * nscd/aicache.c (addhstaiX): Likewise
46198
46199 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46200
46201         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46202         domain only when needed.
46203
46204 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46205
46206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46207         is always restored.
46208
46209 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46210
46211         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46212         are re-adding the entry.
46213         * nscd/servicescache.c (cache_addserv): Likewise.
46214
46215 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46216
46217         * sysdeps/generic/dl-irel.h: fix protection against multiple
46218         inclusions.
46219         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46220
46221 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46222
46223         [BZ #12935]
46224         * malloc/memusage.sh: Fix quoting in message.
46225         * debug/xtrace.sh: Likewise.
46226
46227         * configure.in: Remove support for --experimental-malloc option, make
46228         it the default.
46229         * config.make.in: Likewise.
46230         * malloc/Makefile: Likewise.
46231
46232 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46233
46234         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46235         two-byte characters.
46236
46237 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46238
46239         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46240         AC_CACHE_CHECK invocation.
46241         * configure: Regenerated.
46242
46243         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46244
46245 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46246
46247         [BZ #12350]
46248         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46249         bit from old_res_options.
46250
46251         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46252
46253         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46254         value type for setfct.
46255
46256 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46257
46258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46259         __gettimeofday instead of gettimeofday.
46260
46261 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46262
46263         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46264
46265 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46266
46267         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46268
46269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46270         info.
46271
46272 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46273
46274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46275         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46276         strcpy-sse2-unaligned strncpy-sse2-unaligned
46277         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46278         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46279         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46280         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46281         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46282         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46284         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46285         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46286         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46287         (STRCPY): Support SSE2 and SSSE3 versions.
46288
46289 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46290
46291         [BZ #12874]
46292         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46293         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46294         kernels which artificially limit size of requests.
46295
46296 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46297
46298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46299         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46300         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46301         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46302         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46303         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46304         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46305         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46306         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46308         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46309         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46310         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46311         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46312         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46314         Enable unaligned load optimization for Intel Core i3, i5 and i7
46315         processors.
46316         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46317         Define.
46318         (index_Fast_Unaligned_Load): Define.
46319         (HAS_FAST_UNALIGNED_LOAD): Define.
46320
46321 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46322
46323         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46324
46325 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46326
46327         [BZ #12907]
46328         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46329         until it is clear that the information is realy needed.
46330         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46331
46332 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46333
46334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46335
46336 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46337
46338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46339         /sys/devices/system/cpu/online if it is usable.
46340
46341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46342         reading the information from the /proc filesystem to once a second.
46343
46344 2011-06-21  Andreas Jaeger  <aj@suse.de>
46345
46346         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46347         NULL after inclusion of kernel headers.
46348
46349 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46350
46351         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46352         calls to internal_setent.
46353
46354         [BZ #12885]
46355         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46356         addresses using gethostbyname4_r ignore IPv4 addresses.
46357
46358         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46359         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46360
46361         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46362
46363 2011-06-20  David S. Miller  <davem@davemloft.net>
46364
46365         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46366         inclusions.
46367         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46368
46369         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46370         (elf_irel): Use it.
46371         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46372         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46373         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46374         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46375         * sysdeps/x86_64/dl-irel.h: Likewise.
46376
46377         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46378         * elf/dl-sym.c: Likewise.
46379
46380 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46381
46382         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46383         need to dereference resplen2.
46384
46385 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46386
46387         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46388
46389 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46390
46391         * Makeconfig: Define vardbdir and inst_vardbdir.
46392         * nss/Makefile: Add rules to install db-Makefile.
46393
46394         * nss/nss_db/db-XXX.c: Cleanup.
46395
46396         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46397         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46398         GLIBC_PRIVATE.
46399         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46400         * nss/makedb.c: Implement -g option to specify that value strings
46401         are generated and should not be added to table iterated over for
46402         get*ent calls.
46403         * nss/nss_db/db-initgroups.c: New file.
46404
46405         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46406         interface.
46407
46408         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46409         (internal_getgrouplist): Adjust to name change.
46410         Update use_initgroups_entry if this is not the first call.
46411         * nss/databases.def: Add initgroups entry.
46412
46413         * nss/makedb.c (compute_tables): Check result of multiple hash table
46414         sizes to minimize maximum chain length.
46415
46416 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46417
46418         * Versions.def: Add entry for libnss_db.
46419         * shlib-versions: Likewise.
46420         * nss/Makefile: Add rules to build libnss_db.
46421         * nss/Versions: Add libnss_db information.  Organize libnss_files
46422         entries better.
46423         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46424         makedb progra.  Some minor improvements to generate smaller files.
46425         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46426         here from...
46427         * nss/makedb.c: ...here.
46428         Improve database format to be smaller and require less memory at
46429         runtime.
46430         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46431         db anymore.
46432         * nss/nss_db/db-netgrp.c: Likewise.
46433         * nss/nss_db/db-open.c: Likewise.
46434         * nss/nss_files/flies-XXX.x: Adjust comments.
46435         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46436         * nss/nss_files/files-grp.c: Likewise.
46437         * nss/nss_files/files-hosts.c: Likewise.
46438         * nss/nss_files/files-network.c: Likewise.
46439         * nss/nss_files/files-proto.c: Likewise.
46440         * nss/nss_files/files-pwd.c: Likewise.
46441         * nss/nss_files/files-rpc.c: Likewise.
46442         * nss/nss_files/files-service.c: Likewise.
46443         * nss/nss_files/files-sgrp.c: Likewise.
46444         * nss/nss_files/files-spwd.c: Likewise.
46445         * nss/nss_db/db-alias.c: Removed.
46446         * nss/nss_db/dummy-db.h: Removed.
46447
46448 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46449
46450         * nss/makedb.c: Rewritten to not use database library.
46451         * nss/Makefile: Update to build new makedb program.
46452
46453 2011-06-14  Andreas Jaeger  <aj@suse.de>
46454
46455         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46456         memset declaration.
46457
46458 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46459
46460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46461         tmpbuf.
46462
46463 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46464
46465         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46466         * elf/Makefile ($(objpfx)ld.so): Likewise.
46467
46468         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46469         Don't list ld.so twice in dependencies.
46470
46471         * posix/bug-regex31.c: Include <stdlib.h>.
46472
46473         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46474
46475         * nis/nss_compat/compat-spwd.c
46476         (getspent_next_nss_netgr): Remove unused variable.
46477         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46478
46479         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46480         nonmembers" output to use the right array.
46481
46482         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46483
46484         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46485
46486         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46487         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46488         * catgets/gencat.c (read_input_file): Likewise.
46489         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46490
46491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46492         variable definition inside #if's controlling its use.
46493
46494         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46495
46496         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46497
46498         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46499
46500         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46501         unreachable code.
46502
46503         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46504
46505         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46506         * configure: Regenerated.
46507
46508         * Makerules: Revert last change.
46509         * elf/Makefile: Likewise.
46510
46511 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46512
46513         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46514         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46515         (reloc-link): Likewise.
46516
46517 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46518
46519         * elf/Makefile: Add rules to build pldd.
46520         * elf/pldd.c: New file.
46521         * elf/pldd-xx.c: New file.
46522
46523 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46524
46525         * version.h: Update for 2.15 development version.
46526
46527 2011-06-07  David S. Miller  <davem@davemloft.net>
46528
46529         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46530         ifuncs.
46531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46532         elf_machine_lazy_rel): Likewise.
46533         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46535         elf_machine_lazy_rel): Likewise.
46536         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46537         dl_hwcap via passed in argument.
46538         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46539         Likewise.
46540
46541 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46542
46543         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46544
46545 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46546
46547         [BZ #12849]
46548         * manual/fdl-1.1.texi: New file, verbatim from:
46549         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46550         * manual/lgpl-2.1.texi: New file, verbatim from:
46551         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46552         * manual/Makefile (licenses): New variable, list those new file names.
46553         (texis): Use it.
46554         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46555
46556         * manual/fdl.texi: File removed.
46557         * manual/lesser.texi: File removed.
46558         * manual/libc.texinfo (Copying, Documentation License):
46559         Use new @include file names, put @appendix directive before @include.
46560
46561 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46562
46563         [BZ #12841]
46564         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46565         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46566         (mq_open): Add __NTH.
46567
46568 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46569
46570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46571         Assume Intel Core i3/i5/i7 processor if AVX is available.
46572
46573 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46574
46575         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46576         typo.
46577
46578 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46579
46580         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46581         memory.  Use alloca_account.  Fix memory leak when retrying.
46582
46583 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46584
46585         * version.h (RELEASE): Bump for 2.14 release.
46586         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46587
46588         * config.make.in (RANLIB): Remove entry.
46589
46590 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46593         (libc.pot): Work around missing support for .ksh extension in xgettext.
46594
46595         [BZ #12684]
46596         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46597         if both request failed.
46598         (send_dg): In case of server errors clear resplen or *resplen2.
46599
46600         [BZ #12454]
46601         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46602         when there are multiple maps.
46603         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46604         (_dl_fini): Remove test here.
46605
46606         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46607
46608 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46609
46610         [BZ #12350]
46611         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46612         bit from old_res_options.
46613         (gaih_inet): Likewise.
46614
46615         [BZ #11099]
46616         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46617         as signed.
46618
46619         * resolv/res_init.c (res_setoptions): Make the code more compact.
46620
46621         [BZ #11558]
46622         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46623         set RES_USEVC.
46624
46625         [BZ #11634]
46626         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46627
46628         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46629
46630         [BZ #11781]
46631         * malloc/malloc.h: Declare malloc hook variables as volatile.
46632
46633         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46634         in last patch.
46635
46636         [BZ #11799]
46637         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46638         raise in the comment.
46639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46640         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46641         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46642
46643 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46644
46645         [BZ #12811]
46646         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46647         grow the buffers more if it already has to be sufficient.
46648         (build_wcs_upper_buffer): Likewise.
46649         * posix/regexec.c (check_matching): Likewise.
46650         (clean_state_log_if_needed): Likewise.
46651         (extend_buffers): Don't enlarge buffers beyond size of the input
46652         buffer.
46653         Patches mostly by Emil Wojak <emil@wojak.eu>.
46654         * posix/bug-regex32.c: New file.
46655         * posix/Makefile (tests): Add bug-regex32.
46656
46657         * locale/findlocale.c (_nl_find_locale): Return right away if
46658         _nl_explode_name failed.
46659         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46660
46661         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46662
46663         * debug/xtrace.sh: Unify messages.
46664         * malloc/memusage.sh: Likewise.
46665
46666         [BZ #12813]
46667         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46668         time symbol from vDSO.  Substitute with vsyscall if not available.
46669         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46670         __vdso_time.
46671
46672         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46673         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46674         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46675         Add sendmmsg and internal_sendmmsg.
46676         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46677         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46678         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46679
46680         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46681         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46682         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46683
46684 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46685
46686         [BZ #12813]
46687         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46688         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46689         available.
46690         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46691         __vdso_getcpu.
46692
46693         [BZ #12814]
46694         * iconvdata/Makefile (tests): Add bug-iconv9.
46695         * iconvdata/bug-iconv9.c: New file.
46696
46697 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46698
46699         [BZ #12814]
46700         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46701
46702 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46703
46704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46705         (struct user_regs_struct): Change intcs field back to cs.
46706
46707 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46708
46709         * po/ja.po: Update from translation team.
46710
46711 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46712
46713         [BZ #12795]
46714         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46715         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46716
46717 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46718
46719         * stdlib/longlong.h: Update from GCC.
46720
46721 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46722
46723         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46724         parameter name.
46725         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46726         Add parameter name.
46727         (__sysconf): Pass it down.
46728
46729 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46730
46731         [BZ #12671]
46732         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46733         some situations.
46734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46735         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46736         add in in __libc_use_alloca calls.  Adjust callers.
46737         (glob): Use malloc in some situations.
46738
46739         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46740         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46741         pltexit.
46742
46743 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46744
46745         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46746         and CLOCK_BOOTTIME_ALARM.
46747
46748         [BZ #12782]
46749         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46750         is returned.
46751
46752         * string/_strerror.c (__strerror_r): Print negative errors as signed
46753         numbers.
46754
46755         [BZ #12777]
46756         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46757         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46758         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46759
46760         * configure.in: Fix typo in redirection and correct removal of test
46761         files in two cases.
46762
46763         [BZ #12788]
46764         * locale/setlocale.c (new_composite_name): Fix test to check for
46765         identical name of all categories.
46766
46767         [BZ #12792]
46768         * libio/filedoalloc.c (local_isatty): New function.
46769         (_IO_file_doallocate): Use local_isatty.
46770         * stdio-common/perror.c (perror): In case a new stream is used
46771         forward the stream error.
46772         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46773         error flag.
46774
46775 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46776
46777         [BZ #11869]
46778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46779         alloca.
46780         * include/alloca.h (extend_alloca_account): Define.
46781
46782         [BZ #11857]
46783         * posix/regex.h: Fix comments with documentation of user-accessible
46784         fields after compilation and describe correct free'ing of pattern
46785         after re_compile_pattern.
46786         Patch by Reuben Thomas <rrt@sc3d.org>.
46787
46788 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46789
46790         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46791         and -mno-altivec to prevent the compiler from using Altivec and/or
46792         VSX instructions when the corresponding registers are not available.
46793
46794 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46795
46796         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46797
46798 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46799
46800         * libio/freopen.c (freopen): Use __dup2, not dup2.
46801         * libio/freopen64.c (freopen64): Likewise.
46802
46803 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46804
46805         [BZ #12775]
46806         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46807         * math/Makefile (tests): Add test-powl.
46808         (CFLAGS-test-powl.c): Define.
46809         * math/test-powl.c: New file.
46810
46811 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46812
46813         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46814
46815 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46816
46817         [BZ #11837]
46818         * iconvdata/gb18030.c: Update to GB18020-2005.
46819
46820 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46821
46822         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46823         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46824         Patch by Aharon Robbins <arnold@skeeve.com>.
46825
46826         [BZ #11892]
46827         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46828         on the stack.
46829
46830         [BZ #11895]
46831         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46832         through underflows.
46833
46834         [BZ #12766]
46835         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46836         point to strings before performing equality test for error_one_per_line
46837         mode.
46838
46839         [BZ #11697]
46840         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46841
46842         [BZ #11820]
46843         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46844         (struct user_fpregs_struct): Avoid __uint*_t types.
46845
46846         [BZ #6420]
46847         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46848         symbol info.  Use it instead of calling _dl_addr locally.
46849         (lock_and_info): New function.
46850         (tr_freehook): Call lock_and_info and pass symbol info as additional
46851         parameter to tr_where.
46852         (tr_mallochook): Likewise.
46853         (tr_reallochook): Likewise.
46854         (tr_memalignhook): Likewise.
46855
46856         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46857         used and couldn't be at all thread-safe.
46858
46859 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46860
46861         * libio/freopen.c (freopen): Don't close old file descriptor
46862         before the new one is opened.  Instead dup the new file descriptor
46863         to the old one after the new stream is created.
46864         * libio/freopen64.c (freopen64): Likewise.
46865         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46866         * libio/fileops.c (_IO_new_file_close_it): Handle new
46867         _IO_FLAGS2_NOCLOSE flag.
46868         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46869         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46870         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46871         _IO_FLAGS2_NOCLOSE flag.
46872         * include/unistd.h: Add hidden_proto for dup3.
46873         Define __have_dup3.
46874         * io/dup3.c: Define hidden symbol.
46875         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46876
46877         [BZ #7101]
46878         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46879         when an incomplete long option is used.
46880         * posix/tst-getopt_long1.c: New file.
46881         * posix/Makefile (tests): Add tst-getopt_long1.
46882
46883         [BZ #10138]
46884         * scripts/config.guess: Update from autoconf-2.68.
46885         * scripts/config.sub: Likewise.
46886
46887         [BZ #10157]
46888         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46889         tests into ...
46890         (has_cpuclock): ...this.  New function.
46891         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46892         macro here based on has_cpuclock code.
46893
46894         [BZ #10149]
46895         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46896         First byte (not low byte) is now always NUL.
46897         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46898
46899         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46900         Use non-cancelable interfaces.
46901
46902         [BZ #9809]
46903         * locale/iso-639.def: Add entry for Sorani.
46904
46905         [BZ #11901]
46906         * include/stdlib.h: Move include protection to the right place.
46907         Define abort_msg_s.  Declare __abort_msg with it.
46908         * stdlib/abort.c (__abort_msg): Adjust type.
46909         * assert/assert.c (__assert_fail_base): New function.  Majority
46910         of code from __assert_fail.  Allocate memory for __abort_msg with
46911         mmap.
46912         (__assert_fail): Now call __assert_fail_base.
46913         * assert/assert-perr.c: Remove bulk of implementation.  Use
46914         __assert_fail_base.
46915         * include/assert.hL Declare __assert_fail_base.
46916         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46917         mmap.
46918         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46919
46920 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46921
46922         [BZ #11952]
46923         [BZ #12453]
46924         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46925         until all modules are registered in the DTV.
46926         * elf/Makefile: Add rules to build and run tst-tls19.
46927         * elf/tst-tls19.c: New file.
46928         * elf/tst-tls19mod1.c: New file.
46929         * elf/tst-tls19mod2.c: New file.
46930         * elf/tst-tls19mod3.c: New file.
46931         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46932
46933         [BZ #12083]
46934         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46935         correctly.
46936
46937         [BZ #12601]
46938         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46939         two-byte sequence errors.
46940         * iconvdata/Makefile (tests): Add bug-iconv8.
46941         * iconvdata/bug-iconv8.c: New file.
46942
46943         [BZ #12626]
46944         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46945         buf2 definition.
46946
46947         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46948
46949         [BZ #12432]
46950         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46951         (dummy_getcfa): New function.
46952         (init): Get _Unwind_GetCFA address, use dummy if not found.
46953         (backtrace_helper): In recursion check, also check whether CFA changes.
46954         (__backtrace): Completely initialize arg.
46955
46956         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46957         storing incomplete byte sequence in state object.  Avoid testing for
46958         guaranteed too small input if we know there is enough data available.
46959
46960 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46961
46962         * Makeconfig (+link-pie): Indent.
46963         * Rules (binaries-pie): Define if $(have-fpie) and
46964         $(build-shared).
46965         (binaries-shared): Also filter out $(binaries-pie).
46966         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46967         * nscd/Makefile (others-pie): Add nscd.
46968         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46969         ($(objpfx)nscd): Remove command override.
46970         * login/Makefile (others-pie): Add pt_chown.
46971         ($(objpfx)pt_chown): Remove command override.
46972         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46973         remove command overrides.
46974
46975 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46976
46977         * libio/tst_putwc.c: Fix error messages.
46978
46979         [BZ #12724]
46980         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46981         currently writing and seek to current position when not.
46982         * libio/Makefile (tests): Add bug-fclose1.
46983         * libio/bug-fclose1.c: New file.
46984
46985 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46986
46987         [BZ #12511]
46988         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46989         don't set DF_1_NODELETE here.
46990         (do_lookup_x): When entering new entry test for copy relocation
46991         and if necessary set DF_1_NODELETE flag.
46992         * elf/tst-unique4.cc: New file.
46993         * elf/tst-unique4.h: New file.
46994         * elf/tst-unique4lib.cc: New file.
46995         * elf/Makefile: Add rules to build and run tst-unique4.
46996         Patch by Piotr Bury <pbury@goahead.com>.
46997
46998 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46999
47000         [BZ #12052]
47001         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47002
47003         [BZ #12625]
47004         * misc/mntent_r.c (addmntent): Flush the stream after the output
47005
47006         [BZ #12393]
47007         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47008         (is_trusted_path_normalize): Skip initial colon.  Append slash
47009         to empty buffer.  Duplicate is_trusted_path code but allow
47010         constructed patch to be prefix.
47011         (is_dst): Allow $ORIGIN followed by /.
47012         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47013         Correct testing of result of is_trusted_path_normalize
47014         (decompose_rpath): Fix warning.
47015
47016 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47017
47018         [BZ #11257]
47019         * grp/initgroups.c (internal_getgrouplist): When we found the service
47020         list through the initgroups entry in nsswitch.conf do not always
47021         continue on a successful lookup.  Don't always use the
47022         __nss_group_database value if it is set.
47023         * nss/nsswitch.conf (initgroups): Change action for successful db
47024         lookup to continue for compatibility.
47025
47026 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47027
47028         [BZ #11532]
47029         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47030         and CP774 modules.
47031         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47032         and CP774 modules.
47033         * iconvdata/tst-tables.sh: Likewise.
47034         * iconvdata/cp770.c: New file.
47035         * iconvdata/cp771.c: New file.
47036         * iconvdata/cp772.c: New file.
47037         * iconvdata/cp773.c: New file.
47038         * iconvdata/cp774.c: New file.
47039         * iconvdata/testdata/CP770: New file.
47040         * iconvdata/testdata/CP770..UTF8: New file.
47041         * iconvdata/testdata/CP771: New file.
47042         * iconvdata/testdata/CP771..UTF8: New file.
47043         * iconvdata/testdata/CP772: New file.
47044         * iconvdata/testdata/CP772..UTF8: New file.
47045         * iconvdata/testdata/CP773: New file.
47046         * iconvdata/testdata/CP773..UTF8: New file.
47047         * iconvdata/testdata/CP774: New file.
47048         * iconvdata/testdata/CP774..UTF8: New file.
47049
47050         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47051         END CHARMAP line.
47052         * iconvdata/gen-8bit-gap.sh: Likewise.
47053         * iconvdata/gen-8bit.sh: Likewise.
47054
47055         * locale/iso-639.def: Add ary entry.
47056
47057         [BZ #11258]
47058         * locale/C-translit.h.in: Add U20A1 transliteration.
47059
47060         [BZ #12178]
47061         * locale/iso-639.def: Add wae entry.
47062         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47063
47064         [BZ #12545]
47065         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47066         for n.
47067
47068         [BZ #12711]
47069         * locale/C-translit.h.in: Add entry for U20B9.
47070         Patch by pravin.d.s@gmail.com.
47071
47072 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47073
47074         [BZ #12713]
47075         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47076         ENAMETOOLONG use generic getcwd.
47077         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47078         in rtld.  Use *stat64.
47079         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47080         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47081         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47082         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47083         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47084         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47085         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47086         __fstatat64 macros.
47087         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47088         * dirent/rewinddir.c: Add libc_hidden_def.
47089         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47090         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47091
47092         * include/dirent.h (__alloc_dir): Add flags parameter.
47093         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47094         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47095         __alloc_dir.
47096         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47097         from fdopendir if O_CLOEXEC is already set.
47098
47099 2011-03-15  Alan Modra  <amodra@gmail.com>
47100
47101         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47102         l_tls_firstbyte_offset non-zero.  Save padding offset in
47103         l_tls_firstbyte_offset for later use.
47104         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47105         freeing static tls block.
47106
47107 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47108
47109         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47110         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47111         being defined by the kernel headers.
47112
47113 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47114
47115         [BZ #12734]
47116         * resolv/resolv.h: Define RES_NOTLDQUERY.
47117         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47118         no-tld-query and set RES_NOTLDQUERY.
47119         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47120         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47121         modern BIND to search name as TLD unless forbidden.
47122
47123 2011-05-07  Petr Baudis  <pasky@suse.cz>
47124             Ulrich Drepper  <drepper@gmail.com>
47125
47126         [BZ #12393]
47127         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47128         (is_trusted_path): ...to here.
47129         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47130         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47131         using is_trusted_path_normalize() in setuid scripts.
47132
47133 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47134
47135         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47136         __BEGIN/__END_DECLS.
47137
47138 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47139
47140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47141         NSS_STATUS_NOTFOUND if no record was found.
47142
47143 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47144
47145         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47146         (headers-not-in-tirpc): Remove rpc/netdb.h
47147         * resolv/netdb.h: Revert last change.
47148
47149 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47150
47151         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47152         circular dependency between libgcc.a and libc.a.
47153
47154 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47155
47156         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47157         * nis/Makefile: Don't install rpcsvc/*.
47158         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47159         instead of <rpc/types.h>.
47160         (MAXHOSTNAMELEN): Define.
47161
47162 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47163
47164         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47165
47166 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47167
47168         [BZ #12714]
47169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47170         gethostbyname4_r when IPv6 results are possible.
47171
47172 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47173
47174         [BZ #12723]
47175         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47176         _PC_PIPE_BUF handling.
47177
47178 2011-04-30  Bruno Haible  <bruno@clisp.org>
47179
47180         [BZ #12717]
47181         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47182         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47183         to 'int'.
47184         * inet/getnameinfo.c (getnameinfo): Likewise.
47185
47186 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47187
47188         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47189         to groups setting in database lookup.
47190         * nss/nsswitch.conf: Add initgroups entry.
47191
47192 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47193
47194         [BZ #12685]
47195         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47196         mode string.
47197         Patch by Eric Blake <eblake@redhat.com>.
47198
47199 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47200
47201         * sunrpc/Makefile (need-export-routines): Add svc_run.
47202         (routines): Remove svc_run.
47203         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47204         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47205         * sunrpc/svc_run.c (svc_run): Likewise.
47206         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47207
47208 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47209
47210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47211         problem in reallocation in last patch.
47212
47213 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47214
47215         * sunrpc/Makefile: Move inclusion of Rules.
47216
47217 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47218
47219         * nss/nss_files/files-initgroups.c: New file.
47220         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47221         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47222         _nss_files_initgroups_dyn.
47223
47224 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47225
47226         * elf/elf.h (R_ARM_IRELATIVE): Define.
47227
47228 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47229
47230         * po/ru.po: Update from translation team.
47231
47232 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47233
47234         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47235         dependencies.
47236
47237 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47238
47239         [BZ #12653]
47240         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47241         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47242         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47243         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47244         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47245
47246 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47247
47248         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47249         differing bytes.
47250         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47251         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47252         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47253
47254 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47255
47256         [BZ #12420]
47257         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47258         storing it.
47259         * stdlib/bug-getcontext.c: New file.
47260         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47261
47262 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47263
47264         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47265         instructions into .machine "z9-109".
47266         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47267         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47268
47269 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47270
47271         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47272         between environment variables and auxiliary vector.
47273
47274 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47275
47276         * Makefile: Add rules to build linkobj/libc.so.
47277         * include/libc-symbols.h: Define libc_hidden_nolink.
47278         * include/rpc/auth.h: Mark functions which are to be hidden.
47279         * include/rpc/auth_des.h: Likewise.
47280         * include/rpc/auth_unix.h: Likewise.
47281         * include/rpc/clnt.h: Likewise.
47282         * include/rpc/des_crypt.h: Likewise.
47283         * include/rpc/key_prot.h: Likewise.
47284         * include/rpc/pmap_clnt.h: Likewise.
47285         * include/rpc/pmap_prot.h: Likewise.
47286         * include/rpc/pmap_rmt.h: Likewise.
47287         * include/rpc/rpc_msg.h: Likewise.
47288         * include/rpc/svc.h: Likewise.
47289         * include/rpc/svc_auth.h: Likewise.
47290         * include/rpc/xdr.h: Likewise.
47291         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47292         * nss/Makefile: Likewise.
47293         * sunrpc/Makefile: Don't install headers.  Build library with normal
47294         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47295         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47296         for the compat linking library.  Remove use of INTDEF/INTUSE.
47297         * sunrpc/auth_none.c: Likewise.
47298         * sunrpc/auth_unix.c: Likewise.
47299         * sunrpc/authdes_prot.c: Likewise.
47300         * sunrpc/authuxprot.c: Likewise.
47301         * sunrpc/clnt_gen.c: Likewise.
47302         * sunrpc/clnt_perr.c: Likewise.
47303         * sunrpc/clnt_raw.c: Likewise.
47304         * sunrpc/clnt_simp.c: Likewise.
47305         * sunrpc/clnt_tcp.c: Likewise.
47306         * sunrpc/clnt_udp.c: Likewise.
47307         * sunrpc/clnt_unix.c: Likewise.
47308         * sunrpc/des_crypt.c: Likewise.
47309         * sunrpc/des_soft.c: Likewise.
47310         * sunrpc/get_myaddr.c: Likewise.
47311         * sunrpc/key_call.c: Likewise.
47312         * sunrpc/key_prot.c: Likewise.
47313         * sunrpc/netname.c: Likewise.
47314         * sunrpc/pm_getmaps.c: Likewise.
47315         * sunrpc/pm_getport.c: Likewise.
47316         * sunrpc/pmap_clnt.c: Likewise.
47317         * sunrpc/pmap_prot.c: Likewise.
47318         * sunrpc/pmap_prot2.c: Likewise.
47319         * sunrpc/pmap_rmt.c: Likewise.
47320         * sunrpc/publickey.c: Likewise.
47321         * sunrpc/rpc_cmsg.c: Likewise.
47322         * sunrpc/rpc_common.c: Likewise.
47323         * sunrpc/rpc_dtable.c: Likewise.
47324         * sunrpc/rpc_prot.c: Likewise.
47325         * sunrpc/rpc_thread.c: Likewise.
47326         * sunrpc/rtime.c: Likewise.
47327         * sunrpc/svc.c: Likewise.
47328         * sunrpc/svc_auth.c: Likewise.
47329         * sunrpc/svc_authux.c: Likewise.
47330         * sunrpc/svc_raw.c: Likewise.
47331         * sunrpc/svc_run.c: Likewise.
47332         * sunrpc/svc_simple.c: Likewise.
47333         * sunrpc/svc_tcp.c: Likewise.
47334         * sunrpc/svc_udp.c: Likewise.
47335         * sunrpc/svc_unix.c: Likewise.
47336         * sunrpc/svcauth_des.c: Likewise.
47337         * sunrpc/xcrypt.c: Likewise.
47338         * sunrpc/xdr.c: Likewise.
47339         * sunrpc/xdr_array.c: Likewise.
47340         * sunrpc/xdr_float.c: Likewise.
47341         * sunrpc/xdr_intXX_t.c: Likewise.
47342         * sunrpc/xdr_mem.c: Likewise.
47343         * sunrpc/xdr_rec.c: Likewise.
47344         * sunrpc/xdr_ref.c: Likewise.
47345         * sunrpc/xdr_sizeof.c: Likewise.
47346         * sunrpc/xdr_stdio.c: Likewise.
47347
47348 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47349
47350         [BZ #12650]
47351         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47352         * sysdeps/ia64/dl-tls.h: Likewise.
47353         * sysdeps/powerpc/dl-tls.h: Likewise.
47354         * sysdeps/s390/dl-tls.h: Likewise.
47355         * sysdeps/sh/dl-tls.h: Likewise.
47356         * sysdeps/sparc/dl-tls.h: Likewise.
47357         * sysdeps/x86_64/dl-tls.h: Likewise.
47358         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47359
47360 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47361
47362         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47363         rpath element also skip the following colon.
47364         (expand_dynamic_string_token): Add is_path parameter and pass
47365         down to DL_DST_REQUIRED and _dl_dst_substitute.
47366         (decompose_rpath): Call expand_dynamic_string_token with
47367         non-zero is_path.  Ignore empty rpaths.
47368         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47369         with zero is_path.
47370
47371 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47372
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47374         Make cancelable.
47375
47376 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47377
47378         [BZ #12655]
47379         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47380         Patch by Filipe David Manana <fdmanana@apache.org>.
47381
47382 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47383
47384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47385         Maintain aligned stack.
47386         (CHECK_RSP): Remove unused macro.
47387
47388 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47389
47390         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47391         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47392
47393 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47394
47395         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47396
47397         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47398
47399 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47400
47401         [BZ #12518]
47402         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47403         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47404         * sysdeps/x86_64/memmove.c: New file.
47405         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47406         (memcpy): Renamed to ...
47407         (__new_memcpy): This.
47408         (memcpy): Provide GLIBC_2_14 memcpy.
47409         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47410         (memcpy): Provide GLIBC_2_2_5 memcpy.
47411
47412 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47413
47414         [BZ #12631]
47415         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47416
47417 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47418
47419         * misc/syncfs.c: New file.
47420         * misc/Makefile (routines): Add syncfs.
47421         * posix/unistd.h: Declare syncfs.
47422         * sysdeps/unix/syscalls.list: Add syncfs.
47423
47424 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47425
47426         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47427         open_by_handle_at.
47428         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47429         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47433         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47435
47436 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47437
47438         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47439         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47440         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47442         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47444         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47445
47446         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47447         sync_file_range.c with -fexceptions.
47448         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47449         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47450         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47451         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47452         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47453         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47455         sync_file_range as cancellation point
47456         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47457         now a wrapper around __call_sync_file_range with cancellation handling.
47458         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47459         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47460         function name to __call_sync_file_range.
47461         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47462         Add call_sync_file_range.
47463
47464 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47465
47466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47467         bits/timex.h.
47468
47469 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47470
47471         * iconv/iconv.h: Fix typo in comment.
47472         * io/fcntl.h: Likewise.
47473         * libio/stdio.h: Likewise.
47474         * posix/spawn.h: Likewise.
47475         * posix/unistd.h: Likewise.
47476         * stdlib/stdlib.h: Likewise.
47477         * time/time.h: Likewise.
47478         * wcsmbs/wchar.h: Likewise.
47479
47480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47481         open_by_handle): Add.
47482         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47483         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47484         Augment a few comments.
47485         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47487         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47489         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47490         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47491         open_by_handle.
47492
47493         * io/fcntl.h (AT_EMPTY_PATH): Define.
47494
47495 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47496
47497         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47498         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47499         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47500         to...
47501         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47502         * Versions.def: Add GLIBC_2.14.
47503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47504         Export.
47505
47506 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47507
47508         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47509         round counter.
47510         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47511
47512 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47513
47514         [BZ #12597]
47515         * string/test-strncmp.c (do_page_test): New function.
47516         (check2): Likewise.
47517         (test_main): Call check2.
47518         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47519
47520 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47521
47522         [BZ #12587]
47523         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47524         Handle cache information in CPU leaf 4.
47525         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47526
47527 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47528
47529         [BZ #12583]
47530         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47531         character representation.
47532         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47533
47534 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47535
47536         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47537         END(__isnan) to END(__isnanf) to match function entry point/label
47538         EALIGN(__isnanf,...).
47539
47540 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47541
47542         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47543
47544 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47545
47546         [BZ #12510]
47547         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47548         copy from the symbol referenced in the relocation to initialize the
47549         used variable.
47550         Patch by Piotr Bury <pbury@goahead.com>.
47551         * elf/Makefile: Add rules to build and tst-unique3.
47552         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47553         * elf/tst-unique3.cc: New file.
47554         * elf/tst-unique3.h: New file.
47555         * elf/tst-unique3lib.cc: New file.
47556         * elf/tst-unique3lib2.cc: New file.
47557
47558         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47559
47560 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47561
47562         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47563         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47564         to _start.
47565
47566 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47567
47568         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47569         to-be-loaded object along a path to loader is ld.so.
47570
47571 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47572             Ulrich Drepper  <drepper@gmail.com>
47573
47574         * sysdeps/x86_64/memset.S: After aligning destination, code
47575         branches to different locations depending on the value of
47576         misalignment, when multiarch is enabled. Fix this.
47577
47578 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47579
47580         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47581         Set _x86_64_preferred_memory_instruction for AMD processsors.
47582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47583         Set bit_Prefer_SSE_for_memop for AMD processors.
47584
47585 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47586
47587         * libio/fmemopen.c (fmemopen): Optimize a bit.
47588
47589 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47590
47591         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47592
47593 2011-03-03  Roland McGrath  <roland@redhat.com>
47594
47595         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47596
47597 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47598
47599         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47600         __bzero_ultra1 instead of __memset_ultra1.
47601
47602 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47603             Ulrich Drepper  <drepper@gmail.com>
47604
47605         [BZ #12509]
47606         * include/link.h (struct link_map): Add l_orig_initfini.
47607         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47608         returning unsuccessfully.
47609         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47610         close of a file loaded at startup, restore the original l_initfini
47611         list.
47612         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47613         list, store the pointer.
47614         * elf/Makefile ($(objpfx)noload-mem): New rule.
47615         (noload-ENV): Define.
47616         (tests): Add $(objpfx)noload-mem.
47617         * elf/noload.c: Include <memcheck.h>.
47618         (main): Call mtrace.  Close all opened handles.
47619
47620 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47621
47622         [BZ #12454]
47623         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47624         dependencies are missing.
47625
47626 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47627
47628         Fix __if_freereq crash: Unlike the generic version which uses free,
47629         Hurd needs munmap.
47630         * sysdeps/mach/hurd/ifreq.h: New file.
47631
47632 2011-01-27  Petr Baudis  <pasky@suse.cz>
47633             Ulrich Drepper  <drepper@gmail.com>
47634
47635         [BZ 12445]#
47636         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47637         to extend_alloca().
47638         * stdio-common/bug23.c: New file.
47639         * stdio-common/Makefile (tests): Add bug23.
47640
47641 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47642             Ulrich Drepper  <drepper@gmail.com>
47643
47644         [BZ #12489]
47645         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47646         before performing relro protection.  At old place add assertion
47647         to make sure nothing changed.
47648
47649 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47650             Glauber de Oliveira Costa  <glommer@gmail.com>
47651
47652         * elf/elf.h: Add new ARM TLS relocs.
47653
47654 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47655
47656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47657         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47658         cast from r3.
47659         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47660         'tests' variable.
47661         * sysdeps/wordsize-64/tst-writev.c: New file.
47662
47663 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47664
47665         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47666         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47667         insns in _dl_start to prevent a TOC reference before relocs are
47668         resolved.
47669
47670 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47671
47672         [BZ #12469]
47673         * Makeconfig: Remove RANLIB definition.
47674         * Makerules: Don't use RANLIB.
47675         * aclocal.m4: Remove ranlib test.
47676         * configure.in: No need to check for ranlib.
47677         * elf/rtld-Rules: Don't use RANLIB.
47678
47679 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47680
47681         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47682         protection macro.
47683         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47684         inclusion protection macro.
47685
47686         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47687         SIGRTMIN and SIGRTMAX and print information in that case only when
47688         SIGRTMIN is defined.
47689
47690 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47691
47692         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47693         arginfo fn returning -1.
47694
47695         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47696         and thousands string is zero terminated.
47697
47698 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47699
47700         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47701         sysdeps/unix/sysv/linux/bits/socket.h.
47702
47703 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47704
47705         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47706         (__CPU_COUNT): Remove old macros.
47707         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47708         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47709         (__CPU_ALLOC, __CPU_FREE): Add macros.
47710         (__sched_cpualloc, __sched_cpufree): Add declarations.
47711
47712 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47713
47714         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47715         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47716         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47717         (readdhstai): Return value of addhstaiX call.
47718         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47719         (addgrbyX): Return value returned by cache_addgr.
47720         (readdgrbyname): Return value returned by addgrbyX.
47721         (readdgrbygid): Likewise.
47722         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47723         (addpwbyX): Return value returned by cache_addpw.
47724         (readdpwbyname): Return value returned by addhstbyX.
47725         (readdpwbyuid): Likewise.
47726         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47727         (addservbyX): Return value returned by cache_addserv.
47728         (readdservbyname): Return value returned by addservbyX:
47729         (readdservbyport): Likewise.
47730         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47731         (addhstbyX): Return value returned by cache_addhst.
47732         (readdhstbyname): Return value returned by addhstbyX.
47733         (readdhstbyaddr): Likewise.
47734         (readdhstbynamev6): Likewise.
47735         (readdhstbyaddrv6): Likewise.
47736         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47737         (readdinitgroups): Return value returned by addinitgroupsX.
47738         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47739         (prune_cache): Keep track of timeout value of re-added entries.
47740         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47741         * nscd/nscd.h: Adjust prototypes of readd* functions.
47742
47743 2011-02-04  Roland McGrath  <roland@redhat.com>
47744
47745         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47746         (nis_stats): Likewise.
47747         * nis/nis_modify.c (nis_modify): Likewise.
47748         * nis/nis_remove.c (nis_remove): Likewise.
47749         * nis/nis_add.c (nis_add): Likewise.
47750
47751         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47752
47753         * posix/fnmatch_loop.c: Add some consts.
47754
47755         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47756
47757 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47758
47759         [BZ #12460]
47760         * config.make.in (config-cflags-novzeroupper): Define.
47761         * configure.in: Substitute libc_cv_cc_novzeroupper.
47762         * elf/Makefile (AVX-CFLAGS): Define.
47763         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47764         (CFLAGS-tst-auditmod4a.c): Likewise.
47765         (CFLAGS-tst-auditmod4b.c): Likewise.
47766         (CFLAGS-tst-auditmod6b.c): Likewise.
47767         (CFLAGS-tst-auditmod6c.c): Likewise.
47768         (CFLAGS-tst-auditmod7b.c): Likewise.
47769         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47770
47771 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47772
47773         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47774         function to the callback.
47775         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47776
47777 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47778
47779         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47780         of errno.
47781
47782 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47783
47784         [BZ #11724]
47785         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47786         of constructors.
47787         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47788         of destructors.
47789         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47790
47791         [BZ #11724]
47792         * elf/Makefile: Add rules to build and run new test.
47793         * elf/tst-initorder.c: New file.
47794         * elf/tst-initorder.exp: New file.
47795         * elf/tst-initordera1.c: New file.
47796         * elf/tst-initordera2.c: New file.
47797         * elf/tst-initordera3.c: New file.
47798         * elf/tst-initordera4.c: New file.
47799         * elf/tst-initorderb1.c: New file.
47800         * elf/tst-initorderb2.c: New file.
47801         * elf/tst-order-a1.c: New file.
47802         * elf/tst-order-a2.c: New file.
47803         * elf/tst-order-a3.c: New file.
47804         * elf/tst-order-a4.c: New file.
47805         * elf/tst-order-b1.c: New file.
47806         * elf/tst-order-b2.c: New file.
47807         * elf/tst-order-main.c: New file.
47808         New test case by George Gensure <werkt0@gmail.com>.
47809
47810 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47811
47812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47813         decoding ACE if AI_CANONIDN.
47814
47815 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47816
47817         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47818
47819 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47820
47821         * version.h (RELEASE): Bump for 2.13 release.
47822         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47823
47824         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47825
47826         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47827         MADV_NOHUGEPAGE.
47828         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47829         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47831         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47833         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47834
47835         * posix/getconf.c: Update copyright year.
47836         * catgets/gencat.c: Likewise.
47837         * csu/version.c: Likewise.
47838         * debug/catchsegv.sh: Likewise.
47839         * debug/xtrace.sh: Likewise.
47840         * elf/ldconfig.c: Likewise.
47841         * elf/ldd.bash.in: Likewise.
47842         * elf/sprof.c (print_version): Likewise.
47843         * iconv/iconv_prog.c: Likewise.
47844         * iconv/iconvconfig.c: Likewise.
47845         * locale/programs/locale.c: Likewise.
47846         * locale/programs/localedef.c: Likewise.
47847         * malloc/memusage.sh: Likewise.
47848         * malloc/mtrace.pl: Likewise.
47849         * nscd/nscd.c (print_version): Likewise.
47850         * nss/getent.c: Likewise.
47851
47852         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47853         PF_CAIF, and PF_ALG.
47854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47855
47856 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47857
47858         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47859         (modules-names): Use them.
47860         (ifunc-test-modules, ifunc-pie-tests): Define.
47861         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47862         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47863         (test-extras): Likewise.
47864         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47865         $(compile-command.c).
47866         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47867         (all-built-dso): Define.
47868         (check-textrel.out, check-execstack.out): Depend on it.
47869
47870         * configure.in: Don't override --enable-multi-arch.
47871
47872 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47873
47874         [BZ #6812]
47875         * nscd/hstcache.c (tryagain): Define.
47876         (cache_addhst): Return tryagain not notfound for temporary errors.
47877         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47878         failed.
47879
47880 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47881
47882         [BZ #10563]
47883         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47884         to make the syscall.
47885         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47886
47887         [BZ #12378]
47888         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47889         and fall back to matching as normal character if the string ends before
47890         the matching ']' is found.  This is what POSIX requires.
47891         * posix/testfnm.c: Adjust test result.
47892         * posix/globtest.sh: Adjust test result.  Add new test.
47893         * posix/tst-fnmatch.input: Likewise.
47894         * posix/tst-fnmatch2.c: Add new test.
47895
47896 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47897
47898         * elf/Makefile (check-execstack): Revert last change.  Depend on
47899         check-execstack.h.
47900         (check-execstack.h): New target.
47901         (generated): Add check-execstack.h.
47902         * elf/check-execstack.c: Include "check-execstack.h".
47903         (main): Revert last change.
47904         (handle_file): Return zero if GNU_STACK is absent and
47905         DEFAULT_STACK_PERMS doesn't include PF_X.
47906
47907 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47908
47909         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47910         in child fails because the descriptor is already closed.
47911         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47912         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47913         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47914
47915         [BZ #12397]
47916         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47917         syscall.
47918
47919         [BZ #10484]
47920         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47921         temporary buffer used to handle multi lookups locally.
47922         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47923
47924 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47925
47926         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47927         loader is ld.so.
47928
47929 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47930
47931         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47932         alignment for SSE2.
47933
47934 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47935
47936         [BZ #12394]
47937         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47938         characters.  When rounding increased number of integer digits recompute
47939         number of groups.
47940         * stdio-common/tst-grouping.c: New file.
47941         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47942
47943 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47944
47945         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47946         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47947
47948         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47949         void.
47950         * bits/select.h: Likewise.
47951
47952 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47953
47954         * po/ja.po: Update from translation team.
47955
47956 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47957
47958         [BZ #11155]
47959         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47960         implementation just like for lxstat, fxstatat, et al.
47961
47962 2010-12-27  Jim Meyering  <meyering@redhat.com>
47963
47964         [BZ #12348]
47965         * posix/regexec.c (build_trtable): Return failure indication upon
47966         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47967
47968 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47969
47970         [BZ #12201]
47971         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47972         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47973         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47974         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47975
47976         [BZ #12207]
47977         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47978
47979         [BZ #12204]
47980         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47981         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47982
47983 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47984
47985         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47986         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47987         script has SORT_BY_INIT_PRIORITY.
47988         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47989         NO_CTORS_DTORS_SECTIONS is defined.
47990         * elf/soinit.c: Likewise.
47991         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47992         NO_CTORS_DTORS_SECTIONS is defined.
47993         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47994         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47995         * sysdeps/sh/init-first.c: Likewise.
47996         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47997
47998 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47999
48000         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48001         always use the slow path.
48002
48003 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48004
48005         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48006         similar rule which adds the sysdep directories to the header search in
48007         order to pick up the correct platform stackinfo.h.
48008         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48009         perform test if it is, otherwise return successfully without testing.
48010         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48011         DEFAULT_STACK_PERMS define in stackinfo.h.
48012         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48013         defined in stackinfo.h.
48014         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48015         DEFAULT_STACK_PERMS defined in stackinfo.h.
48016         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48017         * sysdeps/ia64/stackinfo.h: Likewise.
48018         * sysdeps/s390/stackinfo.h: Likewise.
48019         * sysdeps/sh/stackinfo.h: Likewise.
48020         * sysdeps/sparc/stackinfo.h: Likewise.
48021         * sysdeps/x86_64/stackinfo.h: Likewise.
48022         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48023         PF_X for powerpc64.  Retain PF_X for powerpc32.
48024
48025 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48026
48027         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48028         accurately.
48029         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48030         GETDENTS_64BIT_ALIGNED.
48031
48032 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48033
48034         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48035
48036 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48037
48038         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48039         _GNU_SOURCE.
48040
48041         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48042         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48043         Remove __restrict.
48044         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48045         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48046
48047 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48048
48049         [BZ #11655]
48050         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48051         are initialized.
48052
48053 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48054
48055         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48056
48057 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48058
48059         * po/it.po: Update from translation team.
48060
48061 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48062
48063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48064         unused codes.
48065
48066 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48067
48068         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48069
48070 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48071
48072         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48073         specially.
48074         (gaih_getanswer_slice): Likewise.
48075
48076 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48077
48078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48079
48080 2010-05-31  Petr Baudis  <pasky@suse.cz>
48081
48082         [BZ #11149]
48083         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48084         silently even in the chroot mode.
48085
48086 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48087
48088         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48089         last patch a bit.  Pretty printing
48090
48091 2010-05-31  Petr Baudis <pasky@suse.cz>
48092
48093         [BZ #10085]
48094         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48095         initialization of skip_initgroups_dyn.
48096
48097 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48098
48099         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48100         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48101
48102 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48103
48104         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48105
48106 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48107
48108         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48109         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48110         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48111         ($(objpfx)tst-fnmatch-mem): New rule.
48112         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48113         * posix/tst-fnmatch.c (main): Call mtrace.
48114
48115 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48116
48117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48118         Support Intel processor model 6 and model 0x2c.
48119
48120 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48121
48122         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48123           signed comparison.
48124
48125 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48126
48127         [BZ #12205]
48128         * string/test-strncasecmp.c (check_result): New function.
48129         (do_one_test): Use it.
48130         (check1): New function.
48131         (test_main): Use it.
48132         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48133         Support strcasecmp and strncasecmp.
48134
48135 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48136
48137         [BZ #12194]
48138         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48139         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48140
48141 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48142
48143         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48144         IFUNC support.
48145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48146         memset-x86-64.
48147         * sysdeps/x86_64/multiarch/bzero.S: New file.
48148         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48149         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48150         * sysdeps/x86_64/multiarch/memset.S: New file.
48151         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48153         Set bit_Prefer_SSE_for_memop for Intel processors.
48154         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48155         Define.
48156         (index_Prefer_SSE_for_memop): Define.
48157         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48158
48159 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48160
48161         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48162         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48163
48164 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48165
48166         [BZ #12191]
48167         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48168         (__x86_64_raw_data_cache_size_half): Likewise.
48169         (__x86_64_raw_shared_cache_size): Likewise.
48170         (__x86_64_raw_shared_cache_size_half): Likewise.
48171
48172         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48173         (__x86_64_raw_data_cache_size_half): Likewise.
48174         (__x86_64_raw_shared_cache_size): Likewise.
48175         (__x86_64_raw_shared_cache_size_half): Likewise.
48176         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48177         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48178         and __x86_64_raw_shared_cache_size_half.  Round
48179         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48180         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48181         to multiple of 256 bytes.
48182
48183 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48184
48185         [BZ #12167]
48186         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48187         of inacessible symlinks.  Verify result of symlink before returning it.
48188         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48189         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48190
48191 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48192
48193         * math/math.h (isinf): Fix typo in comment.
48194
48195 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48196
48197         * po/da.po: Update from translation team.
48198
48199 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48200
48201         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48202         is added to the list.
48203
48204 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48205             Ulrich Drepper  <drepper@gmail.com>
48206
48207         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48208         the global list here.  Move code to...
48209         (_dl_add_to_namespace_list): ...here.  New function.
48210         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48211         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48212         * elf/dl-load.c (lose): Don't remove the element from the list.
48213         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48214         (_dl_map_object): Likewise.
48215
48216 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48217
48218         [BZ #12159]
48219         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48220         into all bytes of SSE register.
48221         Patch by Richard Li <richardpku@gmail.com>.
48222
48223 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48224
48225         [BZ #12140]
48226         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48227         perturbing.
48228
48229 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48230
48231         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48232         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48233         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48234         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48236         submachine.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48238
48239 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48240
48241         * include/dlfcn.h (__RTLD_SECURE): Define.
48242         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48243         mode & __RTLD_SECURE instead.
48244         (open_path): Rename preloaded parameter to secure.
48245         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48246         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48247         * elf/dl-deps.c (openaux): Likewise.
48248         * elf/rtld.c (struct map_args): Remove is_preloaded.
48249         (map_doit): Don't use it.
48250         (dl_main): Likewise.
48251         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48252         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48253
48254 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48255
48256         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48257         (sysd-rules-targets): Remove duplicates.
48258         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48259         rtld-%.$o dependency.
48260
48261 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48262
48263         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48264         _dl_map_object do it.
48265
48266 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48267
48268         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48269         fast fma builtins, define the macros in the C99 standard.
48270         (FP_FAST_FMAF): Likewise.
48271         (FP_FAST_FMAL): Likewise.
48272         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48273
48274         * bits/mathdef.h: Update copyright year.
48275         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48276
48277 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48278
48279         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48280         builtins, define the macros in the C99 standard.
48281         (FP_FAST_FMAF): Likewise.
48282         (FP_FAST_FMAL): Likewise.
48283         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48284         multiply/add.
48285         (FP_FAST_FMAF): Likewise.
48286
48287 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48288
48289         [BZ #3268]
48290         * math/libm-test.inc (fma_test): Some new testcases.
48291         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48293         y and infinite z.  Do multiplication by C already in long double.
48294         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48296         y and infinite z.  Do bitwise or of inexact bit into u.d.
48297         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48298         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48299         * sysdeps/i386/fpu/s_fma.S: Removed.
48300         * sysdeps/i386/fpu/s_fmal.S: Removed.
48301
48302 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48303
48304         [BZ #3268]
48305         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48307         computation is not scheduled after fetestexcept.  Fix value
48308         of minimum denormal long double.
48309
48310 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48311
48312         [BZ #3268]
48313         * math/libm-test.inc (fma_test): Add some more tests.
48314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48315         correctly.
48316
48317 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48318
48319         * scripts/data/localplt-s390-linux-gnu.data: New file.
48320         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48321
48322 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48323
48324         [BZ #3268]
48325         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48326         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48327         instead of dbl-64.
48328         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48329         inlines.
48330         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48332         if one of x and y is very large and the other is subnormal.
48333         * sysdeps/s390/fpu/s_fmaf.c: New file.
48334         * sysdeps/s390/fpu/s_fma.c: New file.
48335         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48336         * sysdeps/powerpc/fpu/s_fma.S: New file.
48337         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48338         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48339         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48340
48341 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48342
48343         [BZ #3268]
48344         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48345         fma tests.
48346         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48347         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48348         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48349         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48350         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48351         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48352         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48353
48354 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48355
48356         [BZ #12078]
48357         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48358         * posix/bug-regex31.input: Add test case.
48359
48360 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48361
48362         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48363         * posix/bug-regex31.input: New file.
48364
48365         [BZ #12078]
48366         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48367         (parse_sub_exp): Fix last change, use postorder.
48368
48369         * posix/bug-regex31.c: New file.
48370         * posix/Makefile: Add rules to build and run bug-regex31.
48371
48372         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48373
48374         [BZ #12078]
48375         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48376
48377         [BZ #12108]
48378         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48379         to have entries in sys_siglist.
48380
48381         [BZ #12093]
48382         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48383         be NULL.
48384
48385 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48386
48387         [BZ #3268]
48388         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48389         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48390         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48391         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48392         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48393         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48394         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48395         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48396         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48397         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48398         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48399         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48400         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48401         * math/ftestexcept.c (fetestexcept): Likewise.
48402         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48403         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48404         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48405         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48406         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48407         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48408         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48409
48410 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48411
48412         [BZ #12107]
48413         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48414         newline.
48415
48416 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48417
48418         * string/bug-strstr1.c: New file.
48419         * string/Makefile: Add rules to build and run bug-strstr1.
48420
48421 2010-10-05  Eric Blake  <eblake@redhat.com>
48422
48423         [BZ #12092]
48424         * string/str-two-way.h (two_way_long_needle): Always clear memory
48425         when skipping input due to the shift table.
48426
48427 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48428
48429         [BZ #12005]
48430         * malloc/mcheck.c: Handle large requests.
48431
48432         [BZ #12077]
48433         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48434         for strncmp and strncasecmp.
48435         * string/stratcliff.c: Add tests for strcmp and strncmp.
48436         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48437
48438 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48439
48440         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48441         __set_fpscr.
48442
48443 2010-09-30  Andreas Jaeger  <aj@suse.de>
48444
48445         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48446         (CGROUP_SUPER_MAGIC): Define.
48447         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48448         Handle btrfs and cgroup file systems.
48449         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48450         Likewise.
48451
48452 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48453
48454         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48455         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48456
48457 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48458
48459         [BZ #12067]
48460         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48461         trying to locate the ELF header.
48462
48463 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48464
48465         [BZ #11611]
48466         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48467         Mask out sign-bit copies when constructing f_fsid.
48468
48469 2010-09-24  Petr Baudis <pasky@suse.cz>
48470
48471         * debug/stack_chk_fail_local.c: Add missing licence exception.
48472         * debug/warning-nop.c: Likewise.
48473
48474 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48475
48476         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48477         implementing getdents64 using getdents syscall, set d_type if
48478         __ASSUME_GETDENTS32_D_TYPE.
48479
48480 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48481
48482         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48483         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48484
48485 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48486
48487         [BZ #12037]
48488         * posix/unistd.h: Undo change of feature selection for ftruncate from
48489         2010-01-11.
48490
48491 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48492
48493         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48494         detection.
48495
48496 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48497
48498         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48499         fanotify_mark.
48500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48501
48502 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48503
48504         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48505         variables after CHECK_SP call.
48506         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48507
48508 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48509             Ulrich Drepper  <drepper@redhat.com>
48510
48511         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48512         re-relocationg ld.so.
48513         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48514         _dl_init_paths call.
48515         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48516         here anymore.
48517
48518 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48519
48520         * resolv/res_init.c (__res_vinit): Count the default server we added.
48521
48522 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48523             Ulrich Drepper  <drepper@redhat.com>
48524
48525         [BZ #11968]
48526         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48527         (____longjmp_chk): Use %ebx for saving value across system call.
48528         Add unwind info.
48529
48530 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48531
48532         * manual/Makefile: Don't mix pattern rules with normal rules.
48533
48534 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48535
48536         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48537         operation.
48538         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48539         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48540         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48541         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48543         Likewise.
48544
48545 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48546
48547         [BZ #11979]
48548         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48549         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48550
48551 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48552
48553         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48554         * sysdeps/x86_64/addmul_1.S: Likewise.
48555         * sysdeps/x86_64/lshift.S: Likewise.
48556         * sysdeps/x86_64/mul_1.S: Likewise.
48557         * sysdeps/x86_64/rshift.S: Likewise.
48558         * sysdeps/x86_64/sub_n.S: Likewise.
48559         * sysdeps/x86_64/submul_1.S: Likewise.
48560
48561 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48562
48563         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48564         Define __sched_param instead of SCHED_* and sched_param when
48565         <bits/sched.h> is included with __need_schedparam defined.
48566         * bits/sched.h [__need_schedparam]
48567         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48568         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48569         (__defined_schedparam): Define to 1.
48570         (__sched_param): New structure, identical to sched_param.
48571         (__need_schedparam): Undefine.
48572
48573 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48574
48575         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48576         (epoll_create1): Declare.
48577
48578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48579
48580 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48581
48582         [BZ #7066]
48583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48584         shifting retval into place.
48585
48586 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48587
48588         * nis/rpcsvc/nis.h: Update copyright notice.
48589         * nis/rpcsvc/nis.x: Likewise.
48590         * nis/rpcsvc/nis_callback.h: Likewise.
48591         * nis/rpcsvc/nis_callback.x: Likewise.
48592         * nis/rpcsvc/nis_object.x: Likewise.
48593         * nis/rpcsvc/nis_tags.h: Likewise.
48594         * nis/rpcsvc/yp.h: Likewise.
48595         * nis/rpcsvc/yp.x: Likewise.
48596         * nis/rpcsvc/ypupd.h: Likewise.
48597         * nis/yp_xdr.c: Likewise.
48598         * nis/ypupdate_xdr.c: Likewise.
48599
48600         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48601         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48602         (pmap_getport): Use __libc_rpc_getport.
48603         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48604         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48605         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48606
48607 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48608
48609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48610         fanotify_mark.
48611
48612 2010-08-27  Roland McGrath  <roland@redhat.com>
48613
48614         * sysdeps/i386/i686/multiarch/Makefile
48615         (CFLAGS-varshift.c): New variable.
48616
48617 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48618
48619         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48620         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48621
48622         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48623
48624         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48625
48626 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48627
48628         * sysdeps/x86_64/strlen.S: Unroll the loop.
48629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48630         strlen-sse2 strlen-sse2-bsf.
48631         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48632         __strlen_no_bsf if bit_Slow_BSF is set.
48633         (__strlen_sse42): Removed.
48634         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48635         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48636
48637 2010-08-25  Roland McGrath  <roland@redhat.com>
48638
48639         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48640         * sysdeps/x86_64/multiarch/varshift.c: New file.
48641         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48642         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48643         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48644         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48645
48646 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48647
48648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48649         strlen-sse2 strlen-sse2-bsf.
48650         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48651         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48652         (__strlen_sse2): Removed.
48653         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48656         bit_Slow_BSF for Atom.
48657         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48658         (index_Slow_BSF): Define.
48659         (HAS_SLOW_BSF): Define.
48660
48661 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48662
48663         [BZ #10851]
48664         * resolv/res_init.c (__res_vinit): When no server address at all
48665         is given default to loopback.
48666
48667 2010-08-24  Roland McGrath  <roland@redhat.com>
48668
48669         * configure.in: Remove config-name.h generation.
48670         * configure: Regenerated.
48671         * config-name.in: File removed.
48672         * scripts/config-uname.sh: New file.
48673         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48674         ($(objdir)config-name.h): New target.
48675
48676         * sunrpc/rpc_parse.h: Avoid nested comment.
48677
48678 2010-08-24  Richard Henderson  <rth@redhat.com>
48679             Ulrich Drepper  <drepper@redhat.com>
48680             H.J. Lu  <hongjiu.lu@intel.com>
48681
48682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48684         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48685         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48686         _mm_alignr_epi8 with _mm_loadu_si128.
48687         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48688         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48689         (__m128i_shift_right): Removed.
48690         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48691         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48692         * sysdeps/x86_64/multiarch/varshift.h: New file.
48693         * sysdeps/x86_64/multiarch/varshift.S: New file.
48694
48695 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48696
48697         * configure.in: Move assembler checks to before sysdep dir checking.
48698
48699 2010-08-20  Petr Baudis  <pasky@suse.cz>
48700
48701         * LICENSES: Sync the sunrpc license.
48702
48703 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48704
48705         * sunrpc/auth_des.c: Update copyright notice once again.
48706         * sunrpc/auth_none.c: Likewise.
48707         * sunrpc/auth_unix.c: Likewise.
48708         * sunrpc/authdes_prot.c: Likewise.
48709         * sunrpc/authuxprot.c: Likewise.
48710         * sunrpc/bindrsvprt.c: Likewise.
48711         * sunrpc/clnt_gen.c: Likewise.
48712         * sunrpc/clnt_perr.c: Likewise.
48713         * sunrpc/clnt_raw.c: Likewise.
48714         * sunrpc/clnt_simp.c: Likewise.
48715         * sunrpc/clnt_tcp.c: Likewise.
48716         * sunrpc/clnt_udp.c: Likewise.
48717         * sunrpc/clnt_unix.c: Likewise.
48718         * sunrpc/des_crypt.c: Likewise.
48719         * sunrpc/des_soft.c: Likewise.
48720         * sunrpc/get_myaddr.c: Likewise.
48721         * sunrpc/getrpcport.c: Likewise.
48722         * sunrpc/key_call.c: Likewise.
48723         * sunrpc/key_prot.c: Likewise.
48724         * sunrpc/openchild.c: Likewise.
48725         * sunrpc/pm_getmaps.c: Likewise.
48726         * sunrpc/pm_getport.c: Likewise.
48727         * sunrpc/pmap_clnt.c: Likewise.
48728         * sunrpc/pmap_prot.c: Likewise.
48729         * sunrpc/pmap_prot2.c: Likewise.
48730         * sunrpc/pmap_rmt.c: Likewise.
48731         * sunrpc/rpc/auth.h: Likewise.
48732         * sunrpc/rpc/auth_unix.h: Likewise.
48733         * sunrpc/rpc/clnt.h: Likewise.
48734         * sunrpc/rpc/des_crypt.h: Likewise.
48735         * sunrpc/rpc/key_prot.h: Likewise.
48736         * sunrpc/rpc/netdb.h: Likewise.
48737         * sunrpc/rpc/pmap_clnt.h: Likewise.
48738         * sunrpc/rpc/pmap_prot.h: Likewise.
48739         * sunrpc/rpc/pmap_rmt.h: Likewise.
48740         * sunrpc/rpc/rpc.h: Likewise.
48741         * sunrpc/rpc/rpc_des.h: Likewise.
48742         * sunrpc/rpc/rpc_msg.h: Likewise.
48743         * sunrpc/rpc/svc.h: Likewise.
48744         * sunrpc/rpc/svc_auth.h: Likewise.
48745         * sunrpc/rpc/types.h: Likewise.
48746         * sunrpc/rpc/xdr.h: Likewise.
48747         * sunrpc/rpc_clntout.c: Likewise.
48748         * sunrpc/rpc_cmsg.c: Likewise.
48749         * sunrpc/rpc_common.c: Likewise.
48750         * sunrpc/rpc_cout.c: Likewise.
48751         * sunrpc/rpc_dtable.c: Likewise.
48752         * sunrpc/rpc_hout.c: Likewise.
48753         * sunrpc/rpc_main.c: Likewise.
48754         * sunrpc/rpc_parse.c: Likewise.
48755         * sunrpc/rpc_parse.h: Likewise.
48756         * sunrpc/rpc_prot.c: Likewise.
48757         * sunrpc/rpc_sample.c: Likewise.
48758         * sunrpc/rpc_scan.c: Likewise.
48759         * sunrpc/rpc_scan.h: Likewise.
48760         * sunrpc/rpc_svcout.c: Likewise.
48761         * sunrpc/rpc_tblout.c: Likewise.
48762         * sunrpc/rpc_util.c: Likewise.
48763         * sunrpc/rpc_util.h: Likewise.
48764         * sunrpc/rpcinfo.c: Likewise.
48765         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48766         * sunrpc/rpcsvc/key_prot.x: Likewise.
48767         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48768         * sunrpc/rpcsvc/mount.x: Likewise.
48769         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48770         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48771         * sunrpc/rpcsvc/rex.x: Likewise.
48772         * sunrpc/rpcsvc/rstat.x: Likewise.
48773         * sunrpc/rpcsvc/rusers.x: Likewise.
48774         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48775         * sunrpc/rpcsvc/spray.x: Likewise.
48776         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48777         * sunrpc/rtime.c: Likewise.
48778         * sunrpc/svc.c: Likewise.
48779         * sunrpc/svc_auth.c: Likewise.
48780         * sunrpc/svc_authux.c: Likewise.
48781         * sunrpc/svc_raw.c: Likewise.
48782         * sunrpc/svc_run.c: Likewise.
48783         * sunrpc/svc_simple.c: Likewise.
48784         * sunrpc/svc_tcp.c: Likewise.
48785         * sunrpc/svc_udp.c: Likewise.
48786         * sunrpc/svc_unix.c: Likewise.
48787         * sunrpc/svcauth_des.c: Likewise.
48788         * sunrpc/xcrypt.c: Likewise.
48789         * sunrpc/xdr.c: Likewise.
48790         * sunrpc/xdr_array.c: Likewise.
48791         * sunrpc/xdr_float.c: Likewise.
48792         * sunrpc/xdr_mem.c: Likewise.
48793         * sunrpc/xdr_rec.c: Likewise.
48794         * sunrpc/xdr_ref.c: Likewise.
48795         * sunrpc/xdr_sizeof.c: Likewise.
48796         * sunrpc/xdr_stdio.c: Likewise.
48797
48798         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48799         handling.
48800
48801 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48802
48803         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48804
48805 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48806
48807         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48808         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48809         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48810         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48811         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48812         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48813         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48814         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48815         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48816         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48817         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48818         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48819         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48820         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48821
48822 2010-07-26  Anton Blanchard  <anton@samba.org>
48823
48824         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48825         * malloc/arena.c (heap_trim): Likewise.
48826
48827 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48828
48829         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48830         here.  Not...
48831         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48832         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48833
48834 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48835
48836         * sysdeps/i386/elf/Makefile: New file.
48837
48838 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48839
48840         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48841         from fanotify_init.
48842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48844
48845 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48846
48847         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48848         of strncasecmp_l.
48849         * sysdeps/multiarch/strcmp.S: Likewise.
48850
48851 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48852
48853         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48854         strncase_l-nonascii.
48855         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48856         Add strncase_l-ssse3.
48857         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48858         * sysdeps/x86_64/strcmp.S: Likewise.
48859         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48860         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48861         * sysdeps/x86_64/strncase.S: New file.
48862         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48863         * sysdeps/x86_64/strncase_l.S: New file.
48864         * string/Makefile (strop-tests): Add strncasecmp.
48865         * string/test-strncasecmp.c: New file.
48866
48867         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48868         warning.
48869
48870         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48871         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48872
48873 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48874
48875         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48876
48877 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48878
48879         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48880         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48881         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48882
48883 2010-05-01  Alan Modra  <amodra@gmail.com>
48884
48885         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48886         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48887         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48888         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48889         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48890         tidying.  Don't tail-call __sigjmp_save for static lib.
48891         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48892         save location.
48893         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48894         (CALL_MCOUNT): Add eh info, and nop after bl.
48895         (TAIL_CALL_SYSCALL_ERROR): New macro.
48896         (PSEUDO_RET): Use it.
48897         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48898         Correct save location of integer regs and cr.
48899         (_dl_profile_resolve): Correct cr save location.  Delete nops
48900         after bl when SHARED.  Reduce cfi size a little by better
48901         placement of cfi directives.
48902         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48903         make a stack frame.  Instead use parm save area as a temp.
48904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48905         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48907         Don't make a stack frame for parent, use parm save area.
48908         Increase child stack frame to 112 bytes.  Don't save unused reg,
48909         and adjust reg usage.  Set up cfi on error recovery and
48910         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48912         (__makecontext): Add dummy nop after jump to exit.
48913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48914         Use correct parm save area and cr save, reduce stack frame.
48915         Correct cfi for possible PSEUDO_RET frame setup.
48916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48917         Branch to local label emitted by PSEUDO_RET rather than
48918         __syscall_error.
48919
48920 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48921
48922         [BZ #11904]
48923         * locale/programs/locale.c (print_assignment): New function.
48924         (show_locale_vars): Use it.
48925
48926 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48927
48928         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48929         field.
48930         (struct statfs64): Likewise.
48931         (_STATFS_F_FLAGS): Define.
48932         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48934         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48935         (ST_VALID): Define locally.
48936         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48937         __statvfs_getflags, use the provided value.
48938         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48939         __ASSUME_STATFS_F_FLAGS.
48940
48941         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48942
48943         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48944         Add sys/fanotify.h.
48945         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48946         fanotify_mask for GLIBC_2.13.
48947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48948         fanotify_init and fanotify_mark.
48949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48950         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48951
48952         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48953         Add prlimit.
48954         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48955         prlimit64 for GLIBC_2.13.
48956         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48957         prlimit64.
48958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48959         syscall.
48960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48961         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48962         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48963         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48965         add prlimit alias.
48966         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48967
48968         [BZ #11903]
48969         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48970         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48971
48972         * nss/Makefile: Add rules to build and run tst-nss-test1.
48973         * shlib-versions: Add entry for libnss_test1.
48974         * nss/nss_test1.c: New file.
48975         * nss/tst-nss-test1.c: New file.
48976
48977         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48978         (__nss_configure_lookup): Set appropriate entry in
48979         __nss_configure_lookup to true.
48980         * nss/nsswitch.h: Define enum with indeces of databases in
48981         databases and __nss_database_custom arrays.  Declare
48982         __nss_database_custom.
48983         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48984         to avoid using nscd when custom rules are installed.
48985         * nss/getXXbyYY_r.c: Likewise.
48986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48987
48988         * nss/nss_files/files-parse.c: Whitespace fixes.
48989
48990 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48991
48992         [BZ #11883]
48993         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48994         * posix/fnmatch_loop.c: Likewise.
48995
48996 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48997
48998         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48999         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49000         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49001         * Versions.def [GLIBC_2.13]: Add.
49002
49003 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49004
49005         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49006         Also fail if tpwd after pwuid call is NULL.
49007
49008 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49009
49010         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49011         when converting to ms.
49012
49013 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49014
49015         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49016         EOPNOTSUPP errors with ENOTTY.
49017         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49018         EOPNOTSUPP errors with ENOTTY.
49019
49020 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49021
49022         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49023         Add strcasecmp_l-ssse3.
49024         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49025         strcasecmp.
49026         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49027         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49028         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49029
49030 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49031
49032         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49033
49034         * string/Makefile (strop-tests): Add strcasecmp.
49035         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49036         strcasecmp_l-nonascii.
49037         (gen-as-const-headers): Add locale-defines.sym.
49038         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49039         * sysdeps/x86_64/strcasecmp.S: New file.
49040         * sysdeps/x86_64/strcasecmp_l.S: New file.
49041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49042         * sysdeps/x86_64/locale-defines.sym: New file.
49043         * string/test-strcasecmp.c: New file.
49044
49045         * string/test-strcasestr.c: Test both ends of the range of characters.
49046         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49047
49048 2010-07-29  Roland McGrath  <roland@redhat.com>
49049
49050         [BZ #11856]
49051         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49052
49053 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49054
49055         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49056         for ld.so.
49057
49058 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49059
49060         * manual/memory.texi (Malloc Tunable Parameters): Document
49061         M_PERTURB.
49062
49063 2010-07-26  Roland McGrath  <roland@redhat.com>
49064
49065         [BZ #11840]
49066         * configure.in (-fgnu89-inline check): Set and substitute
49067         gnu89_inline, not libc_cv_gnu89_inline.
49068         * configure: Regenerated.
49069         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49070
49071 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49072
49073         * string/test-strnlen.c: New file.
49074         * string/Makefile (strop-tests): Add strnlen.
49075         * string/tester.c (test_strnlen): Add a few more test cases.
49076         * string/tst-strlen.c: Better error reporting.
49077
49078         * sysdeps/x86_64/strnlen.S: New file.
49079
49080 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49081
49082         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49083         lower-latency instructions.
49084
49085 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49086
49087         * string/test-strcasestr.c: New file.
49088         * string/test-strstr.c: New file.
49089         * string/Makefile (strop-tests): Add strstr and strcasestr.
49090         * string/str-two-way.h: Don't undefine MAX.
49091         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49092
49093 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49094
49095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49096         strcasestr-nonascii.
49097         (CFLAGS-strcasestr-nonascii.c): Define.
49098         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49100         Remove unused attribute.
49101
49102 2010-07-20  Roland McGrath  <roland@redhat.com>
49103
49104         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49105         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49106         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49107         like LD_HWCAP_MASK can disable hwcaps.
49108
49109 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49110
49111         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49112
49113 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49114
49115         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49116         call in strcasestr.
49117         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49118         __strcasestr_sse42_nonascii.
49119         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49120         strcasestr-nonascii.c.
49121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49122
49123 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49124
49125         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49126         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49127         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49128         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49129
49130 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49131
49132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49133         fcntl.
49134
49135 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49136
49137         [BZ #11577]
49138         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49139         dl_signal_cerror.
49140
49141 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49142
49143         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49144         _PC_PIPE_BUF using F_GETPIPE_SZ.
49145
49146 2010-07-05  Roland McGrath  <roland@redhat.com>
49147
49148         * manual/arith.texi (Rounding Functions): Fix rint description
49149         implicit in round description.
49150
49151 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49152
49153         * elf/Makefile: Fix linking for a few tests to make recent linker
49154         happy.
49155
49156 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49157
49158         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49159         $(common-objpfx)libc_nonshared.a.
49160
49161 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49162
49163         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49164         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49165         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49166         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49167         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49168         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49169         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49170         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49185         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49186         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49187         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49188         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49189         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49190         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49191         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49192         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49193         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49194         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49195         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49196         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49211
49212 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49213
49214         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49215         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49216         * string/memmove.c (memmove): Renamed to ...
49217         (MEMMOVE): ...this.  Default to memmove.
49218         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49219         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49220         (END_CHK): Define.
49221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49222         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49223         mempcpy-ssse3-back memmove-ssse3-back.
49224         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49225         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49226         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49227         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49228         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49229         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49230         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49231         * sysdeps/x86_64/multiarch/memmove.c: New file.
49232         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49233         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49234         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49235         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49236         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49238         Define.
49239         (index_Fast_Copy_Backward): Define.
49240         (HAS_ARCH_FEATURE): Define.
49241         (HAS_FAST_REP_STRING): Define.
49242         (HAS_FAST_COPY_BACKWARD): Define.
49243
49244 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49245
49246         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49247         Restore proper fallback handling.
49248
49249 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49250
49251         [BZ #11701]
49252         * posix/group_member.c (__group_member): Correct checking loop.
49253
49254         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49255         OOM in getpwuid_r correctly.  Return error number when the caller
49256         should return, otherwise -1.
49257         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49258         call returning > 0 value.
49259         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49260
49261 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49262
49263         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49264         libc_nonshared.a from targets in modules-names.
49265
49266 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49267
49268         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49269         requires it.
49270
49271 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49272
49273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49274         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49275         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49276         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49277
49278 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49279
49280         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49281
49282 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49283
49284         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49285         and F_GETPIPE_SZ.
49286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49287         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49292
49293 2010-06-14  Roland McGrath  <roland@redhat.com>
49294
49295         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49296
49297 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49298
49299         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49300         __REDIRECT followed by __THROW.
49301         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49302         * posix/getopt.h (getopt): Likewise.
49303
49304 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49305
49306         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49307         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49308         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49309         in AT_FLAGS.
49310         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49311         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49312
49313 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49314
49315         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49316
49317 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49318
49319         [BZ #11640]
49320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49321         Properly check family and model.
49322
49323 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49324
49325         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49326
49327 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49328
49329         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49330
49331 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49332
49333         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49334         symbol reference.
49335
49336 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49337
49338         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49339         symbol reference.
49340
49341 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49342
49343         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49344         and internal_recvmmsg.
49345         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49346         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49347         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49348         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49349
49350         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49351         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49352         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49353
49354 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49355
49356         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49357
49358 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49359
49360         POWER7 optimizations.
49361         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49362         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49363
49364 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49365
49366         * version.h: Update for 2.13 development version.
49367
49368 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49369
49370         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49371         exceptions.  Return 0.
49372
49373 2010-05-07  Roland McGrath  <roland@redhat.com>
49374
49375         * elf/ldconfig.c (main): Add a const.
49376
49377 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49378
49379         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49380         (args_options): Add no-idn option.
49381         (ahosts_keys_int): Add idn_flags to ai_flags.
49382         (parse_option): Handle 'i' option to clear idn_flags.
49383
49384         * malloc/malloc.c (_int_free): Possible race in the most recently
49385         added check.  Only act on the data if no current modification
49386         happened.
49387
49388 See ChangeLog.17 for earlier changes.